ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Hatcher" <jakarta-...@ehatchersolutions.com>
Subject Re: classpath elements, properties, and interoperability
Date Fri, 05 Apr 2002 16:05:15 GMT
<path id="some.path">
  .
  .
  .
</path>

<property "path.string" refid="some.path"/>

voila!  :)



----- Original Message -----
From: "Matt Coarr" <mcoarr@mitre.org>
To: <ant-user@jakarta.apache.org>
Sent: Friday, April 05, 2002 10:39 AM
Subject: classpath elements, properties, and interoperability


> Hello,
>
> I had been using a property to reference my classpath as a string value.
>  So this was being used with the javac task and with the exec and execon
> tasks (to call the ejbc command under the iplanet app server).
>
> Then I tried to switch over to using the classpath element -- it's more
> flexible, more readable, and just a better way to do it.  However I ran
> into a problem.  How do I pass a value from a classpath element to an
> external command or a task that isn't aware of classpath elements.  The
> javac task includes the classpathref that makes this easy, but using
> this value seems difficult/impossible with exec/execon.  Any
> suggestions?  Perhaps there is a function that can be used to convert a
> classpath element to a string value?? :-)
>
> Matt
>
>
>
> --
> To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>
>
>


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


Mime
View raw message