Re: tried to build and run continuum 1.1-SNAPSHOT
Sanjay Choudhary a écrit : Our group of developers work almost 24 hrs. and changes are checked in into cvs regularly. We tag before build so that we know what we know what exactly we built, or atleast attempted to build. ok, i understand if it's cvs. svn works differently. As you said, I can create a script and add it as a shell project to tag the things in cvs. Is there a way I can dynamically tell Continuum, to build from that tag. Tag will change almost everyday. If it will be an update in the DB using java program, can you tell me what table/s and column/s do I need to update. no, it isn't possible to change it dynamically in Continuum. If you want to modify database, look at Project table, but i'm not sure you can access to it when Continuum use it. You can create a new module in cvs that contains only your script and you add it in continuum. And in your script, you can do that : - create the tag - checkout code - build code - set correctly the return code, so Continuum will know if your build is ok or not Emmanuel Thanks, Sanjay On 2/17/06, Emmanuel Venisse <[EMAIL PROTECTED]> wrote: Why do you tag before the build? I think that a better process would be to tag files only after a build in success. Actually, Continuum can't tag files after a build because we don't have yet dynamic data accessible in build definition for generating a tag name. But you can create a little script that do what you want and add your project as a Shell Project in continuum. Emmanuel Sanjay Choudhary a écrit : Hi Emmanuel, Thanks for your reply. Another quick advice. We perform build nightly for our web application. So far we tag everything in the night (tag value is determined based on date and time, prefixed by a static value) and then checkout and build of a tag. We have successfull migrated all our code to maven2. we wish to use continuum to build for us. How is nightly tagging and building from a tag is possible using Continuum? This is not release but just nightly tagging and building Please advice Cheers Sanjay On 2/16/06, Emmanuel Venisse <[EMAIL PROTECTED]> wrote: svn trunk isn't stable, if you want to build from svn, you must use continuum-1.0.x branch. but it isn't necessary to build continuum, you can use snapshot version generated after each commit : http://maven.zones.apache.org/~continuum/builds/branches/continuum-1.0.x/ Emmanuel Sanjay Choudhary a écrit : Hi All, Today I build tried to build and run continuum. Build was successful but I got an error when I tried to logon on org.codehaus.plexus.action.ActionNotFoundException: Cannot find action: login at org.codehaus.plexus.action.DefaultActionManager.lookup( DefaultActionManager.java:61) at org.codehaus.plexus.summit.pipeline.valve.ActionValve.invoke( ActionValve.java:62) at org.codehaus.plexus.summit.pipeline.AbstractPipeline.invoke( AbstractPipeline.java:70) at org.codehaus.plexus.summit.Summit.doGet(Summit.java:54) at org.codehaus.plexus.summit.Summit.doPost(Summit.java:108) at javax.servlet.http.HttpServlet.service(HttpServlet.java:615) at javax.servlet.http.HttpServlet.service(HttpServlet.java:688) at org.mortbay.jetty.servlet.ServletHolder.handle( ServletHolder.java:358) at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch( WebApplicationHandler.java:294) at org.mortbay.jetty.servlet.ServletHandler.handle( ServletHandler.java:567) at org.mortbay.http.HttpContext.handle(HttpContext.java:1807) at org.mortbay.jetty.servlet.WebApplicationContext.handle( WebApplicationContext.java:525) at org.mortbay.http.HttpContext.handle(HttpContext.java:1757) at org.mortbay.http.HttpServer.service(HttpServer.java:879) at org.mortbay.http.HttpConnection.service(HttpConnection.java :789) at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java :960) at org.mortbay.http.HttpConnection.handle(HttpConnection.java :806) at org.mortbay.http.SocketListener.handleConnection( SocketListener.java:218) at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java :331) at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java :520) Caused by: org.codehaus.plexus.component.repository.exception.ComponentLookupException : Unable to lookup component 'org.codehaus.plexus.action.Actionlogin', it could not be started at org.codehaus.plexus.DefaultPlexusContainer.lookup( DefaultPlexusContainer.java:335) at org.codehaus.plexus.DefaultPlexusContainer.lookup( DefaultPlexusContainer.java:436) at org.codehaus.plexus.personality.plexus.lifecycle.phase.PlexusContainerLocator.lookup (PlexusContainerLocator.java:38) at org.codehaus.plexus.action.DefaultActionManager.lookup( DefaultActionManager.java:57) ... 19 more Caused by: org.codehaus.plexus.component.repository.exception.ComponentLifecycleExc
Re: tried to build and run continuum 1.1-SNAPSHOT
Why do you tag before the build? I think that a better process would be to tag files only after a build in success. Actually, Continuum can't tag files after a build because we don't have yet dynamic data accessible in build definition for generating a tag name. But you can create a little script that do what you want and add your project as a Shell Project in continuum. Emmanuel Sanjay Choudhary a écrit : Hi Emmanuel, Thanks for your reply. Another quick advice. We perform build nightly for our web application. So far we tag everything in the night (tag value is determined based on date and time, prefixed by a static value) and then checkout and build of a tag. We have successfull migrated all our code to maven2. we wish to use continuum to build for us. How is nightly tagging and building from a tag is possible using Continuum? This is not release but just nightly tagging and building Please advice Cheers Sanjay On 2/16/06, Emmanuel Venisse <[EMAIL PROTECTED]> wrote: svn trunk isn't stable, if you want to build from svn, you must use continuum-1.0.x branch. but it isn't necessary to build continuum, you can use snapshot version generated after each commit : http://maven.zones.apache.org/~continuum/builds/branches/continuum-1.0.x/ Emmanuel Sanjay Choudhary a écrit : Hi All, Today I build tried to build and run continuum. Build was successful but I got an error when I tried to logon on org.codehaus.plexus.action.ActionNotFoundException: Cannot find action: login at org.codehaus.plexus.action.DefaultActionManager.lookup( DefaultActionManager.java:61) at org.codehaus.plexus.summit.pipeline.valve.ActionValve.invoke( ActionValve.java:62) at org.codehaus.plexus.summit.pipeline.AbstractPipeline.invoke( AbstractPipeline.java:70) at org.codehaus.plexus.summit.Summit.doGet(Summit.java:54) at org.codehaus.plexus.summit.Summit.doPost(Summit.java:108) at javax.servlet.http.HttpServlet.service(HttpServlet.java:615) at javax.servlet.http.HttpServlet.service(HttpServlet.java:688) at org.mortbay.jetty.servlet.ServletHolder.handle( ServletHolder.java:358) at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch( WebApplicationHandler.java:294) at org.mortbay.jetty.servlet.ServletHandler.handle( ServletHandler.java:567) at org.mortbay.http.HttpContext.handle(HttpContext.java:1807) at org.mortbay.jetty.servlet.WebApplicationContext.handle( WebApplicationContext.java:525) at org.mortbay.http.HttpContext.handle(HttpContext.java:1757) at org.mortbay.http.HttpServer.service(HttpServer.java:879) at org.mortbay.http.HttpConnection.service(HttpConnection.java :789) at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java :960) at org.mortbay.http.HttpConnection.handle(HttpConnection.java:806) at org.mortbay.http.SocketListener.handleConnection( SocketListener.java:218) at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:331) at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:520) Caused by: org.codehaus.plexus.component.repository.exception.ComponentLookupException : Unable to lookup component 'org.codehaus.plexus.action.Actionlogin', it could not be started at org.codehaus.plexus.DefaultPlexusContainer.lookup( DefaultPlexusContainer.java:335) at org.codehaus.plexus.DefaultPlexusContainer.lookup( DefaultPlexusContainer.java:436) at org.codehaus.plexus.personality.plexus.lifecycle.phase.PlexusContainerLocator.lookup (PlexusContainerLocator.java:38) at org.codehaus.plexus.action.DefaultActionManager.lookup( DefaultActionManager.java:57) ... 19 more Caused by: org.codehaus.plexus.component.repository.exception.ComponentLifecycleException : Error starting component at org.codehaus.plexus.component.manager.AbstractComponentManager.startComponentLifecycle (AbstractComponentManager.java:109) at org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance (AbstractComponentManager.java:95) at org.codehaus.plexus.component.manager.ClassicSingletonComponentManager.getComponent (ClassicSingletonComponentManager.java:92) at org.codehaus.plexus.DefaultPlexusContainer.lookup( DefaultPlexusContainer.java:327) ... 22 more Caused by: org.codehaus.plexus.personality.plexus.lifecycle.phase.PhaseExecutionException : Error composing component at org.codehaus.plexus.personality.plexus.lifecycle.phase.CompositionPhase.execute (CompositionPhase.java:33) at org.codehaus.plexus.lifecycle.AbstractLifecycleHandler.start( AbstractLifecycleHandler.java:101) at org.codehaus.plexus.component.manager.AbstractComponentManager.startComponentLifecycle (AbstractComponentManager.java:105) ... 25 more Caused by: org.codehaus.plexus.component.composition.CompositionException: Composition failed of field authentic
Re: tried to build and run continuum 1.1-SNAPSHOT
Hi Emmanuel, Thanks for your reply. Another quick advice. We perform build nightly for our web application. So far we tag everything in the night (tag value is determined based on date and time, prefixed by a static value) and then checkout and build of a tag. We have successfull migrated all our code to maven2. we wish to use continuum to build for us. How is nightly tagging and building from a tag is possible using Continuum? This is not release but just nightly tagging and building Please advice Cheers Sanjay On 2/16/06, Emmanuel Venisse <[EMAIL PROTECTED]> wrote: > > svn trunk isn't stable, if you want to build from svn, you must use > continuum-1.0.x branch. > > but it isn't necessary to build continuum, you can use snapshot version > generated after each commit > : > http://maven.zones.apache.org/~continuum/builds/branches/continuum-1.0.x/ > > Emmanuel > > Sanjay Choudhary a écrit : > > Hi All, > > > > Today I build tried to build and run continuum. Build was successful but > I > > got an error when I tried to logon on > > > > > > org.codehaus.plexus.action.ActionNotFoundException: Cannot find action: > login > > at org.codehaus.plexus.action.DefaultActionManager.lookup( > DefaultActionManager.java:61) > > at org.codehaus.plexus.summit.pipeline.valve.ActionValve.invoke( > ActionValve.java:62) > > at org.codehaus.plexus.summit.pipeline.AbstractPipeline.invoke( > AbstractPipeline.java:70) > > at org.codehaus.plexus.summit.Summit.doGet(Summit.java:54) > > at org.codehaus.plexus.summit.Summit.doPost(Summit.java:108) > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:615) > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:688) > > at org.mortbay.jetty.servlet.ServletHolder.handle( > ServletHolder.java:358) > > at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch( > WebApplicationHandler.java:294) > > at org.mortbay.jetty.servlet.ServletHandler.handle( > ServletHandler.java:567) > > at org.mortbay.http.HttpContext.handle(HttpContext.java:1807) > > at org.mortbay.jetty.servlet.WebApplicationContext.handle( > WebApplicationContext.java:525) > > at org.mortbay.http.HttpContext.handle(HttpContext.java:1757) > > at org.mortbay.http.HttpServer.service(HttpServer.java:879) > > at org.mortbay.http.HttpConnection.service(HttpConnection.java > :789) > > at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java > :960) > > at org.mortbay.http.HttpConnection.handle(HttpConnection.java:806) > > at org.mortbay.http.SocketListener.handleConnection( > SocketListener.java:218) > > at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:331) > > at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:520) > > Caused by: > org.codehaus.plexus.component.repository.exception.ComponentLookupException > : > > Unable to lookup component 'org.codehaus.plexus.action.Actionlogin', > > it could not be started > > at org.codehaus.plexus.DefaultPlexusContainer.lookup( > DefaultPlexusContainer.java:335) > > at org.codehaus.plexus.DefaultPlexusContainer.lookup( > DefaultPlexusContainer.java:436) > > at > org.codehaus.plexus.personality.plexus.lifecycle.phase.PlexusContainerLocator.lookup > (PlexusContainerLocator.java:38) > > at org.codehaus.plexus.action.DefaultActionManager.lookup( > DefaultActionManager.java:57) > > ... 19 more > > Caused by: > org.codehaus.plexus.component.repository.exception.ComponentLifecycleException > : > > Error starting component > > at > org.codehaus.plexus.component.manager.AbstractComponentManager.startComponentLifecycle > (AbstractComponentManager.java:109) > > at > org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance > (AbstractComponentManager.java:95) > > at > org.codehaus.plexus.component.manager.ClassicSingletonComponentManager.getComponent > (ClassicSingletonComponentManager.java:92) > > at org.codehaus.plexus.DefaultPlexusContainer.lookup( > DefaultPlexusContainer.java:327) > > ... 22 more > > Caused by: > org.codehaus.plexus.personality.plexus.lifecycle.phase.PhaseExecutionException > : > > Error composing component > > at > org.codehaus.plexus.personality.plexus.lifecycle.phase.CompositionPhase.execute > (CompositionPhase.java:33) > > at org.codehaus.plexus.lifecycle.AbstractLifecycleHandler.start( > AbstractLifecycleHandler.java:101) > > at > org.codehaus.plexus.component.manager.AbstractComponentManager.startComponentLifecycle > (AbstractComponentManager.java:105) > > ... 25 more > > Caused by: > org.codehaus.plexus.component.composition.CompositionException: > > Composition failed of field authenticator in object of type > > org.apache.maven.continuum.web.action.Login because the requirement > > ComponentRequirement{role='org.codehaus.plexus.security.Authenticator', > > roleHint='built-in-store', field
Re: tried to build and run continuum 1.1-SNAPSHOT
svn trunk isn't stable, if you want to build from svn, you must use continuum-1.0.x branch. but it isn't necessary to build continuum, you can use snapshot version generated after each commit : http://maven.zones.apache.org/~continuum/builds/branches/continuum-1.0.x/ Emmanuel Sanjay Choudhary a écrit : Hi All, Today I build tried to build and run continuum. Build was successful but I got an error when I tried to logon on org.codehaus.plexus.action.ActionNotFoundException: Cannot find action: login at org.codehaus.plexus.action.DefaultActionManager.lookup(DefaultActionManager.java:61) at org.codehaus.plexus.summit.pipeline.valve.ActionValve.invoke(ActionValve.java:62) at org.codehaus.plexus.summit.pipeline.AbstractPipeline.invoke(AbstractPipeline.java:70) at org.codehaus.plexus.summit.Summit.doGet(Summit.java:54) at org.codehaus.plexus.summit.Summit.doPost(Summit.java:108) at javax.servlet.http.HttpServlet.service(HttpServlet.java:615) at javax.servlet.http.HttpServlet.service(HttpServlet.java:688) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358) at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:294) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567) at org.mortbay.http.HttpContext.handle(HttpContext.java:1807) at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:525) at org.mortbay.http.HttpContext.handle(HttpContext.java:1757) at org.mortbay.http.HttpServer.service(HttpServer.java:879) at org.mortbay.http.HttpConnection.service(HttpConnection.java:789) at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:960) at org.mortbay.http.HttpConnection.handle(HttpConnection.java:806) at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:218) at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:331) at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:520) Caused by: org.codehaus.plexus.component.repository.exception.ComponentLookupException: Unable to lookup component 'org.codehaus.plexus.action.Actionlogin', it could not be started at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:335) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:436) at org.codehaus.plexus.personality.plexus.lifecycle.phase.PlexusContainerLocator.lookup(PlexusContainerLocator.java:38) at org.codehaus.plexus.action.DefaultActionManager.lookup(DefaultActionManager.java:57) ... 19 more Caused by: org.codehaus.plexus.component.repository.exception.ComponentLifecycleException: Error starting component at org.codehaus.plexus.component.manager.AbstractComponentManager.startComponentLifecycle(AbstractComponentManager.java:109) at org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance(AbstractComponentManager.java:95) at org.codehaus.plexus.component.manager.ClassicSingletonComponentManager.getComponent(ClassicSingletonComponentManager.java:92) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:327) ... 22 more Caused by: org.codehaus.plexus.personality.plexus.lifecycle.phase.PhaseExecutionException: Error composing component at org.codehaus.plexus.personality.plexus.lifecycle.phase.CompositionPhase.execute(CompositionPhase.java:33) at org.codehaus.plexus.lifecycle.AbstractLifecycleHandler.start(AbstractLifecycleHandler.java:101) at org.codehaus.plexus.component.manager.AbstractComponentManager.startComponentLifecycle(AbstractComponentManager.java:105) ... 25 more Caused by: org.codehaus.plexus.component.composition.CompositionException: Composition failed of field authenticator in object of type org.apache.maven.continuum.web.action.Login because the requirement ComponentRequirement{role='org.codehaus.plexus.security.Authenticator', roleHint='built-in-store', fieldName='null'} was missing at org.codehaus.plexus.component.composition.FieldComponentComposer.assignRequirementToField(FieldComponentComposer.java:154) at org.codehaus.plexus.component.composition.FieldComponentComposer.assembleComponent(FieldComponentComposer.java:73) at org.codehaus.plexus.component.composition.DefaultComponentComposerManager.assembleComponent(DefaultComponentComposerManager.java:68) at org.codehaus.plexus.DefaultPlexusContainer.composeComponent(DefaultPlexusContainer.java:1476) at org.codehaus.plexus.personality.plexus.lifecycle.phase.CompositionPhase.execute(CompositionPhase.java:29) ... 27 more Caused by: org.codehaus.plexus.component.repository.exception.ComponentLookupException: Unable to lookup component 'org.codehaus.plexus.s