facebook

Importing/Exporting War Files, Need Help

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #261583 Reply

    Boeing-63
    Member

    I have MyEclipse 5.0

    1) How do I import an existing war file into my web project?

    2) How do I export my web project into a war file and include the
    source code in the war file?

    I hope I put this in the correct forum, this is my first time posting here.

    #261656 Reply

    Riyad Kalla
    Member

    1) You will need to do this manually. Dragging and dropping the web application artifacts into the correct location in MyEclipse.

    2) You can do this two ways. 1 from the File > Export menu, and one using the Deployment tool from the toolbar.

    MyEclipse won’t support putting the source code in the WAR by default, but you can make your source and bin dir both /WebRoot/WEB-INF/classes and just leave it there, although this is considered bad practice. If you need to share the project with someone else, it’s preferred to either put the project in source control somewhere, or simply use File > Export > Archive feature to export the project to an archive and send it to your co-worker.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Importing/Exporting War Files, Need Help

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