facebook

script myexclipse export of war j2ee

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #299101 Reply

    jnylund
    Member

    Hi, right now I export using j2ee war (my exclipse), this creates a war file that works great in tomcat. However creating this war (500 megs now) and coping it is slow.

    I would like to build the war using scripts and not the myeclipse UI. Is there any tools for creating an ant script that will do this exact same thing from command line? or do I need to create by hand?

    thanks
    Joel

    #299149 Reply

    @jnylund wrote:

    Hi, right now I export using j2ee war (my exclipse), this creates a war file that works great in tomcat. However creating this war (500 megs now) and coping it is slow.

    I would like to build the war using scripts and not the myeclipse UI. Is there any tools for creating an ant script that will do this exact same thing from command line? or do I need to create by hand?

    thanks
    Joel

    MyEclipse can create web projects with Maven support. This way you will be able to generate war file without using ME by calling Maven package on your build machine (given you properly configure the Maven repository there). You can use other Maven features as well (i.e. reports, project site generation) and don’t need to install MyEclipse there.

    #299150 Reply

    support-joy
    Member

    Joel,

    Question – why do you need to create a war file and run in tomcat outside of ME?
    I would recommend you to use deployment options – Exploded Archive for development mode and Packaged Archive for production mode.

    If you are using packaged archive, it may take long to complete the re-export and drop it to your destination folder, considering your war file is 500 megs. Hence you are experiencing a slow export to war. We don’t have any tool inside MyEclipse IDE to generate an ant script for you. But you should be able to write your own ant script to generate the war file outside of ME. Sorry about that.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: script myexclipse export of war j2ee

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