Hi,

I'm trying to build and test Torque, so that I can add some code.  I'm first
doing this without making any changes so I can see how Maven and the build
process work.

* I loaded the latest Torque src from CVS
* I entered  "ant -f build-maven.xml maven:update-jars"
* I edited my default properties to include a test profile
* I copied the activation jar into the lib repo directory
* I entered  "ant -f build-maven.xml maven:jar"

The problem is that the Junit tests on Criteria are failing, apparently
because it can't find the village classes.  Where should these go?  I have
"village-1.5.3-dev.jar" in lib.repo and "village-1.5.3.jar" in
target/test/lib.

Any ideas?

Thanks.

WGH
*****

My Criteria test report tells me that:

Testsuite: org.apache.torque.util.CriteriaTest
Tests run: 3, Failures: 0, Errors: 2, Time elapsed: 0.291 sec
------------- Standard Error -----------------
log4j:ERROR No appenders could be found for category
(org.apache.torque.Torque).
log4j:ERROR Please initialize the log4j system properly.
------------- ---------------- ---------------

Testcase: testAddString took 0.261 sec
Testcase: testBetweenCriterion took 0.02 sec
 Caused an ERROR
com/workingdogs/village/DataSet
java.lang.NoClassDefFoundError: com/workingdogs/village/DataSet

...


_______________________________________
Forio Business Simulations
Will Glass-Husain
(415) 440-7500 phone
(415) 235-4293 mobile
[EMAIL PROTECTED]
www.forio.com


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to