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 Walter Wang <wa...@gmail.com> on 2005/01/26 16:55:52 UTC
newbie: compiling jetspeed-1.6-dev in eclipse
Hi,
could someone please help me setting up jetspeed as a project in eclipse?
i have checked out jetspeed1.6-dev from the cvs directly into eclipse as
a new project.
i can build the project from command line using maven and was able to
deploy it into tomcat. everything appears to be fine.
however, in eclipse, it keeps reporting there are many errors. firstly,
it was complaining many jetspeed-xxx-2.0-a1-dev.jar files were missing.
so i downloaded them manually into my MAVEN_REPO, but after that, it
still gives many compiler errors:
Severity Description Resource In Folder Location Creation
Time
2 The method _getHttpServletRequest() from the type
ServletRequestImpl is not visible FusionServletRequestImpl.java
jakarta-jetspeed/fusion/src/java/org/apache/jetspeed/fusion/engine/servlet
line 125 January 27, 2005 1:36:04 AM
2 The import org.apache.jetspeed.container.state cannot be
resolved FusionAccessController.java
jakarta-jetspeed/fusion/src/java/org/apache/jetspeed/fusion/modules/actions
line 27 January 27, 2005 1:36:04 AM
2 The import org.apache.jetspeed.container.state cannot be
resolved FusionAccessController.java
jakarta-jetspeed/fusion/src/java/org/apache/jetspeed/fusion/modules/actions
line 28 January 27, 2005 1:36:04 AM
2 NavigationalStateComponent cannot be resolved or is not a type
FusionAccessController.java
jakarta-jetspeed/fusion/src/java/org/apache/jetspeed/fusion/modules/actions
line 94 January 27, 2005 1:36:04 AM
2 NavigationalState cannot be resolved or is not a type
FusionAccessController.java
jakarta-jetspeed/fusion/src/java/org/apache/jetspeed/fusion/modules/actions
line 119 January 27, 2005 1:36:04 AM
2 The method getNavigationalState() is undefined for the type
PortalURL FusionAccessController.java
jakarta-jetspeed/fusion/src/java/org/apache/jetspeed/fusion/modules/actions
line 119 January 27, 2005 1:36:04 AM
2 The import
org.apache.jetspeed.components.portletregistry.PortletRegistry cannot be
resolved AbstractPortletApplicationAction.java
jakarta-jetspeed/fusion/src/java/org/apache/jetspeed/fusion/modules/actions/portlets
line 21 January 27, 2005 1:36:04 AM
2 The import
org.apache.jetspeed.tools.pamanager.DeploymentRegistration cannot be
resolved AbstractPortletApplicationAction.java
jakarta-jetspeed/fusion/src/java/org/apache/jetspeed/fusion/modules/actions/portlets
line 28 January 27, 2005 1:36:04 AM
2 DeploymentRegistration cannot be resolved (or is not a valid type)
for the field AbstractPortletApplicationAction.registrar
AbstractPortletApplicationAction.java
jakarta-jetspeed/fusion/src/java/org/apache/jetspeed/fusion/modules/actions/portlets
line 44 January 27, 2005 1:36:04 AM
2 PortletRegistry cannot be resolved (or is not a valid type) for the
field AbstractPortletApplicationAction.registry
AbstractPortletApplicationAction.java
jakarta-jetspeed/fusion/src/java/org/apache/jetspeed/fusion/modules/actions/portlets
line 45 January 27, 2005 1:36:04 AM
2 PortletRegistry cannot be resolved or is not a type
AbstractPortletApplicationAction.java
jakarta-jetspeed/fusion/src/java/org/apache/jetspeed/fusion/modules/actions/portlets
line 51 January 27, 2005 1:36:04 AM
2 The method getRegistryComponent() is undefined for the type
AbstractPortletApplicationAction
AbstractPortletApplicationAction.java
jakarta-jetspeed/fusion/src/java/org/apache/jetspeed/fusion/modules/actions/portlets
line 51 January 27, 2005 1:36:04 AM
... ... etc
all the errors seem to be related to fusion. am i missing any jar or
component for the fusion??
my second question is:
should i create a new web project to develop my portlets and write a
batch file to copy them into tomcat
or should i put my project files inside jetspeed in the same way as the
tutorial project? which one is the preferred way?
i am using eclipse 3.0 with MyEclipse 3.8.2
win xp, jdk1.4.2-03
thanks, Walter
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org