facebook

import webapp into myeclipse

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #253436 Reply

    vjb
    Member

    As part of the ACEGI security system, they have a example webapp (acegi-security-sample-tutorial.war) that one can experiment with. I would like to bring it into a project. What is the best way to accomplish that?
    Thx.

    #253466

    Riyad Kalla
    Member

    vjb,
    What I would do is create a new web project. Then unzip the tutorial.war file, and drag-n-drop the unzipped folder contents into the WebRoot dir of your new web project.

    The only tricky part is that your default output dir is going to be WebRoot/WEB-INF/classes, which is where the war’s class files will unzip to. In Eclipse your default output dir is erased before a build, so unless your war also contains source code, the class files will be erased right away. You can either unset that dir as the output dir to stop Eclipse from cleaning it, or if the WAR has source in it, move it out into it’s own /src dir and let it rebuild into the WEB-INF/classes dir.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: import webapp into myeclipse

You must be logged in to post in the forum log in