Dear all,
having freshly downloaded tdk-2.2, I couldn't get database created. Buil
fail with
'java.lang.NoClassDefFoundError:
org/apache/tools/ant/types/AbstractFileSet' error
at create-db target.
Could someone give me a hand in order to fix this issue ?
I've tryied to set this application on a debian woody system:
- postgresql 7.2
- mysql 3.23.49
- sun/blackdown j2sdk 1.3.1
- ant 1.4.1
Below my message, you will find my config files. i.e:
1. Error message
2. Copy of tdk's home build.properties, where project will be named
'lambda'
3. Project's WEB-INF/build/project.properties
4. Project's WEB-INF/build/build.properties
Many thanks in advance for any tips that may help
kindest regards
Bertrand
1. ERROR MESSAGES
*****************
create-db-check:
create-db:
Finding class org.apache.tools.ant.types.AbstractFileSet
BUILD FAILED
/usr/local/tdk/webapps/lambda/WEB-INF/build/build-torque.xml:284: Could
not create task of type: torque-data-model due to
java.lang.NoClassDefFoundError: org/apache/tools/ant/types/AbstractFileSet
2. COPY of $tdk.home/build.properties
*************************************
# -------------------------------------------------------------------------
# This is where you control the initial generation of the Turbine
# sample webapp.
# -------------------------------------------------------------------------
tdk.home=/usr/local/tdk
tdk.turbineVersion = 2
tdk.project = lambda
target.package = org.ubik.lambda
target.directory = org/ubik/lambda
3. COPY of $tdk.home/webapp/lambda/WEB-INF/build/project.properties
*******************************************************************
# These are properties that are specific to this
# Turbine project.
tdk.home=/usr/local/tdk
4. COPY of my $tdk.home/webapp/lambda/WEB-INF/build/build.properties
********************************************************************
# -------------------------------------------------------------------
#
# P R O J E C T P R O P E R T I E S
#
# -------------------------------------------------------------------
tdk.home=/usr/local/tdk
tdk.turbineVersion = 2
tdk.project = lambda
# This currently duplicated because the torque templates have
# a dependency on $project.
project = lambda
app.root = ../${tdk.project}
build.webappRoot = ${tdk.home}/webapps/${tdk.project}
target.package = org.ubik.lambda
target.directory = org/ubik/lambda
build.dest = ${build.webappRoot}/WEB-INF/classes
version = 0.1
src.dir = ${tdk.home}/webapps/lambda/WEB-INF/src
conf.dir = ${tdk.home}/webapps/lambda/WEB-INF/conf
master.conf.dir = ${tdk.home}/tdk/ancillary/${tdk.turbineVersion}/src/conf
debug = on
optimize = off
deprecation = on
idTableDatabase = lambda
# todo!!!
lib.dir = ${build.webappRoot}/WEB-INF/lib
torque.home = ${build.webappRoot}/WEB-INF
outputDirectory = src
schemaDirectory = conf
# -------------------------------------------------------------------
#
# D A T A B A S E S E T T I N G S
#
# -------------------------------------------------------------------
#database = ${target.database}
#createDatabaseUrl = ${createDatabaseUrl}
#buildDatabaseUrl = ${buildDatabaseUrl}
#databaseUrl = ${databaseUrl}
#databaseDriver = ${database.driver}
#databaseUser = ${databaseUser}
#databasePassword = ${databasePassword}
#databaseHost = ${databaseHost}
database.name=lambda
database=mysql
#database.manual.creation = true
createDatabaseUrl=jdbc:mysql://localhost/lambda
buildDatabaseUrl=jdbc:mysql://localhost/lambda
databaseUrl=jdbc:mysql://localhost/lambda
databaseDriver=org.gjt.mm.mysql.Driver
databaseUser=turbine
databasePassword=blablabla
databaseHost=localhost
# -------------------------------------------------------------------
#
# T O R Q U E C O N F I G U R A T I O N
#
# -------------------------------------------------------------------
# These settings will allow you to customize the way your
# Peer-based object model is created.
# -------------------------------------------------------------------
torque.buildFile=build-torque.xml
extend=TurbineMapBuilder
mapname=TurbineMap
suffix=MapBuilder
targetPackage=org.ubik.lambda.om
targetDirectory=org/ubik/lambda/om
addSaveMethod=true
addGetByNameMethod=false
complexObjectModel=true
basePrefix=Base
useManagers=false
overloadKeySetters=true
useClasspath=true
templatePath=use_classpath
# -------------------------------------------------------------------
#
# C O N T R O L T E M P L A T E S
#
# -------------------------------------------------------------------
SQLControlTemplate = sql/base/Control.vm
OMControlTemplate = om/Control.vm
idTableControlTemplate = sql/id-table/Control.vm
securityControlTemplate = sql/security/Control.vm
DataDTDControlTemplate = data/Control.vm
DataDumpControlTemplate = data/dump/Control.vm
DataSQLControlTemplate = sql/load/Control.vm
# -------------------------------------------------------------------------
# The values for the ID_TABLE_ID column in the ID_TABLE start
# at 101 for tables used in projects.
# -------------------------------------------------------------------------
initialID = 101
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
- RE: Absolute no way to build newapp on tdk-2.2 Bertrand
- RE: Absolute no way to build newapp on tdk... Phee, Martin J (Jump Tech)
- Powered by Turbine List Neil Stevens
- Re: Powered by Turbine List Johnny Quazar
- Re: Absolute no way to build newapp on... Bertrand
