go to http://jakarta.apache.org/turbine/branches.html
and checkout current 2.1 branch from CVS, then build it according to
instructions (the only prerequisite is that you should have ANT installed).
If you only need to build torque do "ant torque".

fedor.

> -----Original Message-----
> From: Zhigang Wang [mailto:[EMAIL PROTECTED]]
> Sent: Monday, August 13, 2001 3:10 PM
> To: [EMAIL PROTECTED]
> Subject: RE: The project-datadump target
> 
> 
> Hi, Fedor,
>     Thanks for your response. Could you please tell me
> how can I download the version you mentioned? I
> downloaded the released version of Torque? I
> downloaded Torque 2.1 from
> http://jakarta.apache.org/builds/jakarta-turbine/release/2.1/,
> but it does not contain what you metioned.
>     thanks for your time to help,
> zhigang,
> --- Fedor Karpelevitch <[EMAIL PROTECTED]>
> wrote:
> > In order to dump the *schema* (i guess that's what
> > you are trying to do) you
> > should use target "project-jdbc". The name is not
> > very descriptive but
> > that's what it does. The "project-datadump" target
> > dump the *data*, not the
> > schema.
> > 
> > also if you are using latest dev torque project-jdbc
> > should be fine, but
> > AFAIR it still has not been fixed in 2.x branch (not
> > sure about this).
> > 
> > fedor.
> > 
> > > -----Original Message-----
> > > From: Zhigang Wang [mailto:[EMAIL PROTECTED]]
> > > Sent: Wednesday, August 08, 2001 7:21 PM
> > > To: [EMAIL PROTECTED]
> > > Subject: The project-datadump target
> > > 
> > > 
> > > Hi, folks,
> > >    I am new to torque. I tried to use
> > project-datadump
> > > target in the build.xml to dump schema of my
> > database
> > > into an XML file. But I could not.  for
> > >   <target name="project-datadump"
> > > depends="init-tasks">
> > > 
> > >     <echo
> > >
> >
> message="+-----------------------------------------------+"/>
> > >     <echo message="|                              
> >    
> > >             |"/>
> > >     <echo message="| Dumping the data from
> > database
> > > into XML       |"/>
> > >     <echo message="| Woo hoo!                     
> >    
> > >             |"/>
> > >     <echo message="|                              
> >    
> > >             |"/>
> > >     <echo
> > >
> >
> message="+-----------------------------------------------+"/>
> > >     <echo message=" taking build.properties from:
> > > ${build.properties}"/>
> > > 
> > > 
> > >     <torque-datadump
> > >       contextProperties="${build.properties}"
> > >       controlTemplate="${DataDumpControlTemplate}"
> > >      
> > >
> > outputDirectory="${torque.home}/${outputDirectory}"
> > >       templatePath="${templatePath}"
> > >      
> > > outputFile="report.${project}.datadump.generation"
> > >      
> > >
> >
> xmlFile="${torque.home}/${schemaDirectory}/${project}-schema.xml"
> > >       databaseName="${databaseName}"
> > >       databaseUrl="${databaseUrl}"
> > >       databaseDriver="${databaseDriver}"
> > >       databaseUser="${databaseUser}"
> > >       databasePassword="${databasePassword}"
> > >     />
> > > 
> > >   </target>
> > > What is the purpose of:
> > > 
> > >
> >
> xmlFile="${torque.home}/${schemaDirectory}/${project}-schema.xml"
> > > 
> > > The sample project-schema.xml contains definition
> > for
> > > database schema. If I don't specify this file, I
> > will
> > > fail. If I provide this file, what infomation I
> > should
> > > put there? I don't think I should put database
> > schema
> > > information there. If I can put these information
> > into
> > > this XML, I have done what I want to do:)
> > >    Any suggestion? I found Jason Kary has already
> > > asked this questions days ago. But I can not find
> > any
> > > direct reply. Can somebody post a page of
> > instructions
> > > for how to do that?
> > >    Thanks a lot,
> > > zhigang,
> > > 
> > > __________________________________________________
> > > Do You Yahoo!?
> > > Make international calls for as low as $.04/minute
> > with 
> > > Yahoo! Messenger
> > > http://phonecard.yahoo.com/
> > > 
> > >
> >
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail:
> > [EMAIL PROTECTED]
> > > For additional commands, e-mail:
> > [EMAIL PROTECTED]
> > > 
> > 
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > [EMAIL PROTECTED]
> > For additional commands, e-mail:
> > [EMAIL PROTECTED]
> > 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Send instant messages & get email alerts with Yahoo! Messenger.
> http://im.yahoo.com/
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

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

Reply via email to