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 "nelson.ordonez@db.com" <ne...@db.com> on 2008/03/30 14:15:08 UTC

Re: Building 2.1.3

Hi there

I am trying to build the "etc" part of the source code, which I believe
generates the SQL scripts using the Torque engine for the given database
target (i.e:derby, oracle....etc).  I have managed to generate and execute
the scripts, but I get this error towards the end (check the output below). 
Does anyone knows whats going on here? - Thanks for any help.

eed.xml
    [mkdir] Created dir: C:\src-jetspeed-2.1.3\src\etc\target\seed\classes
     [copy] Copying 8 files to
C:\src-jetspeed-2.1.3\src\etc\target\seed\classes
    [mkdir] Created dir: C:\src-jetspeed-2.1.3\src\etc\target\seed\assembly
     [echo] Running Jetspeed Seed Importer with -b
C:\src-jetspeed-2.1.3\src\etc/target/seed/assembly//boot/ -c C:\src-j
etspeed-2.1.3\src\etc/target/seed/assembly//
     [copy] Copying 12 files to
C:\src-jetspeed-2.1.3\src\etc\target\seed\assembly
     [copy] Copying 4 files to
C:\src-jetspeed-2.1.3\src\etc\target\seed\assembly
    [mkdir] Created dir:
C:\src-jetspeed-2.1.3\src\etc\target\seed\assembly\boot
     [copy] Copying 1 file to
C:\src-jetspeed-2.1.3\src\etc\target\seed\assembly\boot
     [echo]  IN SEED establishing dependency to
org.apache.pluto.version=1.0.1
Downloading: org/springframework/spring-ojb/2.0-rc2/spring-ojb-2.0-rc2.pom
Downloading: ehcache/ehcache/1.2.4/ehcache-1.2.4.pom
Downloading: javolution/javolution/4.0.2/javolution-4.0.2.pom
Downloading: ddlutils/ddlutils/1.0-RC1-PATCHED/ddlutils-1.0-RC1-PATCHED.pom
Downloading: castor/castor/1.1.1-xml/castor-1.1.1-xml.pom
Downloading: velocity-tools/velocity-tools/1.3/velocity-tools-1.3.pom
Downloading: javax/activation/activation/1.0.2/activation-1.0.2.jar
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error executing ant tasks

Embedded error: The following error occurred while executing this line:
C:\src-jetspeed-2.1.3\src\etc\build.xml:302: The following error occurred
while executing this line:
C:\src-jetspeed-2.1.3\src\etc\build.xml:307: The following error occurred
while executing this line:
C:\src-jetspeed-2.1.3\src\etc\build.xml:515: java.lang.ClassCastException:
org.apache.maven.usability.MojoFailureExcepti
onDiagnoser
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 21 seconds
[INFO] Finished at: Sun Mar 30 13:09:00 BST 2008
[INFO] Final Memory: 13M/31M
[INFO]
------------------------------------------------------------------------

C:\src-jetspeed-2.1.3\src\etc>


