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 Paul Farnan <PF...@performixtechnologies.com> on 2004/07/29 13:21:19 UTC

Problems building Jetspeed2

I just got the latest source code of Jetspeed2 and tried to build it using the command maven allClean allBuild and it is giving me some grief. 
I had successfully built Jetspeed2 before but then ran into some issue with accessing the manager application under tomcat where it couldn't find the resource manager/html. After I cleaned out Jetspeed with the command maven allClean the manager application worked again. So I got the latest version of Jetspeed 2 with cvs but ran into these build problems. 
I'm using J2SE 1.4.2._04 on Win2K
Any ideas on how to fix this up or get around this?
Cheers
Paul

The Error log is as follows:

+----------------------------------------
| Build and Install the Component Manager jar Jetspeed-2 Component Manager
| Memory: 38M/62M
+----------------------------------------

build:end:

build:start:

java:prepare-filesystem:
    [mkdir] Created dir: D:\Technical\java\CVS\jakarta-jetspeed-2\components\cm\
target\classes

java:compile:
    [echo] Compiling to D:\Technical\java\CVS\jakarta-jetspeed-2\components\cm/t
arget/classes
    [javac] Compiling 18 source files to D:\Technical\java\CVS\jakarta-jetspeed-
2\components\cm\target\classes
    [javac] D:\Technical\java\CVS\jakarta-jetspeed-2\components\cm\src\java\org\
apache\jetspeed\components\AbstractComponentAwareTestCase.java:22: warning: org.
apache.commons.logging.impl.Log4jFactory in org.apache.commons.logging.impl has
been deprecated
    [javac] import org.apache.commons.logging.impl.Log4jFactory;
    [javac]                                        ^
    [javac] D:\Technical\java\CVS\jakarta-jetspeed-2\components\cm\src\java\org\
apache\jetspeed\components\SpringComponentManager.java:21: package org.springfra
mework.context does not exist
    [javac] import org.springframework.context.ApplicationContext;
    [javac]                                    ^
    [javac] D:\Technical\java\CVS\jakarta-jetspeed-2\components\cm\src\java\org\
apache\jetspeed\components\SpringComponentManager.java:22: package org.springfra
mework.context.support does not exist
    [javac] import org.springframework.context.support.FileSystemXmlApplicationC
ontext;
    [javac]                                            ^
    [javac] D:\Technical\java\CVS\jakarta-jetspeed-2\components\cm\src\java\org\
apache\jetspeed\components\SpringComponentManager.java:37: cannot resolve symbol

    [javac] symbol  : class FileSystemXmlApplicationContext
    [javac] location: class org.apache.jetspeed.components.SpringComponentManage
r
    [javac]     protected FileSystemXmlApplicationContext appContext;
    [javac]               ^
    [javac] D:\Technical\java\CVS\jakarta-jetspeed-2\components\cm\src\java\org\
apache\jetspeed\components\SpringComponentManager.java:41: cannot resolve symbol

    [javac] symbol  : class ApplicationContext
    [javac] location: class org.apache.jetspeed.components.SpringComponentManage
r
    [javac]     public SpringComponentManager(String[] springConfigs, Applicatio
nContext parentAppContext)
    [javac]                                                           ^
    [javac] D:\Technical\java\CVS\jakarta-jetspeed-2\components\cm\src\java\org\
apache\jetspeed\components\AbstractComponentAwareTestCase.java:118: warning: org
.apache.commons.logging.impl.Log4jFactory in org.apache.commons.logging.impl has
 been deprecated
    [javac]         System.getProperties().setProperty(LogFactory.class.getName(
), Log4jFactory.class.getName());
    [javac]
   ^
    [javac] D:\Technical\java\CVS\jakarta-jetspeed-2\components\cm\src\java\org\
apache\jetspeed\components\SpringComponentManager.java:44: cannot resolve symbol

    [javac] symbol  : class FileSystemXmlApplicationContext
    [javac] location: class org.apache.jetspeed.components.SpringComponentManage
r
    [javac]         appContext = new FileSystemXmlApplicationContext(springConfi
gs, parentAppContext );
    [javac]                          ^
    [javac] 5 errors
    [javac] 2 warnings

BUILD FAILED

-----Original Message-----
From: Raphaël Luta [mailto:raphael@apache.org]
Sent: 29 July 2004 09:39
To: Jetspeed Users List
Subject: Re: ParameterPresentationStyle - REPOST


