You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Namita Joshi <Na...@mgic.com> on 2003/01/07 23:05:40 UTC

Cannot build and deploy the Jetspeed tuitorial

I am trying to install jetspeed tutorial (which is available on 
http://www.bluesunrise.com/jetspeed-docs/JetspeedTutorial.htm)  on my box. 
The jetspeed war I have on my machine is jetspeed-1.4b.3.war.zip.  But I 
cannot get ant to compile and deploy  this tutorial to appserver 
directory. I made minor modification in the build.xml files to get those 
running on my system , I am not an expert in ant and have put in absolute 
paths in the scripts.

I am attaching build.xml from jportal directory and
 build.xml,   build_torque.xml from jprotal/torque3 Can somebody please 
take a look and tell me where I am wrong. 

 






Build output

D:\jportal>ant tutorial-1
Buildfile: build.xml

prepare:

check_om:

om:

main:
    [unjar] Expanding: D:\jetspeed\lib\torque-3.0.jar into 
D:\jportal\torque3\templates.scratch

init-tasks:

sql:

check-use-classpath:

check-run-only-on-schema-change:

sql-check:

sql:
     [echo] +------------------------------------------+
     [echo] |                                          |
     [echo] | Generating SQL for YOUR Torque project!  |
     [echo] | Woo hoo!                                 |
     [echo] |                                          |
     [echo] +------------------------------------------+

sql-classpath:

BUILD FAILED

D:\jportal\torque3\build-torque.xml:202: Could not create task of type: 
torque-sql due to java.lang.VerifyError: (class: 
org/apache/torque/task/TorqueDataModelTask, method: initControlContext 
signatur
e: ()Lorg/apache/velocity/context/Context;) Incompatible object argument 
for function call

Total time: 2 seconds
D:\jportal>

Re: Cannot build and deploy the Jetspeed tuitorial

Posted by David Sean Taylor <da...@bluesunrise.com>.
On Tuesday, January 7, 2003, at 02:05  PM, Namita Joshi wrote:

>
> I am trying to install jetspeed tutorial (which is available on 
> http://www.bluesunrise.com/jetspeed-docs/JetspeedTutorial.htm)  on my 
> box. The jetspeed war I have on my machine is jetspeed-1.4b.3.war.zip. 
>  But I cannot get ant to compile and deploy  this tutorial to 
> appserver directory. I made minor modification in the build.xml files 
> to get those running on my system , I am not an expert in ant and have 
> put in absolute paths in the scripts.
>
> I am attaching build.xml from jportal directory and
>  build.xml,   build_torque.xml from jprotal/torque3 Can somebody 
> please take a look and tell me where I am wrong.
>

What version of Ant are you using?
Torque requires Ant 1.5 or greater.

--
David Sean Taylor
Bluesunrise Software
david@bluesunrise.com
+01 707 773-4646




--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>