ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Larry V. Streepy, Jr." <>
Subject Generation of paths
Date Wed, 30 May 2001 14:30:56 GMT
Before I head off and write this, I thought I'd ask if it's been done.

For our product we need to generate platform specific scripts that
contain PATH and CLASSPATH settings.  I need to be able to generate
these scripts from any build platform.  Thus, from a Windows platform I
need to be able to generate paths that are legal on Unix platforms and

Since Ant works very hard to generate all paths in the "current"
platform format, I have no easy way to generate the paths for the
"other" platforms.  For example, I need to generate these two different


I've searched pretty hard and I see no way to make Ant generate both
forms.  I was toying with the idea of writing a "pathconvert" task which
would take a target platform and additional data (like drive letter
mappings) and have it store the path in a property.

If anyone knows of a better (read already implemented) solution, please
let me know.


Larry V. Streepy, Jr.
Chief Technical Officer and VP of Engineering

Health Language, Inc.  -- "We speak the language of healthcare"
A subsidiary of CyberPlus Corp.

970/626-5028 (office) 
970/626-4425 (fax)    

View raw message