You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Kevin Galligan <ma...@kgalligan.com> on 2005/12/22 20:18:40 UTC

multi module issues

Just wanted to comment quick on the message from Vincent (I just saw 
this message for the first time...).  I abandoned the xml merging for 
right now.  I was having trouble with the cargo xml merging code.  I 
added some stuff myself, but after the war plugin added the war file 
composition, I just figured for now we would replicate the web.xml data 
manually rather than merge them.

However, I would really like to get the web.xml merging to work.  Is 
there anybody actively working on the web xml merger?  I'm also pretty 
clueless.  What's cargo?  What is that code being used for currently? 
I'd possibly like to work on that, or get somebody in my group to work 
on that, but I'm not sure what the protocol is.

Thanks,
-Kevin


 > -----Original Message-----
 > From: Richard Allen [mailto:richard.allen@...]
 > Sent: mercredi 30 novembre 2005 14:01
 > To: Maven Users List
 > Subject: Re: Multi-module wars

[snip]

 > However, I would like to see the maven-war-plugin support the web.xml
 > merge functionality that Kevin Galligan's hack includes. Maybe you can
 > raise this as a JIRA issue Kevin?

Just a note here for anyone interested in implementing this: there's code in
Cargo to merge web.xml files and this library is being improved with support
for also merging container-specific deployment descriptors. There are also
generic classes for merging any xml files.

It's in there: http://tinyurl.com/dtwet

Check the org.codehaus.cargo.module.webapp.WebXmlMerger class along with the
files in org.codehaus.cargo.module.merge.

Hope it helps,
-Vincent

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Multi-module wars (was: multi module issues)

Posted by Kevin Galligan <ma...@kgalligan.com>.
Sorry.  That was confusing.  I had sent the message with the subject
'multi module issues'.

It should've been
"Re: Multi-module wars"

Kevin Galligan wrote:
> Just wanted to comment quick on the message from Vincent (I just saw 
> this message for the first time...).  I abandoned the xml merging for 
> right now.  I was having trouble with the cargo xml merging code.  I 
> added some stuff myself, but after the war plugin added the war file 
> composition, I just figured for now we would replicate the web.xml data 
> manually rather than merge them.
> 
> However, I would really like to get the web.xml merging to work.  Is 
> there anybody actively working on the web xml merger?  I'm also pretty 
> clueless.  What's cargo?  What is that code being used for currently? 
> I'd possibly like to work on that, or get somebody in my group to work 
> on that, but I'm not sure what the protocol is.
> 
> Thanks,
> -Kevin
> 
> 
>  > -----Original Message-----
>  > From: Richard Allen [mailto:richard.allen@...]
>  > Sent: mercredi 30 novembre 2005 14:01
>  > To: Maven Users List
>  > Subject: Re: Multi-module wars
> 
> [snip]
> 
>  > However, I would like to see the maven-war-plugin support the web.xml
>  > merge functionality that Kevin Galligan's hack includes. Maybe you can
>  > raise this as a JIRA issue Kevin?
> 
> Just a note here for anyone interested in implementing this: there's 
> code in
> Cargo to merge web.xml files and this library is being improved with 
> support
> for also merging container-specific deployment descriptors. There are also
> generic classes for merging any xml files.
> 
> It's in there: http://tinyurl.com/dtwet
> 
> Check the org.codehaus.cargo.module.webapp.WebXmlMerger class along with 
> the
> files in org.codehaus.cargo.module.merge.
> 
> Hope it helps,
> -Vincent
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: multi module issues

Posted by Kevin Galligan <ma...@kgalligan.com>.
I did a checkout earlier today and the merge code looked to be pretty 
much the same as it has been for a while.  I could be wrong though.

Rinku wrote:

