Return-Path: Delivered-To: apmail-maven-continuum-users-archive@www.apache.org Received: (qmail 685 invoked from network); 12 Sep 2007 14:00:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Sep 2007 14:00:59 -0000 Received: (qmail 61030 invoked by uid 500); 12 Sep 2007 13:59:59 -0000 Delivered-To: apmail-maven-continuum-users-archive@maven.apache.org Received: (qmail 60993 invoked by uid 500); 12 Sep 2007 13:59:59 -0000 Mailing-List: contact continuum-users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: continuum-users@maven.apache.org Delivered-To: mailing list continuum-users@maven.apache.org Received: (qmail 60924 invoked by uid 99); 12 Sep 2007 13:59:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Sep 2007 06:59:59 -0700 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 (athena.apache.org: domain of cytg.net@gmail.com designates 64.233.162.233 as permitted sender) Received: from [64.233.162.233] (HELO nz-out-0506.google.com) (64.233.162.233) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Sep 2007 13:59:55 +0000 Received: by nz-out-0506.google.com with SMTP id x3so125906nzd for ; Wed, 12 Sep 2007 06:59:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=JS1s+oik6R8lc+tVDNjgx+sV4LwjOhALbNE4Ld1/Q2o=; b=R7O1xwGoW9HkAqreXeq+UBMbe4KTeIpG5vbkBvXrbrfbWdDHGyzTQZUlqbhPI13p3r8ti+z8F7N5okDi9s7P7osNF5UIemjZ1balb7H5IDiOKT5yw84RrZCcoU3dUBjFZvM1vs+cIHqLBchZAShjXaUbrq3kssx8J7TcX7mn7gA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=TDedrs8WfREQbL4RbE58mymsXzcCiKYj5GssM5PYaCO5hDmmnNVbZzi2dE1cKRdiVlFeDwfvZHVLVgfNIzuzv1qIKu1cCy3JLhyl3DAtPB/WZPXOhh+olE0gQ5FTxatqQ45la830Qf6DHPOptMSaqp1dJZrniJBjXc07UImmK7M= Received: by 10.141.23.7 with SMTP id a7mr269313rvj.1189605565988; Wed, 12 Sep 2007 06:59:25 -0700 (PDT) Received: by 10.141.153.1 with HTTP; Wed, 12 Sep 2007 06:59:25 -0700 (PDT) Message-ID: Date: Wed, 12 Sep 2007 15:59:25 +0200 From: CyTG To: continuum-users@maven.apache.org Subject: location of pom.xml MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_12770_14974878.1189605565962" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_12770_14974878.1189605565962 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline My first post to the mailing I must have some level of a beginners problem here, but i really cant figure it out! Say i have this project C:\test\ConversionWebAdmin\src C:\test\ConversionWebAdmin\target C:\test\ConversionWebAdmin\logs C:\test\ConversionWebAdmin\pom.xml i go here C:\test\ConversionWebAdmin\src and run "mvn clean install" and it runs fine (ok tests fail, but's partially what this is all about) Now i add the pom in continuum as a file; file:///C:/test/ConversionWebAdmin/pom.xml and output from the console is as follows INFO Continuum:default - Created 1 projects. INFO Continuum:default - Created 1 project groups. INFO Continuum:default - 0 errors. (ed. fine) INFO ContinuumScm:default - Checking out project: 'Conversion Web Administration', id: '23' to 'C:\continuum\continuum-1.1-beta-2\23'. INFO ScmManager:default - Executing: cmd.exe /X /C '"cvs -z3 -f -d :pserver:maven@xxxxxx:/cvs-repository -q checkout -d 23 Conversion"' INFO ScmManager:default - Working directory: C:\continuum\continuum-1.1-beta-2 INFO ContinuumScm:default - Checked out 619 files. - and this is where trouble begins, i'll point it out loud. "...to 'C:\continuum\continuum-1.1-beta-2\23'" So it checks out the project to homedirectory (set under config) and appends "\23", then sets working directory to "C:\continuum\continuum-1.1-beta-2" - Alright, i'll try to build this sucker and i press "Build Now", and get .. INFO BuildController:default - Initializing build INFO BuildController:default - Starting build of Conversion Web Administration INFO BuildController:default - Updating working dir INFO BuildController:default - Performing action check-working-directory INFO BuildController:default - Performing action update-working-directory-from-scm INFO ContinuumScm:default - Updating project: id: '23', name 'Conversion Web Administration'. INFO ScmManager:default - Executing: cmd.exe /X /C '"cvs -z3 -f -q update-d"' INFO ScmManager:default - Working directory: C:\continuum\continuum-1.1-beta-2\23 INFO BuildController:default - Merging SCM results INFO BuildController:default - Changes found, building INFO BuildController:default - Performing action update-project-from-working-directory INFO Action:update-project-from-working-directory - Updating project 'Conversion Web Administration' from checkout. ERROR BuildController:default - Error executing action update-project-from-working-directory ' org.codehaus.plexus.taskqueue.execution.TaskExecutionException: Error executing action 'update-project-from-working-directory' at org.apache.maven.continuum.buildcontroller.DefaultBuildController.performAction (DefaultBuildController.java:432) at org.apache.maven.continuum.buildcontroller.DefaultBuildController.build( DefaultBuildController.java:137) at org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.executeTask (BuildProjectTaskExecutor.java:50) at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable$1.run (ThreadedTaskQueueExecutor.java:116) at edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdapter.call (Executors.java:442) at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run( FutureTask.java:176) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask (ThreadPoolExecutor.java:665) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:690) at java.lang.Thread.run(Thread.java:595) Caused by: org.apache.maven.continuum.execution.ContinuumBuildExecutorException: Could not find Maven project descriptor. and inspecting the log from within continuum ; [INFO] Scanning for projects... [INFO] ---------------------------------------------------------------------------- [INFO] Building Maven Default Project [INFO] task-segment: [clean, install] [INFO] ---------------------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Cannot execute mojo: clean. It requires a project with an existing pom.xml, but the build is not using one. [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: < 1 second [INFO] Finished at: Wed Sep 12 15:30:55 CEST 2007 [INFO] Final Memory: 1M/2M [INFO] ------------------------------------------------------------------------ SO .. it seems like it cant find the pom.xml ? .. the very same pom.xml it used to check out the source with! Wonder what happens if I were to copy the pom.xml INTO the \23 directory ?? ... lets try and I press the "Build Now" again... and this time i get [INFO] Scanning for projects... [INFO] ---------------------------------------------------------------------------- [INFO] Building Conversion Web Administration [INFO] task-segment: [clean, install] [INFO] ---------------------------------------------------------------------------- [INFO] [clean:clean] [INFO] Deleting directory C:\continuum\continuum-1.1-beta-2\23\target [INFO] Deleting directory C:\continuum\continuum- 1.1-beta-2\23\target\classes [INFO] Deleting directory C:\continuum\continuum- 1.1-beta-2\23\target\test-classes [INFO] Deleting directory C:\continuum\continuum-1.1-beta-2\23\target\site [INFO] [resources:resources] [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Error loading property file 'C:\continuum\continuum- 1.1-beta-2\23\src\main\resources\local\webadmin.properties' [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1 second [INFO] Finished at: Wed Sep 12 15:41:59 CEST 2007 [INFO] Final Memory: 4M/8M [INFO] ------------------------------------------------------------------------ Well, apparently the "local\webadmin.properties" is NOT where it's supposed to be, but that's another issue. (based on this ONE pom.xml maven is checking out THREE different projects .. wth is up with that, some developer foobar? problary dependencies) Sorry for the very very long mail, feel free to ignore it all together or just the irrelevant parts :) The question in short; Why can continuum not find the pom.xml ? (same behavior 1.0.3 and 1.1 beta) Best regards Mr.Cytg (ps. I also get this in the log ; ERROR DispatcherUtils- Error setting character encoding to 'UTF-8' - ignoring. Could that have something to do with it ? ) ------=_Part_12770_14974878.1189605565962--