Return-Path: Delivered-To: apmail-maven-continuum-users-archive@www.apache.org Received: (qmail 26281 invoked from network); 2 Dec 2005 14:49:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 2 Dec 2005 14:49:37 -0000 Received: (qmail 69068 invoked by uid 500); 2 Dec 2005 14:49:36 -0000 Delivered-To: apmail-maven-continuum-users-archive@maven.apache.org Received: (qmail 69046 invoked by uid 500); 2 Dec 2005 14:49:36 -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 69030 invoked by uid 99); 2 Dec 2005 14:49:35 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Dec 2005 06:49:35 -0800 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=RCVD_IN_BL_SPAMCOP_NET X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [62.193.206.151] (HELO mailsender.amenworld.com) (62.193.206.151) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Dec 2005 06:51:04 -0800 Received: from webmail9.amenworld.com (webmail9.amenworld.com [62.193.206.9]) by mailsender.amenworld.com (Postfix) with SMTP id 1E4F79D5774 for ; Fri, 2 Dec 2005 15:49:13 +0100 (CET) Received: (qmail 22110 invoked from network); 2 Dec 2005 14:49:18 -0000 Received: from 21.29.99-84.rev.gaoland.net (HELO ?127.0.0.1?) (84.99.29.21) by 0 with SMTP; 2 Dec 2005 14:49:18 -0000 Message-ID: <43905EE0.5030101@venisse.net> Date: Fri, 02 Dec 2005 15:49:04 +0100 From: Emmanuel Venisse User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: fr, en MIME-Version: 1.0 To: continuum-users@maven.apache.org Subject: Re: Compile error doesn't cause build failure on M2 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N comments below Eric Pugh (OSC2) a �crit : > Hi all, > > I've seen in the archives some posts about Ant and M1 build failures > not being propagated back properly. However, I am noticing the same > thing under M2. I intentionally put in a compile error: > Compiling 35 source files to C:\continuum-1.0.1\apps\continuum > \working-directory\1\target\classes > [INFO] > ------------------------------------------------------------------------ > ---- > [ERROR] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > ---- > [INFO] Compilation failure > > C:\continuum-1.0.1\apps\continuum\working-directory\1\src\main\java > \com\ergito\search\SimpleTermHighlighter.java:[22,20] cannot find symbol > symbol : variable sSuffix > location: class com.ergito.search.SimpleTermHighlighter > > how ever my builds are considered successes: > 2005-12-02 08:14:22,035 [Thread-1] WARN ContinuumBuildExecutor:maven2 > - Execut > able 'c:\maven-2.0\bin\mvn'. > 2005-12-02 08:14:22,035 [Thread-1] INFO ContinuumBuildExecutor:maven2 > - Argume > nts: --batch-mode --non-recursive clean install > 2005-12-02 08:14:22,035 [Thread-1] INFO ContinuumBuildExecutor:maven2 > - Workin > g directory: C:\continuum-1.0.1\bin\..\apps\continuum\working- directory\1 > 2005-12-02 08:14:35,629 [Thread-1] INFO ContinuumBuildExecutor:maven2 > - Exit c > ode: 0 > 2005-12-02 08:14:35,848 [Thread-1] INFO Notifier:mail > - Curren > t build state: 2, previous build state: 2 > > In the FAQ Entry: How does Continuum detect a successful build? > It refers to maven or ant, but I'm not sure if that means "maven1 and > maven2". I don't specify maven version because it's for several maven version (1.0.2 and 2.0, perhaps 1.1 too) It's fixed in subversion for maven 1.1 and maven 2, so when they will be release, this step won't be necessary. > Also, the line about adding something to the beginning of > run.bat: > > You must add too, at the begin of $CONTINUUM/bin/win32/run.bat, the > following lines if you run Continuum from command line : > > seems to suggest you should use the wrapper run.bat versus the > plexus.bat method? run.bat is the preferred method. I'll in faqs run.bat or plexus.bat > > Lastly, adding set.MAVEN_TERMINATE_CMD=0n to the wrapper.conf seems > like to should come that way? wrapper.conf is use by run.bat and by InstallService.bat. It's better to define thevalue in wrapper.conf. In continuum 1.0.2, this step won't be necessary. If you think the faq isn't very understandable, you can create a patch. Emmanuel