Re: Intellij jetty
On 30.09.2011 13:30, Taha Hafeez wrote: Everything works fine but no class reloading is happening. I tried a few things but it did not work. Any clue why ? Did you try to manually update the resources by pressing Ctrl+F10? Instead you can edit the run configuration of jetty, see the settings below VM parameters in the Server tab. The documentation can be found here: http://www.jetbrains.com/idea/webhelp/updating-a-running-java-ee-application.html HTH Stephan signature.asc Description: OpenPGP digital signature
Re: Intellij jetty
Hi Taha! I'll use a) new project | maven b) edit configurations | add jetty server | local edit your newly created configuration and make sure perform on update action -- hot swap classes is selected afterwards if you build a class or module intellij prompts you for hot-swapping. the number of reloaded classes is shown on the bottom left. under preferences | (type in: file type in the search box) | File types -- you can see a tapestry template file entry which copies tml in case of changes (this was not the case prior 10 afaik). this works for me. Jens Am 30.09.11 13:30, schrieb Taha Hafeez: Hi I am just trying a new project in Intellij 10( I am new to it) and these are the steps I use 1) gradle cleanIdea idea 2) open the project in intellij 3) Add tapestry and web facets. 4) Run with jetty. Everything works fine but no class reloading is happening. I tried a few things but it did not work. Any clue why ? - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Intellij jetty
Under Project Settings | Artifacts you'll see your web application artifact. Look for Build on make and check the box. this isn't set by default so your compiled changes aren't stored into the file system. There is an issue that I haven't worked around. When you change a class file it seems to replace all of your resource files with the ones in the original deployment. When I'm working on a page I tend to compile the class then flip over and re-compile the page. Running make can also pick up all the changes. Josh On Fri, Sep 30, 2011 at 4:30 AM, Taha Hafeez tawus.tapes...@gmail.com wrote: Hi I am just trying a new project in Intellij 10( I am new to it) and these are the steps I use 1) gradle cleanIdea idea 2) open the project in intellij 3) Add tapestry and web facets. 4) Run with jetty. Everything works fine but no class reloading is happening. I tried a few things but it did not work. Any clue why ? -- Regards Taha Hafeez Siddiqi (tawus) http://tawus.wordpress.com - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Intellij jetty
Thanks everybody. I have been able to sort half the issue. Files are getting updated but jetty does not pick them up. I manually deleted files in classes directory and on command + F10 everything was copied and compiled but jetty is not picking them up. Any ideas ? On Fri, Sep 30, 2011 at 7:03 PM, Josh Canfield joshcanfi...@gmail.com wrote: Under Project Settings | Artifacts you'll see your web application artifact. Look for Build on make and check the box. this isn't set by default so your compiled changes aren't stored into the file system. There is an issue that I haven't worked around. When you change a class file it seems to replace all of your resource files with the ones in the original deployment. When I'm working on a page I tend to compile the class then flip over and re-compile the page. Running make can also pick up all the changes. Josh On Fri, Sep 30, 2011 at 4:30 AM, Taha Hafeez tawus.tapes...@gmail.com wrote: Hi I am just trying a new project in Intellij 10( I am new to it) and these are the steps I use 1) gradle cleanIdea idea 2) open the project in intellij 3) Add tapestry and web facets. 4) Run with jetty. Everything works fine but no class reloading is happening. I tried a few things but it did not work. Any clue why ? -- Regards Taha Hafeez Siddiqi (tawus) http://tawus.wordpress.com - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org -- Regards Taha Hafeez Siddiqi (tawus) http://tawus.wordpress.com - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Intellij jetty
I always run jetty from a command prompt (mvn jetty:run) and have not experienced issues with IDEA / jetty /live reloading. It is just a matter of opening the pom as a project and then we're good to go (jdk version may need to be adjusted iirc). -- Chris On Fri, Sep 30, 2011 at 5:13 PM, Taha Hafeez tawus.tapes...@gmail.comwrote: Thanks everybody. I have been able to sort half the issue. Files are getting updated but jetty does not pick them up. I manually deleted files in classes directory and on command + F10 everything was copied and compiled but jetty is not picking them up. Any ideas ? On Fri, Sep 30, 2011 at 7:03 PM, Josh Canfield joshcanfi...@gmail.com wrote: Under Project Settings | Artifacts you'll see your web application artifact. Look for Build on make and check the box. this isn't set by default so your compiled changes aren't stored into the file system. There is an issue that I haven't worked around. When you change a class file it seems to replace all of your resource files with the ones in the original deployment. When I'm working on a page I tend to compile the class then flip over and re-compile the page. Running make can also pick up all the changes. Josh On Fri, Sep 30, 2011 at 4:30 AM, Taha Hafeez tawus.tapes...@gmail.com wrote: Hi I am just trying a new project in Intellij 10( I am new to it) and these are the steps I use 1) gradle cleanIdea idea 2) open the project in intellij 3) Add tapestry and web facets. 4) Run with jetty. Everything works fine but no class reloading is happening. I tried a few things but it did not work. Any clue why ? -- Regards Taha Hafeez Siddiqi (tawus) http://tawus.wordpress.com - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org -- Regards Taha Hafeez Siddiqi (tawus) http://tawus.wordpress.com - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Intellij jetty
Oops! I had production mode on :) On Oct 1, 2011, at 2:39 AM, Chris Poulsen wrote: I always run jetty from a command prompt (mvn jetty:run) and have not experienced issues with IDEA / jetty /live reloading. It is just a matter of opening the pom as a project and then we're good to go (jdk version may need to be adjusted iirc). -- Chris On Fri, Sep 30, 2011 at 5:13 PM, Taha Hafeez tawus.tapes...@gmail.comwrote: Thanks everybody. I have been able to sort half the issue. Files are getting updated but jetty does not pick them up. I manually deleted files in classes directory and on command + F10 everything was copied and compiled but jetty is not picking them up. Any ideas ? On Fri, Sep 30, 2011 at 7:03 PM, Josh Canfield joshcanfi...@gmail.com wrote: Under Project Settings | Artifacts you'll see your web application artifact. Look for Build on make and check the box. this isn't set by default so your compiled changes aren't stored into the file system. There is an issue that I haven't worked around. When you change a class file it seems to replace all of your resource files with the ones in the original deployment. When I'm working on a page I tend to compile the class then flip over and re-compile the page. Running make can also pick up all the changes. Josh On Fri, Sep 30, 2011 at 4:30 AM, Taha Hafeez tawus.tapes...@gmail.com wrote: Hi I am just trying a new project in Intellij 10( I am new to it) and these are the steps I use 1) gradle cleanIdea idea 2) open the project in intellij 3) Add tapestry and web facets. 4) Run with jetty. Everything works fine but no class reloading is happening. I tried a few things but it did not work. Any clue why ? -- Regards Taha Hafeez Siddiqi (tawus) http://tawus.wordpress.com - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org -- Regards Taha Hafeez Siddiqi (tawus) http://tawus.wordpress.com - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org