Hi David,
The org.eclipse.persistence.equinox.weaving bundle is a framework
extension that supports byte code weaving of JPA entities. As you can
see on this
example page, it is only functional if installed correctly. It is
intended to be used as a framework extension by developers in their
Equinox applications.
From looking at the info below it looks like the EPP build system is
looking at the manifest of this bundle, detecting that this is a
framework extension, and then generating the line in the config.ini:
osgi.framework.extensions=reference\:file\:org.eclipse.persistence.jpa.equinox.weaving_1.1.2.v20090526-r4309.jar
Is there a way to tell the build system not to do this?
Shaun
David M Williams wrote:
I'm forwarding this note I originally asked on epp-dev ... at least one of
you watches that list, right?
But, I'm just wondering, briefly, what this jpa.equinox.weaving bundle
does and how it might change platform behavior in the Java EE IDE. Should
it _really_ be there in config.ini?
Thanks,
----- Forwarded by David M Williams/Raleigh/IBM on 05/28/2009 02:45 PM
-----
From:
Markus Knauer <mknauer@xxxxxxxxxxxxxxxxx>
To:
Eclipse Packaging Project <epp-dev@xxxxxxxxxxx>
Date:
05/28/2009 04:34 AM
Subject:
Re: [epp-dev] Question on config.ini in JEE package about equinox.weaving
Sent by:
epp-dev-bounces@xxxxxxxxxxx
At least I can answer where it was taken from.
If you look into the content.jar (content.xml) of the Galileo Staging
repository, you will find some install instructions:
<unit id='org.eclipse.persistence.jpa.equinox'
version='1.1.2.v20090526-r4309' singleton='false'>
...
<instruction key='manifest'>
Bundle-Vendor: Eclipse.org - EclipseLink
Project
Bundle-SymbolicName:
org.eclipse.persistence.jpa.equinox
Bundle-ManifestVersion:
2
Bundle-Version:
1.1.2.v20090526-r4309
Bundle-RequiredExecutionEnvironment:
J2SE-1.5
Created-By: 2.4 (IBM Corporation)
Implementation-Vendor:
Eclipse.org - EclipseLink Project
Implementation-Version:
1.1.2.v20090526-r4309
Manifest-Version: 1.0
HK2-Bundle-Name:
org.eclipse.persistence:org.eclipse.persistence.jpa.equinox
Bundle-Name:
EclipseLink Dynamic Weaving Fragment for
Equinox
Specification-Version: 1.1.2
Ant-Version: Apache Ant
1.7.0
Fragment-Host:
org.eclipse.persistence.jpa;bundle-version="1.1.2.v20090526-r4309"
Import-Package:
org.eclipse.osgi.baseadaptor;resolution:=optional,org.eclipse.osgi.baseadaptor.bundlefile;resolution:=optional,org.eclipse.osgi.baseadaptor.loader;resolution:=optional,org.eclipse.osgi.framework.adaptor;resolution:=optional,org.eclipse.osgi.internal.baseadaptor;resolution:=optional,org.eclipse.persistence.jpa.equinox.weaving;resolution:=optional
Specification-Vendor:
Eclipse.org - EclipseLink Project
JPA-Initializer:
org.eclipse.persistence.internal.jpa.deployment.osgi.equinox.EquinoxInitializer
</instruction>
So it will be best to ask the EclipseLink project.
Markus
2009/5/28 David M Williams <david_williams@xxxxxxxxxx>
I notice this line in our config.ini
osgi.framework.extensions=reference\:file\:org.eclipse.persistence.jpa.equinox.weaving_1.1.2.v20090526-r4309.jar
I'm wondering what that is ...
and how did it get in there?
In the sense of; how'd it get in there without me be aware of it?
Is it "manually" added somewhere? Or is it "picked up" automatically from
somewhere?
_______________________________________________
epp-dev mailing list
epp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/epp-dev
_______________________________________________
eclipselink-dev mailing list
eclipselink-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/eclipselink-dev
--
Shaun Smith | Principal Product Manager
Phone: +19055023094
Oracle Server Technologies, Oracle TopLink
ORACLE Canada | 110 Matheson Boulevard West, Suite 100, Mississauga,
Ontario | L5R 3P4
Oracle is committed to developing practices and products that
help protect the environment
|