You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Carlos Sanchez (JIRA)" <ji...@codehaus.org> on 2008/07/16 01:57:26 UTC

[jira] Commented: (MANTRUN-88) Profile properties not handled correctly

    [ http://jira.codehaus.org/browse/MANTRUN-88?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=141913#action_141913 ] 

Carlos Sanchez commented on MANTRUN-88:
---------------------------------------

what version of antrun plugin?

> Profile properties not handled correctly
> ----------------------------------------
>
>                 Key: MANTRUN-88
>                 URL: http://jira.codehaus.org/browse/MANTRUN-88
>             Project: Maven 2.x Antrun Plugin
>          Issue Type: Bug
>            Reporter: Thomas Diesler
>
> [INFO] [help:effective-settings]
> [INFO] 
> Effective settings:
> {code:xml}
> <?xml version="1.0"?>
> <settings>
>   <localRepository>/home/tdiesler/.m2/repository</localRepository>
>   <profiles>
>     <profile>
>       <properties>
>         <jboss.local.repository>/home/tdiesler/svn/jboss.local.repository</jboss.local.repository>
>       </properties>
>     </profile>
>   </profiles>
>   <activeProfiles>
>     <activeProfile>jbossws</activeProfile>
>   </activeProfiles>
> </settings>
> {code}
> This executes 
> {code:xml}
> <tasks if="jboss.local.repository">
>   <property name="version.id" value="${project.version}"/>
>   <property name="jboss.local.repository" value="${jboss.local.repository}"/>
>   <echo message="Install to jboss.local.repository=${jboss.local.repository}"/>
>   <ant antfile="ant/build-install.xml" target="install"/>
> </tasks>
> {code}
> because 'jboss.local.repository' is set, however later the property has no value
> [INFO] Executing tasks
>      [echo] Install to jboss.local.repository=${jboss.local.repository}
> init:
>      [echo] version.id=3.0.2-SNAPSHOT
>      [echo] repository.id=3.0.2-SNAPSHOT
>      [echo] jboss.local.repository=${jboss.local.repository}

-- 
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