I was having a problem like that.  Seems like the tests only work the
first time you run them after a clean, otherwise I get file not found
errors.

-james

On Wed, 2002-05-01 at 11:14, Will Glass-Husain wrote:
> Hi,
> 
> I'm running "ant test" on the Torque source (today's CVS) and am getting a
> build failed error.  Looking at the ant test, it seems that it's the test
> fault, not the fault of the new templates.  Specifically, the file
> "bookstore-data.sql" is created in the target "test-post-runtime", but it is
> used in a previous target "test-pre-runtime".
> 
> Has anyone run this test lately?  I'm a bit new on the dev structure,
> appreciate if anyone can let me know if I'm missing something.  Seems odd
> such a fundamental test wouldn't work.  (And this is before I put in my
> template changes).
> 
> I would have used Maven, but the differences in Stratum required by Maven
> and required by Torque were driving me nuts.  Couldn't figure it out.
> 
> WILL
> 
> P.S.
> 
> (Please disregard my earlier inquiry about not finding village-- renamed the
> jar and it was fine).
> 
> *************
> ant test
> ....
> 
> [torque-insert-sql] Our new url -> jdbc:mysql://localhost:3306/bookstore
> [torque-insert-sql] Executing file:
> C:\devprog2\jakarta-turbine-torque\target\test\rttest\src\sql\id-table-schem
> a.sql
> [torque-insert-sql] Executing file:
> C:\devprog2\jakarta-turbine-torque\target\test\rttest\src\sql\bookstore-sche
> ma.sql
> [torque-insert-sql] Executing file:
> C:\devprog2\jakarta-turbine-torque\target\test\rttest\src\sql\bookstore-data
> .sql
> 
> BUILD FAILED
> 
> C:\devprog2\jakarta-turbine-torque\target\test\rttest\build-torque.xml:183:
> java.io.FileNotFoundException: C:\devprog2\j
> akarta-turbine-torque\target\test\rttest\src\sql\bookstore-data.sql (The
> system cannot find the file specified)
> 
> 
> 
> _______________________________________
> Forio Business Simulations
> Will Glass-Husain
> (415) 440-7500 phone
> (415) 235-4293 mobile
> 
> [EMAIL PROTECTED]
> www.forio.com
> 
> 
-- 
[]  James A. Hillyerd <[EMAIL PROTECTED]> - Java Software Engineer
[]  PGP 1024D/D31BC40D F87B 7906 C0DA 32E8 B8F6 DE23 FBF6 4712 D31B C40D


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

Reply via email to