You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by Byron Foster <bf...@base2.cc> on 2001/12/07 03:01:55 UTC

Problems running the testbed.

I seem to be having problems running the testbed.  I'm running it from a
new checked out instance of jakarta-turbine-torque, as of this morning,
and the only difference from the this checked out version is the
following build.properties file in my home directory:

===========================================================================
lib.repo=/home/bfoster/open/jakarta-turbine-2/lib
velocity.jar=/home/bfoster/open/jakarta-velocity/bin/velocity-1.3-dev.jar
village.jar=${lib.repo}/village-1.5.3-dev.jar
commons-util.jar=/home/bfoster/open/jakarta-commons-sandbox/util/commons-util-0.
1-dev.jar
torque.testDatabaseJar=/home/bfoster/b2tools/jar/latest/mm.mysql-2.0.7-bin.jar
torque.testProfile=/home/bfoster/open/jakarta-turbine-torque/profile/mysql.profi
le
=============================================================================

after the checkout I run "ant test". And then it fails. It is able to
find all the jars.  It is able to connect and execute statements on the
mysql database. But it seems to have a problem finding the
build.properties file from the build-torque.xml file in the rttest
directory.  Is there any setting I'm missing here?  I'm running this on
Linux, but I've also tested this on NT, and I'm getting the same
behavior.  Also, I'm able to run the build-torque.xml in the rttest
directory outside of the testbed without a problem.

Thanks,
Byron

The following is the output from running "ant test":

===========================================================================

darkstar> ant test
Buildfile: build.xml

init:

check.velocity:

check.xerces:

check.village:

check.log4j:

check.commons-collections:

check.commons-util:

check.jdbc:

env:
     [echo] java.home = /usr/local/j2sdk1.3.1/jre
     [echo] user.home = /home/bfoster
     [echo] lib.repo = /home/bfoster/open/jakarta-turbine-2/lib
     [echo] village.jar =
/home/bfoster/open/jakarta-turbine-2/lib/village-1.5.3-dev.jar
     [echo] velocity.jar =
/home/bfoster/open/jakarta-velocity/bin/velocity-1.3-dev.jar
     [echo] xerces.jar =
/home/bfoster/open/jakarta-turbine-2/lib/xerces-1.4.3.jar
     [echo] log4j.jar =
/home/bfoster/open/jakarta-turbine-2/lib/log4j-1.1.3.jar
     [echo] jdbc.jar =
/home/bfoster/open/jakarta-turbine-2/lib/jdbc2_0-stdext.jar
     [echo] junit.jar =
/home/bfoster/open/jakarta-turbine-2/lib/junit-3.7.jar
     [echo] commons-collections.jar =
/home/bfoster/open/jakarta-turbine-2/lib/commons-collections.jar
     [echo] commons-util.jar =
/home/bfoster/open/jakarta-commons-sandbox/util/commons-util-0.1-dev.jar

prepare:

compile:

jar:

test:

filterTokens:

test-libs:

test-templates:

test:
     [echo] Copying profile into distribution directory:
/home/bfoster/open/jakarta-turbine-torque/profile/mysql.profile
     [copy] Copying 1 file to
/home/bfoster/open/torque-orig/bin/test/rttest
     [copy] Copying 2 files to
/home/bfoster/open/torque-orig/bin/test/rttest/schema
     [copy] Copying 1 file to
/home/bfoster/open/torque-orig/bin/test/rttest

test-pre-runtime:

test-create-db:

project-create-db:
[torque-create-db] Generating to file
/home/bfoster/open/torque-orig/bin/test/rttest/src/sql/create-db.sql
[torque-create-db] Resolver: used database.dtd from
org.apache.torque.engine.database.transform package 
[torque-create-db] Resolver: used database.dtd from
org.apache.torque.engine.database.transform package 
      [sql] Executing file:
/home/bfoster/open/torque-orig/bin/test/rttest/src/sql/create-db.sql
      [sql] 2 of 2 SQL statements executed successfully

test-project-sql:

project-sql:
     [echo] +------------------------------------------+
     [echo] |                                          |
     [echo] | Generating SQL for YOUR Turbine project! |
     [echo] | Woo hoo!                                 |
     [echo] |                                          |
     [echo] +------------------------------------------+

BUILD FAILED

/home/bfoster/open/torque-orig/bin/test/rttest/build-torque.xml:72:
Context properties file build.properties could not be found in the file
system or on the classpath!

Total time: 6 seconds








--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Problems running the testbed.

Posted by Byron Foster <bf...@base2.cc>.
On Fri, 2001-12-07 at 01:08, Martin Poeschl wrote:

> 
> it works for me ...
> 
> please try it again and use the -debug flag so we get more information
> 
> martin
> 

Ahh, Thanks, I was not aware of the -debug option.  With this option I
found that it was throwing an exception from 
org.apache.velocity.texen.ant.TexenTask, The version of velocity I was
using was from cvs, and it is about 3 weeks old. I updated it and built
it, and I the testbed works!   Thanks for the clue.

Byron




--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Problems running the testbed.

Posted by Martin Poeschl <mp...@marmot.at>.
Byron Foster wrote:

> I seem to be having problems running the testbed.  I'm running it from a
> new checked out instance of jakarta-turbine-torque, as of this morning,
> and the only difference from the this checked out version is the
> following build.properties file in my home directory:
> 
> ===========================================================================
> lib.repo=/home/bfoster/open/jakarta-turbine-2/lib
> velocity.jar=/home/bfoster/open/jakarta-velocity/bin/velocity-1.3-dev.jar
> village.jar=${lib.repo}/village-1.5.3-dev.jar
> commons-util.jar=/home/bfoster/open/jakarta-commons-sandbox/util/commons-util-0.
> 1-dev.jar
> torque.testDatabaseJar=/home/bfoster/b2tools/jar/latest/mm.mysql-2.0.7-bin.jar
> torque.testProfile=/home/bfoster/open/jakarta-turbine-torque/profile/mysql.profi
> le
> =============================================================================
> 
> after the checkout I run "ant test". And then it fails. It is able to
> find all the jars.  It is able to connect and execute statements on the
> mysql database. But it seems to have a problem finding the
> build.properties file from the build-torque.xml file in the rttest
> directory.  Is there any setting I'm missing here?  I'm running this on
> Linux, but I've also tested this on NT, and I'm getting the same
> behavior.  Also, I'm able to run the build-torque.xml in the rttest
> directory outside of the testbed without a problem.
------------------------------+
> 
> BUILD FAILED
> 
> /home/bfoster/open/torque-orig/bin/test/rttest/build-torque.xml:72:
> Context properties file build.properties could not be found in the file
> system or on the classpath!
> 
> Total time: 6 seconds


it works for me ...

please try it again and use the -debug flag so we get more information

martin



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>