You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2004/06/06 23:40:06 UTC
[jira] Commented: (MAVEN-1290) UNIX style absolute path resolves relatively on Windows (XP)
The following comment has been added to this issue:
Author: Jerome Lacoste
Created: Sun, 6 Jun 2004 5:38 PM
Body:
If I manage to get a hold on a Win XP install I can give a go at this one.
If I understood correctly the problem, this means that a solution would be to replace the '/' by the file.separator value in path taken from the POM or the properties. This should potentialy be applied to several values, including the maven.repo.local one.
Correct?
---------------------------------------------------------------------
View this comment:
http://jira.codehaus.org/browse/MAVEN-1290?page=comments#action_20417
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/MAVEN-1290
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MAVEN-1290
Summary: UNIX style absolute path resolves relatively on Windows (XP)
Type: Bug
Status: Unassigned
Priority: Major
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven
Components:
core
Fix Fors:
1.0
Versions:
1.0-rc3
Assignee:
Reporter: Graham Triggs
Created: Fri, 21 May 2004 5:04 AM
Updated: Sun, 6 Jun 2004 5:38 PM
Environment: Windows XP, Sun JDK 1.4.2_04
Description:
We use absolute file paths in our project.xml / project.properties files, and use the UNIX style as we need our environment to be portable across platforms.
Using Maven 1.0-rc3 on Windows, it is resolving these references relatively - for example:
maven.repo.local=/StdEnv/MLIBS
will result in Maven trying to locate the repository in a StdEnv/MLIBS subdirectory of the current project, not from the root of the drive, as it did previously.
---------------------------------------------------------------------
JIRA INFORMATION:
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
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org