continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Tilley" <JTil...@rdfgroup.com>
Subject RE: deleting projects
Date Tue, 13 Jun 2006 13:12:58 GMT
Thanks!


-----Original Message-----
From: Emmanuel Venisse [mailto:emmanuel@venisse.net] 
Sent: 12 June 2006 15:14
To: continuum-users@maven.apache.org
Subject: Re: deleting projects



Jonathan Tilley a écrit :
> Hi,
> 
>  
> 
> I am trying to delete a project from Continuum.
> 
> I click the red cross, confirm that I want to delete the project and I
> get the stack trace below.
> 
> Any ideas?

You have a lock in your working directory :

Caused by: java.io.IOException: Directory
D:\java\test\continuum-1.0.3\bin\win32\..\..\apps\continuum\working-dire
ctory\1\mform_presentation\mform_pres_Admin\target\mform_pres_Admin\WEB-
INF\classes\com\rdf\mform\ui\admin\maintainincentives\view unable to be
deleted.

it's perhaps a dos console opened on it.

> 
>  
> 
> Also how does one delete a particular build?

You can't actually. It will be perhaps a 1.1 feature.

> 
> We have many cases where Continuum thinks the build for a project is
> still going, but in fact the build has completed.
> 
> Where is the project built information stored? I.e. stuff like Build#,
> Start Time, End Time, state etc.
> 
> Is it in the Derby database? If so how does one for example change the
> state of a project from "building" to Build in Failure.

Yes, it's in database. If you modify it directly, you'll need to change the state value from
'6' to 
'3' in PROJECT table and perhaps in BUILDRESULT table

Emmanuel

