Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 11438 invoked from network); 9 Mar 2007 14:30:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Mar 2007 14:30:34 -0000 Received: (qmail 60143 invoked by uid 500); 9 Mar 2007 14:30:39 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 60098 invoked by uid 500); 9 Mar 2007 14:30:39 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 60087 invoked by uid 99); 9 Mar 2007 14:30:39 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Mar 2007 06:30:39 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of justj2ee@gmail.com designates 66.249.92.175 as permitted sender) Received: from [66.249.92.175] (HELO ug-out-1314.google.com) (66.249.92.175) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Mar 2007 06:30:26 -0800 Received: by ug-out-1314.google.com with SMTP id m2so1791812ugc for ; Fri, 09 Mar 2007 06:30:04 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=uVGcE5VeKCNQ/L+WHaerLiD6QhwYnuhMNIWMA3rTVsd18/QE+oTXKl2TAQvn5dUe1GFCqcWBqKi3NQVlTuolxAiJV6DcDBhnPKVbCU/RvC6IhDmfTyg99vbLKrUtcn9WdugCUH49fTKtWTqWQtBoizeYNiE8NlhuImhXFwm/AF4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=cotfyIeg/pgHrcz61PNNXz7jURt/bPs/ftQwyzrHFM8HVZ5p5v+JwnVTX1IteWnwUsvsqr7BjR4R8Oglabm7jBYgUxCkRzUxMkw/LEGdYUDA6X0HfNVZ8DVJY4ND8HMkast890MXQDg5UDrTWFHG/yB3zzndpKrYQ9sKu+UPRII= Received: by 10.114.25.3 with SMTP id 3mr538511way.1173450603157; Fri, 09 Mar 2007 06:30:03 -0800 (PST) Received: by 10.115.22.19 with HTTP; Fri, 9 Mar 2007 06:30:03 -0800 (PST) Message-ID: Date: Fri, 9 Mar 2007 08:30:03 -0600 From: "Don Hill" To: dev@geronimo.apache.org Subject: Re: build question In-Reply-To: <1f52a95c0703090235y2dbd1293ud07f3ae75653a896@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_3515_31996845.1173450603098" References: <45F0E5BB.1090107@gmail.com> <1173417249.5346.20.camel@kanchi-laptop> <1f52a95c0703090235y2dbd1293ud07f3ae75653a896@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_3515_31996845.1173450603098 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Thanks everyone for your input! I will make a script in the near future for making some of these points easier, at least from my perspective. Don On 3/9/07, Rakesh Midha wrote: > > I find this to be working quicker for me > 1. Make changes in geronimo-console-standard (I use eclipse for this) > 2. go to applications\console > if changes only in java files, use mvn -o > if changes in JSP's also, use mvn -o clean install > 3. copy > cp geronimo-console-standard\target\geronimo- > console-standard-2.0-SNAPSHOT\WEB-INF\lib\geronimo-console-standard-2.0- > SNAPSHOT.jar BUILD>\repository\org\apache\geronimo\configs\webconsole-tomcat\2.0-SNAPSHOT\webconsole- > > tomcat-2.0-SNAPSHOT.car\standard.war\WEB-INF\lib\geronimo-console-standard-2.0-SNAPSHOT.j > ar > 4. deploy restart org.apache.geronimo.configs > /webconsole-tomcat/2.0-SNAPSHOT/car > > You are good to go to test your changes. > > Thanks > Rakesh > > On 3/9/07, Kanchana Welagedara wrote: > > > > Hi > > > > I have tried building separate modules actually the same way what Don > > has followed.Haven't you came a cross to build dependency modules(which > > are complaining) while you are trying to build a particular module?After > > > > building all the modules then figure out the target files resides on the > > unzipped assembly and replace the files while server isn't running and > > so on. > > I agree with what Don has mentioned this is more likely a mvn > > question.So there should be a way of giving command line maven options > > to build just a particular module in one shot.Hope some experts can > > guide us for the sweet and shot. > > > > Regards > > Kanchana > > > > On Thu, 2007-03-08 at 23:42 -0500, Lin Sun wrote: > > > Good question and it would be great to see how others tackle this > > prob. > > > I spent lots of time trying to figure out the best way too.:-) > > > > > > Here's one possible solution: > > > > > > 1) You go to the project you made change and run mvn from there. > > > 2) Figure out where the target files reside on the unzipped assembly > > and > > > replace the files while the server isn't running. Not sure if this > > > works for changes in car files, but seems to work fine for > > > geronimo-axis2*.jar. For admin console change, I think you can just > > > undeploy the previous modules and deploy the updated modules while the > > > server is running. (Tried this in v1.1 and worked fine.) > > > > > > HTH Lin > > > > > > Don Hill wrote: > > > > Hi, > > > > > > > > I know this is probably more of a maven question but after I do a > > mvn > > > > clean install and I am working on some classes in > > > > applications/console/geronimo-console-standard, what is the process > > that > > > > is followed to build just this module and then do a 'mvn install \ > > mvn > > > > -Ptools geronimo:start' > > > > > > > > I just need a better way to perform build/test cycles. > > > > > > > > Thanks. > > > > Don > > > > > > > > ------=_Part_3515_31996845.1173450603098 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Thanks everyone for your input!
 I will make a script in the near future for making some of these points easier, at least from my perspective.

