"Raphael Philipe Mendes da Silva" <[EMAIL PROTECTED]> writes:

>   Ok, and if i need to put it in a properties file, like a build.properties, i can 
> do the same?

Yes. 

See http://ant.apache.org/manual/CoreTasks/property.html
(<ant:properties>) or
http://jakarta.apache.org/commons/jelly/libs/util/tags.html#util:properties
(<util:properties>) for details.

cu....

>
> -----Original Message-----
> From: Roland Huss [mailto:[EMAIL PROTECTED]
> Sent: Thursday, April 29, 2004 4:14 PM
> To: Maven Users List
> Subject: Re: Environment Variables
>
>
> "Raphael Philipe Mendes da Silva" <[EMAIL PROTECTED]> writes:
>
>>  In Maven.xml I need to access the value of an Environment Variable =
>> like %JBOSS_HOME% or %JAVA_HOME%, there are some way to do this?
>
> Try
>
>  <ant:property environment="env"/>
>
> Afterwards you can access your %JAVA_HOME% with ${env.JAVA_HOME}
>
> cu...
> -- 
>                                                         ...roland huss
>                                                              consol.de
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
>

-- 
                                                        ...roland huss
                                                             consol.de


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to