HELLO??? McFLY????  Is anybody actually there?

I have been trying to get the CVS code to compile for
several days, but it gives me lots of error messages
that are REAL errors in the code. I have been asking
on the list if someone knows about this; I thought maybe
everyone else is working on code based on a different
repository, or on a different branch; I have asked and
asked, but got no responses. Again, this is what I'm doing:

* Got a NEW CHECKOUT in a NEW DIRECTORY like this:

    cvs -d :pserver:[EMAIL PROTECTED]:/products/cvs/jetspeed
checkout jetspeed

* Changed dirs to jetspeed/build and ran

    build dist

* Got lots of errors. Instead of posting them all, I will
  show just one of them. The error message is:

    [javac]
jetspeed\src\java\org\apache\jetspeed\psml\factory\PortletSetFactory.java:18
1:
    Incompatible type for method. Explicit cast needed to convert
    org.apache.jetspeed.registry.peer.PortletControllerEntry to
    org.apache.jetspeed.portal.PortletController.

  Line PortletSetFactory.java:181 is (with a new line added for
readability):

    set.setPortletController( RefResolutionFactory
      .getPortletControllerEntry( real.getPortletControllerRef().getName() )
);

  File RefResolutionFactory:165 declares this function:

    public static PortletControllerEntry getPortletControllerEntry( String
name )

  Variable set in PortletSetFactory:175 is declared as:

    PortletSet set = new PortletSet();

  Class PortletSet:334 defines this function:

    public synchronized void setPortletController(PortletController
controller)


  In short: the error is correctly flagged, since a function expecting
  a PortletController is handled a PortletControllerEntry.


Ok, that PROVES the code in the default branch in the repository
where I did the checkout from DOES NOT COMPILE. Could anybody
PLEASE let me know:

* Did I get the wrong repository? (but that is the one advertised
  on http://java.apache.org/jetspeed).

* Did I get the wrong branch?

* If you have the same code, HOW CAN IT POSSIBLY COMPILE?

Please, could someone take the time (it couldn't be more than
two minutes) to check the lines in those three files and
verify if they are the same? I would REALLY appreciate it.
Here are the files and lines again:

  org/apache/jetspeed/psml/factory/PortletSetFactory.java:181
  org/apache/jetspeed/registry/backend/RefResolutionFactory:165
  org/apache/jetspeed/psml/factory/PortletSetFactory.java:175
  org/apache/jetspeed/psml/peer/PortletSet:334


Sorry, the level of frustration is reaching historic heights
around here...


-- 
Gonzalo A. Diethelm
[EMAIL PROTECTED]


--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to