dev@glassfish.java.net

Re: edit/debug/build instructions for V3 -- recommended approach

From: Kedar Mhaswade <Kedar.Mhaswade_at_Sun.COM>
Date: Thu, 05 Jun 2008 11:16:29 -0700

Right. It is rather too slow as it gets into maven dependency tailspin.
But it is the right way to do this because copying is rather error-prone. The whole
idea of gf:run is to create your modules repository from ~/.m2 where your build
output is available.

----- Original Message -----
From: Lloyd L Chambers <Lloyd.Chambers_at_Sun.COM>
Date: Thursday, June 5, 2008 10:41 am
Subject: Re: edit/debug/build instructions for V3 -- recommended approach
To: dev_at_glassfish.dev.java.net

> It works for me, but for development it's too painfully slow to be of
>
> any use.
>
> Lloyd
>
> On Jun 4, 2008, at 10:55 PM, Sahoo wrote:
>
> > What do you mean by gf:run does not work? I know I have not made it
>
> > to run in OSGi mode yet, but that's doable and is is my list of
> > things to do, but looks like you are saying it does not even work on
>
> > HK2 mode.
> >
> > Thanks,
> > Sahoo
> >
> > Kedar Mhaswade wrote:
> >> mvn gf:run was supposed to take care of it *without* doing the
> >> copying
> >> step, but alas it does not work as expected.
> >>
> >> Jason Lee wrote:
> >>> On Tue, Jun 3, 2008 at 2:31 PM, Byron Nevins <Byron.Nevins_at_sun.com
>
> >>> < wrote:
> >>>
> >>> I do something very simple and blazingly fast for edit/compile/
>
> >>> debug
> >>> cycles.
> >>>
> >>> 1) Do a full build from scratch
> >>> 2) Install from a distribution -- ONCE!
> >>> 3) For every module that you make changes in -- run this script
>
> >>> --
> >>> the script will work for all modules:
> >>>
> >>> mvn install
> >>> copy target/*.jar <your-install>/modules
> >>>
> >>>
> >>> Even better. Thanks! :)
> >>>
> >>> --
> >>> Jason Lee, SCJP
> >>> Software Architect -- Objectstream, Inc.
> >>> Mojarra and Mojarra Scales Dev Team
> >>> https://mojarra.dev.java.net
> >>> https://scales.dev.java.net
> >>> http://blogs.steeplesoft.com
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> >> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
> >>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> > For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
> >
>
> ---
> Lloyd L Chambers
> lloyd.chambers_at_sun.com
> Sun Microsystems, Inc
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>