Results 1 to 2 of 2
  1. #1
    kishan's Avatar
    kishan is offline Member
    Join Date
    Apr 2009
    Posts
    57
    Rep Power
    0

    Default Problem in Deployment

    Hi folks,

    The problem is every time i change java class file i have to redeploy the project as the code changes are not reflecting. This takes lot of time for a small changes also. I am using eclipse version-3.3.2 and jboss-3.2.7.

    Is there any settings changes I have to make in my eclipse for auto deployment? please give me a solution for my problem.


    Thanks,
    Kishan.G

  2. #2
    travishein's Avatar
    travishein is offline Senior Member
    Join Date
    Sep 2009
    Location
    Canada
    Posts
    684
    Rep Power
    5

    Default

    i think one time i had set up the project to replace the built-in java builder with an 'ant builder'. where i created an ant file that had its main task be a compile and invoke a copy to my tomcat instance folder. but with the ant build the output deploy step could really be anything right.

    I eventually found this to be not helpful because it would invoke the ant builder on every time i saved a file, which when needing to edit more than one file usually would cause compile errors and the build would fail. There is a way around that to edit a bunch of files and do a "save all" so everything modified is saved all at once, then the ant builder kicks in and does the deploy, assuming there are no compile errors still.

    in that sense, it might be easier to have an ant task window open and just push the ant run target button when you want to have deployed.
    but i do not know enough of eclipse to do more eclipse centric auto deployments.

Similar Threads

  1. Deployment
    By rob in forum Enterprise JavaBeans (EJB)
    Replies: 1
    Last Post: 04-08-2009, 10:03 PM
  2. hot deployment
    By Manas Das in forum Advanced Java
    Replies: 0
    Last Post: 01-21-2009, 05:24 PM
  3. deployment
    By Nicholas Jordan in forum NetBeans
    Replies: 4
    Last Post: 07-09-2008, 05:10 PM
  4. Deployment in jboss
    By scott2srikanth in forum Enterprise JavaBeans (EJB)
    Replies: 0
    Last Post: 12-10-2007, 03:17 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •