ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doklovic, Jonathan" <JDoklo...@VSCat.com>
Subject set Path id/reference in cutom task?
Date Sat, 26 Mar 2005 17:23:26 GMT
Hi.
 
I'm creating a custom task where I need to create a path and then set it's
id so it can be used as a reference via the build.xml
I've tried doing something like:
 
Path myPath = new Path(antProject, path);
antProject.setReference("my.compilePath",myPath);
 
but when I try to reference my.compilePath in the build.xml I get Reference
my.compilePath not found.
 
Anyone know how to either set the id of the path or set it to be used as a
reference?
 
Thanks!
 
Jonathan Doklovic
Senior Programmer
http://www.victoriassecret.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message