|
|
|
Re: Failed to activate Greenpages Sample in Virgo 3.0.2 [message #846610 is a reply to message #844477] |
Mon, 16 April 2012 08:29 |
Glyn Normington Messages: 1222 Registered: July 2009 |
Senior Member |
|
|
Glad it's kind of working for you now. But I'm not sure what went wrong for you and I'd like to understand. I downloaded Greenpages 2.4.0.RELEASE.zip, unzipped it, built it with mvn package, and then looked inside the generated PAR file at the JPA bundle. javax.persistence is included in the import-package header:
Manifest-Version: 1.0
Bundle-Classpath: .
Built-By: glynnormington
Tool: Bundlor 1.0.0.RELEASE
Bundle-Name: GreenPages JPA
Created-By: Apache Maven
Import-Bundle: com.springsource.org.eclipse.persistence;version="[1.0.
0, 1.0.0]",com.springsource.org.eclipse.persistence.jpa;version="[1.0
.0, 1.0.0]"
Bundle-Vendor: SpringSource Inc.
Bundle-Version: 2.4.0
Build-Jdk: 1.6.0_29
Bundle-ManifestVersion: 2
Import-Package: greenpages;version="[2.4, 2.5)",javax.persistence;vers
ion="[1.0.0, 1.0.0]",javax.sql;version="0",org.apache.commons.dbcp;ve
rsion="[1.2.2.osgi, 1.2.2.osgi]",org.springframework.beans.factory.an
notation;version="[3.0, 3.1)",org.springframework.context.weaving;ver
sion="[3.0, 3.1)",org.springframework.core.io;version="[3.0, 3.1)",or
g.springframework.dao.annotation;version="[3.0, 3.1)",org.springframe
work.orm.jpa;version="[3.0, 3.1)",org.springframework.orm.jpa.vendor;
version="[3.0, 3.1)",org.springframework.stereotype;version="[3.0, 3.
1)",org.springframework.transaction.annotation;version="[3.0, 3.1)",o
rg.springframework.transaction.aspectj;version="[3.0, 3.1)"
Bundle-SymbolicName: greenpages.jpa
Archiver-Version: Plexus Archiver
Did you try using Greenpages 2.4.0.RELEASE (before you started building it yourself from the git repo)?
|
|
|
Re: Failed to activate Greenpages Sample in Virgo 3.0.2 [message #848613 is a reply to message #846610] |
Wed, 18 April 2012 12:09 |
Daniel Scholz Messages: 4 Registered: April 2012 |
Junior Member |
|
|
Well ... I downloaded the version flagged with 2.5.0 from here -> git.eclipse.org/c/virgo/org.eclipse.virgo.sample-greenpages.git/snapshot/org.eclipse.virgo.sample-greenpages-master.zip
and this Zip has the following content in the JPA Manifest after invoking Maven:
Manifest-Version: 1.0
Built-By: daniel.sxxxxx
Tool: Bundlor 1.1.0.M04
Bundle-Name: GreenPages JPA
Created-By: Apache Maven 3.0.4
Import-Bundle: com.springsource.org.eclipse.persistence;version="",com.springsource.org.eclipse.persistence.jpa;version=""
Bundle-Vendor: SpringSource
Build-Jdk: 1.6.0_31
Bundle-Version: 2.5.0
Bundle-ManifestVersion: 2
Import-Package: greenpages;version="[2.5, 2.6)",javax.sql;version="0",
org.apache.commons.dbcp;version="[1.2.2.osgi, 1.2.2.osgi]",org.spring
framework.context.weaving;version="[3.0, 3.5)",org.springframework.da
o.annotation;version="[3.0, 3.5)",org.springframework.orm.jpa;version
="[3.0, 3.5)",org.springframework.orm.jpa.vendor;version="[3.0, 3.5)"
,org.springframework.transaction.aspectj;version="[3.0, 3.5)"
Bundle-SymbolicName: greenpages.jpa
Archiver-Version: Plexus Archiver
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03974 seconds