> Hi,
> Latest Cargo sources can be found at:
> https://svn.codehaus.org/cargo/cargo/trunk
>
> You can easily build them on your local machine and use the latest stuff
>
> You might want to check out the website for docs: 
> http://cargo.codehaus.org/
>
> HTH,
> Rahul
> ----- Original Message ----- From: "Kevin Galligan" 
> <ma...@kgalligan.com>
> To: "Nigel Magnay" <ni...@gmail.com>
> Cc: "Maven Users List" <us...@maven.apache.org>
> Sent: Tuesday, January 03, 2006 3:55 AM
> Subject: Re: multi module issues
>
>
>> Is there an eta?  Is there any way I can get a copy of the latest and 
>> greatest?  I guess if you're working on it I don't really want to 
>> duplicate the work, you know what I mean?
>>
>> Thanks,
>> -Kevin
>>
>> Nigel Magnay wrote:
>>
>>> I'm actively working on improving merging support in cargo for web.xml
>>> and the container specific .xml files; also to support plugging in
>>> strategies for merging other files that may be in your WARs (e.g.
>>> struts-config.xml and other application specific items).
>>>
>>> Some of it is committed to cargo, some is waiting patches, some I have
>>> yet to submit - manly because cargo is getting ready for a 0.7 release
>>> and it is probably worthwhile to let that stabilise before adding a
>>> lot more new functionality. I've also adapted its maven2 plugin to
>>> configure the merging to happen as an 'uberwar' task.
>>>
>>> cargo-dev is the place to be as vincent says if you're interested in
>>> these things in cargo..
>>>
>>> On 22/12/05, Kevin Galligan <ma...@kgalligan.com> wrote:
>>>
>>>> Just wanted to comment quick on the message from Vincent (I just saw
>>>> this message for the first time...).  I abandoned the xml merging for
>>>> right now.  I was having trouble with the cargo xml merging code.  I
>>>> added some stuff myself, but after the war plugin added the war file
>>>> composition, I just figured for now we would replicate the web.xml 
>>>> data
>>>> manually rather than merge them.
>>>>
>>>> However, I would really like to get the web.xml merging to work.  Is
>>>> there anybody actively working on the web xml merger?  I'm also pretty
>>>> clueless.  What's cargo?  What is that code being used for currently?
>>>> I'd possibly like to work on that, or get somebody in my group to work
>>>> on that, but I'm not sure what the protocol is.
>>>>
>>>> Thanks,
>>>> -Kevin
>>>>
>>>>
>>>> > -----Original Message-----
>>>> > From: Richard Allen [mailto:richard.allen@...]
>>>> > Sent: mercredi 30 novembre 2005 14:01
>>>> > To: Maven Users List
>>>> > Subject: Re: Multi-module wars
>>>>
>>>> [snip]
>>>>
>>>> > However, I would like to see the maven-war-plugin support the 
>>>> web.xml
>>>> > merge functionality that Kevin Galligan's hack includes. Maybe 
>>>> you can
>>>> > raise this as a JIRA issue Kevin?
>>>>
>>>> Just a note here for anyone interested in implementing this: 
>>>> there's code in
>>>> Cargo to merge web.xml files and this library is being improved 
>>>> with support
>>>> for also merging container-specific deployment descriptors. There 
>>>> are also
>>>> generic classes for merging any xml files.
>>>>
>>>> It's in there: http://tinyurl.com/dtwet
>>>>
>>>> Check the org.codehaus.cargo.module.webapp.WebXmlMerger class along 
>>>> with the
>>>> files in org.codehaus.cargo.module.merge.
>>>>
>>>> Hope it helps,
>>>> -Vincent
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>>> For additional commands, e-mail: users-help@maven.apache.org
>>>>
>>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: multi module issues

Posted by Rinku <ra...@gmail.com>.
Hi, 

Latest Cargo sources can be found at:
https://svn.codehaus.org/cargo/cargo/trunk

You can easily build them on your local machine and use the latest stuff

You might want to check out the website for docs: 
http://cargo.codehaus.org/

HTH, 

Rahul 

----- Original Message ----- 
From: "Kevin Galligan" <ma...@kgalligan.com>
To: "Nigel Magnay" <ni...@gmail.com>
Cc: "Maven Users List" <us...@maven.apache.org>
Sent: Tuesday, January 03, 2006 3:55 AM
Subject: Re: multi module issues


