From continuum-users-return-2662-apmail-maven-continuum-users-archive=maven.apache.org@maven.apache.org Thu Sep 14 16:21:34 2006 Return-Path: Delivered-To: apmail-maven-continuum-users-archive@www.apache.org Received: (qmail 15170 invoked from network); 14 Sep 2006 16:21:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 14 Sep 2006 16:21:33 -0000 Received: (qmail 2618 invoked by uid 500); 14 Sep 2006 16:21:32 -0000 Delivered-To: apmail-maven-continuum-users-archive@maven.apache.org Received: (qmail 2598 invoked by uid 500); 14 Sep 2006 16:21:31 -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 2587 invoked by uid 99); 14 Sep 2006 16:21:31 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Sep 2006 09:21:31 -0700 Authentication-Results: idunn.apache.osuosl.org smtp.mail=lists@nabble.com; spf=pass X-ASF-Spam-Status: No, hits=0.6 required=5.0 tests=REMOVE_PAGE Received-SPF: pass (idunn.apache.osuosl.org: domain nabble.com designates 72.21.53.35 as permitted sender) Received: from ([72.21.53.35:40722] helo=talk.nabble.com) by idunn.apache.osuosl.org (ecelerity 2.1 r(10620)) with ESMTP id 75/01-06152-93189054 for ; Thu, 14 Sep 2006 09:20:10 -0700 Received: from [72.21.53.38] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1GNtwd-0006VD-Fd for continuum-users@maven.apache.org; Thu, 14 Sep 2006 09:20:07 -0700 Message-ID: <6309477.post@talk.nabble.com> Date: Thu, 14 Sep 2006 09:20:07 -0700 (PDT) From: ArneD To: continuum-users@maven.apache.org Subject: Re: Update over scm-local does not delete files removed from source dir In-Reply-To: <1158231154.1760.270911432@webmail.messagingengine.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: public@degenring.de References: <6261871.post@talk.nabble.com> <4506B01D.2060808@venisse.net> <6267099.post@talk.nabble.com> <4506DAD2.10006@venisse.net> <6281593.post@talk.nabble.com> <4507F131.5010803@venisse.net> <6289204.post@talk.nabble.com> <1158231154.1760.270911432@webmail.messagingengine.com> X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Thanks for your answer, David. continuum-3 wrote: > >> my Continuum installation is accessing a file system directory using >> scm-local provider to get sources (BTW, the directory is on a ClearCase >> dynamic view). Updates are working fine as long as files are only changed >> or >> added. But when files are removed from the source directory, they still >> exist in the target directory. Especially after refactoring activities, >> this >> leads to build errors. > > Make sure you are runnning clean goal in maven. When you do a clean it > should delete this info from the target directories. And that will fix > your problem. > This is what I am doing. The problem is: My project source dir resides on a dynamic view on drive Z:\VOB\some\where. My Continuum working directory is e.g. D:\continuum-work\99. What Continuum does (with help of scm-local) is to copy all files from Z:\VOB\some\where to D:\continuum-work\99 before running the build. If someone removes an outdated class from ClearCase, it won't be on Z:\VOB\some\where any longer. As scm-local currently does not delete anything from the checkout directory, the outdated class will still be there at d:\continuum-work\99. The clean goal will only delete d:\continuum-work\99\target. > BTW, you'll speed up your build if you get maven to put the target > directories somewhere else, outside of the dynamic view, as dynamic > views can be slow. > Did you manage to let Continuum operate directly on a dynamic view, in my example on Z:\VOB\some\where, without copying to a working directory? Probably you are only talking about Maven stand-alone usage. Then, I agree, it is no problem, as long as you are running the clean goal. Regards, Arne -- View this message in context: http://www.nabble.com/Update-over-scm-local-does-not-delete-files-removed-from-source-dir-tf2257460.html#a6309477 Sent from the Continuum - Users forum at Nabble.com.