ace-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bree Van Oss (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACE-515) Running ant package-bin in the build folder throws an exception
Date Mon, 27 Apr 2015 14:37:42 GMT

    [ https://issues.apache.org/jira/browse/ACE-515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14514210#comment-14514210
] 

Bree Van Oss commented on ACE-515:
----------------------------------

I haven't tested this change extensively, but updating to biz.aQute.bnd-2.4.1.jar resolves
the issue with the ant build reported above.

===================================================================
--- build-template.xml	(revision 1658812)
+++ build-template.xml	(working copy)
@@ -30,7 +30,7 @@
 		<dirname property="workspacedir" file="${projectdir}" />

 		<!-- Define the location of bnd -->
-		<path id="bnd-classpath" location="${workspacedir}/cnf/plugins/biz.aQute.bnd/biz.aQute.bnd-2.2.0.jar"
/>
+		<path id="bnd-classpath" location="${workspacedir}/cnf/plugins/biz.aQute.bnd/biz.aQute.bnd-2.4.1.jar"
/>

 		<!-- Load bnd and prepare the workspace -->
 		<taskdef resource="aQute/bnd/ant/taskdef.properties" classpathref="bnd-classpath" />

> Running ant package-bin in the build folder throws an exception
> ---------------------------------------------------------------
>
>                 Key: ACE-515
>                 URL: https://issues.apache.org/jira/browse/ACE-515
>             Project: ACE
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: next
>            Reporter: Marcel Offermans
>
> If you checkout the code, then:
> cd build
> ant package-bin
> You get the following exception:
> BUILD FAILED
> ...ace/build/build.xml:156: java.lang.NoClassDefFoundError: aQute.lib.utf8properties.UTF8Properties
not found, parent:  AntClassLoader[...ace/cnf/plugins/biz.aQute.bnd/biz.aQute.bnd-2.2.0.jar]
urls:[...ace/cnf/cache/biz.aQute.launcher/biz.aQute.launcher-1.4.0.jar] exception:java.lang.ClassNotFoundException:
aQute.lib.utf8properties.UTF8Properties
> 	at aQute.bnd.osgi.Processor$CL.loadClass(Processor.java:1280)
> 	at java.lang.Class.getDeclaredConstructors0(Native Method)
> 	at java.lang.Class.privateGetDeclaredConstructors(Class.java:2663)
> 	at java.lang.Class.getConstructor0(Class.java:3067)
> 	at java.lang.Class.getConstructor(Class.java:1817)
> 	...



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

Mime
View raw message