2 Replies Latest reply on Feb 14, 2007 5:39 PM by monkeyden

    HotSwap???

    monkeyden

      Is anyone using HotSwap at the moment? I'm using the default Ant build for Eclipse 3.2 (Ant 1.6.x I believe) but can't seem to get it to work. The reason I ask here is that I thought I saw some limitation that said you couldn't build with Ant 1.7.

        • 1. Re: HotSwap???
          gavin.king

          Use seam-gen to create your project and it will work. The problem is that you have to convince your Ant script to use the classes compiled by eclipse, not classes compiled by Ant. The seam-gen Ant build is smart enough to do this.

          • 2. Re: HotSwap???
            monkeyden

            Yeah, this used to be done by way of the JDTCompilerAdapter, used by the compiler attribute of the Ant javac task. With Java1.5 that adapter barfs on the annotations. I've read that you need to pass compiler params to javac, but apparently that can't be done with Ant 1.6.x. Oh, I got it. It was the Seam Getting Started Guide that requires Ant 1.6.

            http://labs.jboss.com/portal/jbossseam/gettingstarted