db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Monsorno <monsorno-use...@exolution.de>
Subject problems building torque from cvs
Date Fri, 07 May 2004 09:19:37 GMT
Hi *,

I recently checked out torque from cvs and tried to build it, but
without success.  I sent this message to the developer mailing list,
but there were no messages in this list in the last 3 days, so I don't
know if anyone is actually reading it.  I have the following
problems:


1. Does torque need jdk > 1.4 ?  I don't find any documentation about
   this requirement but:

   - building with Sun JDK 1.3.1_10 fails due to:

,----
|     [junit] Running org.apache.torque.util.SqlExpressionTest
| large buildIn: 68
|     [junit] Tests run: 4, Failures: 1, Errors: 0, Time elapsed: 0,18 sec
|     [junit] [ERROR] TEST org.apache.torque.util.SqlExpressionTest FAILED
`----

     while it works with blackdown jdk 1.4.1


2. I suppose building the generator must be done by calling maven in
   the src/generator directory.  I get really annoying log messages
   when doing this about 2000 lines like

,----
| [DEBUG] XmlToAppData - -endElement(, , column) called
| [DEBUG] XmlToAppData - -endElement(, , column) called
`----

   How can I configure this logging?  Editing
   src/generator/src/conf/log4j.properties does not help.


3. To use the generator in my project I have to call the
   build-torque.xml file, as it is not maven-enabled by now.  So I
   suppose I need not only the torque-gen-jar-file, but a whole
   distribution.  But calling "maven dist" fails with:

,----
| dist:prepare-bin-filesystem:
|     [delete] Deleting directory /home/monsorno/was/apache/db-torque/src/generator/target/torque-gen-3.2-dev/bin/torque-gen-3.2-dev
|     [mkdir] Created dir: /home/monsorno/was/apache/db-torque/src/generator/target/torque-gen-3.2-dev/bin/torque-gen-3.2-dev
|     [echo]
|       +-------------------------------------------------------+
|       | C R E A T I N G  B I N A R Y  D I S T R I B U T I O N |
|       +-------------------------------------------------------+
|      
|     [copy] Copying 1 file to /home/monsorno/was/apache/db-torque/src/generator/target/torque-gen-3.2-dev/bin/torque-gen-3.2-dev
|     .... 
|     [move] Moving 1 files to /home/monsorno/was/apache/db-torque/src/generator/target/torque-gen-3.2-dev/bin/torque-gen-3.2-dev/lib
|  
| BUILD FAILED
| File...... file:/home/monsorno/was/apache/db-torque/maven.xml
| Element... copy
| Line...... 27
| Column.... 57
| /home/monsorno/was/apache/db-torque/src/generator/src/conf/master not found.
| Total time: 14 seconds
| Finished at: Fri May 07 10:06:52 CEST 2004
`----

Any help will be appreciated.  Thanks in advance,


-- 
Martin

---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org


Mime
View raw message