Stephen, I had a look at the list, but I wasn't sure of the suggested fix, is the solution just to patch the build-torque.xml file?
or is it a complete soure build ? Thanks for the support. Mark ----- Original Message ----- From: "Stephen Haberman" <[EMAIL PROTECTED]> To: "'Turbine Torque Users List'" <[EMAIL PROTECTED]> Sent: Monday, August 19, 2002 12:10 AM Subject: RE: The template path needs to be defined (on windows) > Yeah, this is a known issue that will be fixed in the next beta. I > posted a temporary patch for this two weeks ago or so. It might be on > the dev list, so my initial reaction is that it's on the user list. > > - Stephen > > > -----Original Message----- > > From: Mark Ayad [mailto:[EMAIL PROTECTED]] > > Sent: Sunday, August 18, 2002 4:16 PM > > To: [EMAIL PROTECTED] > > Subject: The template path needs to be defined (on windows) > > > > ------------------------------------------- > > Platform: windows 2000 > > Ant Version: Ant version 1.4.1 > > Torque: torque-3.0-b3 > > ------------------------------------------- > > > > I wanted to run a quick test, so without changing anything I ran the > command:- > > > > ant -f build-torque.xml > > > > and I got the following error:- > > > > C:\torque-3.0-b3>ant -f build-torque.xml > > Buildfile: build-torque.xml > > > > main: > > > > sql: > > [echo] +------------------------------------------+ > > [echo] | | > > [echo] | Generating SQL for YOUR Turbine project! | > > [echo] | Woo hoo! | > > [echo] | | > > [echo] +------------------------------------------+ > > > > sql-classpath: > > [echo] using classpath > > [torque-sql] Using contextProperties file: > C:\torque-3.0-b3\build.properties > > > > BUILD FAILED > > > > C:\torque-3.0-b3\build-torque.xml:108: The template path needs to be > defined if you > > are not using the classpath for locating templates! > > > > Total time: 1 second > > > > As you can see its complaining about the template path ): > > > > I've checked that useClasspath=false, and in the build.properties file > it says:- > > > > # ------------------------------------------------------------------- > > # You should NOT have to edit anything below here. > > # ------------------------------------------------------------------- > > > > where the template path is defined: > > > > As a way round I wrote an env.bat:- > > > > @echo off > > set CLASSPATH= > > set > CLASSPATH=%CLASSPATH%;C:\torque-3.0-b3\lib\commons-collections-2.0.jar > > set > CLASSPATH=%CLASSPATH%;C:\torque-3.0-b3\lib\commons-configuration-1.0- > > dev.jar > > set CLASSPATH=%CLASSPATH%;C:\torque-3.0-b3\lib\commons-lang-1.0-dev- > > 20020716.jar > > set CLASSPATH=%CLASSPATH%;C:\torque-3.0-b3\lib\commons-pool-1.0.jar > > set CLASSPATH=%CLASSPATH%;C:\torque-3.0-b3\lib\jcs-1.0-dev.jar > > set CLASSPATH=%CLASSPATH%;C:\torque-3.0-b3\lib\jdbc-2.0.jar > > set CLASSPATH=%CLASSPATH%;C:\torque-3.0-b3\lib\log4j-1.1.3.jar > > set CLASSPATH=%CLASSPATH%;C:\torque-3.0-b3\lib\stratum-1.0-b2.jar > > set CLASSPATH=%CLASSPATH%;C:\torque-3.0-b3\lib\torque-3.0-b3.jar > > set CLASSPATH=%CLASSPATH%;C:\torque-3.0-b3\lib\velocity-1.3.jar > > set CLASSPATH=%CLASSPATH%;C:\torque-3.0-b3\lib\village-1.5.3.jar > > set CLASSPATH=%CLASSPATH%;C:\torque-3.0-b3\lib\xercesImpl-2.0.2.jar > > set CLASSPATH=%CLASSPATH%;C:\torque-3.0-b3\lib\xmlParserAPIs-2.0.2.jar > > set CLASSPATH=%CLASSPATH%;.; > > > > changed useClasspath=true > > > > and tried:- > > > > C:\torque-3.0-b3>ant -f build-torque.xml > > > > It worked OK > > > > > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
