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 <[EMAIL PROTECTED]> 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 >