ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scot P. Floess" <flo...@mindspring.com>
Subject Re: predefined system properties?
Date Sat, 28 Apr 2007 02:49:39 GMT
Are you wanting system properties?  That's built into Java...

Look at System.getProperties()

Or

http://java.sun.com/docs/books/tutorial/essential/environment/sysprop.html

I think you are after:  |user.dir|

Denis Bessmertnyj wrote:
> Does ant have predefined system properties?
> For example, I want to get current dir name.
> How I may do it?
>
> thank you
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>

-- 
Scot P. Floess
27 Lake Royale
Louisburg, NC  27549

252-478-8087 (Home)
919-392-6730 (Work)

Chief Architect JPlate  http://sourceforge.net/projects/jplate
Chief Architect JavaPIM http://sourceforge.net/projects/javapim


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