Alternative to PropertyTask from Ant deliveryHej Need an alternative to the PropertyTask that comes with Ant. Problem with the PropertyTask is that comments are lost text replacement of special characters (like backslashes) are handled nputting cmd args in ant.batHi what 's the right point to put the argument -lib path/to/my/extralibs in if idon 't want to put that path into %PATH% ? [ ... ] end set _JAVACMDset ANT_CMD_LINE_ARGS -lib path/toANT <CVS > TaskHi I have my ant script to tag our cvs repository projects with the build# recursively after modifying couple of files and continue to do the build. However if the build down the line failssshexec error handlingI need to execute two commands with sshexec. <sshexec host "host " username "username " password "password " command "cmd1 cmd2 " trust "yes "/ > How can I getIncluding properties files in my buld.xml fileHi I have a properties file that is located in my source directory and when I build my program I would like it to be moved to my classes directory automatically. What do I have to includetype not supported by task?Hello I am developing an ant task extension but face problems to have it running from the buildfile. I get an error stating that a certain custom type of mine is not supported by my task. I tUrgent help-Regarding startup and showdown script for jbossThe following script start and stops JBOSS . But the target jboss.start is successful before the server is actually started. Is there a way to make the target Successful only when it is actuallycc taskHello gentle people! I just found out that there are c/c++ tasks in the ant-contrib project. Is there another resource for such a task? If someone already tried this non-java gymnastic please help.solved / was [antcontrib] foreach problem: sourceforgeabout ant-contrib is there a problem with sourceforge server these days?it seems i can not access the ant-contrib homepage. -----Original Message----- From Rebhan Gilbert [mailto Gilbert.Rebhsolved / was [antcontrib] foreach problemHi for anyone else running into that gotcha here 's the solution The targetdependency in my buildscript was guilty for that strange behaviour. I had <project name "bla " default "builSOLVED: ZipException on javac task moving from jdk1.4 to jdk1.5Thank you very much problem is solved! Maurice my JAVA_HOME was set to the correct jdk 1.5.0_03 that was being used by my javac task (I unistalled jdk 1.4.2 to be sure!) thanks for that! Steforeach problemHi i have some strange behaviour with antcontrib 's foreach task. I have a propertyfile like this modul.1 Project1 v_1_2_4_25 modul.2 Project with spaces thi_1_2_4_25 modul.list ${modHow to include an empty folder in a ZIP fileI have noticed that an empty folder is excluded from a ZIP file. Is it possible to include an empty folder in a ZIP file ? -- John Zoetebier http //www.transparent.co.nzAnt Task: < Zip >Hi I 've created some empty sub-directories (/output nested 4 levels down) that are essential to the final product being shipped however the zip task is not including and skipping them...How to execute a build.xml inside another build.xml ?All I Just wanna execute "Build.xml " inside another file named "MasterBuild.xml " Kindly tell me what is the exact task name ? Thanks 'n ' Advance Venkat. This transmission may contaUrgent Help - JBOSS startup and shutdown scriptsThe following script start and stops JBOSS . But the target jboss.start is successful before the server is actually started. Is there a way to make the target Successful only when it is actcvschangelog for Subversion?An issue hit in looking to move Jakarta Cactus to SVN is that it uses the <cvschangelog > for part of its site. Anyone know if there 's an easy replacement for svn that doesn 't involve an external tascustom selector which examines multiple files before returning an answerHi I 'm trying to implement a way to detect duplicate .jar files (where only the version differ) and delete all duplicates except the newest. The way I hoped to implement this was to use the <deleteZipException on javac task moving from jdk1.4 to jdk1.5Hi there I 've searched google ant-faq and ant-manual and found nothing conclusive... I have recently moved from java (jdk) 1.4.2 to 1.5.0_03. I 'm using ant 1.6.1 (I 've tried ant 1.6.5 also bAnt for non-java development+addition(2)Hmm I 've just seen the ant-contrib project which afford many useful additional tasks(cc tasks for instance). Well any wise advise still welcome ) I have always used ant for java build/deploy and tAnt for non-java development+additionThank you guys for all your answers.It is great to see your responsivenes! I am trying to be more precise here has anyone used ant for building c applications on mainframe for instance?And is it aCan you tell test error from test failure with <junit >?Hi I wonder if it is possible to tell junit test error apart from test failure with <junit > task. I have a case where an unit test timed out it was a junit test error but both errorProperty anAnt for non-java developmentCan ant be used to build non-java applications?If so how ?And does anyone tried this on this list? Thx for any help ) This message is for the designated recipient only and may contain privilReplacing (Overwriting) a file in a war?Does anyone have any suggestions for replacing a file within a war with another copy of the same file? I 'm having a heck of a time accomplishing this and I 've tried <zipfileset > but it doesn 't overAW: built-in property for the invoking target?Maybe http //marc.theaimsgroup.com/?l ant-user&m0077914931555&w 2 could be interisting for you. Jan -----Urspr?ngliche Nachricht----- Von Alexey N. Solofnenko [mailto A.Solofnenko@(protected)]stripping chars from propertyI have the following <property file "ext.version " value "4.0.0 " / > Now I need to create a file with the version in it 's name but without the . (dots) something like blabla400.zip So is thebuilt-in property for the invoking target?My build.xml sends email that states whether or not the build succeeded or failed. I would like to include which target was invoked from the command line but I haven 't found a built-in property fortask for numeric comparison ?!Hi any existing task that allows to check whether int a > int b int a > int b int a < int b int a < int b ?? i 've tried with math task of antcontrib 1.0b2 but that task doesn 't suAW: taskdef can 't find junit.framework.TestTo really ensure that JUnit is on Ant?s classpath you could print it out <echo >classpath ${java.class.path} </echo > But putting junit.jar into ${user.home}/.ant/lib should help. Or startingQ: cmd line options vs properties ?Hi Is there a way to specify "-verbose " or "-debug " from inside build.xml ? I looked into <property > but couldn 't find anything precisely related. Any input welcome
|