Don

On 3/9/07, Rakesh Midha <midha.rakesh@gmail.com> wrote:
I find this to be working quicker for me
1. Make changes in geronimo-console-standard (I use eclipse for this)
2. go to applications\console
    if changes only in java files, use mvn -o
    if changes in JSP's also, use mvn -o clean install
3. copy
cp geronimo-console-standard\target\geronimo-console-standard-2.0-SNAPSHOT\WEB-INF\lib\geronimo-console-standard-2.0-
SNAPSHOT.jar <YOUR BUILD>\repository\org\apache\geronimo\configs\webconsole-tomcat\2.0-SNAPSHOT\webconsole- tomcat-2.0-SNAPSHOT.car\standard.war\WEB-INF\lib\geronimo-console-standard-2.0-SNAPSHOT.j
ar
4. deploy restart org.apache.geronimo.configs/webconsole-tomcat/2.0-SNAPSHOT/car

You are good to go to test your changes.

Thanks
Rakesh


On 3/9/07, Kanchana Welagedara < kanchana@opensource.lk> wrote:
Hi

I have tried building separate modules actually the same way what Don
has followed.Haven't you came a cross to build dependency modules(which
are complaining) while you are trying to build a particular module?After
building all the modules then figure out the target files resides on the
unzipped assembly and replace the files while server isn't running and
so on.
I agree with what Don has mentioned this is more likely a mvn
question.So there  should be a way of giving command line maven options
to build just a particular module in one shot.Hope some experts can
guide us for the sweet and shot.

Regards
Kanchana

On Thu, 2007-03-08 at 23:42 -0500, Lin Sun wrote:
> Good question and it would be great to see how others tackle this prob.
>   I spent lots of time trying to figure out the best way too.:-)
>
> Here's one possible solution:
>
> 1) You go to the project you made change and run mvn from there.
> 2) Figure out where the target files reside on the unzipped assembly and
> replace the files while the server isn't running.  Not sure if this
> works for changes in car files, but seems to work fine for
> geronimo-axis2*.jar.  For admin console change, I think you can just
> undeploy the previous modules and deploy the updated modules while the
> server is running.  (Tried this in v1.1 and worked fine.)
>
> HTH Lin
>
> Don Hill wrote:
> > Hi,
> >
> > I know this is probably more of a maven question but after I do a mvn
> > clean install and I am working on some classes in
> > applications/console/geronimo-console-standard, what is the process that
> > is followed to build just this module and then do a 'mvn install \ mvn
> > -Ptools geronimo:start'
> >
> > I just need a better way to perform build/test cycles.
> >
> > Thanks.
> > Don
>



------=_Part_3515_31996845.1173450603098--