David Sean Taylor wrote:
> 
> 
> On Jan 14, 2008, at 2:46 PM, Eugene Fabrikant wrote:
> 
>> Hi Folks,
>>
>> I'm attempting to build the latest release.
>>
>> I have the following for my environment:
>> - Maven 2.0.7
>> - JDK 1.5
>> - Tomcat 5.5.25
>>
>> Downloading: velocity-tools/velocity-tools/1.3/velocity-tools-1.3.pom
>> Downloading: javax/activation/activation/1.0.2/activation-1.0.2.jar
>> [INFO]
>> ---------------------------------------------------------------------- 
>> --
>> [ERROR] BUILD ERROR
>> [INFO]
>> ---------------------------------------------------------------------- 
>> --
>> [INFO] Error executing ant tasks
>>
>> Embedded error: The following error occurred while executing this  
>> line:
>> /home/efabrikant/development/vendors/jetspeed/jetspeed-2.1.3/etc/ 
>> build.xml:301:
>> The following error occurred while executing this line:
>> /home/efabrikant/development/vendors/jetspeed/jetspeed-2.1.3/etc/ 
>> build.xml:306:
>> The following error occurred while executing this line:
>> /home/efabrikant/development/vendors/jetspeed/jetspeed-2.1.3/etc/ 
>> build.xml:502:
>> java.lang.ClassCastException:
>> org.apache.maven.usability.MojoFailureExceptionDiagnoser
>>
>>
>> Though the MojoFailureException is by far my favorite Java  
>> exception, I
>> would really like to get this up and running.  :-)  Any thoughts as to
>> what's going on?
>>
> No actually. I use the same JDK and Maven. Tomcat should not matter  
> at this point
> Did you try running mvn with the -X option ?
> 
> Never seen this error in this exact place before but I agree with you  
> that its no fun when you experience mojo failure, ask Austin
> 
> Here is etc/build.xml:502:
> 
>          <dependencies filesetId="serializer-id" useScope="test">
>              <dependency groupId="${org.apache.jetspeed.deploy.groupid}"
>                          artifactId="jetspeed-api"
>                          version="$ 
> {org.apache.jetspeed.deploy.version}"/>
>              <dependency groupId="${org.apache.jetspeed.deploy.groupid}"
>                          artifactId="jetspeed-commons"
>                          version="$ 
> {org.apache.jetspeed.deploy.version}"/>
>              <dependency groupId="${org.apache.jetspeed.deploy.groupid}"
>                          artifactId="jetspeed-components"
>                          version="$ 
> {org.apache.jetspeed.deploy.version}"/>
>              <dependency groupId="${org.apache.jetspeed.deploy.groupid}"
>                          artifactId="jetspeed-cm"
>                          version="$ 
> {org.apache.jetspeed.deploy.version}"/>
>              <dependency groupId="${org.apache.jetspeed.deploy.groupid}"
>                          artifactId="jetspeed-rdbms"
>                          version="$ 
> {org.apache.jetspeed.deploy.version}"/>
>                  <dependency groupId="$ 
> {org.apache.jetspeed.deploy.groupid}"
>                              artifactId="jetspeed-capability"
>                              version="$ 
> {org.apache.jetspeed.deploy.version}"/>
>              <dependency groupId="${org.apache.jetspeed.deploy.groupid}"
>                          artifactId="jetspeed-security"
>                          version="$ 
> {org.apache.jetspeed.deploy.version}"/>
>              <dependency groupId="${org.apache.jetspeed.deploy.groupid}"
>                          artifactId="jetspeed-serializer"
>                          version="$ 
> {org.apache.jetspeed.deploy.version}"/>
>              <dependency groupId="${org.apache.jetspeed.deploy.groupid}"
>                          artifactId="jetspeed-profiler"
>                          version="$ 
> {org.apache.jetspeed.deploy.version}"/>
>              <dependency groupId="${org.apache.jetspeed.deploy.groupid}"
>                          artifactId="jetspeed-registry"
>                          version="$ 
> {org.apache.jetspeed.deploy.version}"/>
>              <dependency groupId="${org.apache.jetspeed.deploy.groupid}"
>                          artifactId="jetspeed-portal"
>                          version="$ 
> {org.apache.jetspeed.deploy.version}"/>
>              <dependency groupId="portlet-api"
>                   		artifactId="portlet-api"
>                   		version="${portlet-api.version}"/>
>              <dependency groupId="org.apache.pluto"
>                          artifactId="pluto"
>                          version="${org.apache.pluto.version}"/>
> 
>              <dependency groupId="tyrex"
>                          artifactId="tyrex"
>                          version="1.0.1"/>
>              <dependency groupId="${org.apache.jetspeed.deploy.groupid}"
>                          artifactId="jetspeed-page-manager"
>                          version="$ 
> {org.apache.jetspeed.deploy.version}"/>
>              <dependency groupId="${org.apache.jetspeed.deploy.groupid}"
>                          artifactId="jetspeed-portal-site"
>                          version="$ 
> {org.apache.jetspeed.deploy.version}"/>
> 
>          </dependencies>
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/create-jetspeed-user-with-a-%22.%22-charecter-tp14578425p16380816.html
Sent from the Jetspeed - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org


RE: Building 2.1.3

Posted by Mohan Kannapareddy <km...@gmail.com>.
 I have seen this error under the following conditions:
   - "mvn install" was not executed first (at the project root). This
installs all the
     necessary J2 artifacts into the local maven repository.
   - Check the "settings.xml" to see if the db drivers are path is correctly
