Yep, the idea mvn generation is handy.

I just found this the other day, haven't tried it yet but it may help you
with those sources/javadocs:

http://maven.apache.org/plugins/maven-idea-plugin/examples/attach-library-src-doc.html

(and they've said something about having maven2 support directly in the next
7 version of idea)

On 5/23/07, Anton Litvinenko <[EMAIL PROTECTED]> wrote:

Thanks, Jesse!

At the moment I am using mvn jetty plugin to start application. This
way IDEA can compile application to the same directories as mvn, thus
it is possible to use mvn idea plugin to generate IDEA project
descriptors. (btw, another problem is that mvn idea doesn't attach
source code of dependencies)

In the IDEA i have defined remote debugging configuration which makes
connection to the jetty started by mvn.

I think, it is just what I needed.

Thanks!
Anton

On 5/21/07, Jesse Kuhnert <[EMAIL PROTECTED]> wrote:
> That's what I do.  (shift- F9)
>
> Of course it's entirely dependent on how you have your project setup.
> ...I've also had it setup so that my compile output directory goes
directly
> into my web-inf/classes so changes are picked up automatically....Then
you
> just point everything to your single web context that you edit and run
the
> app off of instead of creating an "exploded" app.  The only thing you
have
> to remember is to make sure the compiler options detect changes / deploy
for
> .jwc/.page/.script/etc kinds of files.
>
> Obviously the jetty part couldn't be easier. ....So I launch everything
from
> within IDEA for that and only go to maven when I want to run a whole
suite
> of unit tests.  You shouldn't need a special jetty plugin or anything -
it's
> just like the eclipse logic of being able to give it VM parameters &&
> command line params.
>
> So, summary is there isn't anything special tapestry does with the
templates
> - if you update them in the running web apps context directory it will
see
> the changes.
>
> On 5/21/07, Anton Litvinenko <[EMAIL PROTECTED]> wrote:
> >
> > Hello,
> >
> > Would someone be kind enough to explain how it is possible to use
> > Tapestry abilities not to cache templates in IntelliJ? (if I am not
> > mistaken, then at least Jesse uses IDEA ;)
> >
> > With Eclipse and WTP it was fairly easy --- just needed to specify the
> > corresponding system variable in the launch configurations.
> >
> > So far, I have only found the possibility to redeploy the whole
> > application in IDEA (SHIFT+F9) --- surely there must be a better way
> > ;)
> >
> > Thanks in advance,
> > Anton
> >
> > P.S. I am using Tomcat, Maven2 and the typical project structure.
> > --
> > http://www.sourcekibitzer.org
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> --
> Jesse Kuhnert
> Tapestry/Dojo team member/developer
>
> Open source based consulting work centered around
> dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com
>


--
http://www.sourcekibitzer.org

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




--
Jesse Kuhnert
Tapestry/Dojo team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com

Reply via email to