more than one property file (-propertyfile)Hi I have to property files which I want to add to the ant call ant -propertyfile c /a.properties -propertyfile c /b.properties build Which property will be used if both files contain the sameDelete entry from zip?Hello With the current release is it possible to delete an entry from a zip/jar/war file without expanding it to a temp directory? Solaris and Linux provide a zip command with a -d option to doAnt task needs optional override of properties<ant dir "subproject " inheritall "false " > <property name "override.prop " value "${undefined} "/ > </ant > In the above case I need to override a property in the sub project 's build file. This is staStandard Ant Build for WSAD 5.0Guys Recently moved from JBuilder 6/7/8 to WSAD 5.0 Borland provides a generic ant build file which takes jpx file as an input and perform the task(s) using the properties defined by JBuilder aEclipse/WSAD & Telnet taskApologies if this has been asked before and I think it may have been asked but I 'm using the telnet task from inside IBM WSAD (i.e. Eclipse) and the telnet task doesn 't seem to return output to my 'Background task to start Tomcat 4.1How do I run a background task to start Tomcat 4.1 in Ant? I want to start the server if it is not running yet. However the <exec > and <java > tasks I tried don 't seem to be able to do that. I alsoR?f. : RE: beanshell script and property writeCan I create an ant property in my beanshell and set its value ? Gilles KOFFMANN Dominique Devienne Pour " 'Ant Users List ' " <user@(protected)beanshell script and property writeHi I 'm using beanshell script. I can read a property but it seems that I can not write to it. Here 's the example <property name "revision " value "1.1 "/ > <property name "revisionNum " value "anythiProblems trying to generate xml help with xdocletHello. I would like to generate an xml help for the anttasks and running the build from proposals I 've got an OutOfMemory error. Does anybody know how to solve this problem? What are the plans abouAntcall - continue on fail or ant continue on fail...Am I over looking something? I have a target that performs antcalls to other targets but if one fails they both fail. Is there a way to make them continue if one fails?AW: Conditional logic in ANT build scripts<target name "dev-check " > <condition property "dev-check " > <isequal arg1 "dev " arg2 "${environment} "/ > </condition > </target > <target name "dev " depends "dev-check " if "dev-check " >Conditional logic in ANT build scriptsHi I know that the 'if ' attribute in the 'target ' task can be used to determine whether or not a target should be executed. However it is my understanding that the 'if ' attribute does not take intAW: Asking again: How to echo the targetASAIK you can?t. What shoult ${target} be if you call ant clean build install ? But you can write a wrapper script which stores the arguments as parameter --8- <--- ant2.bat ----8- <-------8- <-----two out of three ...Hi everyone I got Ant 1.5.2 binary distro up instantly on 2 out of my 3 machines. But not on the one I primarily use for Java dev so I am confused. I 'm sure there is something wrong with my CLAFTP optional task does not find the classFollowing is the code from test build script <project name "test " default "test " basedir ". " > <target name "test " > <taskdef name "ftp " classname "org.apache.tools.ant.taskdefs.optional.net.FTPAsking again: How to echo the targetIf I invoke ant with 'ant build ' with the following build file <target name "init " > <echo message "ant was invoked with target ${target} "/ > </target > <target name "build " depends "init " > </targeCVS checkout given a file and version list.Just say i have a textfile which specifies the names and versions of the files that i want to check out. foo 1.3 bar/foo2 1.4 bar/hello.txt 1.3 Does anyone have any ideas on how to get Ant to reaAW: <IF > <ELSE > TaskDoes http //www.jguru.com/faq/view.jsp?EID 1072238 help? Jan Mat?rne > -----Urspr?ngliche Nachricht----- > Von Jeremy Nix [mailto Jeremy.Nix@(protected)] > Gesendet am Dienstag 8. April 2003 17 29<IF > <ELSE > TaskI 'm trying to create a build.xml that will build my application(s) to a particular environment...local test production. My first thought was to create multiple tasks to do handle this but I 'm findTelnet to NT4Does anyone have any experience with connecting to a NT4 box with the telnet connection and running build commands via ant? I cannot seem to login! I am currently using http //sourceforge.net/projAW: How to read a file without the first n linesThey work ... but not like hoped -( <headfilter > with negative lines-attributes gives nothing and <tailfilter > with negative lines-attributes gives the whole file. Jan Mat?rne > -----Urspr?nglicheAW: JDK1.4.1 and javaHave you tried <javac > <compilerarg > to set that values? compilerarg You can specify additional command line arguments for the compiler with nested <compilerarg > elements. These elements are specifieJDK1.4.1 and javaHi all I just ran into problems using JDK1.4.1 and java "c ". The compiler has an Out of Memory exception while compiling a large project (~11000 files). This is a problem of our software definitely!Forcing an overwrite with VSS tasks...Is there a way to force an overwrite when doing a GET from VSS?How to read a file without the first n linesI have problem I want to compare two files. I know that the first two lines differ (they contain a timestamp) but that can be ignored. So the content of lines three to n is interesting. With <filt.cvspassHi how to set up a new entry to the cvspass file? JurajjavaDevWithAntI got to problems First <eccoproperties/ >in build.xml make errow but i simple delete that line. It wasn 't of anny importens OK. seccond common.org.example.antbook.common.SearchUtilTest.java -imporhead to the pollsIts time to vote again this time for Java Developer 's Journal Readers Choice - http //www.sys-con.com/java/readerschoice2003/liveupdate.cfm?BType 1 All three primary Ant books are listed there.vebose optionThis is one of those simple things no matter how hard I look I can 't find the answer. Say I have 5 ant tasks inside my main build.xml. Number 4 is misbehaving. In isolation I can run 'ant -buildfilesetting property using <script > taskI need to do some processing using the <script > task and set a project property at the end but it doesn 't seem to work. Can some one point me to the right direction ? Thanks. output c >ant -f
|