Pretty much what Daniel said.  I don't really have any additional
documentation to steer you at as I had to get my hands dirty with Torque for
a little while to finally understand enough about what it's doing.  This was
mostly related to the pre-release maven plugin though.

http://jakarta.apache.org/turbine/torque/

The front page at least names all the targets.

I've been using Torque with maven but it should be the same with Ant I'd
guess as torque with maven just calls the Ant targets.

-Jamey

-----Original Message-----
From: Daniel H. F. e Silva [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 20, 2002 3:44 AM
To: Turbine Torque Users List
Subject: Re: working with existing database and data


Hi Alvin,
 I had same condition when i'd started to work with Torque. You can do like
me. Configure your
Torque dist (at build.properties) with appropriate connection strings to
your DB, not forgeting to
add torque.database.schema property and not forgeting to write schema name
in upper case. After
you did that,  just run : ant -f build-torque.xml jdbc
 This command will cause Torque to connect to your database, and generate a
XML schema definition
to it. If you don't need to customize that definition, just run : ant -f
build-torque.xml om and
all classes to acces your database will be generated.
 I hope i was clear enough.

Regards,
 Daniel.


--- Alvin Antony <[EMAIL PROTECTED]> wrote:
> Hi All,
> 
> please pardon me if this is a stupid Q:-)
> 
> How I can make use of the Torque, when the database and the tables are
already existing for an
> application?
> 
> I can't find my self in the Torque website, on where I define that , the
database is existing
> and create the xml schema of the database schema automatically!
> 
> can somebody of you help me on this ?
> 
> the database is mssql!
> 
> with regards and thanks
> 
> Alvin
> 
> 
> 
> 
> 
> 
> 
> Alvin  Antony
> 
> Entwickler
> Internet und Virtuelle Hochshule
> Universitat Munchen
> 
> Leopoldstr .3
> 80802 Munchen
> Germany
> 
> Office Tel + 49.89.21804005
>                  + 49.89.21025979
> Office Fax + 49.89.21025980
> 
> 
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - Let the expert host your site
http://webhosting.yahoo.com

--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

Reply via email to