You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Stuart McCulloch (JIRA)" <ji...@apache.org> on 2008/01/22 04:18:35 UTC

[jira] Commented: (FELIX-457) Incorrect URI generated by obr-plugin:deploy

    [ https://issues.apache.org/jira/browse/FELIX-457?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12561206#action_12561206 ] 

Stuart McCulloch commented on FELIX-457:
----------------------------------------

FYI, the change to extractFileName was introduced by FELIX-370 to fix problems with installing files on Windows. Changing it back will break the other goals in the maven-obr-plugin. Instead we should fix the deploy goal(s) so that they normalize the path passed to the PathFile class, as done by the install goal(s).

> Incorrect URI generated by obr-plugin:deploy
> --------------------------------------------
>
>                 Key: FELIX-457
>                 URL: https://issues.apache.org/jira/browse/FELIX-457
>             Project: Felix
>          Issue Type: Bug
>          Components: Maven OBR Plugin
>    Affects Versions: 1.0.0
>         Environment: Windows XP, Java 1.6.0_02, Maven 2.0.8, maven-obr-plugin-1.0.0 (release)
>            Reporter: I-Ann Chen
>            Assignee: Stuart McCulloch
>             Fix For: 1.0.1
>
>
> When I tried deploying to a remote repository, the URI generated by the maven-obr-plugin was './C:/MAVEN_REPO/foo.jar' instead of './foo.jar'
> I believe this is because the extractFileName method in the PathFile class is using '/' instead of File.seperatorChar because after I replaced that, it worked as expected.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.