facebook

JSP Deployment

💡
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. General Development
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #211844 Reply

    Marc
    Member

    Hi,

    I have a Web project. I have recently upgraded from Eclipse 2.1 to Eclipse 3.0.
    With this upgrade, I also upgraded to MyEclipse 3.8 beta.

    I am having trouble deploying the correct src classes to my application server. I am using Tomcat 5.0. I have imported the previous project and none of the src files have been rebuilt since the import. Is there a way to force the rebuild and make sure these new files are in the WEB-INF/classes directory.

    Thanks for any help.

    Regards,
    Marc

    #211868

    Riyad Kalla
    Member

    Marc,
    First make sure that you have your source dir setup for the project correct (right click on project root, go to Propertieis and Java Build Path). Also make sure your output path is correct (e.g. WebRoot/WEB-INF/classes), then click OK and close the popup and then go to the Project menu and choose “Clean…” and select the radio button next to your project and hit OK… this is a bit strange, but the idea is that if you have automatic building on (default: yes) then if you clean a project, it forces a rebuild.

    #211876

    Marc
    Member

    Hi,

    Thanks for the suggestion but it didn’t work and actually caused my class files to disappear.

    #211877

    Riyad Kalla
    Member

    Can you give me a little more information about what your setup is? Given how Eclipse works, if you setup something incorrect its entirely possible to steam-roll an project’s contents. I’m happy to help but I need a bit more info.

    What is your project’s directory structure? What is your source path set to? what is your output path set to? What is your webroot set to?

    #211878

    Riyad Kalla
    Member

    Also make sure you have automatic building turned on (under the Project menu) otherwise “cleaning” the project will make your class files ‘disappear’… I think this problem is stemming from a confusion with how Eclipse is treating your project.

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: JSP Deployment

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