We solve this a different way by just starting jetty with a main class.
See http://wiki.apache.org/tapestry/Tapestry5RunViaMain for an example. This
has the advantage of working the same in any IDE.
Ben Gidley
www.gidley.co.uk
b...@gidley.co.uk
On Mon, Feb 22, 2010 at 12:39 AM, Raul Raja Marti
Ok, I got this solved doing the following...
Added the tomcat plugin to my webapp project's pom
org.codehaus.mojo
tomcat-maven-plugin
You can run the server from the console by...
mvn clean tomcat:run
Then on intellij9 which already includes full maven support you just create
a new launch
I'm using version 9.
I read somewhere in the list that to get the tapestry5 class reload feature
working in Tomcat I need to package the classes in a jar
instead of plain .class files.
I can't find a way to do this with Intellij 9, I remember being an option
before but not on v9.
I have that dialog
Raul Raja Martinez wrote:
> Are there any tips or configuration that we have to consider when developing
> with Intellij?
Which version of IntelliJ do you use? The current one (Idea 9) has a new
dialog for updating running applications:
http://blogs.jetbrains.com/idea/2009/10/update-a-running-ja
I'm using tomcat 6.0.18 and using Idea standard run configuration for a war
exploded with tomcat.
I though the live reloading was app server agnostic.
The classes are compiled to projectname/target/classes
Idea by default even though it runs war exploded it does copy everything
inside the target.
I
> .tml changes work fine, is the java changes that never get reloaded even
> after compiling. When running from maven from the console it works fine, but
> when running from intellij from a running config it can only pick up regular
> hot swapable changes that are in packages not watched by tapestr
Hi Ben,
.tml changes work fine, is the java changes that never get reloaded even
after compiling. When running from maven from the console it works fine, but
when running from intellij from a running config it can only pick up regular
hot swapable changes that are in packages not watched by tapest
It works for me - you do need to compile or make for changes to be picked
up.
If you aren't on 9 you will need to add .tml files to list of resource files
the compiler copies.
Ben Gidley
www.gidley.co.uk
b...@gidley.co.uk
On Sun, Feb 21, 2010 at 4:01 AM, Raul Raja Martinez wrote:
> Hi,
>
> We
Hi,
We're a team of 5 devs using tapestry 5 and developing with Intellij.
When developing components and pages we have to keep restarting the server
to see changes because hot swapping is not working, not even
for method bodies.
I understand tapestry uses a different classloader for those.
Are the