Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: AW: AW: AW: [eclipselink-dev] building OSGi bundles - see 297711 dev-package-bundles

Eric,
Yes, I am confused also. The osgi jar line is right there at build.xml:276 and 278,279.
   I'll update the bug once I get the jars built.

<ant antfile="build.xml" dir="${eclipselink.osgi}" target="jar"/> <ant antfile="build.xml" dir="${eclipselink.weaving}" target="jar"/> <ant antfile="build.xml" dir="${eclipselink.equinox}" target="jar"/>

I don't have equinox dependencies properly defined - this is why i am missing the osgi jar.

[say] Equinox bundle matching 'org.eclipse.osgi_[3.5.0,4.0.0).jar' not found in [say] 'f:/view_libs/extension.lib.external','../plugins' or '../../plugins'!
no-weaving-dep:
[echo] Compile will be skipped... Cannot find: '../../plugins/org.eclipse.persistence.jpa.equinox.weaving_2.2.0.
qualifier.jar'
no-equinox-dep:
    [echo] Compile will be skipped...
    [echo]     Cannot find: 'org.eclipse.osgi_3.5.0.v20090520.jar'
    [echo]         In: 'f:/view_libs/extension.lib.external'
    [echo]         or: '../../plugins'
    [echo]         or: '../plugins'

   Thanks Eric.
   /michael

Eric Gwin wrote:
Adrian,

I've been looking into 297711, and I am confused. The o.e.p.jpa.osgi bundle is created as part of the dev-package-bundles target, and functions without need to add any other definitions. I'm uncertain whether I'm misunderstanding the issue, this is not a trunk issue, or there is an issue with the build.xml being used (not the one checked in).

Thanks.

-Eric

Michael O'Brien wrote:
Adrian,
This makes sense, I don't use OSGI to upgrade my Glassfish or Netbeans (I do it manually) - therefore I am not a user of OSGI.
    This is definitely an issue - 297711reopened.
    thank you
    /michael
   Goerler, Adrian wrote:
