ant

Advantages of using tomcat manager app over copy-to-webapp directory

六眼飞鱼酱① 提交于 2019-12-10 22:54:05
问题 I have been pondering a lot lately over, why should one use tomcat manager to deploy/undeploy wars to your server? What are the advantages/disadvantages of the same over simply copy-it-to-webapps-folder approach, and delete-it-from-webpass-folder approach?? Also, are there any other advantages regarding cleanup process by tomcat , when a war is deleted? i.e is the process of cleanup different, when a dev deletes a .war , and when he undeploys a webapp using the manager?? Also, would the

Anyone using webtest without ant?

三世轮回 提交于 2019-12-10 22:47:23
问题 I'd like to try using WebTest, preferably from Clojure, but I can only find its functionality exposed as Ant tasks. There seems to be some sort of Groovy interface, which implies that it's possible to use from any JVM language outside of Ant, but I can't figure it out. I'm hoping to use WebTest as a "scriptable browser" to load up someone else's page and see if it does various unpleasant things, rather than test my own page with every build, so Ant doesn't really seem like an appropriate

jenkins+ant+jmeter实现持续集成自动化构建

浪尽此生 提交于 2019-12-10 22:16:52
最近在研究所用系统的自动化测试,根据自己所学,选用了jenkins+ant+jmeter来实现。 因我们有多套环境,想实现根据所传环境编号不同,调用不同的参数。 jenkins使用choice参数插件,编写参数,ant进行接受转发到jmeter jmeter需要将使用到的参数统一化,这样方便根据传入的参数来自行选择。 来源: CSDN 作者: 通天_教主 链接: https://blog.csdn.net/blue248/article/details/103483288

How do I call Ant Builts using Maven

大兔子大兔子 提交于 2019-12-10 22:14:09
问题 I have many sub modules of php projects which are run using ANT [It just copies files and runs SQL]. Now I need to Implement Maven for handling future Unit Testing + [Maven is the Best tool which we anyway need to use in the future.] I have installed Maven for php in Eclipse. I have made a new project using Maven in the IDE itself. I can run the Project also. [I am a noob to Maven but good with ANTs ] Now I want to call those submodular ANT's xml using the Maven project. There is ANT RUN

Include JAR file in ant compilation

心已入冬 提交于 2019-12-10 21:57:22
问题 I want to compile some .java files into a JAR. I would like to use this JAR file in another application. Is this a good way to use functions from my first application in my second application? My goal is to not duplicate code. How can I edit the build.xml file for the second application to include the JAR file I created? When I compile my project, functions from JAR files are not resolved : [javac] C:\HelloWorld\src\com\example\helloworld\HelloWorld.java:7: package TOOLS does not exist [javac

Ant can't find a executable in the Windows path

大兔子大兔子 提交于 2019-12-10 21:13:54
问题 I got a simple ant target : <target name="doxygen"> <exec executable="doxygen" dir="${basedir}/doxygen"> <arg value="Doxyfile" /> </exec> </target> I'm on Windows Seven. When i try the same command line ( doxygen Doxyfile ) in the Windows console, it works perfectly. The doxygen executable can by found because i added the good path in my PATH environment variable. But ANT juste can't find the doxygen executable and i get the following error : build.xml:83: Execute failed: java.io.IOException:

ant : jar and zipfileset - copy files from one JAR into another

。_饼干妹妹 提交于 2019-12-10 20:49:39
问题 I am currently doing this: <jar update="yes" jarfile="${pwd}/dist/${release}_installer.jar"> <zipfileset src="${pwd}/dist/app.jar" includes="com/izforge/izpack/panels/**"/> <zipfileset src="${pwd}/dist/app.jar" includes="com/xyz/img/logo.png"/> </jar> My existing installer JAR gets updated to include the files as needed, extracted from the app JAR. So far, so good. However, I want to modify the behaviour such that the path of the image file is different than what is being copied from:

Apache Cordova Facebook Plugin BUILD FAILED

℡╲_俬逩灬. 提交于 2019-12-10 20:26:45
问题 I am trying to install the facebook cordova plugin using the cordova CLI but unfortunately, whatever I do, I get BUILD FAILED whenever I try to cordova build android . This is what I am using to install the plugin cordova plugin add https://github.com/phonegap/phonegap-facebook-plugin --variable APP_ID="my_facebook_app_id" --variable APP_NAME="my_facebook_app_name" Of course, I use my real facebook App_ID and App_Name. I also put them in plugin.xml everywhere there is APP_NAME or APP_ID. I

Upgrading existing Java Project from Java 1.6 to 1.8

☆樱花仙子☆ 提交于 2019-12-10 20:16:23
问题 Recently I was assigned to a task wherein I have to upgrade the existing standalone java application from Java 1.6 to Java 1.8 . I'm yet to go through the code and I have no idea about this project. They were using ANT 1.6.1, AXIS 1.5.1, ABINITIO 2.15, ORACLE 11.1.0.7, AUTOSYS R11, Java 1.6. I got to know that first I need to identify whether the above mentioned Tools/Frameworks are compatible with Java 1.8. Please suggest what are the other challenges I might encounter while compiling and

How to enable Eclipselink's static weaving from Gradle

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-10 20:08:06
问题 I'd like to enable Eclipselink's static weaving for my JPA classes from Gradle. The Eclipselink docs explain how to do this in an Ant task: <target name="define.task" description="New task definition for EclipseLink static weaving"/> <taskdef name="weave" classname="org.eclipse.persistence.tools.weaving.jpa.StaticWeaveAntTask"/> </target> <target name="weaving" description="perform weaving" depends="define.task"> <weave source="c:\myjar.jar" target="c:\wovenmyjar.jar" persistenceinfo="c: