Community
Participate
Working Groups
>We need an ant target that will generate the 6 separate bundle jars required by Glassfish V3 - so we can replace the jars with the latest split-bundled eclipselink.jar in the absence of overriding them on the classpath or domain.xml. org.eclipse.persistence.antlr org.eclipse.persistence.asm org.eclipse.persistence.core org.eclipse.persistence.jpa org.eclipse.persistence.jpa.modelgen org.eclipse.persistence.oracle
Is this really necessary? do we want to start adding high-level targets to the build for multiple usecases and configurations? Cannot Glassfish use a custom buildfile to call the component build scripts themselves? I want to understand the need before I impliment the solution.
>Yes, forgot about glassfish.xml in eclipselink.jpa.test - this is a better place for a custom build-eclipselink-jar target - not in the main build.
So we don't need this? Will you withdraw the bug? or am I misunderstanding?
Marking as WORKSFORME until further specific details can be added explaining what is needed and why.
>indirect user request for split jars to override shipped 6 with GlassFish V3 http://dev.eclipse.org/mhonarc/lists/eclipselink-users/msg04525.html
>actually there is an existing dev-package-bundles that we can use on the root that writes to <trunk>/bundles in the form <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 >non-standard F:\view_w35f\plugins\org.eclipse.persistence.jpa.modelgen_2.2.0.qualifier.jar
>We are missing the following OSGI library in the [plugins] dir for users who upgrade via OSGI Adrian and an EclipseLink user discovered this. I did not previously get this because I manually upgraded my Glassfish and NetBeans releases instead of using OSGI. equinox.lib=org.eclipse.osgi_3.6.0.v20100517.jar for org.eclipse.persistence.jpa.osgi_2.2.0.qualifier.jar >see posts http://dev.eclipse.org/mhonarc/lists/eclipselink-dev/msg04642.html
>My mistake the target builds the osgi jars when the configuration is set <ant antfile="build.xml" dir="${eclipselink.osgi}" target="jar"/> <ant antfile="build.xml" dir="${eclipselink.equinox}" target="jar"/>
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink