You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-dev@db.apache.org by Martin Monsorno <mo...@exolution.de> on 2004/05/07 11:19:37 UTC

problems building torque from cvs

Hi *,

I recently checked out torque from cvs and tried to build it, but
without success.  I suppose the developer mailing list is the right
place for discussing such problems, correct?  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