Bug 374927 - Need to package some jpa test and framework jar files in order to run them on GodenGate
Summary: Need to package some jpa test and framework jar files in order to run them on...
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL:
Whiteboard:
Keywords: test
Depends on:
Blocks:
 
Reported: 2012-03-21 11:20 EDT by Kevin Yuan CLA
Modified: 2022-06-09 10:26 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Yuan CLA 2012-03-21 11:20:18 EDT
I am trying to run EclipseLink jpa tests on GoldenGate, will need the the following test and framework jar files:

  - /trunk/jpa/eclipselink.jpa.test/eclipselink-annotation-model.jar
  - /trunk/jpa/eclipselink.jpa.test/eclipselink-xml-merge-model.jar
  - /trunk/jpa/eclipselink.jpa.test/eclipselink-xml-only-model.jar
  - /trunk/jpa/eclipselink.jpa.test/eclipselink-tests.jar
  - /trunk/foundation/eclipselink.core.test/eclipselink-tests.jar

It's better to package these jar files into eclipselink-test.zip (or give another name), so that don't need to rebuild these jars in a separate environment (because lots of dependencies need to be added in the classpath).  

Currently both jpa and foundation testing have the same file name (the last two jar files), it's better to change those two jar files' name (eclipselink-jpa-tests.jar and eclipselink-foundation-tests.jar).

Already discuss with Eric, and he is put effort on it now.
Comment 1 Eric Gwin CLA 2012-03-21 21:23:39 EDT
added the following to a new target in the root build to generate a new zip of test jars:

<zipfileset dir="${basedir}">
    <include name="${eclipselink.core.test}/${coretest.framework.jar}"/>
    <include name="${eclipselink.core.test}/eclipselink-core-tests.jar"/>
    <include name="${eclipselink.jpa.test}/${jpatest.framework.jar}"/>
    <include name="${eclipselink.jpa.test}/eclipselink-jpa-tests.jar"/>
    <include name="${eclipselink.jpa.test}/eclipselink-annotation-model.jar"/>
    <include name="${eclipselink.jpa.test}/eclipselink-xml-merge-model.jar"/>
    <include name="${eclipselink.jpa.test}/eclipselink-xml-only-model.jar"/>
</zipfileset>

after splitting the framework classes away from the core and jpa test jars.
Comment 2 Eric Gwin CLA 2012-03-21 21:25:24 EDT
builds fine and seems to run locally, transaction 11030
Comment 3 Eric Gwin CLA 2012-03-23 08:23:59 EDT
fixed publishing of zip after Kevin verified the zip created Wednesday eve met his requirements.

Closing bug.
Comment 4 Eclipse Webmaster CLA 2022-06-09 10:26:47 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink