The following comment has been added to this issue:
Author: Ate Douma
Created: Wed, 29 Sep 2004 12:05 PM
Body:
Just checked in another fix for this one:
project.properties property jar.includes didn't take portals-bridges subprojects into
account.
As result of this, the portals-bridges-commons.jar (supplying ServletContextProvider)
wasn't installed in the local repo, nor were the myfaces and struts bridges.
This fix should also resolve JS2-130 which is a duplicate.
---------------------------------------------------------------------
View this comment:
http://issues.apache.org/jira/browse/JS2-124?page=comments#action_53507
---------------------------------------------------------------------
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: Closed
Priority: Blocker
Resolution: FIXED
Project: Jetspeed 2
Fix Fors:
2.0-dev/cvs
2.0-a1
Versions:
2.0-dev/cvs
Assignee: Scott T Weaver
Reporter: Jay Lawrence
Created: Sat, 25 Sep 2004 8:03 AM
Updated: Wed, 29 Sep 2004 12:05 PM
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]