ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Juergen Hermann" ...@web.de>
Subject Re: Conditionally create a path reference id
Date Wed, 19 Oct 2005 21:43:06 GMT
On Wed, 19 Oct 2005 15:34:48 -0600, sporty wrote:

^><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

How is project.dependency.runtime set? You should do it via a <isrefeence> 
condition, and then it should work.

Ciao, J├╝rgen



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message