Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-dev] Question on config.ini in JEE package about equinox.weaving

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&#xA;Bundle-SymbolicName: 
org.eclipse.persistence.jpa.equinox&#xA;Bundle-ManifestVersion: 
2&#xA;Bundle-Version: 
1.1.2.v20090526-r4309&#xA;Bundle-RequiredExecutionEnvironment: 
J2SE-1.5&#xA;Created-By: 2.4 (IBM Corporation)&#xA;Implementation-Vendor: 
Eclipse.org - EclipseLink Project&#xA;Implementation-Version: 
1.1.2.v20090526-r4309&#xA;Manifest-Version: 1.0&#xA;HK2-Bundle-Name: 
org.eclipse.persistence:org.eclipse.persistence.jpa.equinox&#xA;Bundle-Name: 
EclipseLink Dynamic Weaving Fragment for 
Equinox&#xA;Specification-Version: 1.1.2&#xA;Ant-Version: Apache Ant 
1.7.0&#xA;Fragment-Host: 
org.eclipse.persistence.jpa;bundle-version=&quot;1.1.2.v20090526-r4309&quot;&#xA;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&#xA;Specification-Vendor: 
Eclipse.org - EclipseLink Project&#xA;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
  

--
Oracle
Shaun Smith | Principal Product Manager
Phone: +19055023094
Oracle Server Technologies, Oracle TopLink
ORACLE Canada | 110 Matheson Boulevard West, Suite 100, Mississauga, Ontario | L5R 3P4

Green Oracle Oracle is committed to developing practices and products that help protect the environment

Back to the top