set in
     the profile you are executing.


-----Original Message-----
From: nelson.ordonez@db.com [mailto:nelson.ordonez@db.com] 
Sent: Sunday, March 30, 2008 6:15 AM
To: jetspeed-user@portals.apache.org
Subject: Re: Building 2.1.3


Hi there

I am trying to build the "etc" part of the source code, which I believe
generates the SQL scripts using the Torque engine for the given database
target (i.e:derby, oracle....etc).  I have managed to generate and execute
the scripts, but I get this error towards the end (check the output below). 
Does anyone knows whats going on here? - Thanks for any help.

eed.xml
    [mkdir] Created dir: C:\src-jetspeed-2.1.3\src\etc\target\seed\classes
     [copy] Copying 8 files to
C:\src-jetspeed-2.1.3\src\etc\target\seed\classes
    [mkdir] Created dir: C:\src-jetspeed-2.1.3\src\etc\target\seed\assembly
     [echo] Running Jetspeed Seed Importer with -b
C:\src-jetspeed-2.1.3\src\etc/target/seed/assembly//boot/ -c C:\src-j
etspeed-2.1.3\src\etc/target/seed/assembly//
     [copy] Copying 12 files to
C:\src-jetspeed-2.1.3\src\etc\target\seed\assembly
     [copy] Copying 4 files to
C:\src-jetspeed-2.1.3\src\etc\target\seed\assembly
    [mkdir] Created dir:
C:\src-jetspeed-2.1.3\src\etc\target\seed\assembly\boot
     [copy] Copying 1 file to
C:\src-jetspeed-2.1.3\src\etc\target\seed\assembly\boot
     [echo]  IN SEED establishing dependency to
org.apache.pluto.version=1.0.1
Downloading: org/springframework/spring-ojb/2.0-rc2/spring-ojb-2.0-rc2.pom
Downloading: ehcache/ehcache/1.2.4/ehcache-1.2.4.pom
Downloading: javolution/javolution/4.0.2/javolution-4.0.2.pom
Downloading: ddlutils/ddlutils/1.0-RC1-PATCHED/ddlutils-1.0-RC1-PATCHED.pom
Downloading: castor/castor/1.1.1-xml/castor-1.1.1-xml.pom
Downloading: velocity-tools/velocity-tools/1.3/velocity-tools-1.3.pom
Downloading: javax/activation/activation/1.0.2/activation-1.0.2.jar
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error executing ant tasks

Embedded error: The following error occurred while executing this line:
C:\src-jetspeed-2.1.3\src\etc\build.xml:302: The following error occurred
while executing this line:
C:\src-jetspeed-2.1.3\src\etc\build.xml:307: The following error occurred
while executing this line:
C:\src-jetspeed-2.1.3\src\etc\build.xml:515: java.lang.ClassCastException:
org.apache.maven.usability.MojoFailureExcepti
onDiagnoser
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 21 seconds
[INFO] Finished at: Sun Mar 30 13:09:00 BST 2008
[INFO] Final Memory: 13M/31M
[INFO]
------------------------------------------------------------------------

C:\src-jetspeed-2.1.3\src\etc>


