[
https://issues.apache.org/jira/browse/JDO-639?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michelle Caisse updated JDO-639:
--------------------------------
Attachment: enhance.txt
To supply directories as arguments to the enhancer, I made the following change
to project.properties. The attached file shows the output with NPE for each of
the .class files (total of 102).
jdo.tck.jdometadata.files = \
package.jdo \
org/apache/jdo/tck/ \
org/apache/jdo/tck/api/instancecallbacks/ \
org/apache/jdo/tck/pc/ \
org/apache/jdo/tck/pc/company/ \
org/apache/jdo/tck/pc/companyMapWithoutJoin/ \
org/apache/jdo/tck/pc/companyListWithoutJoin/ \
org/apache/jdo/tck/pc/order/ \
org/apache/jdo/tck/pc/fieldtypes/ \
org/apache/jdo/tck/pc/inheritance/ \
org/apache/jdo/tck/pc/instancecallbacks/ \
org/apache/jdo/tck/pc/lifecycle/ \
org/apache/jdo/tck/pc/mylib/ \
org/apache/jdo/tck/pc/newInstance/ \
org/apache/jdo/tck/pc/query/ \
org/apache/jdo/tck/pc/singlefieldidentity/ \
org/apache/jdo/tck/pc/shoppingcart/ \
org/apache/jdo/tck/pc/companyAnnotatedFC/ \
org/apache/jdo/tck/pc/companyAnnotatedPI/ \
org/apache/jdo/tck/pc/companyAnnotatedPC/ \
org/apache/jdo/tck/pc/companyAnnotatedJPA/
> tck enhancement should make use of feature to enhance an entire directory
> -------------------------------------------------------------------------
>
> Key: JDO-639
> URL: https://issues.apache.org/jira/browse/JDO-639
> Project: JDO
> Issue Type: Improvement
> Components: tck2
> Affects Versions: JDO 2 maintenance release 2
> Reporter: Michael Bouschen
> Assignee: Michelle Caisse
> Attachments: enhance.txt
>
>
> The current enhancer call as part of the runtck goal takes a list of .jdo
> files as an argument (see property jdo.tck.jdometadata.files in
> project.properties and maven.xml). The new enhancer invocation API allows to
> enhance all files of a given directory. We should investigate to make use of
> this feature in order to get rid of listing all the .jdo in the property
> jdo.tck.jdometadata.files.
> There is a similar issue with the properties jdo.tck.pcclasses.sources and
> jdo.tck.pcclasses.files:
> - Property jdo.tck.pcclasses.sources is used when checking whether
> (re)enhancing is required. Maybe a pattern
> org/apache/jdo/tck/api/**/*.java, org/apache/jdo/tck/pc/**/*.java
> can be used instead of listing all the persistent capable classes explicitly.
> - Property jdo.tck.pcclasses.files is used when copying the class file into
> the identitytype specific subdirectories before running the enhancer. Maybe a
> similar pattern could replace the list of class files.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.