As far as the ear goes, the patch does add a separate module named
continuum-ear.  It's only content is the pom and it uses the ear plugin with
very little configuration other than the context root name.  The other thing
it does is add the continuum-ear module to the root pom in a profile named
"ear", and a property naming the ear context root.

The main (and only) reason I added the ear module is simplification of
install.  Dropping in a war file in JBoss means that you have to rename the
war file to the context root you want.  This way I can leave the ear file
name as generated and be sure which version of the ear I have installed.
Alternatively, deploying on Websphere (which is our standard deployment
server) does not require entering the context root with an ear, while with a
war it does.  One less thing to get wrong.

On 2/22/07, Jesse McConnell <[EMAIL PROTECTED]> wrote:

there is an ear plugin....if you rework that patch to be another
module all together and generate that artifact with the ear plugin
then I'll be happy to take a look and apply it I think...but its not
standard practice to have a war artifact producing and ear :)

out of curiousity, what are you adding that would require an ear over
a war j2ee wise?

jesse

On 2/22/07, Thierry Lach <[EMAIL PROTECTED]> wrote:
> I've just added an updated patch on
> http://jira.codehaus.org/browse/CONTINUUM-1167.  Continuum will now
> successfully send emails under JBoss.
>
> The patch also contains a new module to create an ear file for the war.
This
> is only activated through a profile named "ear", so to create the ear
file
> you must "mvn -Pear .....". The context root is defined in the main pom
as
> continuum and can be overridden using -
> Dcontinuum.ear.contextRoot=whateverYouWantItToBe.  [ Show
> ยป<http://jira.codehaus.org/browse/CONTINUUM-1167>]
>  thierry lach<
http://jira.codehaus.org/secure/ViewProfile.jspa?name=thierrylach>
> [22/Feb/07 03:55 PM] I've added to the patch a little bit. It contains a
fix
> so that email can get sent. It also contains a new module to create an
ear
> file for the war. This is only activated through a profile named "ear",
so
> to create the ear file you must "mvn -Pear .....". The context root is
> defined in the main pom and can be overridden using -
> Dcontinuum.ear.contextRoot=whateverYouWantItToBe.
>
>
> On 2/16/07, Thierry Lach <[EMAIL PROTECTED]> wrote:
> >
> > BTW it looks like someone corrected application.xml so the existing
patch
> > should be sufficient.
> >
> > On 2/15/07, Thierry Lach < [EMAIL PROTECTED]> wrote:
> > >
> > > SUCCESS!
> > >
> > > OK it looks like the root cause is the inability to find class
> > > org.codehaus.plexus.registry.CommonsConfigurationRegistry.  I think
the
> > > correct class name should be
> > > org.codehaus.plexus.registry.commons.CommonsConfigurationRegistry.
since
> > > that is what is contained in the plexus-registry-commons jar.  I've
changed
> > > the implementation name in the file
> > > continuum-webapp/src/main/resources/META-INF/plexus/application.xml
and it
> > > seems to work now - I've been able to configure it and am now
running a
> > > maven1 build.  I'll update the patch sometime this evening to
include the
> > > change to application.xml.
> > >
> > >
> > > On 2/15/07, Thierry Lach <[EMAIL PROTECTED]> wrote:
> > > >
> > > > Yep - my rejoicing was a little premature it seems.  War deploy
seems
> > > > to behave fine but the website itself doesn't get up and run.
> > > >
> > > > On 2/15/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]
>
> > > > wrote:
> > > > >
> > > > > allright here we go:
> > > > > with these two datasources things start moving the right
direction
> > > > >
> > > >
> > > > <snip/>
> > > >
> > > > -----Original Message-----
> > > > > From: Hilco Wijbenga [mailto:[EMAIL PROTECTED]
> > > > > Sent: Thursday, February 15, 2007 6:39 PM
> > > > > To: continuum-dev@maven.apache.org
> > > > > Subject: Re: JBoss Support
> > > > >
> > > > > On 2/15/07, Thierry Lach <[EMAIL PROTECTED] > wrote:
> > > > > > Can you post the contents of your derby-ds.xml file
please?  I'm
> > > > > > guessing that the example I used for the Continuum+on_JBoss
> > > > > example
> > > > > > isn't correct enough for continuum.
> > > > >
> > > > > See http://docs.codehaus.org/display/MAVENUSER/Archiva+on+JBoss
> > > > >
> > > > > There used to be something similar for Continuum. I think your
JNDI
> > > > > name
> > > > > is wrong; all the silly stuff (comp/env/jdbc/) will be added by
> > > > > JBoss
> > > > > ... IIRC, it's been a while. :-)
> > > > >
> > > >
> > > >
> > >
> >
>


--
jesse mcconnell
[EMAIL PROTECTED]

Reply via email to