Return-Path: Delivered-To: apmail-incubator-isis-dev-archive@minotaur.apache.org Received: (qmail 29110 invoked from network); 3 Dec 2010 10:44:46 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 3 Dec 2010 10:44:46 -0000 Received: (qmail 38635 invoked by uid 500); 3 Dec 2010 10:44:46 -0000 Delivered-To: apmail-incubator-isis-dev-archive@incubator.apache.org Received: (qmail 38591 invoked by uid 500); 3 Dec 2010 10:44:46 -0000 Mailing-List: contact isis-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: isis-dev@incubator.apache.org Delivered-To: mailing list isis-dev@incubator.apache.org Received: (qmail 38583 invoked by uid 99); 3 Dec 2010 10:44:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Dec 2010 10:44:45 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of dkhaywood@gmail.com designates 74.125.82.43 as permitted sender) Received: from [74.125.82.43] (HELO mail-ww0-f43.google.com) (74.125.82.43) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Dec 2010 10:44:45 +0000 Received: by wwi17 with SMTP id 17so4021852wwi.0 for ; Fri, 03 Dec 2010 02:44:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :organization:user-agent:mime-version:to:subject:references :in-reply-to:content-type; bh=4LRG8saLmZSd3CK6CsdbBD0yTtAb0tXFM8OJvT2HC20=; b=dRc/PE90LRUrCxnkF2CLFVzhmfwEFWhmM1bRkcz5JVKpxYfoYz7ElJ1BQ9C6R/f4LM I2UyOmT/flMEapyYRo/8D2H/HiTyMHvRUje0eyClKMeZv8OrCiYuJbyZQe6yZMgoY4zt e/t9Qe0la9EoBB0RPINNGvunIqnpjsT1RWDaY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:organization:user-agent:mime-version :to:subject:references:in-reply-to:content-type; b=JqYtBScRqZOJorIvuyFysV3AFXCOOKjgx++gxqoxaUH5C/GpGGllFdDQa1Rd7IR8LP OKi7s5gMrDnS6Cc35geGIHb1gxUDnw44W19LJa/xSlwxnYXpyasY9YhnOjDHpWQQ54ET I//U3irOE3QC0g4Lj2vqNOeY3EDyITtvwRxcw= Received: by 10.227.135.13 with SMTP id l13mr1664865wbt.91.1291373063311; Fri, 03 Dec 2010 02:44:23 -0800 (PST) Received: from [192.168.178.66] (host81-131-187-220.range81-131.btcentralplus.com [81.131.187.220]) by mx.google.com with ESMTPS id q18sm1143921wbe.5.2010.12.03.02.44.21 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 03 Dec 2010 02:44:22 -0800 (PST) Message-ID: <4CF8CA14.6090000@gmail.com> Date: Fri, 03 Dec 2010 10:44:36 +0000 From: Dan Haywood Reply-To: dan@haywood-associates.co.uk Organization: Haywood Associates Ltd. User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.12) Gecko/20101027 Lightning/1.0b2 Thunderbird/3.1.6 MIME-Version: 1.0 To: isis-dev@incubator.apache.org Subject: Re: Build References: <4CD4F295.6636.8047969@kevin.kmz.co.za> <4CE65A85.6020100@gmail.com> In-Reply-To: Content-Type: multipart/mixed; boundary="------------070109050705010408020804" --------------070109050705010408020804 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi Mike, On 02/12/2010 18:15, Mike Burton wrote: > Hi Dan, > > Re my earlier error with servlet-api-2.5.jar I tried your suggestion, > I deleted the ~/.m2/.../2.5 folder so that Maven would re-fetch it, but got the same error. > Looking back through the build output for when it downloaded servlet-api-2.5.jar (from https://maven-repository.dev.java.net/nonav/repository/javax.servlet/jars/ ) it got a "checksum failed" error. > > So I downloaded servlet-api-2.5.jar also .pom and also the .sha1 files for them both, from http://repository.jboss.org/maven2/javax/servlet/servlet-api/2.5/ instead, into my Maven repository. I think someone else (might have been Sabine) also had a problem with that JAR file. Looks like we know where the problem is. Thanks for persevering. > Now mvn clean install -D modules=all -o works. I just get one test failure: > /tmp/concordion/org/apache/isis/support/prototype/stories/NewClaimDefaultsOkStory.html > Successes: 17, Failures: 1 Yup, I think we know about that failure - it's a localization issue. On my todo list.... If you want to raise a ticket so it doesn't get lost, be my guest. Cheers Dan > > Best Regards > > Mike Burton > Myco Systems Ltd > 01753 893390 > 17 Criss Grove, Gerrards Cross, BUCKS, SL9 9HG > Registered in England No 1832705 > > NOTICE: If received in error, please destroy and notify sender. Sender does not intend to waive confidentiality or privilege. Use of this email is prohibited when received in error. > > > > > On 19 Nov 2010, at 11:07, Dan Haywood wrote: > >> Hi Mike, >> thx for taking the time... within >> >> On 19/11/2010 10:28, Mike Burton wrote: >>> Hi Folks, >>> >>> Just built on my Mac, using Maven 2.2.1 and JDK 1.6.0_22 >> +1. >> >> BTW, I think the standard build ("clean install") should work on Maven 3.0 (Vango reported as such), but my understanding is that mvn 3.0 has rejigged the way that the site plugin works, so "site-deploy" won't. There's a JIRA ticket for this [3] ... until we tackle it, I think we should say that Maven 2.2.1 is the only version of Maven we're supporting. >> >>> Apologies if some of these have already been reported... >>> >>> 1. mvn clean install succeeds, but some test failures in alternatives/objectstore/nosql/target/surefire-reports: >>> org.apache.isis.alternatives.objectstore.nosql.DestroyObjectCommandImplementationTest.txt >>> org.apache.isis.alternatives.objectstore.nosql.NoSqlObjectStoreTest.txt >>> org.apache.isis.alternatives.objectstore.nosql.ObjectReaderTest.txt >>> org.apache.isis.alternatives.objectstore.nosql.SerialKeyCreatorTest.txt >>> org.apache.isis.alternatives.objectstore.nosql.SystemTest.txt >>> org.apache.isis.alternatives.objectstore.nosql.WriteObjectCommandTest.txt >> Not sure, "works for me". >> >> Rob, any clues? >> >> >>> 2. mvn clean install -D modules=all >>> [ERROR] error: error reading /Users/mikeburton/.m2/repository/javax/servlet/servlet-api/2.5/servlet-api-2.5.jar; cannot read zip file >> This looks like a corruption in your local Maven repo. Just delete that JAR (or even the "2.5" directory) to force Maven to download again. >> >> Once you do get a clean build, I recommend "-o" to speed up subsequent builds. >> >> >>> 3. mvn site-deploy -D modules=standard -D site=full -D deploy=local >>> [INFO] Velocimacro : adding VMs from VM library template : VM_global_library.vm >>> [ERROR] ResourceManager : unable to find resource 'VM_global_library.vm' in any resource loader. >>> ... >>> .. Cobertura... [INFO] There are 3 checkstyle errors. >>> ... >> Don't worry about checkstyle stuff just yet... we'll tackle that later on. >> >> >> >>> Missing: com.java:jimi:jar:1.0 >>> for artifact: com.agilejava.docbkx:docbkx-maven-plugin:maven-plugin:2.0.8 >>> >> It's necessary to install the JIMI jar first. There is a note in the trunk/pom.xml, but I've also just updated the BuildProcess page on the wiki [1] to document this as a prereq >> >> >> >> >>> 4. For completeness we need to add this to beginning of build instructions: >>> >>> Make a directory and download the software into it: >>> svn co http://svn.apache.org/repos/asf/incubator/isis/trunk . >>> >> Done, in [2] >> >>> Allocate sufficient memory for the JVM, to avoid heap space error in Maven: >>> export MAVEN_OPTS=-Xmx512m >>> //TODO or the Windows equivalent >>> >> This is documented already, in [2] >> >>> Maybe add svn to list of prerequisites? or is that too obvious? >> Done, in [2] >> >> >>> Mike >> Mike ... if you haven't already, register on the wiki and send a mail here to isis-dev to get write permissions. Mark is the man with the karma to hand out the karma. Then you can make any updates directly yourself ;-) >> >> >> [1] https://cwiki.apache.org/confluence/display/ISIS/BuildProcess >> [2] https://cwiki.apache.org/confluence/display/ISIS/SettingUpDevelopmentEnvironment >> [3] https://issues.apache.org/jira/browse/ISIS-11 >> > --------------070109050705010408020804--