Re: Reading files, but not properties...

2007-03-08 Thread Andrew Close
On 3/8/07, Dominique Devienne <[EMAIL PROTECTED]> wrote: > > > includesfile="${ant.project.name}.dependencies" /> > Watch out that the order you'll get is "undefined", and possibly independent of the order in your includesfile... It's the order in which 's scan the dirs that matters,

Re: Reading files, but not properties...

2007-03-08 Thread Andrew Close
On 3/7/07, Andrew Close <[EMAIL PROTECTED]> wrote: On 3/2/07, Dominique Devienne <[EMAIL PROTECTED]> wrote: > On 3/2/07, Andrew Close <[EMAIL PROTECTED]> wrote: > > we currently have a file included with our projects called 'jar.list'. > > this file co

Re: Reading files, but not properties...

2007-03-07 Thread Andrew Close
On 3/2/07, Dominique Devienne <[EMAIL PROTECTED]> wrote: 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. >

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

Re: Issues with ANT 1.7 and Linux???

2007-02-16 Thread Andrew Close
On 2/16/07, James Abley <[EMAIL PROTECTED]> wrote: Sorry, I thought Antoine had answered this, but just to be explicit: Paths are (always in my experience with the filesystems I've used) case-sensitive under Linux. Have you tried: ls -l /home/scm/CC_BUILD/projects/RSA/build.properties [EMAIL

Re: Issues with ANT 1.7 and Linux???

2007-02-16 Thread Andrew Close
Steve, thanks for the reply. On 2/16/07, Steve Loughran <[EMAIL PROTECTED]> wrote: Andrew Close wrote: > so when i run ANT in debug mode i see the following: > > [property] Loading /home/scm/CC_BUILD/projects/RSA/build.properties > [property] Unable to find property file: &g

Re: Issues with ANT 1.7 and Linux???

2007-02-16 Thread Andrew Close
On 2/15/07, Antoine Levy-Lambert <[EMAIL PROTECTED]> wrote: From your log file, may be your property file should be loaded from > /home/scm/CC_Build/projects/RSA/build.properties not from > /home/scm/CC_BUILD/projects/RSA/build.properties Best regards, Antoine, thanks for your reply. the

Issues with ANT 1.7 and Linux???

2007-02-15 Thread Andrew Close
hi all, i did a bit of Googling and searched the archive but couldn't find quite the same situation mentioned that i'm in, so i figured i'd ask here. :) we do our development on WinXP SP2 using jdk 1.4.2_06. i've written new build scripts for our project using ANT 1.7. everything works fine in

Re: Best Practices Using uptodate?

2007-02-14 Thread Andrew Close
On 2/14/07, Sam Hendley <[EMAIL PROTECTED]> wrote: How do you all use in your build scripts? I am using it to see if a build should be performed. I am getting the correct value in the property specified by uptodate but I am having some trouble determining the correct way to structure my build fi

Re: JUnit task and the 'fork' attribute...

2007-01-30 Thread Andrew Close
n version of ant some diagnostics has been added to check this condition. Peter On 1/29/07, Andrew Close <[EMAIL PROTECTED]> wrote: > hello all, > > i'm attempting to get the fork attribute to work with the optional > JUnit task. when attempting a build on this machine we ar

JUnit task and the 'fork' attribute...

2007-01-29 Thread Andrew Close
hello all, i'm attempting to get the fork attribute to work with the optional JUnit task. when attempting a build on this machine we are getting JVM OutOfMemoryErrors during the JUnit task. so i figured i would use the fork command and then be able to up the JVM heap size for that particular ta

Re: Parallel task...

2007-01-24 Thread Andrew Close
Dominique, thanks for the reply. i'll heed your advice and stay away from parallel for now. it just looked like a nice way to process some of the 'optional' tasks we have. :) i'll take a look at your other suggestions. thanks again andy On 1/24/07, Dominique Devienne <[EMAIL PROTECTED]> wrote

Parallel task...

2007-01-24 Thread Andrew Close
hi all, i'm looking at the use of the parallel task to run some optional jobs during my build. this looks like it would be perfect for doing things like javadoc, junit, jprobe, etc. however, i would like to be able to switch my optional tasks so that they are only run if a flag was set. currentl

Dynamically building dependencies...

2007-01-12 Thread Andrew Close
hello all, i'm looking for a more elegant/efficient solution to a problem we have in our build scripts. our source code is fairly unorganized as an organization, and as we've grown and added systems it has become unwieldy. this is more of a process problem than an ANT script problem, but i'm hopi

Re: ConcurrentModificationException

2007-01-11 Thread Andrew Close
On 1/11/07, Thomas Voigt <[EMAIL PROTECTED]> wrote: Hi, we recently started to get ConcurrentModificationExceptions with ant. We use ant 1.7 and ant-contrib 1.02b2 with jdk 1.5.0_07 (the same error occurs with jdk 1.5.0_10) on Windows Server 2003. are you testing this script out on your si

Re: Building from a list...

2006-04-26 Thread Andrew Close
On 4/25/06, Andrew Goodnough <[EMAIL PROTECTED]> wrote: Yeah, I forgot that part of what you were looking for. The closest I've come is this, using a separate "branch-build" file located at the root of your local workspace (same level with the projects): ===branch-build.xml===

Re: Building from a list...

2006-04-25 Thread Andrew Close
On 4/25/06, Andrew Goodnough <[EMAIL PROTECTED]> wrote: >>> On Tue, Apr 25, 2006 at 11:13 am, in message <[EMAIL PROTECTED]>, "Andrew Close" <[EMAIL PROTECTED]> wrote: > hello, > > i'm having a bit of a brain- fart coming up with a solution to

Building from a list...

2006-04-25 Thread Andrew Close
hello, i'm having a bit of a brain-fart coming up with a solution to this situation. we have about 130 JAR files that we are building for a particular project. most of these JARs are dependent on each other so they require a specific build order. i was hoping to create a list of the projects t