The "<property environment="env"/>" construct works just fine under NT.
As for platform specific tasks, you can look at the "execon" and "apply"
tasks, which both take OS specifications to control execution.
Rebecca C Lau wrote:
>
> Dear All,
>
> I have been using Ant in UNIX. I am now trying to migrate the system to NT
> but the Ant script doesn't work.
>
> May I know how to make "<property environment="env"/>" works in NT? Is there
> any way to detect which os the ant script is running on so that I can write
> OS-specific tasks?
>
> Thx.
>
> Regards,
> Rebecca
--
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) mailto:streepy@healthlanguage.com
970/626-4425 (fax) http://www.healthlanguage.com
|