Hello,
i got this error whene trying to rebuild my project with this tdk.
[torque-data-model] Using classpath
[torque-data-model] Generating to file
C:\TDK3\tdk\webapps\bugtrack\WEB-INF\src\sql\create-db.sql
[torque-data-model] Resolver: used
http://jakarta.apache.org/turbine/dtd/database.dtd
[torque-data-model] Couldn't read DTD specified in XML schema: Operation
timed out: no further information
[torque-data-model] java.lang.NullPointerException
i do not know why.
can you help me?
hereafter the build.properties:
# This currently duplicated because the torque templates have
# a dependency on $project.
project = bugtrack
app.root = ../${tdk.project}
build.webappRoot = ${tdk.home}/webapps/${tdk.project}
target.package = com.wuerth.phoenix.bugtrack
target.directory = com/wuerth/phoenix/bugtrack
build.dest = ${build.webappRoot}/WEB-INF/classes
version = 0.1
src.dir = ${tdk.home}/webapps/bugtrack/WEB-INF/src
conf.dir = ${tdk.home}/webapps/bugtrack/WEB-INF/conf
master.conf.dir = ${tdk.home}/tdk/ancillary/${tdk.turbineVersion}/src/conf
debug = on
optimize = off
deprecation = on
idTableDatabase = bugtrack
# 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.name = bugtrack
database = mysql
createDatabaseUrl = jdbc:mysql://127.0.0.1/bugtrack
buildDatabaseUrl = jdbc:mysql://127.0.0.1/bugtrack
databaseUrl = jdbc:mysql://127.0.0.1/bugtrack
databaseDriver = org.gjt.mm.mysql.Driver
databaseUser = fabio
databasePassword = elirpadt
databaseHost = 127.0.0.1
# -------------------------------------------------------------------
#
# 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=com.wuerth.phoenix.bugtrack.om
targetDirectory=com/wuerth/phoenix/bugtrack/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
Frederic Gedin wrote:
> Martin
>
>
> Fine job, it works well!
> Did you notice that the "second" and "third" databases are created but
> are leaved empty? This may be a problem for those people who like to
> work with several databases.
>
> Frederic
>
> Martin Poeschl wrote:
>
>> i uploaded a pre-release of the next tdk to
>>
>> http://jakarta.apache.org/builds/jakarta-turbine/alpha/tdk-pre-2.2.tar.gz
>>
>>
>> it includes:
>>
>> turbine-2.2-b2-dev
>> torque-3.0-b3-dev
>> velocity-1.3
>> tomcat-4.0.4
>>
>> please give it a try!
>>
>> changes:
>>
>> - the coupled torque has been removed
>> - torque uses List instead of Vector now
>> - commons-jdbc2pool is used instead of the old torque pool
>> - upgrade to tomcat-4.0.4
>>
>> the official release is planned for wednesday next week (i'm off 'til
>> monday and i'll do some additional testing on thursday ;-)
>>
>> turbine 2.2 will be NO drop-in replacement for turbine 2.1!!
>> you definitly have to change your code .. there will be a doc
>> describing the change before the finale release
>>
>> martin
>>
>>
>> --
>> 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]>
>
--
Fabio Daprile
W�rth-Phoenix Srl
Via Kravogl 4, I-39100 Bolzano
Tel: +39 0471/564111 - (direct 564070)
Fax: +39 0471/564122
mailto:[EMAIL PROTECTED]
http://www.wuerth-phoenix.com
http://www.wuerth.com
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>