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

[jira] Commented: (MNG-2809) using file exists in a profile causes an error if the path, or a used variable in the path, has a space

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

Mark Proctor commented on MNG-2809:
-----------------------------------

Actually I'm not sure if this is spaces. I tried it using ${basedir} with a path that didn't have spaces, it iddn't activate. I looked at the help:effective-pom and cut and pasted the whole url it was displaying there and it worked. Does that mean that profiles are being decided before the variable resolving is done?

> using file exists in a profile causes an error if the path, or a used variable in the path, has a space
> -------------------------------------------------------------------------------------------------------
>
>                 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