facebook

Deployment is including the source files in the war file

  1. MyEclipse Archived
  2.  > 
  3. Web Development (HTML, CSS, etc.)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #257384 Reply

    erouse
    Participant

    I had this problem once before and was able to get it corrected. Looks like it’s back after the upgrade. Running MyEclipse 5.0.1 and Eclipse 3.2 on Win2000. Since this is a legacy project, the structure doesn’t follow standard practices, in that the source folder is the same as the deployment folder. The ‘Allow output folders for source folders’ box is checked in the ‘Java Build Path’ screen.

    When I deploy the project as a war file, all of the .java files are mixed in with all of the .class files. I did try adding .java files to the Excluded section under the source tab even though this seemed to be associated with building rather than deployment, but the .java files are still in the .war file, after a clean, rebuild, deploy. The Deployment tab in MyEclipse->J2EE project->Web Project only allows adjusting .jar deployment.

    Can you point me to the place where I can exclude files from a deployment?

    #257481 Reply

    Riyad Kalla
    Member

    Unfortunately the fine-tuned exclude controls you need to exclude the source from the deployment (Assuming they are compiled into the same dir as the output classes) is not in MyEclipse yet but should be comming shortly. We appologize for this frustration, I am adding your comments to the issue tracking that feature request.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Deployment is including the source files in the war file

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