With IntelliJ, I've found you need to adjust the project settings so
it recompiles on frame deactivation - or (even better) just hit the
compile button yourself.  If Jetty isn't picking up the changes, it's
because IDEA is not compiling them into target/classes nor
src/main/webapp/WEB-INF/classes (for jetty:run).  The reason it gets
picked up when you re-run it is because Maven runs compile before run.

Matt

On 4/8/07, Ömer Başar <[EMAIL PROTECTED]> wrote:

Hi all,

I have a strange problem. I use maven2.0.5,appfuse 2.0m4, intellij 5.1.2 and
Windows XP and java5. When I run "mvn jetty:run-exploded" command, it
successfully executes the compile process and I can see the changes in the
browser. But you know it is pain to stop and start jetty when developing.
And when I run "mvn jetty:run" it compiles and restarts the context
successfully but the intellij doesn't see the code changes too and jetty
also doesn't recognize the changes although it restarts. I know intellij
doesn't recognize too because I cannot set a breakpoint on the new line I
added to a class. It gives the error "There is no executable code found at
line ....". I also compile inside Intellij but still don't work. When I stop
the command and run "mvn jetty:run-exploded" it works and after when I run
"mvn jetty:run" again it works successfully.

What am I missing here?

Note : I did exactly the steps What Matt did in the video and it doesn't
work for me. (adding some code and wait for restart the video works but mine
doesn't)

Thanks In Advance.
--
View this message in context: 
http://www.nabble.com/Difference-between-jetty%3Arun-and-jetty%3Arun-exploded-tf3544897s2369.html#a9895976
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
http://raibledesigns.com

Reply via email to