db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Charles-Alexandre Sabourdin <kan...@dedaletechnology.com>
Subject Re: Can't generate Java Source
Date Fri, 14 Nov 2003 07:37:53 GMT
Le Jeudi 13 Novembre 2003 23:33, Vikas Phonsa a écrit :
> Hi,
>
> I am able to run ant -f build-torque.xml
> And it says "BUILD SUCCESSFUL'
>
> It generates the stuff in the sql folder. But it doesn't generate any java
> source in the java folder under src. Under the java folder I only get an
> empty file name report.pitchers.om.generation.
>
> Also I'm able to create my mysql database by running ant -f
> build-torque.xml create-db.
>
> But I can't get the java classes in src\java .
> Any ideas ?
You have to use "compile":
ant -f build-torque.xml

The class are in TORQUE_GEN$/bin/

I personnaly use this script : (it separate every steps)

#!/bin/sh
#
# scripte de création des fichier
# sql, source, et classes à partie des
# Ficher *-schema.xml dans ./schema
#
#
echo "le fichier build.properties est bien configurer ?"&&
sleep 2 &&
echo "demarrage"&&
rm -rf scr/* &&
echo "create-db" &&
ant -f build-torque.xml create-db &&
echo "pause ctr-c pour arreter" &&
sleep 5 &&
echo "sql" &&
ant -f build-torque.xml sql &&
echo "pause ctr-c pour arreter" &&
sleep 5 &&
echo "id-table-init-sql" &&
ant -f build-torque.xml id-table-init-sql &&
echo "pause ctr-c pour arreter" &&
sleep 5 &&
echo "insert-sql" &&
ant -f build-torque.xml insert-sql &&
echo "pause ctr-c pour arreter" &&
sleep 5 &&
echo "om" &&
ant -f build-torque.xml om &&
echo "pause ctr-c pour arreter" &&
sleep 5 &&
echo "compile" &&
ant -f build-torque.xml compile;


-- 
Charles-Alexandre
SABOURDIN
-----------------


---------------------------------------------------------------------
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