Re: specifying location of an external library within build.xml

2006-11-03 Thread Jacob Kjome
Can you add your libraries to ${user.home}/.ant/lib? That's equivalent to adding jars to ${ant.home}/lib. There is another option. You can avoid all the classloading issues and simply use a native SCP executable. Do something like this...

specifying location of an external library within build.xml

2006-11-03 Thread asgeir
Hello All, Is there a way to specify the location of an external library for an optional task (jsch.jar in my case) from within build.xml, or to change the order of classes being loaded? Here's what I'm trying to do: build.xml contains and tasks, so I provide jsch.jar and other libraries in th

javac compile errors logs with priority="warn"

2006-11-03 Thread John Norvell
I'm working on an xlst script to convert our xml build logs to html and have run across this somewhat odd behavior. The javac task seems to log compile errors using the "warn" logging priority level with echo. An example of a compile error would be: "blahblah.java:619: cannot resolve symbol"

RE: Package prefix with ant build & ClassNotFoundException

2006-11-03 Thread Tom Corcoran
Prashant, Thanks for that. It turns out that's what I was doing, I thought it was using the xml I wrote (build.xml) but that was only being used when I did an external ant build. It generates an xml file - projectname.xml. Anyway, having looked at this xml file I'm not sure what I can glean from