facebook

Saving/Deploying J2EE Project

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

    joyceewy
    Participant

    I have a J2EE project that I’ve successfully converted from RAD to MyEclipse Blue. Now I want to save my changes into a backup copy, and load that backup copy into a new workspace for development. I’m used to dealing with .EAR files, but MyEclipseBlue doesn’t want to import EAR files. So I have multiple questions.
    1) What is the best way to export/import J2EE projects from within MyEclipseBlue?
    2) I will need an EAR for deployment to my server. RAD gave me a choice of exporting EARs with source code or without. In MyEclipse Blue, if I select File =>Export =>Ear, is that what I’ll need to deploy on the server? Will it have source code? (typically we don’t deploy ears with source code on the servers). Does MyEclipse Blue give you a choice of how to save your EAR file?
    Thanks!

    #315547 Reply

    Brian Fernandes
    Moderator

    joyceewy,

    1) We will be adding the ability to import EAR files in MyEclipse 10.x, but for now, I would recommend using File > Export > General > Archive file and make sure your entire project is selected. The resulting zip can be used as a backup. Alternatively, you could just make a copy of the project folder or zip it up, external to MyEclipse.

    2) Use Export > Ear file (MyEclipse) – this is an EAR that can be deployed, it will not have the source code – you can verify this by opening the EAR with an ZIP utility (or rename the file extension to ZIP). When we add the ability to import and export EARs directly, we will probably add more options to the Export.

    Hope this helps.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Saving/Deploying J2EE Project

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