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 Christophe MESTRALLET <cm...@axemble.com> on 2001/06/08 10:59:58 UTC

build problem

Hello,

I just downloaded CVS version of jetspeed this morning and I can't build
it....
Buld system can't compile class BasePortletSet.
here are the two main error messages I have :

src\java\org\apache\jetspeed\portal\BasePortletSet.java:86:class
org.apache.jetspeed.portal.BasePortletSet must be declared abstract. It does
not define void addPortlet(org.apache.jetspeed.portal.Portlet,
org.apache.jetspeed.portal.PortletSet.Constraints) from interface
org.apache.jetspeed.portal.PortletSet

src\java\org\apache\jetspeed\portal\BasePortletSet.java:206: Class
org.apache.jetspeed.portal.Constraints not found in void
addPortlet(org.apache.jetspeed.portal.Portlet, int)

the  file Constraints.java is not in the portal directory...

Can you help me ?

Thanks


Christophe Mestrallet
Axemble
cmestrallet@axemble.com


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


Re: build problem

Posted by Raphaƫl Luta <ra...@networks.groupvu.com>.
Christophe MESTRALLET wrote:
> 
> Hello,
> 
> I just downloaded CVS version of jetspeed this morning and I can't build
> it....
> Buld system can't compile class BasePortletSet.
> here are the two main error messages I have :
> 
> src\java\org\apache\jetspeed\portal\BasePortletSet.java:86:class
> org.apache.jetspeed.portal.BasePortletSet must be declared abstract. It does
> not define void addPortlet(org.apache.jetspeed.portal.Portlet,
> org.apache.jetspeed.portal.PortletSet.Constraints) from interface
> org.apache.jetspeed.portal.PortletSet
> 
> src\java\org\apache\jetspeed\portal\BasePortletSet.java:206: Class
> org.apache.jetspeed.portal.Constraints not found in void
> addPortlet(org.apache.jetspeed.portal.Portlet, int)
> 
> the  file Constraints.java is not in the portal directory...
> 

This looks like a compiler issue : Constraints is a sub-interface of
PortletSet but your compiler seems to look for org.apache.jetspeed.portal.Constraints.

1. Make sure you try from a 'build clean'
2. Can you tell which compiler/JDK you're using on which OS ?
3. If the above fails,can you try the following fix:
change all Constraints reference to PortletSet.Constraints in 
BasePortletSet and check if the compiler accepts this...

FYI, I compile without issue a fresh CVS checkout on Win2000
with JDK 1.3 using javac.

--
Raphael Luta - raphael.luta@networks.groupvu.com
Vivendi Universal Networks - Paris

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