Hi,
did you tried running ant with the debug flag to get more detailed error message?
regards Armin
[EMAIL PROTECTED] wrote:
Hi!
i'm new to OJB and i'm having a few problems. I think i've followed correctly all the steps from de "Getting Started" tutorial.
I have moved the tutorial1 directory from tutorials-src.jar to the src\java\org\apache\ojb and also the repository_user.xml to src/resources
when running "ant build" there are no problems, the error becomes when trying to run "ant setup-db" to create the database.
Firstly i'm using the hsqldb driver so i don't need to change anything in the build.properties file neither the build.xml.
this is the error:
sql-classpath:
[torque-sql] Using contextProperties file: C:\OJB2\PROYECTO\build.properties
[torque-sql] Using classpath
[torque-sql] Cannot get default properties!
[torque-sql] Generating to file C:\ojb2\proyecto\build\resources\report.ojb_blank.sql.generation
[torque-sql] Parsing file: 'ojbcore-schema.xml'
[torque-sql] Parsing file: 'project-schema.xml'
BUILD FAILED
C:\OJB2\PROYECTO\build.xml:130: Following error occured while executing this line
C:\OJB2\PROYECTO\src\schema\build-torque.xml:200: Following error occured while executing this line
C:\OJB2\PROYECTO\src\schema\build-torque.xml:214: Generation failed. For more information consult the velocity log, or i
nvoke ant with the -debug flag.
any help? thanks
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
