Shash Chaterjee wrote:
> 
> - Modify myproject/pom.xml to add the "pom" module, in addition to core
> and web in the modules section
> - mvn install eclipse:eclipse
> 
I also modified myproject/pom/pom.xml to remove the core and web modules,
otherwise, "mvn install eclipse:eclipse" won't work. Not sure if this
removal is necessary ???

Yes, this is necessary.  Thanks for pointing out.



> - You may want to copy the launch configuration and then add all the
> properties defined in myproject/pom.xml
> 
Not sure what you meant by "launch configuraton" and "properties defined in
pom" ???

When you Run or Debug in Eclipse, you can create a launch configuration that
includes things like which JVM to use, what arguments to pass, etc.  
However, since my original post I have found that Eclipse/WTP doesn;t
support any kind of "assembly" of the final webapp from smaller/incomplete
WAR/JAR (like warpath does).
So, we can;t really use Eclipse to run the app, unless you use mvn to build
the WAR in the first place.  So forget this step :-)



> 
> 
> I got 62 errors as follows: (I will try to take a deeper look at them and
> then get back to you later.)
> 
> Yes...there are lots of errors and warnings.  A lo of them are in the
> target/* dors where mvn assembled the final webapp...those errors are
> invalid.  Eclipse has no way of validating in some dirs, but not on
> otheres; so you have to live with false errors or turn off validation
> completely.
> Other errors look valid to me, however, most JSP servlets and browsers
> (for HTML errors) may be lenient enough that these errors may not matter
> in real life.
> 

-- 
View this message in context: 
http://www.nabble.com/Appfuse-M3-and-Eclipse-help-tf3245072s2369.html#a9298135
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to