4 Replies Latest reply on Jun 12, 2006 5:18 PM by jack70_chen

    do i have to publish for every change?

    jack70_chen

      Hi, I just switch my IDE from WSAD to JBoss Eclispe IDE 1.6.

      In WSAD debug mode, any change I made will be hot deployed right away. But in JBoss Eclipse IDE, it looks like I have to manually publish my change, no matter how small it is in order to see the result, and the publish may take half a minute to 1 minute. Am I wrong?

      Thanks
      jack

        • 1. Re: do i have to publish for every change?
          jack70_chen

          Does anybody know this? Please help!

          • 2. Re: do i have to publish for every change?
            rob.stryker

            I suspect strongly that you're right when you say a full manual republish is required.

            In order for the changes to become apparent, JBoss will need to be told a new module or group of class files is available. It will then need to dump references to the old classes and load the new ones.

            I can't imagine any way in which changes such as that can be viewed without jboss reloading the classes. The only exception I can think of would be if the IDE was merely emulating or pretending to be the actual app-server and the changes weren't "live" on the server but were shown as projections as to how it will look once on the server.

            If anyone has any idea as to how JBoss could make redeployment faster, or more targeted to the specific changes, I'll be sure to take note of that and try to add it into the IDE's debugging and redeployment features, but until I hear about that, I'm pretty sure a full redeploy is required for module changes.

            • 3. Re: do i have to publish for every change?
              jack70_chen

              but even modifying a JSP or html file requires manul republish?? that is just too much.

              • 4. Re: do i have to publish for every change?
                jack70_chen

                Please help on this. Is there anyway not to republish the application (the whole ear) if I just modified some jsp or html files?

                thanks a lot,
                Jack