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 - [EMAIL PROTECTED]
Vivendi Universal Networks - Paris

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to