> Is there an eta?  Is there any way I can get a copy of the latest and 
> greatest?  I guess if you're working on it I don't really want to 
> duplicate the work, you know what I mean?
> 
> Thanks,
> -Kevin
> 
> Nigel Magnay wrote:
>> I'm actively working on improving merging support in cargo for web.xml
>> and the container specific .xml files; also to support plugging in
>> strategies for merging other files that may be in your WARs (e.g.
>> struts-config.xml and other application specific items).
>> 
>> Some of it is committed to cargo, some is waiting patches, some I have
>> yet to submit - manly because cargo is getting ready for a 0.7 release
>> and it is probably worthwhile to let that stabilise before adding a
>> lot more new functionality. I've also adapted its maven2 plugin to
>> configure the merging to happen as an 'uberwar' task.
>> 
>> cargo-dev is the place to be as vincent says if you're interested in
>> these things in cargo..
>> 
>> On 22/12/05, Kevin Galligan <ma...@kgalligan.com> wrote:
>> 
>>>Just wanted to comment quick on the message from Vincent (I just saw
>>>this message for the first time...).  I abandoned the xml merging for
>>>right now.  I was having trouble with the cargo xml merging code.  I
>>>added some stuff myself, but after the war plugin added the war file
>>>composition, I just figured for now we would replicate the web.xml data
>>>manually rather than merge them.
>>>
>>>However, I would really like to get the web.xml merging to work.  Is
>>>there anybody actively working on the web xml merger?  I'm also pretty
>>>clueless.  What's cargo?  What is that code being used for currently?
>>>I'd possibly like to work on that, or get somebody in my group to work
>>>on that, but I'm not sure what the protocol is.
>>>
>>>Thanks,
>>>-Kevin
>>>
>>>
>>> > -----Original Message-----
>>> > From: Richard Allen [mailto:richard.allen@...]
>>> > Sent: mercredi 30 novembre 2005 14:01
>>> > To: Maven Users List
>>> > Subject: Re: Multi-module wars
>>>
>>>[snip]
>>>
>>> > However, I would like to see the maven-war-plugin support the web.xml
>>> > merge functionality that Kevin Galligan's hack includes. Maybe you can
>>> > raise this as a JIRA issue Kevin?
>>>
>>>Just a note here for anyone interested in implementing this: there's code in
>>>Cargo to merge web.xml files and this library is being improved with support
>>>for also merging container-specific deployment descriptors. There are also
>>>generic classes for merging any xml files.
>>>
>>>It's in there: http://tinyurl.com/dtwet
>>>
>>>Check the org.codehaus.cargo.module.webapp.WebXmlMerger class along with the
>>>files in org.codehaus.cargo.module.merge.
>>>
>>>Hope it helps,
>>>-Vincent
>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>>For additional commands, e-mail: users-help@maven.apache.org
>>>
>>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: multi module issues

Posted by Kevin Galligan <ma...@kgalligan.com>.
Is there an eta?  Is there any way I can get a copy of the latest and 
greatest?  I guess if you're working on it I don't really want to 
duplicate the work, you know what I mean?

Thanks,
-Kevin

Nigel Magnay wrote:
> I'm actively working on improving merging support in cargo for web.xml
> and the container specific .xml files; also to support plugging in
> strategies for merging other files that may be in your WARs (e.g.
> struts-config.xml and other application specific items).
> 
> Some of it is committed to cargo, some is waiting patches, some I have
> yet to submit - manly because cargo is getting ready for a 0.7 release
> and it is probably worthwhile to let that stabilise before adding a
> lot more new functionality. I've also adapted its maven2 plugin to
> configure the merging to happen as an 'uberwar' task.
> 
> cargo-dev is the place to be as vincent says if you're interested in
> these things in cargo..
> 
> On 22/12/05, Kevin Galligan <ma...@kgalligan.com> wrote:
> 
>>Just wanted to comment quick on the message from Vincent (I just saw
>>this message for the first time...).  I abandoned the xml merging for
>>right now.  I was having trouble with the cargo xml merging code.  I
>>added some stuff myself, but after the war plugin added the war file
>>composition, I just figured for now we would replicate the web.xml data
>>manually rather than merge them.
>>
>>However, I would really like to get the web.xml merging to work.  Is
>>there anybody actively working on the web xml merger?  I'm also pretty
>>clueless.  What's cargo?  What is that code being used for currently?
>>I'd possibly like to work on that, or get somebody in my group to work
>>on that, but I'm not sure what the protocol is.
>>
>>Thanks,
>>-Kevin
>>
>>
>> > -----Original Message-----
>> > From: Richard Allen [mailto:richard.allen@...]
>> > Sent: mercredi 30 novembre 2005 14:01
>> > To: Maven Users List
>> > Subject: Re: Multi-module wars
>>
>>[snip]
>>
>> > However, I would like to see the maven-war-plugin support the web.xml
>> > merge functionality that Kevin Galligan's hack includes. Maybe you can
>> > raise this as a JIRA issue Kevin?
>>
>>Just a note here for anyone interested in implementing this: there's code in
>>Cargo to merge web.xml files and this library is being improved with support
>>for also merging container-specific deployment descriptors. There are also
>>generic classes for merging any xml files.
>>
>>It's in there: http://tinyurl.com/dtwet
>>
>>Check the org.codehaus.cargo.module.webapp.WebXmlMerger class along with the
>>files in org.codehaus.cargo.module.merge.
>>
>>Hope it helps,
>>-Vincent
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>For additional commands, e-mail: users-help@maven.apache.org
>>
>>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: multi module issues

Posted by Nigel Magnay <ni...@gmail.com>.
I'm actively working on improving merging support in cargo for web.xml
and the container specific .xml files; also to support plugging in
strategies for merging other files that may be in your WARs (e.g.
struts-config.xml and other application specific items).

Some of it is committed to cargo, some is waiting patches, some I have
yet to submit - manly because cargo is getting ready for a 0.7 release
and it is probably worthwhile to let that stabilise before adding a
lot more new functionality. I've also adapted its maven2 plugin to
configure the merging to happen as an 'uberwar' task.

