I do this for all my projects with no problems.  With
3.0 there were some Ant / JVM issues (Eclipse problem, 
not Torque specific) but with 3.1 I didn't have to do 
anything special with the External Tool set up except 
set the usual refresh after run options.

I set up projects that use Torque so that they have a
build directory (with my master Ant script which calls
build-torque.xml) and a torque subdirectory.  This 
subdirectory has the torque-gen distro in it.  E.g.,
it has the build-torque.xml and default.properties 
files, with the lib and src directories in it (I 
generally drop the docs directory).

The build.properties file is then modified to match the
projects needs. E.g project name, output and compile
directory locations are set to use my project's src dir.

Here's the directory properties that are most usefull 
and my settings that point to a src directory off project 
root with a java, sql, and schema subdirectories:

torque.output.dir = ../../src
torque.schema.dir = ${torque.output.dir}/schema
torque.compile.build.dir = ../../bin/classes

If all this doesn't help, try adding the -verbose and /
or the -debug arguments (Main tab of Eclipse's Run As 
Ant Build dialog box). This will put a lot of info about 
what is going on into Eclipse's console output screen.


> -----Original Message-----
> From: vaibhav kumthekar
>   
> hi i struch with the problem that i have to create sql then 
> om and then to compile the build-torque.xml from run - 
> exernal tools in eclips 3.1 , but i am not able to build it. 
> build fails. error comes saying that:  
> 
> error come at: 
> <antcall target ="sql-classpath"/>
> 
> if i skip to build for the sql and try to build for om in 
> exernal tools then error come at 
> <antcall target ="om-classpath"/>
> 
> Vaibhav Kumthekar
> FDS infotech Pvt. Ltd.
> Contact No. 9860128456
> 

Duke CE Privacy Statement
Please be advised that this e-mail and any files transmitted with it are 
confidential communication or may otherwise be privileged or confidential and 
are intended solely for the individual or entity to whom they are addressed.  
If you are not the intended recipient you may not rely on the contents of this 
email or any attachments, and we ask that you  please not read, copy or 
retransmit this communication, but reply to the sender and destroy the email, 
its contents, and all copies thereof immediately.  Any unauthorized 
dissemination, distribution or copying of this communication is strictly 
prohibited.



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

Reply via email to