karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] [Created] (KARAF-3472) karaf-maven-plugin doesn't fully work on Windows
Date Sat, 24 Jan 2015 08:11:34 GMT
Jean-Baptiste Onofré created KARAF-3472:
-------------------------------------------

             Summary: karaf-maven-plugin doesn't fully work on Windows
                 Key: KARAF-3472
                 URL: https://issues.apache.org/jira/browse/KARAF-3472
             Project: Karaf
          Issue Type: Bug
          Components: karaf-tooling
    Affects Versions: 3.0.3
            Reporter: Jean-Baptiste Onofré
            Assignee: Jean-Baptiste Onofré
             Fix For: 4.0.0, 3.0.3


I am having a problem building the Snapshot 3.0.3, the problem would be in the maven plugin
when building the minimal distributition:

{code}
java.lang.RuntimeException: Unable to create target directory:
D:\Projects\Jeet\karaf\assemblies\apache-karaf-minimal\target\assembly\system\D:\Projects\Jeet\karaf\assemblies\apache-karaf-minimal\target\assembly\system\org\apache\karaf\features\framework\3.0.3-SNAPSHOT
	at
org.apache.karaf.tooling.utils.MojoSupport.ensureDirExists(MojoSupport.java:402)
	at org.apache.karaf.tooling.utils.MojoSupport.copy(MojoSupport.java:371)
	at
org.apache.karaf.tooling.features.InstallKarsMojo.resolveRepository(InstallKarsMojo.java:389)
	at
org.apache.karaf.tooling.features.InstallKarsMojo.execute(InstallKarsMojo.java:174)
{code}

In file InstallkarsMojo.java line 386:

{code}
File repositoryFileInSystemFolder = new File(new File(system), repository);
System is
D:\Projects\Jeet\karaf\assemblies\apache-karaf-minimal\target\assembly\system
Repository URI is
D:\Projects\Jeet\karaf\assemblies\apache-karaf-minimal\target\assembly\system\org\apache\karaf\features\framework\3.0.3-SNAPSHOT
{code}

I did this change to handle spaces in path.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message