facebook

exploded deployment – ant build..

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #350794 Reply

    ujm4
    Participant

    I have a J2EE project running on MyEclipse 8.6; there is a build.xml file in the project. Whenever I do a clean build – it automatically starts the ant build which starts running the ant script to create an ear.. I dont want that to happen, I just want it build and generate the class files without calling the build.xml. So that I can do a exploded deployment locally while do debugging…

    #350811 Reply

    support-swapna
    Moderator

    Hi,

    You should check if the project builder is executed and on which targets. By default, the default target is set to run After a “Clean” and Manual Build. So whenever you do a ‘Clean’ on your project, the project builder will run by default.

    Right click on the project > Properties > Builders. Edit the ANT Builder you have created. Switch to ‘Targets’ tab. If the default target is selected for ‘ After a ‘Clean’ ‘ and ‘During a clean’ , click on ‘Set Targets’ and turnoff the selection.

    Here is the screenshot for your reference :

    For a clear understanding on when the targets will be executed, please check the ‘Project Builder Ant Targets’ topic under ‘Ant buildfiles as project builders’ here : http://help.eclipse.org/juno/index.jsp?topic=%2Forg.eclipse.platform.doc.user%2FgettingStarted%2Fqs-81_basics.htm

    Let us know how it works for you.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: exploded deployment – ant build..

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