[
https://issues.apache.org/jira/browse/FELIX-370?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Clement Escoffier updated FELIX-370:
------------------------------------
Attachment: patch-maven-obr-plugin.txt
patch-maven-bundle-plugin.txt
Hello,
The last commits broke the compilation of the Felix trunk under Windows. The
problem comes from the '/' and '\'.
I identify two problems :
First, in the org.apache.felix.bundleplugin.OBRInstall.java file : the bundle
path is not correctly computed (the path has both '\' and '/')
Secondly, in org.apache.felix.sandbox.obr.plugin.PathFile.java, the
extractFileName method recieve a String coming from an URI (so there is no more
'\' inside). However, the search looks for File.separator (i.e. '\' on windows).
I creates two small patches to solve this problem. But, I don't have a Linux
machine in reach to test this under Linux.
Clement
> Include maven-obr-plugin in maven-bundle-plugin
> -----------------------------------------------
>
> Key: FELIX-370
> URL: https://issues.apache.org/jira/browse/FELIX-370
> Project: Felix
> Issue Type: Wish
> Components: Maven Bundle Plugin
> Affects Versions: 1.0.0
> Reporter: Stefano Lenzi
> Assignee: Stefano Lenzi
> Priority: Minor
> Attachments: patch-maven-bundle-plugin.txt, patch-maven-obr-plugin.txt
>
>
> I'd like to move the maven-obr-plugin from the Clement's sandbox to the trunk
> and add the plugin to the maven-bundle-plugin.
> I've already added some configuration properties to the maven-obr-plugin in
> order to enable/disable the following goal:
> - repository: the goal create/update a local OBR repository in the
> MAVEN_M2_REPO which all the bundle that you compiled by "mvn install"
> - deploy: the goal create/update a remote OBR repository in same server used
> for deploying maven artifact.
> At the moment the default configuration enable the creation of the local OBR
> repository but disable the creation of the remote OBR repository
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.