You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2008/12/18 13:39:19 UTC

[jira] Closed: (MNG-2627) properties substitutions in exists

     [ http://jira.codehaus.org/browse/MNG-2627?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter closed MNG-2627.
-----------------------------

         Assignee: Brett Porter
       Resolution: Duplicate
    Fix Version/s:     (was: Reviewed Pending Version Assignment)

> properties substitutions in exists
> ----------------------------------
>
>                 Key: MNG-2627
>                 URL: http://jira.codehaus.org/browse/MNG-2627
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Profiles
>    Affects Versions: 2.0.4
>            Reporter: Gilles Scokart
>            Assignee: Brett Porter
>
> The substitution of properties doens't seems to work inside the exists tag in the pom.xml.
> {code}
>  	<profiles>
> 		<profile>
> 			<activation>
> 				<file>
> 					<exists>${share}</exists>
> 				</file>
> 			</activation>
> 			<build>
> 				....
> 			</build>
> 		</profile>
> 	</profiles>
> 	<properties>
> 		<share>u:\SCOKART_Gilles\Public</share>
> 	</properties>
> {code}
> Doesn't seems to work (the profile is not activated),
> while :
> {code}
>  	<profiles>
> 		<profile>
> 			<activation>
> 				<file>
> 					<exists>u:\SCOKART_Gilles\Public</exists>
> 				</file>
> 			</activation>
> 			<build>
> 				....
> 			</build>
> 		</profile>
> 	</profiles>
> 	<properties>
> 		<share>u:\SCOKART_Gilles\Public</share>
> 	</properties>
> {code}
> activate the profile.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira