Hi Matt,


1.What is the difference between appfuse struts core and  modular appliactions 
i dont see any difference in the application other than the structure.





2.I have followed the steps for configuring appfuse in eclipse



# Use the AppFuse archetypes to create the project. I used the Struts-2 Modular 
version. If you\'re not using a modular archetype, you can skip to step #6.

# Under \"myproject\", create a new dir called pom. Copy myproject/pom.xml to 
myproject/pom/pom.xml.

# Modify myproject/pom.xml to change the artifactId to \"myproject-pom\".

# Modify core/pom.xml and web/pom.xml to change the parent pom artifactId to

\"myproject-pom\" and delete the relativePath element

# Modify myproject/pom.xml to add the \"pom\" module, in addition to core and 
web in the modules section

# Modify myproject/pom/pom.xml to remove the \"core\" and \"web\" modules

# Run mvn install eclipse:eclipse

# Edit myproject/web/.settings/org.eclipse.wst.common.component:



   * Delete <wb-resource deploy-path=\"/\" source-path=\"src/main/webapp\"/>

   * Add <wb-resource deploy-path=\"/\" 
source-path=\"target/myproject-webapp-1.0-SNAPSHOT\"/>

   * Delete <wb-resource deploy-path=\"/WEB-INF/classes\" 
source-path=\"src/main/resources\"/>

   * Edit myproject/web/.classpath

   * Delete <classpathentry kind=\"src\" path=\"src/main/resources\" 
excluding=\"ApplicationResources_zh*.properties ... **/*.java\"/>

   * Add <classpathentry kind=\"con\" 
path=\"org.eclipse.jst.server.core.container/org.eclipse.jst.server.tomcat.runtimeTarget/Apache
 Tomcat v5.5\"/>

   * Add <classpathentry kind=\"con\" 
path=\"org.eclipse.jst.j2ee.internal.web.container\"/>



# Preferences -> Java -> Installed JREs: Make sure default JRE is actually the 
JDK and not the JRE.

# Preferences -> Server -> Installed Runtimes: Pick an Apache -> Tomcat 5.5 
server, and point it to your local installation.

# Import -> Existing Projects into Workspace: Point to your AppFuse project dir 
and import myproject-core and myproject-web.

# Open J2EE perspective, then Run->Run On Server (when prompted, connect it to 
the Tomcat server you configured previously)

# You may want to copy the launch configuration and then add all the properties 
defined in myproject/pom.xml





but after importing the project in eclipse there are lot of errors saying that 
the library files are alredy mapped with unknown path



Even after setting the M2_REPO environment variable also we are unable to solve 
the errors and unable to view the appliactiojn in tomcat server





please help to sort out these problems



Regards



Suresh
********** DISCLAIMER **********
Information contained and transmitted by this E-MAIL is proprietary to 
Sify Limited and is intended for use only by the individual or entity to 
which it is addressed, and may contain information that is privileged, 
confidential or exempt from disclosure under applicable law. If this is a 
forwarded message, the content of this E-MAIL may not have been sent with 
the authority of the Company. If you are not the intended recipient, an 
agent of the intended recipient or a  person responsible for delivering the 
information to the named recipient,  you are notified that any use, 
distribution, transmission, printing, copying or dissemination of this 
information in any way or in any manner is strictly prohibited. If you have 
received this communication in error, please delete this mail & notify us 
immediately at [EMAIL PROTECTED]

Complete Coverage of the ICC World Cup '07! Log on to www.sify.com/khel for 
latest updates, expert columns, schedule, desktop scorecard, photo galleries 
and more!

Watch the hottest videos from Bollywood, Fashion, News and more only on 
www.sifymax.com

For the Expert view of the ICC World Cup log on to www.sify.com/khel. 
Read exclusive interviews with Sachin, Ganguly, Yuvraj, Sreesanth, Expert 
Columns by Gavaskar, Web chat with Dhoni and more! .

Reply via email to