Hi, I'm trying to dynamically build 5 different path reference ids. I need
them since you can't refer to a non existant reference id and rather not go
through all the combinations of using them and not. I'd have n!
combinations.

So for each reference, I assign the set appropriate for it, or create one
with nothing in it ala:

<target name="dependencyRunTimeFalse" unless="project.dependency.runtime">
<path id="project.classpath.runtime"/>
</target>

That's when I ran into this error:

C:\development\eclipse 3.0\workspace\hibernate-3\common.xml:7: Reference ID
project.classpath.runtime already exists

Building w/ -d for debug I bumped into this when it is enumerating the
targets:

+Target: dependencyRunTimeFalse
Adding reference: project.classpath.runtime

How can I get around this short of creating 10 other build scripts and
dynamically including them? (That's a lot of scripts)

Reply via email to