OK I got ANT to work .... and this is how I have attempted to get the
TDK setup
-------------- now try to build Turbine TDK ------------------------
cd /usr/local
gunzip < tdk-2.1.tar.gz |tar xvf - *** explodes and makes TDK
directory ****
cd tdk [build.xml is in this directory]
------ must specify whole path because ant is already existing in
/usr/X11R6/bin
/usr/local/ant/jakarta-ant-1.3/bin/ant -buildfile build.xml
There are few things that you must do before
you can run the sample application. Everything
will be done for you automatically, but you must
change some properties for your project before
your Java and SQL sources can be fully generated.
Once you have made the necessary changes, you can
then run an initialization target with the build script
provided and the whole sample app will be setup for you!.
Detailed instructions on how to precede are outlined
outlined in the GETTING_STARTED.txt located in the
webapps/newapp/WEB-INF/build directory
cd /usr/local/tdk/webapps/newapp/WEB-INF/build
ee GETTING_STARTED.txt
esc
ee build.properties
--> project=donald
--> database=mysql
--> targetPlatform = unix
--> targetPlatformExt = sh
extend=TurbineMapBuilder
mapname=TurbineMap
suffix=MapBuilder
targetPackage=org.mycompany.newapp.om
addSaveMethod=true
addGetByNameMethod=false
complexObjectModel=true
basePrefix=Base
--> basePrefix=BasedatabaseUrl = jdbc:mysql://168.149.93.5/test
(jdbc:mysql://127.0.0.1/test)
--> databaseDriver = org.gjt.mm.mysql.Driver
--> databaseUser = me
--> databasePassword = tomcat
--> databaseHost = 168.149.93.5 (127.0.0.1)
configDir=./config
templatePath = bin/torque/templates
SQLControlTemplate = sql/base/Control.vm
OMControlTemplate = om/Control.vm
idTableControlTemplate = sql/id-table/Control.vm
securityControlTemplate = sql/security/Control.vm
outputDirectory = ../src
schemaDirectory = project
esc a a
cd /usr/local/tdk/webapps/newapp/WEB-INF/build ( if not already there )
------ must specify whole path because ant is already existing in
/usr/X11R6/bin
/usr/local/ant/jakarta-ant-1.3/bin/ant init
------ must specify whole path because ant is already existing in
/usr/X11R6/bin
/usr/local/ant/jakarta-ant-1.3/bin/ant -buildfile build.xml
[javac] Compiling 20 source files to
/usr/local/tdk/webapps/newapp/WEB-INF/classes
[javac]
/usr/local/tdk/webapps/newapp/WEB-INF/src/java/org/mycompany/newapp/modules/
screens/Form.java:64: cannot resolve symbol
[javac] symbol : class Rdf
[javac] location: package om
[javac] import org.mycompany.newapp.om.Rdf;
.................................
[javac] 16 errors
[javac] 1 warning
BUILD FAILED
********************************************** MY QUESTION
***************************************
what are the 16 errors related to ... any Ideas.....
Thanks
Donald Duquaine
STL Tampa West
Analyst / Network Adminstrator
mailto:[EMAIL PROTECTED]