Details
-
Type:
Task
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.3 rc1
-
Component/s: XML code generator - JDO extensions
-
Labels:None
-
Number of attachments :
Description
The task is about running through annotations, fetch JDO content from AppInfos and fill ClassInfos and FieldInfos using JDOClassNature and JDOFieldNature. Probably the best way to do so is within the SourceFactory's extractAnnotations method. Please keep in mind, that you need to apply the proper patch for annotation unmarshalling (CASTOR-2365).
This first patch realizes the goal of adding JDO-specific information obtained from AppInfos to ClassInfos and FieldInfos via JDOClassNature and JDOFieldNature, respectively. Two testcases are provided together with two 2 different schema files.
In order to get this patch running, two other patches need to be applied. The following steps outline this procedure:
1. Apply patch.c2365.20080605.txt from
CASTOR-23652. Run a maven compile on the Castor Schema Projects (NOT on the entire project!)
3. Apply patch.c2380.20080610.txt from
CASTOR-2380(or download & extract the zip-file if you encounter problems during patching)4. Finally apply this patch (patch.c2412.20080619.txt)