Issue Details (XML | Word | Printable)

Key: JDO-11
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Michelle Caisse
Reporter: Michelle Caisse
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
JDO

enhancement problem w/ maven build w/application identity

Created: 06/Apr/05 01:04 AM   Updated: 23/Apr/06 01:56 AM
Return to search
Component/s: tck2
Affects Version/s: None
Fix Version/s: JDO 2 beta

Time Tracking:
Not Specified

Resolution Date: 23/Apr/06 01:56 AM


 Description  « Hide
When you run maven build or maven rebuild with jdo.tck.configuration set to application identity in project.properties, the datastoreidentity.jar file in target/enhanced is half as big as it shoud be, indicated an error during enhancement. No error message is produced to standard out.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Michelle Caisse added a comment - 06/Apr/05 03:26 AM
Whether you get a small jar file depends on which identity type is selected in project.properties and which order the identity types are enhanced in, as determined by their order in the enhance goal. The second listed type has a small jar file if the other type is selected in project.properties.

Removing the <delete dir="${iut.enhanced.dir}/org"/> task fixes the problem, but this is not a feasible solution in a real build.

Removing <delete dir="${iut.enhanced.dir}/org"/> from the classpath to the enhancer fixes the problem.

Michelle Caisse added a comment - 06/Apr/05 03:29 AM
Modified maven.xml to create a new classpath variable for enhancement. This classpath does not include ${iut.enhanced.dir}/${jdo.tck.identitytype}.jar, where jdo.tck.identitytype is set in project.properties.

Michael Bouschen added a comment - 23/Apr/06 01:53 AM
Reopened to set the Fix Version/s field to JDO 2 beta.