You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Wendy Smoak (JIRA)" <ji...@codehaus.org> on 2007/02/05 01:32:44 UTC

[jira] Updated: (MNG-2809) Can't activate a profile by checking for the presence of a file in ${user.home}

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

Wendy Smoak updated MNG-2809:
-----------------------------

    Summary: Can't activate a profile by checking for the presence of a file in ${user.home}  (was: using file exists in a profile causes an error if the path, or a used variable in the path, has a space)


This works:    <file><exists>c:/Documents and Settings/wsmoak/file.txt</exists></file>

This doesn't:  <file><exists>${user.home}/file.txt</exists></file>

> Can't activate a profile by checking for the presence of a file in ${user.home}
> -------------------------------------------------------------------------------
>
>                 Key: MNG-2809
>                 URL: http://jira.codehaus.org/browse/MNG-2809
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Profiles
>    Affects Versions: 2.0.4
>            Reporter: Mark Proctor
>
> The following won't activate. If I move it to a path without a space it works. This is for windows xp.
> <file><exists>${user.home}/.m2/ydoc/lib/ydoc.jar</exists></file>

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