geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Quintin Beukes <quin...@skywalk.co.za>
Subject Re: Building only an assembly and what changed
Date Sun, 11 Oct 2009 11:25:07 GMT
I'm doing something wrong, or there is another step.

I rebuild the boilerplate config, and check in it's target/ directory
inside the boilerplate car archive. My changed class is there, with
the changes.

Then I "cd {buildroot}/assemblies/geronimo-jetty7-javaee" and do "mvn
install". It builds the assembly, but the ZIP it builds doesn't
contain the boilerplate I just build.

Quintin Beukes



On Fri, Oct 9, 2009 at 7:06 PM, David Jencks <david_jencks@yahoo.com> wrote:
>
> On Oct 9, 2009, at 7:55 AM, Quintin Beukes wrote:
>
>> Hey,
>>
>> Assume I change a .java file in the framework/modules/geronimo-kernel
>> project, how can I easily only build what was changed and reassemble
>> the zip for installing+running?
>
> There a few modules that are not put into the geronimo repository structure
> -- geronimo-kernel, geronimo-system, and a few others.  For these you have
> to rebuild the framework/configs/geronimo-boilerplate config before
> rebuilding the assembly you want.
>
> Also, if you change anything related to a GBeanInfo -- for instance
> attributes, operations, constructor parameters -- you have to rebuild any
> configs that might use that gbean.
>
> Otherwise, if you change code you can just rebuild the module and rebuild
> the assembly.  Or, if you want to live dangerously, you can just copy the
> new jar over the old one in the geronimo repo.
>
> thanks
> david jencks
>
>>
>> Quintin Beukes
>
>

Mime
View raw message