cargo-dev is the place to be as vincent says if you're interested in
these things in cargo..

On 22/12/05, Kevin Galligan <ma...@kgalligan.com> wrote:
> Just wanted to comment quick on the message from Vincent (I just saw
> this message for the first time...).  I abandoned the xml merging for
> right now.  I was having trouble with the cargo xml merging code.  I
> added some stuff myself, but after the war plugin added the war file
> composition, I just figured for now we would replicate the web.xml data
> manually rather than merge them.
>
> However, I would really like to get the web.xml merging to work.  Is
> there anybody actively working on the web xml merger?  I'm also pretty
> clueless.  What's cargo?  What is that code being used for currently?
> I'd possibly like to work on that, or get somebody in my group to work
> on that, but I'm not sure what the protocol is.
>
> Thanks,
> -Kevin
>
>
>  > -----Original Message-----
>  > From: Richard Allen [mailto:richard.allen@...]
>  > Sent: mercredi 30 novembre 2005 14:01
>  > To: Maven Users List
>  > Subject: Re: Multi-module wars
>
> [snip]
>
>  > However, I would like to see the maven-war-plugin support the web.xml
>  > merge functionality that Kevin Galligan's hack includes. Maybe you can
>  > raise this as a JIRA issue Kevin?
>
> Just a note here for anyone interested in implementing this: there's code in
> Cargo to merge web.xml files and this library is being improved with support
> for also merging container-specific deployment descriptors. There are also
> generic classes for merging any xml files.
>
> It's in there: http://tinyurl.com/dtwet
>
> Check the org.codehaus.cargo.module.webapp.WebXmlMerger class along with the
> files in org.codehaus.cargo.module.merge.
>
> Hope it helps,
> -Vincent
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


RE: multi module issues

Posted by Vincent Massol <vm...@pivolis.com>.
Hi Kevin,

> -----Original Message-----
> From: Kevin Galligan [mailto:mailinglits@kgalligan.com]
> Sent: jeudi 22 décembre 2005 20:19
> To: users@maven.apache.org
> Subject: multi module issues
> 
> Just wanted to comment quick on the message from Vincent (I just saw
> this message for the first time...).  I abandoned the xml merging for
> right now.  I was having trouble with the cargo xml merging code.  I
> added some stuff myself, but after the war plugin added the war file
> composition, I just figured for now we would replicate the web.xml data
> manually rather than merge them.
> 
> However, I would really like to get the web.xml merging to work.  Is
> there anybody actively working on the web xml merger?

Yes, there's at least one active person on the domain of J2EE module
parsing/reading/merging. You should really join the Cargo dev mailing list
and ask your question/post ideas there.

>  I'm also pretty
> clueless.  What's cargo?  

See http://cargo.codehaus.org.

The part that interest you for the xml merging:

"A Java API to parse/create J2EE Modules"

This is what we call the "Cargo Module API" (module as in J2EE module). It
lives in org.codehaus.cargo.module package (in trunk/core/api/module/
directory if you check out the cargo sources).

> What is that code being used for currently?
> I'd possibly like to work on that, or get somebody in my group to work
> on that, but I'm not sure what the protocol is.

Very cool. We have a page explaining how to contribute to the Cargo project:

http://cargo.codehaus.org/Contributing.

To get started the best is to:
- subscribe to the Cargo dev mailing (see
http://archive.codehaus.org/cargo/)
- read the web site to better understand what cargo is about
- ask questions and suggest ideas on the cargo dev mailing list
- see if there are existing open issues that you could take up. See
http://tinyurl.com/9wo3p.

Thanks. See you on the cargo dev list!
-Vincent

>  > -----Original Message-----
>  > From: Richard Allen [mailto:richard.allen@...]
>  > Sent: mercredi 30 novembre 2005 14:01
>  > To: Maven Users List
>  > Subject: Re: Multi-module wars
> 
> [snip]
> 
>  > However, I would like to see the maven-war-plugin support the web.xml
>  > merge functionality that Kevin Galligan's hack includes. Maybe you can
>  > raise this as a JIRA issue Kevin?
> 
> Just a note here for anyone interested in implementing this: there's code
> in
> Cargo to merge web.xml files and this library is being improved with
> support
> for also merging container-specific deployment descriptors. There are also
> generic classes for merging any xml files.
> 
> It's in there: http://tinyurl.com/dtwet
> 
> Check the org.codehaus.cargo.module.webapp.WebXmlMerger class along with
> the
> files in org.codehaus.cargo.module.merge.
> 
> Hope it helps,
> -Vincent
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org