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

[jira] Created: (MNG-4713) ${basedir} variable makes portable builds overly difficult

${basedir} variable makes portable builds overly difficult
----------------------------------------------------------

                 Key: MNG-4713
                 URL: http://jira.codehaus.org/browse/MNG-4713
             Project: Maven 2 & 3
          Issue Type: Bug
          Components: Design, Patterns & Best Practices
    Affects Versions: 2.2.1
            Reporter: Gili


Please reopen MNG-3198. I believe that Brett misunderstood what Jochen wrote. There is no simple workaround with the current Maven implementation. Jochen was saying that Maven should use unix-style slashes under Windows for the sake of portability and let users convert to Windows-style slashes themselves if they wish to use an external script.

Simple use-case: try passing a ${basedir}-relative path into the "java.library.path" property. It's impossible to do this portably under Maven's existing implementation.

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