[ 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