ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jan.Mate...@rzf.fin-nrw.de>
Subject AW: Dependency depending on OS
Date Tue, 06 Apr 2010 11:00:08 GMT
file.unix=abc.sh
file.windows=abc.bat 
file=file.${os.name}

Jan

p.s.
Exact values not tested, but you should get the idea.



> -----Urspr√ľngliche Nachricht-----
> Von: raghu.eswaraiah@nokia.com [mailto:raghu.eswaraiah@nokia.com] 
> Gesendet: Dienstag, 6. April 2010 09:56
> An: dev@ant.apache.org
> Betreff: Dependency depending on OS
> 
> Hi,
> 
> How I can check the dependency depending on the OS name.
> 
> I want to check the artifact depending on the OS.
> 
> If os=unix then abc.sh
> 
> If os=windows then abc.bat.
> 
> Thanks and Regards,
> Raghu.A.E
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message