portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jetspeed-...@jakarta.apache.org
Subject [jira] Created: (JS2-124) build error - cannot resolve symbol class ServletContextProvider
Date Sat, 25 Sep 2004 15:04:32 GMT
Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/JS2-124

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: JS2-124
    Summary: build error - cannot resolve symbol class ServletContextProvider
       Type: Bug

     Status: Unassigned
   Priority: Blocker

    Project: Jetspeed 2
   Versions:
             2.0-dev/cvs

   Assignee: 
   Reporter: Jay Lawrence

    Created: Sat, 25 Sep 2004 8:03 AM
    Updated: Sat, 25 Sep 2004 8:03 AM
Environment: Both Linux sun jdk 1.4.2_05 and OS X java 1.4.2

Description:
Proposed solution below

Consistenly getting:

java:compile:
    [echo] Compiling to /home/jlawrenc/java/jakarta-jetspeed-2/commons/target/classes
    [javac] Compiling 35 source files to /home/jlawrenc/java/jakarta-jetspeed-2/commons/target/classes
    [javac] /home/jlawrenc/java/jakarta-jetspeed-2/commons/src/java/org/apache/jetspeed/portlet/ServletContextProviderImpl.java:28:
cannot resolve symbol
    [javac] symbol  : class ServletContextProvider
    [javac] location: package common
    [javac] import org.apache.portals.bridges.common.ServletContextProvider;
    [javac]                                          ^
    [javac] /home/jlawrenc/java/jakarta-jetspeed-2/commons/src/java/org/apache/jetspeed/portlet/ServletContextProviderImpl.java:36:
cannot resolve symbol
    [javac] symbol  : class ServletContextProvider
    [javac] location: class org.apache.jetspeed.portlet.ServletContextProviderImpl
    [javac] public class ServletContextProviderImpl implements ServletContextProvider
    [javac]                                                    ^
    [javac] 2 errors

I am sure it is just a case of portals-bridge needing to be built before commons. I noticed
one typo in project.properties around line 52 - portal-bridges should be portals-bridges

Moving portals-bridges/*/project.xml to front of maven.multiproject.includes seems to clear
up the problem.

HTH - Jay



---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


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


Mime
View raw message