facebook

Package for deployment to Linux/Tomcat

💡
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 Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #263643 Reply

    Ramin
    Member

    Hi,

    I develop on Windows with MyEclipse 5.1, TC 5.5, JDK 1.5.
    I’d like to “war” up the project and deploy it to Tomcat on Linux.

    Obviously, the external jars (e.g., Tomahawk, mySQL, etc.) are located in different directory structures on the Linux server.

    Additionally, I have two subprojects that the web project is dependent on.

    Lastly, a couple of config (properties) files may also be different from my dev Windows vs Linus server.

    How do I setup MyEclipse to:
    1. include the external jars
    2. include the dependent projects — possibly as jars
    3. include different versions of some properties files (even a different version of web.xml)

    and wrap them up in a war to deploy?

    Thank you for your help 🙂

    #263764

    Ramin
    Member

    Has anyone deployed to another server with different path to jars?

    #263767

    Riyad Kalla
    Member

    Ramin,
    1) I’m assuming the Web Project depends one these JARs? If so, add them to the Web Project’s build path, and be sure to navigate to Project Properties > MyEclipse > Web > Deployment and adjust the deployment rules to deploy external JARs.

    2) Just add them to your Web Project’s build path as Projects and under Project Properties, enable the Project References to them. Also adjust your deployment settings again to JAR up dependent Java Projects (NOTE: These must be Java projects).

    3) You will need to do this manually.

    4) You can just use the deployment manager and it will honor all project references and so on to create the WAR for you right to your app server.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Package for deployment to Linux/Tomcat

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