Hi again!
the build.properties file looks like the one in the Getting Started tutorial except
the databaseUser (root)
jcdAlias=default
databaseName=productmanager
databaseUser=root
databasePassword=
dbmsName=MySQL
jdbcLevel=3.0
jdbcRuntimeDriver=com.mysql.jdbc.Driver
urlProtocol=jdbc
urlSubprotocol=mysql
urlDbalias=//localhost/${databaseName}
torque.database=mysql
torque.database.createUrl=${urlProtocol}:${urlSubprotocol}://localhost/
jar.name=projectmanager.jar
source.dir=src
source.java.dir=${source.dir}/java
source.resource.dir=${source.dir}/resources
source.test.dir=${source.dir}/test
source.schema.dir=${source.dir}/schema
build.dir=build
build.lib.dir=lib
build.classes.dir=${build.dir}/classes/
build.resource.dir=${build.dir}/resources/
target.dir=target
the last error references line 214 of build-torque.xml that is:
<target name="sql-classpath" if="torque.internal.useClasspath">
<torque-sql
basePathToDbProps="sql/base/"
contextProperties="${torque.contextProperties}"
controlTemplate="${torque.template.sql}"
idTableXMLFile="${torque.idTableXMLFile}"
outputDirectory="${torque.sql.dir}"
outputFile="report.${torque.project}.sql.generation"
sqldbmap="${torque.sql.dir}/sqldb.map"
targetDatabase="${torque.database}"
useClasspath="${torque.useClasspath}"> <-- line 214
<fileset dir="${torque.schema.dir}"
includes="${torque.schema.sql.includes}"
excludes="${torque.schema.sql.excludes}"
/>
</torque-sql>
</target>
Thanks again but what am i doing wrong??
Sergio
----- Mensaje Original -----
Remitente: Armin Waibel [EMAIL PROTECTED]
Destinatario: OJB Users List [EMAIL PROTECTED]
Fecha: Lunes, Agosto 23, 2004 5:32pm
Asunto: Re: [torque-sql] Cannot get default properties!
Hi,
> Caused by: java.lang.IllegalStateException: infinite loop in
property
> interpolation of ${databaseUrl}: databaseUrl->databaseUrl
seems something wrong with database url creation. Did you check the
build.properties settings?
regards,
Armin
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]