you have to define your tdk.home in the build.properties
regards
Akmal
----- Original Message ----- 
From: "James Kuhn" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 23, 2003 7:46 PM
Subject: ant init -- tdk.home


> Hi,
>  
> I'm trying to get turbine v2.2 running with oracle on a Windows XP
> machine.
>  
> My build.properties file in my tdk root directory contains the
> following:
>  
> tdk.turbineVersion = 2
> tdk.project = testapp
> target.package = org.xyz.testapp
> target.directory = org/xyz/testapp
> tdk.project = testapp
> turbine.app.name = testapp
> tdk.home = c:/java/tdk-2.2
>  
>  
> I've gotten past the first stage, and have used ant to create my webapps
> directory.  So the directory structure that has been created is as
> follows:
> c:\java\tdk-2.2\webapps\testapp\WEB-INF\... etc.
>  
> I'm having problems running ant init.  The error output is as follows:
>  
> ----------------------- start or error output
> C:\java\tdk-2.2\webapps\testapp\WEB-INF\build>ant init
> Buildfile: build.xml
>  
> check-webinf-exists:
>  
> setup-webinf:
>  
> BUILD FAILED
>  
> C:\java\tdk-2.2\webapps\testapp\WEB-INF\build\build.xml:371:
> Basedir C:\java\tdk-2.2\webapps\testapp\WEB-INF\build\${tdk.home}
> does not exist
>  
> Total time: 0 seconds
>  
> --------------- end of error output
>  
> The portion of the build.xml that surrounds line 371 (the line reported
> in
> the error) is as follows:
>  
>   <target
>     name="setup-webinf"
>     depends="check-webinf-exists"
>     unless="webinf-exists">
>  
>     <ant dir="${tdk.home}" target="setup-webinf"/>                <<<<<<
> this is line 371
>     <ant antfile="project-build.xml"/>
>   </target>
>  
>  
>  
> All I'm doing is following the instructions from the "Creating your
> first
> Turbine application" section of the website.  I guessing that the
> tdk.home
> is supposed to be set to the root of the directory structure that was
> unpacked from the tdk-2.2_01.tar.gz file.  Am I right?
>  
> Any suggestions would be welcome.
> Thanks.
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
> 

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

Reply via email to