Re: Packaging war

2008-09-30 Thread Kamal Chandana Mettananda
Inside your jar command you may declare your criteria easily. Try ant condition. http://ant.apache.org/manual/CoreTasks/condition.html First you may declare your criteria as a property, and check that inside a condition. --- Kamal Mettananda http://lkamal.b

AW: Packaging war

2008-09-30 Thread Jan.Materne
With conditional pattern ... Jan >-Ursprüngliche Nachricht- >Von: Mohit Anchlia [mailto:[EMAIL PROTECTED] >Gesendet: Dienstag, 30. September 2008 20:54 >An: user@ant.apache.org >Betreff: Packaging war > >I have a war file that gets deployed in tomcat and jboss. I need t

AW: Build fails when 'java' task's "arg line" contains a directory path with spaces

2008-09-30 Thread Jan.Materne
>> Just correcting my example; obviously you only want to quote the individual >> arguments: > >That could still confuse the line breaking code. > >I would suggest > >1. breaking everything up > > > > > >2. run ant -verbose to see what is being passed in > >The @{} signs show that macros are at pl

Re: Problem with Ant P4 Task

2008-09-30 Thread weiji
Hi, I am also in a similar situation. I found that the p4change task does not set the p4.change property when I run the build from a linux host, but it works fine when run from a Windows host. This causes the build to fail because we cannot checkin files without the property being set. Does an

Packaging war

2008-09-30 Thread Mohit Anchlia
I have a war file that gets deployed in tomcat and jboss. I need to include log4j.xml in WEB-INF/lib only in certain env. How can I include this lib file selectively while pacakging war file - To unsubscribe, e-mail: [EMAIL PROTEC

Ant 1.7 - XSLT task and Xalan and Saxon9 issue

2008-09-30 Thread Marijan (Mario) Madunic
I'm trying to run various XSLT tasks that either rely on Xalan or Saxon and am having a hard time with ANT recognizing Xalan when Saxon is in the Ant/lib. The reason I am running both is that Xalan has a better extension for SQL than Saxon does and my other XSLT tasks all run with XSLT 2.0. H

Re: NullPointerException when running ivy report on Linux

2008-09-30 Thread nyc_ivy_user
Hi Jean, Thanks for your help. What other information can I provide? I am using ant 1.7.0 and java 1.6.01. I was using this version for a while under linux and i haven't seen such exception using ivy:report could you give us more details? -- View this message in context: http://www.nabbl

Re: Build fails when 'java' task's "arg line" contains a directory path with spaces

2008-09-30 Thread Steve Loughran
Chad McHenry wrote: Just correcting my example; obviously you only want to quote the individual arguments: That could still confuse the line breaking code. I would suggest 1. breaking everything up 2. run ant -verbose to see what is being passed in The @{} signs show that macros are at

Re: Build fails when 'java' task's "arg line" contains a directory path with spaces

2008-09-30 Thread Chad McHenry
Just correcting my example; obviously you only want to quote the individual arguments: On Tue, Sep 30, 2008 at 9:00 AM, Chad McHenry <[EMAIL PROTECTED]> wrote: > I'm surprised Andy's suggestion did not work, as it is the equivalent of > placing quotes around the individual arguments. Two things

Re: Build fails when 'java' task's "arg line" contains a directory path with spaces

2008-09-30 Thread Chad McHenry
I'm surprised Andy's suggestion did not work, as it is the equivalent of placing quotes around the individual arguments. Two things you could look into: First, are you sure the java app you are running (com.abc.a in the example) can handle spaces in filenames, and the bug is not in the program itse

RE: Build fails when 'java' task's "arg line" contains a directory path with spaces

2008-09-30 Thread Vivek Payala
Thanks Andy for your response. Unfortunately, modifying the arguments as per your suggestion didn't help. As I described earlier, even though is mentioned the same way (without multiple mailto:[EMAIL PROTECTED] Sent: Tuesday, September 30, 2008 4:24 AM To: Ant Users List Subject: Re: Build fa