Cyrille GACHOT wrote:
> Le mer 28/07/2004 à 11:47, Holger Dewes a écrit :
>>>-----Original Message-----
>>>From: Cyrille GACHOT [mailto:cyrille.gachot@cotranet.com] 
>>>Sent: Wednesday, July 28, 2004 1:04 PM
>>>To: Jetspeed User List
>>>Subject: RE: ParameterPresentationStyle - REPOST
>>>
>>>Thanks, I'm going to take a look at that. btw, is it possible 
>>>to define my own Customizer only for one portlet and not for 
>>>every one?
>>
>>IIRC a portlet can take care of its customization by itself, by setting
>>the provides.customization parameter to true. In that case,
>>buildConfigureContext() will be called. But in that case, the portlet
>>has to take care of the customization all by itself, even for skin,
>>title etc.
>>
> 
> Well, this is not really what i want; it's too complicated.
> In fact, what I really want (in a first time) is to obtain something
> similar to the WeatherPortlet but with JSP, and not Velocity.
> The weather portlet has a parameter "Weather Location" that has several
> fields, and uses onChange="param1.value=this.value" to save the new
> values . But i can't apply the same method in my JSP.
> Any thoughts?
> 

Now you've got me really confused about what you want to do !

Are you trying to :
- create new PresentationStyles with the default customizer
   (Velocity based) to customize your portlets ?
- use the PresentationStyles with your own JSP based
   default customizer ?
- build a JSP portlet-specific customizer ?

--
Raphael Luta - raphael@apache.org
Apache Jetspeed - Enterprise Portal in Java
http://portals.apache.org/

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


________________________________________________________________________
This email has been scanned for all viruses by MessageLabs Email
Security System.
________________________________________________________________________

________________________________________________________________________
This e-mail and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed. 
If you are not the intended recipient, you are hereby notified that any 
use or dissemination of this publication is strictly prohibited. If you 
have received this e-mail in error, please notify us immediately, 
then destroy this e-mail.
_______________________________________________________________________
This email has been scanned for all viruses by the Message Labs Email
Security System. For more information on a proactive email security
service working around the clock, around the globe, visit
http://www.messagelabs.com
http://www.performixtechnologies.com
________________________________________________________________________

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


Re: Problems building Jetspeed2

Posted by "Scott T. Weaver" <sc...@binary-designs.net>.
Were all of the Spring Framework jars correctly downloaded by maven?  
Please check your ${user_home}/.maven/repository/spring/jars directory 
and make sure that these jars are present: spring-aop-1.0.2.jar  
spring-context-1.0.2.jar  spring-core-1.0.2.jar.  If they are there and 
you are still having probelms, try deleting them and letting maven 
dowload them again as sometimes jars get damaged in transport.

Also make sure that you do not have any other spiring jars in your 
classpath.

Paul Farnan wrote:

