Re: should ant 'id' value be a static string

2009-12-21 Thread Raja Nagendra Kumar
Also, if one uses id as ${foo}, I am not sure if there a way to refer this.. as in all other places using ${foo} would get resolved to a value. Another point, not sure, if Bugs discovered at very late stages can be considered as BC in order to consider the fixes for the same. Pl. see if this co

Re: Windows 7 and ant exec task

2009-12-21 Thread Antoine Levy Lambert
Hello Greg, what is zzz ? is it an exe ? a shell script (.cmd, .bat) ? if you specify the full path of zzz, can you then execute it ? Regards, Antoine Thompson, Greg D. (LNG-DFW) wrote: I'm using Windows 7. When I use the ant exec task, I get Cannot run program "zzz": CreateProcess error=

Re: Java in JDK but ANT can't find it!

2009-12-21 Thread Antoine Levy Lambert
Hello Juha, I do not understand what is causing the described problem to happen. The ant script never sets JAVA_HOME. At least not directly. Can you check whether the rpm_mode is activated on your computer ? I think you can run ant like that " ant --noconfig " to desactivate the rpm_mode.

size of ivy report files

2009-12-21 Thread Michael Feinberg
Ivy reports are great and prove extremely valuable when time comes to troubleshoot the dependencies. However, we found that it takes quite a bit of time to generate them - we are seeing 15 to 20 seconds for a single configuration's html report. And then there is size: a 160K xml file turns into

Windows 7 and ant exec task

2009-12-21 Thread Thompson, Greg D. (LNG-DFW)
I'm using Windows 7. When I use the ant exec task, I get Cannot run program "zzz": CreateProcess error=2, The system cannot find the file specified. When I run the program "zzz" from the command line, it works fine. The folder that program "zzz" is in is in my path env variable. Ant versio

Re: Java in JDK but ANT can't find it!

2009-12-21 Thread Juha Laiho
I came across this oldish thread while trying to resolve the same problem: David Nemer wrote: > I am running ANT programmatically in JAVA. So, my task is to build the > BUILD.XML. > I'm able to do so, but it throws an exception saying: > > /scratch2/nemer/test/xfire/build.xml:5: The following err

Re: AW: AW: should ant 'id' value be a static string

2009-12-21 Thread Matt Benson
Well, theoretically if some user were using a ${foo} construct as an explicit id, then yes, that would break BC, but I would imagine such situations to be extremely rare and wouldn't have a problem with adding property expansion to the id attribute. -Matt On Dec 21, 2009, at 7:27 AM, wrot

AW: AW: should ant 'id' value be a static string

2009-12-21 Thread Jan.Materne
>As one kind of resolutions work and not other one.. for id's. >Jan pl. let me know why such design.. Not sure, was before my time (2003) ;-) Changing that would on the other hand break backwards compatibility. Jan - To unsub

AW: Best way to have script fail if not using new enough JDK?

2009-12-21 Thread Jan.Materne
(see target "check_for_optional_packages" in Ants own buildfile) Jan >-Ursprüngliche Nachricht- >Von: KARR, DAVID (ATTCINW) [mailto:dk0...@att.com] >Gesendet: Montag, 21. Dezember 2009 00:45 >An: Ant Users List >Betreff: Best way to have script fail if not using new enough JDK? >

AW: Eclipse Ant debugger

2009-12-21 Thread Knuplesch, Juergen
You have to start Ant as an Java application, without using the Ant plugin. -- Jürgen Knupleschwww.icongmbh.de icon Systemhaus GmbHTel. +49 711 806098-275 Sophienstraße 40 D-70178 Stuttgart Fax. +49 711 806098-299 Gesch

Eclipse Ant debugger

2009-12-21 Thread hellian
Hi I have a swing application in Eclipse that I run with my Ant script. When I go to Ant->Debug As in Eclipse, it simply runs and does not go to breakpoints in Java class files. Can Anyone tell me how to debug with Ant inside Eclipse? Thanks -- View this message in context: http://old.nabbl