svn tagging using Ant

2008-10-14 Thread siba prasad
Hi , The requirement is as follows.I want to tag the code base.For which I want a target in my build.xml which will do the following steps. 1- Take the update of code base 2- Tag the code base as R. where will be the revision no. Please help. Thanks siba -- View this message in co

Re: Ant 1.7.1 - concat function no longer returns an 'empty' file if no source resources are found...

2008-10-14 Thread Stefan Bodewig
On Wed, 15 Oct 2008, Stefan Bodewig <[EMAIL PROTECTED]> wrote: On Tue, 14 Oct 2008, Mark Salter <[EMAIL PROTECTED]> wrote: >> The following patch would make it work for me, but is this a >> reasonable change to suggest? > > I'd add a new attribute that controls what to do if there are no > files

Re: Ant 1.7.1 - concat function no longer returns an 'empty' file if no source resources are found...

2008-10-14 Thread Stefan Bodewig
On Tue, 14 Oct 2008, Mark Salter <[EMAIL PROTECTED]> wrote: > I would like to understand the expected result of a concat step that > 'finds' no source files. > > I believe that prior to version 1.7.1 the resultant file could > include header and footer even if the no other files went in. > > Wit

Re: Strange behaviour of

2008-10-14 Thread Stefan Bodewig
On Tue, 14 Oct 2008, andbin <[EMAIL PROTECTED]> wrote: > [echo] initial.path = > C:\Test\MyProject\file1.jar;C:\Test\MyProject\lib\file2.jar;C:\Test\MyProject > [echo] manifest.classpath = file1.jar lib/file2.jar ../MyProject/ as someone familiar with the code I can see why this happens, but it w

RE: If else

2008-10-14 Thread Lucas Albers
I really like the ant-contrib tasks for this: os:${os.name} os.arch:${os.arch} os.version:${os.version} "windows_compile_dir:${windows_compile_dir}" "linux_compile_dir:${linux_compile_dir}" "checking for existence of directory

Re: How to add reference to jar files

2008-10-14 Thread supareno
antnewbie, you can try this: [...] [...] [...] check out this : http://ant.apache.org/manual/using.html#references hope this help Hi, I am a newbie with ant. My application uses about 10 jar files.Now, to compile with ant, I would need to add reference to these jar files.How ca

RE: If else

2008-10-14 Thread Shawn Castrianni
If the jboss.wily.jvmargs property is not set, then ${jboss.wily.jvmargs} doesn't evaluate to anything other than: ${jboss.wily.jvmargs} which will always have a length greater than 0. --- Shawn Castrianni -Original Message- From: Mohit Anchlia [mailto:[EMAIL PROTECTED] Sent: Tuesday,

Re: If else

2008-10-14 Thread Mohit Anchlia
that works. thanks But I don't understand what I was doing wrong. On Tue, Oct 14, 2008 at 1:44 PM, Alec Fernandez <[EMAIL PROTECTED]> wrote: > try the condition > >>> -Original Message- >>> From: Mohit Anchlia [mailto:[EMAIL PROTECTED] >>> Sent: Tuesday, October 14, 2008 10:33 PM >>> To:

Ant 1.7.1 - concat function no longer returns an 'empty' file if no source resources are found...

2008-10-14 Thread Mark Salter
Hi there. I would like to understand the expected result of a concat step that 'finds' no source files. I believe that prior to version 1.7.1 the resultant file could include header and footer even if the no other files went in. With 1.7.1, class :- src/main/org/apache/tools/ant/taskdefs/Con

Strange behaviour of

2008-10-14 Thread andbin
Hello, I have found a strange behaviour of , a new task of Ant 1.7. This is the scenario, 2 directories containing the following files: C:\Test\MyProject\ app.jar build.xml file1.jar C:\Test\MyProject\lib\ file2.jar (size and content of jars doesn't matter for this test) The bui

RE: If else

2008-10-14 Thread Alec Fernandez
try the > -Original Message- >> From: Mohit Anchlia [mailto:[EMAIL PROTECTED] >> Sent: Tuesday, October 14, 2008 10:33 PM >> To: Ant Users List >> Subject: If else >> >> I am struggling with a very simple question. How do I test if a >> variable is defined or not? >> >> I tried: >> >> >>

If else

2008-10-14 Thread Mohit Anchlia
I am struggling with a very simple question. How do I test if a variable is defined or not? I tried: and and Nothing seem to work. jboss.wily.jvmargs may or may not be there in property file ---

Ivy classpath creation

2008-10-14 Thread Burkhardt Stefan (CI/TMP)
Hi, I am using the following command to get my artefacts within my ANT-Script. It retrieves the artefacts and put the jar-files into my "lib"-folder. First Question is: - How can I create a classpath based on the artefact resolution and not from the directory. Is there a similar command

How to add reference to jar files

2008-10-14 Thread antnewbie
Hi, I am a newbie with ant. My application uses about 10 jar files.Now, to compile with ant, I would need to add reference to these jar files.How can I do this? regards newbie -- View this message in context: http://www.nabble.com/How-to-add-reference-to-jar-files-tp19974173p19974173.html Sent