> -----Original Message-----
> From: Trent Rosenbaum [mailto:
trent.j.rosenbaum@...]
> Sent: mercredi 6 décembre 2006 11:38
> To:
user@...
> Subject: Re: [cargo-user] [mvn] - reloadable webapps
>
> On 06/12/06, Vincent Massol <
vincent@...> wrote:
>
> >
> > Ok to parametrize it, we should introduce a development mode then
> though Cargo Properties. I suggest adding the following property
> "cargo.mode.development" to the GeneralPropertySet interface and then
> modify the Tomcat code to use it when it generates the server.xml.
> >
> > When you're using m2 you would have to write:
> >
> > <configuration>
> > [...]
> > <configuration>
> > <properties>
> > <cargo.mode.development>true</cargo.mode.development>
> > [...]
> >
>
> I think this sounds like a good idea. I was having a read through the
> tomcat configuration and it really looks like this attribute would be
> used mainly in development.
>
> > Alternatively we could set this mode to be the default in the m2
> plugin.
>
> I would say leave the plugin as a default of false for development
> mode. On first impressions I would say that the plugin is really used
> to interacting with servers and for quickly deploying the deliverable
> artifacts. The plugin seems to have a side effect of being used in
> development. I would say that it is now trouble to set this flag and
> it would be clear that this is how cargo is being used.
I'm fine with this.
> > > I used the following fragment of pom XML to configure the cargo
> > > plugin to used the exploded direction, is this what you were asking
> > > for? I can send you a zip file containing a simple webapp if you
> want
> > > me to.
> >
> > Wendy, we also have examples in cargo. See
http://tinyurl.com/hcmd5> >
> > It would be good if someone could document it on the cargo site...
>
> I am cool to have a look at this, but the rest of this week might be a
> problem for me. I guess it depends on how quickly you want this info.
> I really wanted to complete a little mini guide showing how to
> develop a web app with cargo plugin included.
That's very cool. There's no hurry.
Do you have a codehaus account on xircles? (
http://xircles.codehaus.org). I think it is required for us to give you access to the cargo confluence wiki.
Thanks again
-Vincent
___________________________________________________________________________
D�couvrez une nouvelle fa�on d'obtenir des r�ponses � toutes vos questions !
Profitez des connaissances, des opinions et des exp�riences des internautes sur Yahoo! Questions/R�ponses
http://fr.answers.yahoo.com---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email