Bug 2002: Classpath error when loading neutron northbound api 88/12188/1
authorSam Hague <shague@redhat.com>
Wed, 22 Oct 2014 01:51:27 +0000 (21:51 -0400)
committerDevin Avery <devin.avery@brocade.com>
Thu, 23 Oct 2014 10:29:45 +0000 (10:29 +0000)
Add the org.eclipse.persistence.antlr to the odl-pseristence feture. There are weird timing issues where if the antlr bundle is not loaded before core and moxy then the classes in antlr cannot be found.

Change-Id: I8fd30b5fb215b8a25512deac45e80099c91c539e
Signed-off-by: Sam Hague <shague@redhat.com>
(cherry picked from commit 3ee4966ad2d840a907fae33ff74037d599765742)

features/base/src/main/resources/features.xml

index c324f6cea65cc4d9fb9e6883f43ff93d854c03c8..d7d8e0ddacfbbf851741dfe18312452606d4ecec 100644 (file)
@@ -80,6 +80,7 @@
    <feature name="odl-base-eclipselink-persistence" description="EclipseLink Persistence API" version="2.0.4.v201112161009">
       <bundle start="true">mvn:eclipselink/javax.persistence/2.0.4.v201112161009</bundle>
       <bundle start="true">mvn:eclipselink/javax.resource/1.5.0.v200906010428</bundle>
+      <bundle start="true">mvn:org.eclipse.persistence/org.eclipse.persistence.antlr/2.5.0</bundle>
       <bundle start="true">mvn:org.eclipse.persistence/org.eclipse.persistence.moxy/2.5.0</bundle>
       <bundle start="true">mvn:org.eclipse.persistence/org.eclipse.persistence.core/2.5.0</bundle>
    </feature>