IMPORTANT: New maven command line
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > Apache JDO Project > IMPORTANT: New maven command line




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    IMPORTANT: New maven command line  
Michelle Caisse


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-23-05 10:45 PM

Hi,

I've just checked in the TestRunner project.  There are now new maven
goal names and command line options that you need to be aware of when
you build or run the TCK.  I've put a synopsis below (this information
is also in trunk/README.txt); you may look at
http://wiki.apache.org/jdo/TestRunner for more information.

As before, run "maven build" to build the tck.  This will compile,
enhance, install the schemas,
and run all the tests on all supported databases and identitytypes.

You may use the following custom goals and command line options:

Custom Goals:
* runtck.jdori - runs the TCK on the JDO Reference Implementation
* runtck.iut - runs the TCK on the implementation under test
* installSchema - installs the database schema
* enhance.jdori - enhances the class files using the JDO RI enhancer
* enhance.iut - enhances the class files using the implementation
under test's enhancer

Command Line Options:
-Djdo.tck.cfglist=<configuration file list>
Overrides test/conf/configuration.list by supplying
one or more space-separated test configuration files

-Djdo.tck.dblist=<database list>
Overrides the property value in project.properties by supplying
one or more space-separated database names

-Djdo.tck.identitytypes=<identity type list>
Overrides the property value in project.properties by supplying
one or more space-separated identity types (applicationidentity
or datastoreidentity) to use for this run.

Maven looks for the following configuration files in test/conf:
* configurations.list
A list of files. Each file listed is a test configuration file.
* test configuration files
Each of these files sets values for
jdo.tck.testdescription - an optional string describing
the purpose of these tests
jdo.tck.classes - a list of one or more test classes.
jdo.tck.testdata - fully qualified file name
(not required by all tests)
jdo.tck.standarddata - fully qualified file name
(not required by all tests)
jdo.tck.mapping - file designator that maven.xml uses
to build a javax.jdo.option.Mapping value and
corresponding schema name
* exclude.list
A list of test classes NOT to execute during a TCK test run
[Not yet fully implemented]

For example, run "maven runtck.jdori" to run all tests or
"maven -Djdo.tck.cfg=<configuration file name> runtck.jdori"
to run one configuration.

-- Michelle






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 01:09 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register