>I just got the latest source code of Jetspeed2 and tried to build it using the command maven allClean allBuild and it is giving me some grief. 
>I had successfully built Jetspeed2 before but then ran into some issue with accessing the manager application under tomcat where it couldn't find the resource manager/html. After I cleaned out Jetspeed with the command maven allClean the manager application worked again. So I got the latest version of Jetspeed 2 with cvs but ran into these build problems. 
>I'm using J2SE 1.4.2._04 on Win2K
>Any ideas on how to fix this up or get around this?
>Cheers
>Paul
>
>The Error log is as follows:
>
>+----------------------------------------
>| Build and Install the Component Manager jar Jetspeed-2 Component Manager
>| Memory: 38M/62M
>+----------------------------------------
>
>build:end:
>
>build:start:
>
>java:prepare-filesystem:
>    [mkdir] Created dir: D:\Technical\java\CVS\jakarta-jetspeed-2\components\cm\
>target\classes
>
>java:compile:
>    [echo] Compiling to D:\Technical\java\CVS\jakarta-jetspeed-2\components\cm/t
>arget/classes
>    [javac] Compiling 18 source files to D:\Technical\java\CVS\jakarta-jetspeed-
>2\components\cm\target\classes
>    [javac] D:\Technical\java\CVS\jakarta-jetspeed-2\components\cm\src\java\org\
>apache\jetspeed\components\AbstractComponentAwareTestCase.java:22: warning: org.
>apache.commons.logging.impl.Log4jFactory in org.apache.commons.logging.impl has
>been deprecated
>    [javac] import org.apache.commons.logging.impl.Log4jFactory;
>    [javac]                                        ^
>    [javac] D:\Technical\java\CVS\jakarta-jetspeed-2\components\cm\src\java\org\
>apache\jetspeed\components\SpringComponentManager.java:21: package org.springfra
>mework.context does not exist
>    [javac] import org.springframework.context.ApplicationContext;
>    [javac]                                    ^
>    [javac] D:\Technical\java\CVS\jakarta-jetspeed-2\components\cm\src\java\org\
>apache\jetspeed\components\SpringComponentManager.java:22: package org.springfra
>mework.context.support does not exist
>    [javac] import org.springframework.context.support.FileSystemXmlApplicationC
>ontext;
>    [javac]                                            ^
>    [javac] D:\Technical\java\CVS\jakarta-jetspeed-2\components\cm\src\java\org\
>apache\jetspeed\components\SpringComponentManager.java:37: cannot resolve symbol
>
>    [javac] symbol  : class FileSystemXmlApplicationContext
>    [javac] location: class org.apache.jetspeed.components.SpringComponentManage
>r
>    [javac]     protected FileSystemXmlApplicationContext appContext;
>    [javac]               ^
>    [javac] D:\Technical\java\CVS\jakarta-jetspeed-2\components\cm\src\java\org\
>apache\jetspeed\components\SpringComponentManager.java:41: cannot resolve symbol
>
>    [javac] symbol  : class ApplicationContext
>    [javac] location: class org.apache.jetspeed.components.SpringComponentManage
>r
>    [javac]     public SpringComponentManager(String[] springConfigs, Applicatio
>nContext parentAppContext)
>    [javac]                                                           ^
>    [javac] D:\Technical\java\CVS\jakarta-jetspeed-2\components\cm\src\java\org\
>apache\jetspeed\components\AbstractComponentAwareTestCase.java:118: warning: org
>.apache.commons.logging.impl.Log4jFactory in org.apache.commons.logging.impl has
> been deprecated
>    [javac]         System.getProperties().setProperty(LogFactory.class.getName(
>), Log4jFactory.class.getName());
>    [javac]
>   ^
>    [javac] D:\Technical\java\CVS\jakarta-jetspeed-2\components\cm\src\java\org\
>apache\jetspeed\components\SpringComponentManager.java:44: cannot resolve symbol
>
>    [javac] symbol  : class FileSystemXmlApplicationContext
>    [javac] location: class org.apache.jetspeed.components.SpringComponentManage
>r
>    [javac]         appContext = new FileSystemXmlApplicationContext(springConfi
>gs, parentAppContext );
>    [javac]                          ^
>    [javac] 5 errors
>    [javac] 2 warnings
>
>BUILD FAILED
>
>-----Original Message-----
>From: Raphaël Luta [mailto:raphael@apache.org]
>Sent: 29 July 2004 09:39
>To: Jetspeed Users List
>Subject: Re: ParameterPresentationStyle - REPOST
>
>
>Cyrille GACHOT wrote:
>  
>
>>Le mer 28/07/2004 à 11:47, Holger Dewes a écrit :
>>    
>>
>>>>-----Original Message-----
>>>>From: Cyrille GACHOT [mailto:cyrille.gachot@cotranet.com] 
>>>>Sent: Wednesday, July 28, 2004 1:04 PM
>>>>To: Jetspeed User List
>>>>Subject: RE: ParameterPresentationStyle - REPOST
>>>>
>>>>Thanks, I'm going to take a look at that. btw, is it possible 
>>>>to define my own Customizer only for one portlet and not for 
>>>>every one?
>>>>        
>>>>
>>>IIRC a portlet can take care of its customization by itself, by setting
>>>the provides.customization parameter to true. In that case,
>>>buildConfigureContext() will be called. But in that case, the portlet
>>>has to take care of the customization all by itself, even for skin,
>>>title etc.
>>>
>>>      
>>>
>>Well, this is not really what i want; it's too complicated.
>>In fact, what I really want (in a first time) is to obtain something
>>similar to the WeatherPortlet but with JSP, and not Velocity.
>>The weather portlet has a parameter "Weather Location" that has several
>>fields, and uses onChange="param1.value=this.value" to save the new
>>values . But i can't apply the same method in my JSP.
>>Any thoughts?
>>
>>    
>>
>
>Now you've got me really confused about what you want to do !
>
>Are you trying to :
>- create new PresentationStyles with the default customizer
>   (Velocity based) to customize your portlets ?
>- use the PresentationStyles with your own JSP based
>   default customizer ?
>- build a JSP portlet-specific customizer ?
>
>--
>Raphael Luta - raphael@apache.org
>Apache Jetspeed - Enterprise Portal in Java
>http://portals.apache.org/
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
>
>
>________________________________________________________________________
>This email has been scanned for all viruses by MessageLabs Email
>Security System.
>________________________________________________________________________
>
>________________________________________________________________________
>This e-mail and any files transmitted with it are confidential and intended 
>solely for the use of the individual or entity to whom they are addressed. 
>If you are not the intended recipient, you are hereby notified that any 
>use or dissemination of this publication is strictly prohibited. If you 
>have received this e-mail in error, please notify us immediately, 
>then destroy this e-mail.
>_______________________________________________________________________
>This email has been scanned for all viruses by the Message Labs Email
>Security System. For more information on a proactive email security
>service working around the clock, around the globe, visit
>http://www.messagelabs.com
>http://www.performixtechnologies.com
>________________________________________________________________________
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
>
>
>  
>


-- 
******************************************
*           Scott T. Weaver              *
*         <we...@apache.org>            *
*     <http://www.einnovation.com>       *
* -------------------------------------- *
*   Apache Jetspeed Enterprise Portal    *
*     Apache Pluto Portlet Container     *
*                                        *
* OpenEditPro, Website Content Mangement *
*     <http://www.openeditpro.com>       *
******************************************


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