David Sean Taylor wrote:
> 
> 
> On Jan 14, 2008, at 2:46 PM, Eugene Fabrikant wrote:
> 
>> Hi Folks,
>>
>> I'm attempting to build the latest release.
>>
>> I have the following for my environment:
>> - Maven 2.0.7
>> - JDK 1.5
>> - Tomcat 5.5.25
>>
>> Downloading: velocity-tools/velocity-tools/1.3/velocity-tools-1.3.pom
>> Downloading: javax/activation/activation/1.0.2/activation-1.0.2.jar
>> [INFO]
>> ---------------------------------------------------------------------- 
>> --
>> [ERROR] BUILD ERROR
>> [INFO]
>> ---------------------------------------------------------------------- 
>> --
>> [INFO] Error executing ant tasks
>>
>> Embedded error: The following error occurred while executing this  
>> line:
>> /home/efabrikant/development/vendors/jetspeed/jetspeed-2.1.3/etc/ 
>> build.xml:301:
>> The following error occurred while executing this line:
>> /home/efabrikant/development/vendors/jetspeed/jetspeed-2.1.3/etc/ 
>> build.xml:306:
>> The following error occurred while executing this line:
>> /home/efabrikant/development/vendors/jetspeed/jetspeed-2.1.3/etc/ 
>> build.xml:502:
>> java.lang.ClassCastException:
>> org.apache.maven.usability.MojoFailureExceptionDiagnoser
>>
>>
>> Though the MojoFailureException is by far my favorite Java  
>> exception, I
>> would really like to get this up and running.  :-)  Any thoughts as to
>> what's going on?
>>
> No actually. I use the same JDK and Maven. Tomcat should not matter  
> at this point
> Did you try running mvn with the -X option ?
> 
> Never seen this error in this exact place before but I agree with you  
> that its no fun when you experience mojo failure, ask Austin
> 
> Here is etc/build.xml:502:
> 
>          <dependencies filesetId="serializer-id" useScope="test">
>              <dependency groupId="${org.apache.jetspeed.deploy.groupid}"
>                          artifactId="jetspeed-api"
>                          version="$ 
> {org.apache.jetspeed.deploy.version}"/>
>              <dependency groupId="${org.apache.jetspeed.deploy.groupid}"
>                          artifactId="jetspeed-commons"
>                          version="$ 
> {org.apache.jetspeed.deploy.version}"/>
>              <dependency groupId="${org.apache.jetspeed.deploy.groupid}"
>                          artifactId="jetspeed-components"
>                          version="$ 
> {org.apache.jetspeed.deploy.version}"/>
>              <dependency groupId="${org.apache.jetspeed.deploy.groupid}"
>                          artifactId="jetspeed-cm"
>                          version="$ 
> {org.apache.jetspeed.deploy.version}"/>
>              <dependency groupId="${org.apache.jetspeed.deploy.groupid}"
>                          artifactId="jetspeed-rdbms"
>                          version="$ 
> {org.apache.jetspeed.deploy.version}"/>
>                  <dependency groupId="$ 
> {org.apache.jetspeed.deploy.groupid}"
>                              artifactId="jetspeed-capability"
>                              version="$ 
> {org.apache.jetspeed.deploy.version}"/>
>              <dependency groupId="${org.apache.jetspeed.deploy.groupid}"
>                          artifactId="jetspeed-security"
>                          version="$ 
> {org.apache.jetspeed.deploy.version}"/>
>              <dependency groupId="${org.apache.jetspeed.deploy.groupid}"
>                          artifactId="jetspeed-serializer"
>                          version="$ 
> {org.apache.jetspeed.deploy.version}"/>
>              <dependency groupId="${org.apache.jetspeed.deploy.groupid}"
>                          artifactId="jetspeed-profiler"
>                          version="$ 
> {org.apache.jetspeed.deploy.version}"/>
>              <dependency groupId="${org.apache.jetspeed.deploy.groupid}"
>                          artifactId="jetspeed-registry"
>                          version="$ 
> {org.apache.jetspeed.deploy.version}"/>
>              <dependency groupId="${org.apache.jetspeed.deploy.groupid}"
>                          artifactId="jetspeed-portal"
>                          version="$ 
> {org.apache.jetspeed.deploy.version}"/>
>              <dependency groupId="portlet-api"
>                   		artifactId="portlet-api"
>                   		version="${portlet-api.version}"/>
>              <dependency groupId="org.apache.pluto"
>                          artifactId="pluto"
>                          version="${org.apache.pluto.version}"/>
> 
>              <dependency groupId="tyrex"
>                          artifactId="tyrex"
>                          version="1.0.1"/>
>              <dependency groupId="${org.apache.jetspeed.deploy.groupid}"
>                          artifactId="jetspeed-page-manager"
>                          version="$ 
> {org.apache.jetspeed.deploy.version}"/>
>              <dependency groupId="${org.apache.jetspeed.deploy.groupid}"
>                          artifactId="jetspeed-portal-site"
>                          version="$ 
> {org.apache.jetspeed.deploy.version}"/>
> 
>          </dependencies>
> 
> 
> 

-- 
View this message in context:
http://www.nabble.com/create-jetspeed-user-with-a-%22.%22-charecter-tp145784
25p16380816.html
Sent from the Jetspeed - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org