Re: javac task cannot find jar, but jar exists

2009-07-09 Thread zyellowman2
I fixed this by changing all refid= to path= zyellowman2 wrote: > > I am having an issue where my javac task is trying to include a jar in the > classpath, but says that it cannot find the reference. The location that > it says it is looking is in fact the directory that contains the exact ja

javac task cannot find jar, but jar exists

2009-07-09 Thread zyellowman2
I am having an issue where my javac task is trying to include a jar in the classpath, but says that it cannot find the reference. The location that it says it is looking is in fact the directory that contains the exact jar it is looking for, case-sensitive and all. The problem does not arise when

Re: for task inside path task

2009-07-09 Thread David Weintraub
Just to understand what you're trying to do: You have various references to paths. There could be one or more of these references. What you want is a combined path of all of these references. Is that correct? On Thu, Jul 9, 2009 at 3:44 AM, kleinfisch wrote: > > example: > i have a property as fo

ant exec output to stdout

2009-07-09 Thread Patnaik, Anjela
Hello, I'm fairly new to using ant for running solaris/unix calls. I'm using ant exec task and would like to redirect the output to stdout. I basically want to see the execution dump. Is there an easy way to do so? when i run the solaris commands by themselves, I get a lot of output that appe

Re: Ant 1.7: unzip with overwrite set to 'false' is overwriting files

2009-07-09 Thread rdblaha1
Success! David Weintraub wrote: > > Would using the task help? Before unzipping, you can "touch" > all the properties files that you don't want to overwrite, giving them > a newer timestamp than the files inside the zipfile. > > Of course, you'll destroy the previous dates, but it will help p

Re: AW: ****SPAM**** for task inside path task

2009-07-09 Thread kleinfisch
by this solution the definition of build.path is no problem any more, but the reference of the contents of build.path has an error: Error Message: This data type contains a circular reference. Knuplesch, Juergen wrote: > > Hello, > > Maybe ANT this way: > > > > > > >

Re: for task inside path task

2009-07-09 Thread kleinfisch
clever idea, but as testing the following "echo" is used for listing the contents of build.path, and an error classpath.contents=${classpath.contents} ERROR: This data type contains a circular reference. -- View this message in context: http://www.nabble.com/for-task-inside-path-task-tp2440

Re: test if exists

2009-07-09 Thread Horvath Adam
> > Give more command line arg > > > > Thanks a lot. - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org

AW: ****SPAM**** for task inside path task

2009-07-09 Thread Knuplesch, Juergen
Hello, Maybe ANT this way: -- Jürgen Knuplesch -Ursprüngliche Nachricht- Von: kleinfisch [mailto:kleinfi...@gmx.net] Gesendet: Donnerstag, 9. Juli 2009 09:44 An: user@ant.apache.org Betreff: SPAM fo

AW: test if exists

2009-07-09 Thread Jan.Materne
>ant -Dpropname=xxx // correct usage >ant // incorrect usage of my build > >Can I test a property existence? > >if propname not exists ( > echo "Give more command line arg" > exit ant running >) You could check that with the condition. In that case you would combine it with fail: Give mo

for task inside path task

2009-07-09 Thread kleinfisch
example: i have a property as following defined: the count of value is dynamic. the question is: how can i define the refid inside path with for task: - Test 1: Result: failed, because "path" doesn't support the nested "for" element. - Test 2: