[ http://issues.apache.org/jira/browse/JDO-319?page=all ]

Michael Bouschen updated JDO-319:
---------------------------------

    Attachment: JDO-319-060225.patch

The attached patch JDO-219-060225.patch includes the first version of the 
XMLTest enhancement for discussion.

It adds a new goal xmltest to the maven.xml in the api20 project. This goal 
runs the XMLTest test class on all JDO metadata files specified using the 
system property metadata. The system property is a comma separated list of JDO 
metadata files or directories containing such files. The boolean system 
property dtd specifies whether to use a DTD or XSD XML parser (defaults to 
false). Example calls:
- maven -Ddtd=true -Dmetadata=mypackage.jdo xmltest
Runs the parser on the local file mypackage.jdo using a DTD XML parser.
- maven -Dmetadata=dir1,dir2 xmltest
Runs the parser on all .jdo, .orm and .jdoquery files in directories dir1 and 
dir2 using a XSD XML parser. 

> Enhance api20 XMLTest so that users can check their own .jdo .orm, and 
> .jdoquery files
> --------------------------------------------------------------------------------------
>
>          Key: JDO-319
>          URL: http://issues.apache.org/jira/browse/JDO-319
>      Project: JDO
>         Type: Improvement
>   Components: api20
>     Versions: JDO 2 rc1
>     Reporter: Michael Bouschen
>     Assignee: Michael Bouschen
>     Priority: Minor
>      Fix For: JDO 2 final
>  Attachments: JDO-319-060225.patch
>
> The new XMLTest in the api20 project could be enhanced so users could  check 
> their own .jdo .orm, and .jdoquery files. 
> Today it only runs on the JDO metadat files in api20/test/schema.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to