You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Denis Bessmertnyj <db...@isd.dp.ua> on 2007/04/27 16:58:27 UTC
predefined system properties?
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
Re: predefined system properties?
Posted by "Scot P. Floess" <fl...@mindspring.com>.
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