continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Venisse <emman...@venisse.net>
Subject Re: shell script in continuum
Date Thu, 04 May 2006 13:30:06 GMT


Vandermi Joao da Silva a écrit :
> Sorry but I have three questions.
> Can I resolve that with continuum upgrade?

You can resolve it without an update, but I don't know what is your version. You'll be happy
with 
Continuum 1.0.3.
When your project is added in Continuum, click on it in summary page and add a new build definition.

> Is necessary create a pom.xml file?

No

> Is there a tag to shell in pom.xml?

No.

> 
> I put the shell script according scm file url.

For Adding a shell project, you must click on "Shell Project" link in the menu.
Read the Getting Started Guide : http://maven.apache.org/continuum/guides/getting-started/index.html

Emmanuel

> 
> Best Regards
> 
>  
>  
>  
>  
> Vandermi Silva
> R&D MAO - Core Engines  
> BenQ Eletroeletrônica Ltda. 
>  
> TEL +55(92) 2127-8015
> Mobile: +55(92) 8125-2248
> FAX +55(92) 2127-8102
> vandermi.silva@benq.com
> www.BenQMobile.com
> Av. Djalma Batista, 536 - São Geraldo 
> Manaus-AM
> Brasil
>  
>  
> 
> -----Original Message-----
> From: Emmanuel Venisse [mailto:emmanuel@venisse.net] 
> Sent: Thursday, May 04, 2006 3:32 AM
> To: continuum-users@maven.apache.org
> Subject: Re: shell script in continuum
> 
> You have the message in the exception : org.apache.maven.continuum.ContinuumException:
Project 
> (id=27 doens't have a default build definition
> 
> You must add a build definition to your project from project view
> 
> Emmanuel
> 
> Vandermi Joao da Silva a écrit :
> 
>> 
>>Hy Guys, how can do build to shell script with the continuum?
>>I have a simple shell script to do  a copy of simple file in my server but I received
an error of the continuum. Please see below.
>>My script shell is in the my local computer, but I try put the URL in my subversion
server but it is not include the project in the continuum.
>>Below is my simple .sh 
>>scp vandermi@10.200.70.1:/projects/teste/vandermi/teste.txt /srv/www/htdocs/teste

>>ognl.MethodFailedException: Method "buildProject" failed for object org.apache.maven.continuum.DefaultContinuum@1a503f
[org.apache.maven.continuum.ContinuumException: Project (id=27 doens't have a default build
definition.]
>>	at ognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:796)
>>	at ognl.ObjectMethodAccessor.callMethod(ObjectMethodAccessor.java:61)
>>	at ognl.OgnlRuntime.callMethod(OgnlRuntime.java:819)
>>	at ognl.ASTMethod.getValueBody(ASTMethod.java:75)
>>	at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:170)
>>	at ognl.SimpleNode.getValue(SimpleNode.java:210)
>>	at ognl.Ognl.getValue(Ognl.java:333)
>>	at ognl.Ognl.getValue(Ognl.java:378)
>>	at ognl.Ognl.getValue(Ognl.java:357)
>>	at org.apache.maven.continuum.web.action.CallApplicationModel.execute(CallApplicationModel.java:72)
>>	at org.codehaus.plexus.summit.pipeline.valve.ActionValve.invoke(ActionValve.java:68)
>>	at org.codehaus.plexus.summit.pipeline.AbstractPipeline.invoke(AbstractPipeline.java:70)
>>	at org.codehaus.plexus.summit.Summit.doGet(Summit.java:54)
>>	at javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>	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)
>>/-- Encapsulated exception ------------\
>>org.apache.maven.continuum.ContinuumException: Project (id=27 doens't have a default
build definition.
>>	at org.apache.maven.continuum.DefaultContinuum.buildProject(DefaultContinuum.java:434)
>>	at org.apache.maven.continuum.DefaultContinuum.buildProject(DefaultContinuum.java:417)
>>	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>	at java.lang.reflect.Method.invoke(Method.java:585)
>>	at ognl.OgnlRuntime.invokeMethod(OgnlRuntime.java:491)
>>	at ognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:785)
>>	at ognl.ObjectMethodAccessor.callMethod(ObjectMethodAccessor.java:61)
>>	at ognl.OgnlRuntime.callMethod(OgnlRuntime.java:819)
>>	at ognl.ASTMethod.getValueBody(ASTMethod.java:75)
>>	at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:170)
>>	at ognl.SimpleNode.getValue(SimpleNode.java:210)
>>	at ognl.Ognl.getValue(Ognl.java:333)
>>	at ognl.Ognl.getValue(Ognl.java:378)
>>	at ognl.Ognl.getValue(Ognl.java:357)
>>	at org.apache.maven.continuum.web.action.CallApplicationModel.execute(CallApplicationModel.java:72)
>>	at org.codehaus.plexus.summit.pipeline.valve.ActionValve.invoke(ActionValve.java:68)
>>	at org.codehaus.plexus.summit.pipeline.AbstractPipeline.invoke(AbstractPipeline.java:70)
>>	at org.codehaus.plexus.summit.Summit.doGet(Summit.java:54)
>>	at javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>	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)
>>
>>
>> 
>>
>> 
>>
>> 
>>
>> 
>>
>>Vandermi Silva
>>R&D MAO - Core Engines  
>>
>>BenQ Eletroeletrônica Ltda. 
>>
>> 
>>
>>TEL +55(92) 2127-8015
>>Mobile: +55(92) 8125-2248
>>FAX +55(92) 2127-8102
>>vandermi.silva@benq.com
>>www.BenQMobile.com
>>Av. Djalma Batista, 536 - São Geraldo 
>>
>>Manaus-AM
>>Brasil
>>
>> 
>>
>> 
>>
>> 
>>
> 
> 
> 
> 
> 


Mime
View raw message