facebook

auto build/deployment not working

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

    ddistasio
    Member

    My automatic build have not been working. When I try to deploy the code in my src directory no class files are compiled. I tried to build manually but I got the same result. Have you seen this scenario before? I am using tomcat 5.

    #236583 Reply

    ddistasio
    Member

    My .java files will not compile to the classes directory. I am unsure why since I have includes * under the src directory.

    #236590 Reply

    Scott Anderson
    Participant

    First, ensure that Project > Build Automatically is turned on for the workbench.
    Second, check the Properties > Java Build Path and ensure that the source folder is listed and the output is set to the classes folder
    Third, select the project in the Package Explorer view and then pick Project > Clean… on it
    Finally, use the Navigator view (not the Package Explorer view) to look in your classes folder to see if the classes have been placed there by the compiler

    #236595 Reply

    ddistasio
    Member

    Scott,
    I tried all of the steps listed above but still no luck. It is really strange since my build and deploy process has been working for many months. what else can I try?

    #236596 Reply

    ddistasio
    Member

    My workspace gets rebuilt when I clean the project and the .jsps get rebuilt but not the .java. Also, there are no inclusion/exclusions if I right click on the src directory and select build path->configure inclusion/exclusion filters.

    #236598 Reply

    ddistasio
    Member

    I went into properties-> Java Compiler-> Building , enable project specific settings. Build path problems,

    and unchecked abort build when bulid path errors occur.

    This will compile the .java files but is this an acceptable solution? Where can I see and fix the build path errors?

    #236614 Reply

    Scott Anderson
    Participant

    This will compile the .java files but is this an acceptable solution? Where can I see and fix the build path errors?

    It would be better to fix the build path. You can see the build path at Properties > Java Build Path. The build path errors should show up in the Problems View. To ensure you’re not filtering the errors out of the view, you can adjust the filter properties by clicking the downward pointing triangle in the view toolbar and selecting Filters…

Viewing 7 posts - 1 through 7 (of 7 total)
Reply To: auto build/deployment not working

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