You may need to escape the colon after the protocol...something like:
XML_CATALOG_FILES=file\://etc/catalog:http\://catsrv/catalog
Chris Chiasson wrote:
Hello ant users.
I know ant can acquire environment variables by using the following
construct:
<property environment="env"/>
I was thinking it would be great to use the following construct
<xmlcatalog id="xml-catalog" classpath="${env.XML_CATALOG_FILES}"/>
to capture the XML_CATALOG_FILES environment variable into a path
structure. Then I thought about the fact that XML_CATALOG_FILES uses a
"protocol - type" path notation, where colons appear in the path.
The question:
I am wondering if ant will correctly parse the XML_CATALOG_FILES
environment variable if it is structured as found here:
http://mail.gnome.org/archives/xml/2002-October/msg00026.html
i.e.
XML_CATALOG_FILES=file:///etc/catalog:http://catsrv/catalog
Even if there were only one file in that path, it still seems like the
colon therein would cause ant to separate it into two paths, file and
///etc/catalog
What am I missing that would allow this to work?
--
Scot P. Floess
27 Lake Royale
Louisburg, NC 27549
252-478-8087 (Home)
919-754-4592 (Work)
Chief Architect JPlate http://sourceforge.net/projects/jplate
Chief Architect JavaPIM http://sourceforge.net/projects/javapim
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]