> 
>  
> 
>  
> 
> Cheers
> 
>  
> 
> jonathan
> 
>  
> 
> ognl.MethodFailedException: Method "removeProject" failed for object
> org.apache.maven.continuum.DefaultContinuum@12297d7
> [org.apache.maven.continuum.ContinuumException: Error while deleting
> project working directory.]
>         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.codehaus.plexus.formica.action.DeleteEntity.uponSuccessfulValidation
> (DeleteEntity.java:57)
>         at
> org.codehaus.plexus.formica.action.DeleteEntity.execute(DeleteEntity.jav
> a:47)
>         at
> org.codehaus.plexus.summit.pipeline.valve.ActionValve.invoke(ActionValve
> .java:68)
>         at
> org.codehaus.plexus.summit.pipeline.AbstractPipeline.invoke(AbstractPipe
> line.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(WebApplicationH
> andler.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(WebApplicationCon
> text.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: Error while deleting
> project working directory.
>         at
> org.apache.maven.continuum.DefaultContinuum.logAndCreateException(Defaul
> tContinuum.java:2114)
>         at
> org.apache.maven.continuum.DefaultContinuum.removeProject(DefaultContinu
> um.java:336)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
> a:39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
> Impl.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.codehaus.plexus.formica.action.DeleteEntity.uponSuccessfulValidation
> (DeleteEntity.java:57)
>         at
> org.codehaus.plexus.formica.action.DeleteEntity.execute(DeleteEntity.jav
> a:47)
>         at
> org.codehaus.plexus.summit.pipeline.valve.ActionValve.invoke(ActionValve
> .java:68)
>         at
> org.codehaus.plexus.summit.pipeline.AbstractPipeline.invoke(AbstractPipe
> line.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(WebApplicationH
> andler.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(WebApplicationCon
> text.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: java.io.IOException: Directory
> D:\java\test\continuum-1.0.3\bin\win32\..\..\apps\continuum\working-dire
> ctory\1\mform_presentation\mform_pres_Admin\target\mform_pres_Admin\WEB-
> INF\classes\com\rdf\mform\ui\admin\maintainincentives\view unable to be
> deleted.
>         at
> org.codehaus.plexus.util.FileUtils.deleteDirectory(FileUtils.java:1341)
>         at
> org.codehaus.plexus.util.FileUtils.forceDelete(FileUtils.java:1166)
>         at
> org.codehaus.plexus.util.FileUtils.cleanDirectory(FileUtils.java:1380)
>         at
> org.codehaus.plexus.util.FileUtils.deleteDirectory(FileUtils.java:1336)
>         at
> org.codehaus.plexus.util.FileUtils.forceDelete(FileUtils.java:1166)
>         at
> org.codehaus.plexus.util.FileUtils.cleanDirectory(FileUtils.java:1380)
>         at
> org.codehaus.plexus.util.FileUtils.deleteDirectory(FileUtils.java:1336)
>         at
> org.codehaus.plexus.util.FileUtils.forceDelete(FileUtils.java:1166)
>         at
> org.codehaus.plexus.util.FileUtils.cleanDirectory(FileUtils.java:1380)
>         at
> org.codehaus.plexus.util.FileUtils.deleteDirectory(FileUtils.java:1336)
>         at
> org.codehaus.plexus.util.FileUtils.forceDelete(FileUtils.java:1166)
>         at
> org.codehaus.plexus.util.FileUtils.cleanDirectory(FileUtils.java:1380)
>         at
> org.codehaus.plexus.util.FileUtils.deleteDirectory(FileUtils.java:1336)
>         at
> org.codehaus.plexus.util.FileUtils.forceDelete(FileUtils.java:1166)
>         at
> org.codehaus.plexus.util.FileUtils.cleanDirectory(FileUtils.java:1380)
>         at
> org.codehaus.plexus.util.FileUtils.deleteDirectory(FileUtils.java:1336)
>         at
> org.codehaus.plexus.util.FileUtils.forceDelete(FileUtils.java:1166)
>         at
> org.codehaus.plexus.util.FileUtils.cleanDirectory(FileUtils.java:1380)
>         at
> org.codehaus.plexus.util.FileUtils.deleteDirectory(FileUtils.java:1336)
>         at
> org.codehaus.plexus.util.FileUtils.forceDelete(FileUtils.java:1166)
>         at
> org.codehaus.plexus.util.FileUtils.cleanDirectory(FileUtils.java:1380)
>         at
> org.codehaus.plexus.util.FileUtils.deleteDirectory(FileUtils.java:1336)
>         at
> org.codehaus.plexus.util.FileUtils.forceDelete(FileUtils.java:1166)
>         at
> org.codehaus.plexus.util.FileUtils.cleanDirectory(FileUtils.java:1380)
>         at
> org.codehaus.plexus.util.FileUtils.deleteDirectory(FileUtils.java:1336)
>         at
> org.codehaus.plexus.util.FileUtils.forceDelete(FileUtils.java:1166)
>         at
> org.codehaus.plexus.util.FileUtils.cleanDirectory(FileUtils.java:1380)
>         at
> org.codehaus.plexus.util.FileUtils.deleteDirectory(FileUtils.java:1336)
>         at
> org.codehaus.plexus.util.FileUtils.forceDelete(FileUtils.java:1166)
>         at
> org.codehaus.plexus.util.FileUtils.cleanDirectory(FileUtils.java:1380)
>         at
> org.codehaus.plexus.util.FileUtils.deleteDirectory(FileUtils.java:1336)
>         at
> org.codehaus.plexus.util.FileUtils.forceDelete(FileUtils.java:1166)
>         at
> org.codehaus.plexus.util.FileUtils.cleanDirectory(FileUtils.java:1380)
>         at
> org.codehaus.plexus.util.FileUtils.deleteDirectory(FileUtils.java:1336)
>         at
> org.codehaus.plexus.util.FileUtils.forceDelete(FileUtils.java:1166)
>         at
> org.codehaus.plexus.util.FileUtils.cleanDirectory(FileUtils.java:1380)
>         at
> org.codehaus.plexus.util.FileUtils.deleteDirectory(FileUtils.java:1336)
>         at
> org.codehaus.plexus.util.FileUtils.forceDelete(FileUtils.java:1166)
>         at
> org.codehaus.plexus.util.FileUtils.cleanDirectory(FileUtils.java:1380)
>         at
> org.codehaus.plexus.util.FileUtils.deleteDirectory(FileUtils.java:1336)
>         at
> org.apache.maven.continuum.DefaultContinuum.removeProject(DefaultContinu
> um.java:326)
> 
>  
> 
> 
> This transmission is confidential and intended solely for the person or organisation
to whom it is addressed. It may contain privileged and confidential information. If you are
not the intended recipient, you should not copy, distribute or take any action in reliance
on it. If you have received this transmission in error, please notify the sender immediately.
Any opinions or advice contained in this e-mail are those of the individual sender except
where they are stated to be the views of RDF Group plc. All messages passing through this
gateway are virus scanned.
> 
> 


Mime
View raw message