hi, i also have that ugly Illegal type of archive for required library stuff. have you got a workaround? thx
wnqq wrote: > > Dear Shash and Matt, > > Thanks for your great efforts. > I followed your instructions but it did not work. It is probably I made > some mistakes somewhere or maybe there are some missing steps in your > instructions. > Anyway, below are some more details... > > > 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 ??? > > > >> - 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" ??? > > > >> A few problems: >> >> - core/src/main/java/Core.java are created in the default package, but >> have a different package declaration >> - common/header.jsp line 3. 'en' should be "en", and the outer "" can be >> changed to '' >> - common/messages.jsp needs <%@ include file="/common/taglibs.jsp"%> >> - dwr.xml line 7 is a comment embedded in a comment >> - WEB-INF/pages/activeUsers.jsp line 26, tag doesn't have styleClass >> attribute (style?) >> >> - Somehow Eclipse doesn't validate the "<content>" tag, and expects >> "<label>" tag to be closed. No biggies. >> - Eclipse shows validation errors in some of the target/* temp dirs, wish >> there was a way in Eclipse to turn off validation in certain dirs. Looks >> like it is either a global turn off, or validation on all dirs! >> > > I got 62 errors as follows: (I will try to take a deeper look at them and > then get back to you later.) > > * Duplicate local variable ex > > * Illegal type of archive for required library: > 'C:\Work\.m2\repository\org\appfuse\appfuse-struts\2.0-m4-SNAPSHOT\appfuse-struts-2.0-m4-SNAPSHOT.war' > in project myproject-webapp > > * Illegal type of archive for required library: > 'C:\Work\.m2\repository\org\appfuse\appfuse-web-common\2.0-m4-SNAPSHOT\appfuse-web-common-2.0-m4-SNAPSHOT.war' > in project myproject-webapp > > * Invalid character constant > > * No start tag (<p>). > > * No start tag (). > > * The markup in the document following the root element must be > well-formed. > > * The project cannot be built until build path errors are resolved > > Most of the errors could be somehow ignored. However, I have no clue on > the issues of "Illegal type of archive for required library". > > By the way, "mvn jetty:run" stills works. > > Could you give me some more hints on how to make WTP work? Thanks. > > > -- View this message in context: http://www.nabble.com/Appfuse-M3-and-Eclipse-help-tf3245072s2369.html#a9937546 Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]