Hi Michael,
I just gave the six bundles to a user and he ran into a conflict with org.eclipse.persistence.jpa.osgi_2.2.0.qualifier.jar. Basically, we was unable to obtain en emf until he updateed the jpa.osgi bundle. Took him a while to find out ;-(. Regards, Adrian
SAP AG
Dietmar-Hopp-Allee 16, 69190 Walldorf, Germany

Sitz der Gesellschaft/Registered Office: Walldorf, Germany
Vorstand/SAP Executive Board: Henning Kagermann (Sprecher/CEO), Léo Apotheker (stellvertretender Sprecher/Deputy CEO), Werner Brandt, Claus Heinrich, Gerhard Oswald, John Schwarz, Peter Zencke

Vorsitzender des Aufsichtsrats/Chairperson of the SAP Supervisory Board: Hasso Plattner
Registergericht/Commercial Register Mannheim No HRB 350269

------------------------------------------------------------------------
    *Von:* Michael O'Brien [mailto:michael.obrien@xxxxxxxxxx]
    *Gesendet:* Donnerstag, 22. Juli 2010 20:52
    *An:* Goerler, Adrian
    *Cc:* Dev mailing list for Eclipse Persistence Services
    *Betreff:* Re: AW: AW: [eclipselink-dev] building OSGi bundles -
    see 297711 dev-package-bundles

    Adrian,
        Good point, other users of OSGI will require it.
        fyi, I have been updating the 6 bundles in the Glassfish
    3.0.1 server embedded in NetBeans 6.9 right now without updating
    this jar - likely only structural changes like package and
    function signatures require an upgrade.

        I will reopen and update the bug.
        thank you
        /michael

    Goerler, Adrian wrote:
    Hi Michael,
         thanks.
Unfortunately, it turned out that we also needed an up to date
    version of
         org.eclipse.persistence.jpa.osgi_2.2.0.qualifier.jar
         I think we should include building this in the
    *dev-package-bundles *target. However, it requires to define a
    property
         equinox.lib=org.eclipse.osgi_3.6.0.v20100517.jar
         in the build.properties (and the
    org.eclipse.osgi_3.6.0.v20100517.jar file in
    extension.lib.external). So I don't know if this would be an
    annoyance.
         Best regards,
         Adrian
SAP AG
    Dietmar-Hopp-Allee 16, 69190 Walldorf, Germany

    Sitz der Gesellschaft/Registered Office: Walldorf, Germany
    Vorstand/SAP Executive Board: Henning Kagermann (Sprecher/CEO),
    Léo Apotheker (stellvertretender Sprecher/Deputy CEO), Werner
    Brandt, Claus Heinrich, Gerhard Oswald, John Schwarz, Peter Zencke

    Vorsitzender des Aufsichtsrats/Chairperson of the SAP
    Supervisory Board: Hasso Plattner
    Registergericht/Commercial Register Mannheim No HRB 350269

------------------------------------------------------------------------
        *Von:* eclipselink-dev-bounces@xxxxxxxxxxx
        [mailto:eclipselink-dev-bounces@xxxxxxxxxxx] *Im Auftrag von
        *Michael O'Brien
        *Gesendet:* Dienstag, 20. Juli 2010 17:51
        *An:* Dev mailing list for Eclipse Persistence Services
        *Betreff:* Re: AW: [eclipselink-dev] building OSGi bundles -
        see 297711 dev-package-bundles

        Adrian,
            Also, see the following bug details on generating the 6
        bundle jars used by Glassfish V3 (which is also OSGI based)
        https://bugs.eclipse.org/bugs/show_bug.cgi?id=297711

        run (7 seconds)
        trunk>ant dev-package-bundles


        <target name="*dev-package-bundles*"
        depends="clean-runtime-checkedin">
F:\view_w35f\plugins\org.eclipse.persistence.antlr_2.2.0.qualifier.jar F:\view_w35f\plugins\org.eclipse.persistence.asm_2.2.0.qualifier.jar F:\view_w35f\plugins\org.eclipse.persistence.core_2.2.0.qualifier.jar F:\view_w35f\plugins\org.eclipse.persistence.jpa_2.2.0.qualifier.jar F:\view_w35f\plugins\org.eclipse.persistence.oracle_2.2.0.qualifier.jar

        and the new
F:\view_w35f\plugins\org.eclipse.persistence.jpa.modelgen_2.2.0.qualifier.jar

             thank you
            /michael

        Goerler, Adrian wrote:
        Hi,
> When you run the build the bundles will be placed into the
        plugins folder.
                 Ah! Thanks,
                 Adrian

SAP AG
        Dietmar-Hopp-Allee 16, 69190 Walldorf, Germany

        Sitz der Gesellschaft/Registered Office: Walldorf, Germany
        Vorstand/SAP Executive Board: Henning Kagermann
        (Sprecher/CEO), Léo Apotheker (stellvertretender
        Sprecher/Deputy CEO), Werner Brandt, Claus Heinrich,
        Gerhard Oswald, John Schwarz, Peter Zencke

        Vorsitzender des Aufsichtsrats/Chairperson of the SAP
        Supervisory Board: Hasso Plattner
        Registergericht/Commercial Register Mannheim No HRB 350269

------------------------------------------------------------------------
            *Von:* eclipselink-dev-bounces@xxxxxxxxxxx
            [mailto:eclipselink-dev-bounces@xxxxxxxxxxx] *Im
            Auftrag von *Shaun Smith
            *Gesendet:* Dienstag, 20. Juli 2010 17:28
            *An:* eclipselink-dev@xxxxxxxxxxx
            *Betreff:* Re: [eclipselink-dev] building OSGi bundles

            You can download them from the EclipseLink download
            page, pull them down via P2, or build them yourself.
            When you run the build the bundles will be placed into
            the plugins folder.

                Shaun

            On 20/7/2010 11:24 AM, Goerler, Adrian wrote:
            Hi,
                         how do I build (or where do I find) the
            OSGi-bundled-version of EclipseLink?
                         Thanks and regards,
                         Adrian
                         SAP AG
            Dietmar-Hopp-Allee 16, 69190 Walldorf, Germany
Sitz der Gesellschaft/Registered Office: Walldorf, Germany
            Vorstand/SAP Executive Board: Henning Kagermann
            (Sprecher/CEO), Léo Apotheker (stellvertretender
            Sprecher/Deputy CEO), Werner Brandt, Claus Heinrich,
            Gerhard Oswald, John Schwarz, Peter Zencke
            Vorsitzender des Aufsichtsrats/Chairperson of the SAP
            Supervisory Board: Hasso Plattner
Registergericht/Commercial Register Mannheim No HRB 350269
            _______________________________________________
            eclipselink-dev mailing list
            eclipselink-dev@xxxxxxxxxxx
            https://dev.eclipse.org/mailman/listinfo/eclipselink-dev

            --             Oracle <http://www.oracle.com>
            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 <http://www.oracle.com/commitment> Oracle
            is committed to developing practices and products that
            help protect the environment

------------------------------------------------------------------------

        _______________________________________________
        eclipselink-dev mailing list
        eclipselink-dev@xxxxxxxxxxx
        https://dev.eclipse.org/mailman/listinfo/eclipselink-dev



------------------------------------------------------------------------

_______________________________________________
eclipselink-dev mailing list
eclipselink-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/eclipselink-dev




Back to the top