Re: Reading files, but not properties...

2007-03-02 Thread Dominique Devienne
On 3/2/07, Andrew Close <[EMAIL PROTECTED]> wrote: we currently have a file included with our projects called 'jar.list'. this file contains a list of JAR files that the project depends upon. i.e. apache-ant-1.7.0.jar productA.jar productB.jar etc.jar i'd like to be able to convert the content

Reading files, but not properties...

2007-03-02 Thread Andrew Close
we currently have a file included with our projects called 'jar.list'. this file contains a list of JAR files that the project depends upon. i.e. apache-ant-1.7.0.jar productA.jar productB.jar etc.jar i'd like to be able to convert the contents of this file into a path-like structure:

Generating .classpath for Eclipse...

2007-03-02 Thread Andrew Close
i've found several tasks that take an Eclipse .classpath file and create buildfiles and the like, but nothing that goes the other way. i'd like to be able to check source out of the repository, build it and then generate a .classpath so i can open it up as a project in Eclipse. i'm playing with a

sshexec not picking up exit code

2007-03-02 Thread Byron Vonthal
I'm using ant 1.7.0 with jsch-0.1.29 I do get back output but I don't get an outputproperty. The BUILD FAILED yet it shows as BUILD SUCCESS. How do I pickup that exit code? I've seen various solutions but none seemed to work. I'm calling a remote machine by using sshexec thru openSSH like this

Re: Help on PVCS using ANT

2007-03-02 Thread Kevin Jackson
Hi, Hi, can anyone of you post how to get projects/files from pvcs using ANT script. A sample will be helpful. http://ant.apache.org/manual/OptionalTasks/pvcstask.html The ant manual is the first place you should look before posting a question If you have a problem *after* consulting the

Re: How to best create environment specific properties in an applications property file using ANT

2007-03-02 Thread Steve Loughran
Stephen Nesbitt wrote: > I consider it best practice to *never* incorporate runtime configuration > information into a build. When asked to do so I also request that I be > given a "way forward machine" that will peer into the future and tell me > where it will be deployed. I dont like hard codi

RE: Specifying additonal classpath elements when calling the task

2007-03-02 Thread David Corley \(AT/LMI\)
Hey Rainer, Thanks for the pointer, but that tool still doesn't cover my problem. My basic need is have something like a nested element for the task. I can't specify either of the javamail or jaf jars using taskdef, because they don't contain ant tasks. This communication is confidential and

Re: Specifying additonal classpath elements when calling the task

2007-03-02 Thread Peter Reilly
On 3/1/07, Rainer Noack <[EMAIL PROTECTED]> wrote: Maybe http://enitsys.sourceforge.net/ant-classloadertask/ what you are looking for. This would be the recommended way. I use this method for our in-house project. An alternative way would be to call the ant launcher class in a forked task and