Mvnforum 1.2.2 Deployment in eclipse

Source: Internet
Author: User

Reference Reference article: http://www.blogjava.net/TiGERTiAN/archive/2010/09/11/238250.html
First, download mvnforum-1.2.2-mvnad-1.0.1-src-20100817
Second, first load Build.xml in Myvietnam by Project-java Project from Existing Ant buildfile in Eclipse and run as---extenal Tools Con figuration), set the base directory to your source Myvietnam directory, tick targets all and compile, JRE Select 1.4, and compile to generate a jar package.                Note that you do not need tothe works in the mvnforum-1.2.2-mvnad-1.0.1-src-20100817 are copied to the workspace. the directory where the generated jar package resides:Mvnforum-1.2.2-mvnad-1.0.1-src-20100817/build/build-myvietnam/lib
Third,ditto, add Mvnforum build.xml in, where his associated class library needs to be added to the Myvietnam.jar that was just generated.
        Modify the Build.properties before build and modify it to your own tomcat, here is the JRE version issue, when my JRE chooses jdk1.7
  
 
  1. deploy.localhost=F:/Program Files/apache-tomcat-7.0.41/webapps
  2. tomcat.home=F:/Program Files/apache-tomcat-7.0.41
        Also note: Modify the configuration in Build.xml to remove common and server.
  
 
  1.         <fileset dir="${tomcat.home}/common/lib">
  2.             <include name="*.jar" />
  3.         </fileset> 
  4.         <fileset dir="${tomcat.home}/server/lib">
  5.             <include name="*.jar" />
  6.         </fileset>   
        
        or download a tomcat5.x version

FourIbid., add Mvnad related items, where his associated class library needs to be added to the Myvietnam.jar and Mvnforum.jar that were just generated.

here I only build mvnforum, omit fourth step.

Five,Copy the webapp portion of the Mvnforum build to the new Web project Myforum, where the associated class library includes not only the jar packages required for the first three projects, but also the myvietnam.jar generated by the first three projects. The Mvnforum.jar file.

Six, can beMyvietnam.jar,mvnforum.jar Delete, add these two project at build path.

in this step, the development environment is set up.













From for notes (Wiz)

Mvnforum 1.2.2 Deployment in eclipse

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.