You don't need to edit the torque.props file. You edit your
project.properties file. All properties for your project
are taken from your project properties file.

Torque works fine within the TDK.

I will remove the unrequired torque files from projects
that are generated. If you look at the project-build.xml
you will see where the properties are coming from.

jvz.

On Mon, 8 Jan 2001, Chris Campbell wrote:

> Is anyone having luck with Torque in the new TDK on NT? I've used torque
> successfully in the past, but it is generating empty sql and no om
> objects...
> 
> I believe that I have everything configured correctly but I did have to add
> the jaxp stuff, anything else I'm missing?
> 
> Thanks in advance for any help...
> 
> Chris
> 
> ----------------
> file: torque.props
> 
> project=dealpro
> database=mysql
> extend=TurbineMapBuilder
> mapname=TurbineMap
> suffix=MapBuilder
> targetPackage=org.evolvent.dealpro.om
> addSaveMethod=true
> objectModelType=simple
> databaseUrl = jdbc:mysql://localhost/dealpro
> databaseDriver = org.gjt.mm.mysql.Driver
> databaseUser = root
> databasePassword =
> configDir=config
> templatePath = template
> SQLControlTemplate = sql/base/Control.vm
> OMControlTemplate = om/Control.vm
> idTableControlTemplate = sql/id-table/Control.vm
> outputDirectory=output
> schemaDirectory=schema
> 
> end file: torque.props
> ---------------------
> 
> 
> the output of torque.bat:
> 
> classpath=.;C:\java\jdk1.2.2\lib\tools.jar;..\..\..\lib\ant.jar;C:\java\xml\
> jax
> 1.0.1\jaxp.jar;C:\java\xml\jaxp1.0.1\parser.jar;;..\..\..\lib\ant.jar;..\..\
> ..\
> ib\namingfactory.jar;..\..\tdk-lib\activation-1.0.1.jar;..\..\tdk-lib\ecs-1.
> 4.1
> jar;..\..\tdk-lib\hsql.jar;..\..\tdk-lib\mail-1.2.jar;..\..\tdk-lib\mm.mysql
> -2.
> .3.jar;..\..\tdk-lib\servlet-2.2-CVSHEAD-12-04-00.jar;..\..\tdk-lib\turbine-
> 2.1
> dev-unreleased.jar;..\..\tdk-lib\velocity-0.71.jar;..\..\tdk-lib\village-1.5
> .ja
> ;..\..\tdk-lib\xerces-1.2.1.jar
> Buildfile: torque.xml
> 
> main:
> 
> project-sql:
>      [echo] +------------------------------------------+
>      [echo] |                                          |
>      [echo] | Generating SQL for YOUR Turbine project! |
>      [echo] | Woo hoo!                                 |
>      [echo] |                                          |
>      [echo] +------------------------------------------+
> output\dealpro-schema.sql
> 
> project-om:
>      [echo] +------------------------------------------+
>      [echo] |                                          |
>      [echo] | Generating Peer-based Object Model for   |
>      [echo] | YOUR Turbine project! Woo hoo!           |
>      [echo] |                                          |
>      [echo] +------------------------------------------+
> output\dealpro.generation.report
> 
> BUILD SUCCESSFUL
> 
> 
> 
> ------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
> Problems?:           [EMAIL PROTECTED]
> 
> 



------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to