I have not found a way to resolve the errors. I just ignore them. They
do not prevent me from working effectively in Eclipse on AppFuse modular
projects.

-A

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of
Kief Morris
Sent: Wednesday, December 31, 2008 11:06 AM
To: [email protected]
Subject: [appfuse-user] Validation problems with Eclipse Ganymede and
modular projects

Hi,

I'm new to both appfuse and Eclipse (used to use IntelliJ), and can't
seem to get appfuse to create a modular project that Eclipse likes.
I'm following the tutorial, although I'll list the key steps below.

The summary of my issue is that I create a project, am able to built
it with maven, run it and log in, however when I load it in Eclipse I
get validation errors which seem to make it unusable. I guess I could
use it as a heavyweight text editor, but I'd rather have it working
for real.

I only have the problem with modular projects, a basic project seems
to work ok. I've tried different web front ends (tapestry, spring, and
now struts), with the same or similar results.

Eclipse shows 22 Errors  and 427 warnings. The first error is:

Description     Resource        Path    Location        Type
Fragment "/common/messages.jsp" was not be found at expected path
/appstruts-webapp/target/war/work/appfuse-web-common-2.0.2/common/messag
es.jsp  default.jsp
appstruts-webapp/target/war/work/appfuse-web-common-2.0.2/decorators
line
27      JSP Problem

Indeed, there does not seem to be a path exactly like this, although
there are various messages.jsp files strewn about.

I'm doing this on Vista (unfortunately), Sun JDK 1.6.0_11, maven
2.0.9, Eclipse 3.4.1.

My initial maven line is:

mvn archetype:create -DarchetypeGroupId=org.appfuse.archetypes
-DarchetypeArtifactId=appfuse-modular-struts
-DremoteRepositories=http://static.appfuse.org/releases
-DarchetypeVersion=2.0.2 -DgroupId=com.kief.appstruts
-DartifactId=appstruts

I follow this by running mvn in the base (appstruts) directory, then
"mvn jetty:run-war" in the web directory. The app builds and runs, and
I can log in.

I run mvn eclipse:eclipse in the base of my appstruts directory, then
create a new workspace in eclipse with an empty directory, then import
as per the eclipse guide on the wiki, using the base of the appstruts
project as root.

I tried running mvn install under the web directory (after googling
around and finding some older posts on this list), with no change to
the results.

What other information can I provide? I'm sure there are loads of
people using ganymede with appfuse, I'm not sure what's different
about how I'm doing it.

Thanks for any help,
Kief

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to