I have a folder structure similar to the following:
${basedir}
|--build
|--project1
|--subproject1
|--build
|--subproject2
|--build
|--subproject3
|--build
|--project2
|--subproject1
|--build
|--subproject2
|--build
Hopefully this won't g
Using the task will actually execute a new ant process for each
target, which means that in that particular ant process, init has never been
called - thus it gets called every time.
The depends line you have in your previous mail is still the best way to go
- the "prepare something" step should p
t
and see if you get your exception. I used:
classpath="." >
and got:
Buildfile: build.xml
BUILD FAILED
/sandbox/test/ant/build.xml:3: Yep, at least we're selecting
Total time: 0 seconds
Patrick Aikens wrote:
I'm trying to w
I'm trying to write a custom selector. It works fine, except that
isSelected is never called. This is using 1.6.5, with the .jar for
the selector in ant's lib directory and the jar contains an
antlib.xml. Here's the pared down version.
Yes, isSelected is set to throw an exception if it's ever ca
I've seen solutions using and javascript, but that's
not supported in 1.6.5 as far as I can tell. Unfortunately, I can't
upgrade to 1.7.0 just yet. I need to be able to run a task
on all project directories using a single build file (genericantfile),
but ONLY if those directories contain an ivy