Hi, Avinash
The error message suggests that you do not have the class
org.apache.torque.task.TorqueDataModelTask. As of torque-3.1, somehow they have
separated the classes needed for generation from the classes needed during runtime, so
the class you need is now distributed in torque-gen-3.1-beta1.jar. Check in your
.maven/repository/torque/jars whether you have this file.
Also, I suspect the root of your problem is that your maven-torque plugin
might be wrong/corrupted. Check in your
.maven/plugins/maven-torque-plugin-3.2/project.xml to see if there is a dependency
with groupId torque and artifactId torque-gen. If not, try removing the
maven-torque-plugin-3.2 folder and re-run maven. (I am assuming that you are running
maven on online-mode, so that any required dependencies are automatically downloaded.)
Choong Yong, Koh
-Original Message-
From: Avinash G [mailto:[EMAIL PROTECTED]
Sent: Friday, May 07, 2004 5:54 PM
To: Nicolas MAYEUR
Subject: RE: RE: build jetspeed-1.5 failed
hi nico,
Thanks a lot for your reply. I tried as what you said. But it didn't work. What could
be wrong. what else can we do.
Thanks in advance.
Avinash
Original Message Follows---
It looks like you don't have the right torque jar in your repository.
I already had the same trouble with an other jar (ant.jar).
Delete the folder "C:/Documents and Settings/sam/.maven/repository/torque",
and play again.
("maven war" should work with JS1.5)
Nico
-Message d'origine-
De : Avinash G [mailto:[EMAIL PROTECTED]
Envoyé : vendredi 7 mai 2004 09:51
À : [EMAIL PROTECTED]
Objet : build jetspeed-1.5 failed
Hi all,
I have a task of creating a portal using jetspeed. I have downloaded
jetspeed-1.5- src. The path of the jetspeed is in "d:jetspeed-1.5". when I
tried to build and install it using "maven war" as given in the tutorial,
the build got failed i got the error as follows.
===D:\jetspeed-1.5>maven
war
__ __
| \/ |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
|_| |_\__,_|\_/\___|_||_| v. 1.0-rc2
Tag library requested that is not present: 'maven' in plugin: 'null'
Tag library requested that is not present: 'maven' in plugin: 'null'
Tag library requested that is not present: 'maven' in plugin: 'null'
build:start:
war:init:
java:prepare-filesystem:
java:compile:
prepare.apis:
[echo] Generating Jetspeed XML bindings
[java] -- Suppressing non fatal warnings.
BUILD FAILED
File.. file:/C:/Documents and
Settings/sam/.maven/plugins/maven-torque-plugi
n-3.2/plugin.jelly
Element... taskdef
Line.. 51
Column 63
taskdef class org.apache.torque.task.TorqueDataModelTask cannot be found
Total time: 5 seconds
===
Can any one please help me. Thank You in advance.
G.Avinash
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
*** Ce message et toutes les pièces jointes (ci-après le "message") sont
établis à l'intention exclusive de ses destinataires et sont confidentiels.
Si vous recevez ce message par erreur, merci de le détruire et d'en avertir
immédiatement l'expéditeur. Toute utilisation de ce message non conforme à
sa destination, toute diffusion ou toute publication, totale ou partielle,
est interdite, sauf autorisation expresse. L'internet ne permettant pas
d'assurer l'intégrité de ce message, le groupe Itras décline toute
responsabilité au titre de ce message, dans l'hypothèse où il aurait été
modifié. ***
-
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]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]