Return-Path: Delivered-To: apmail-incubator-isis-dev-archive@minotaur.apache.org Received: (qmail 12229 invoked from network); 9 Apr 2011 12:52:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 9 Apr 2011 12:52:19 -0000 Received: (qmail 44048 invoked by uid 500); 9 Apr 2011 12:52:19 -0000 Delivered-To: apmail-incubator-isis-dev-archive@incubator.apache.org Received: (qmail 44022 invoked by uid 500); 9 Apr 2011 12:52:19 -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 44014 invoked by uid 99); 9 Apr 2011 12:52:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 Apr 2011 12:52:19 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of a.s.moores@gmail.com designates 74.125.82.175 as permitted sender) Received: from [74.125.82.175] (HELO mail-wy0-f175.google.com) (74.125.82.175) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 Apr 2011 12:52:10 +0000 Received: by wye20 with SMTP id 20so4044815wye.6 for ; Sat, 09 Apr 2011 05:51:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:content-type:mime-version:subject:from :in-reply-to:date:content-transfer-encoding:message-id:references:to :x-mailer; bh=bd2nW05pi4VNpX0OpJxycokprCTaLf61PVkzx1vzCdQ=; b=lexSsMcuyf7hEZE9GvNifs41hBnKYuzM3b2JjR+0QiPn/41DV8wfakYZI/bwG9fvSS zVBhxWFFgNoXihDoAtdiUQmwxcv8IEMarwRljbbd9oEGmNI3qI3NnVb91RZay9GZ59yG tjr2vOcqkkpdPdyBo2b3G8ElhBuY44S87EB48= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=N1VBR3u8vVgol3RcU/sEyXC01Hj1mdx+g6U2C5AIIGtDUX91f8kRFuAtOnbewYc1Uk AdLS9ZG+AIsgvvh+y0+DM7hqvWbmWtDPtFYSPb1lXrTggj5uRBRZNAYblqZxO55imAuY Pdp9MtRPMG/j15584s68dzqX6qwFodePNHTpE= Received: by 10.216.67.136 with SMTP id j8mr3185006wed.102.1302353509979; Sat, 09 Apr 2011 05:51:49 -0700 (PDT) Received: from unknown-58-b0-35-72-cf-f1.home (host86-170-227-167.range86-170.btcentralplus.com [86.170.227.167]) by mx.google.com with ESMTPS id n52sm1778508wer.24.2011.04.09.05.51.48 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 09 Apr 2011 05:51:49 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1084) Subject: Re: Smoke Test From: Andrew Moores In-Reply-To: <4DA04CAD.1010907@gmail.com> Date: Sat, 9 Apr 2011 13:51:46 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: <9FF84993-DA33-46FC-9FDA-7FCBF18CC49D@googlemail.com> <65104A57-6AD3-474F-B45F-CA0912992BF6@gmail.com> <4DA04CAD.1010907@gmail.com> To: isis-dev@incubator.apache.org X-Mailer: Apple Mail (2.1084) X-Virus-Checked: Checked by ClamAV on apache.org Hi Dan So, I cleared out my local repos and started from scratch following your = updates. After building a new local copy of Isis and generating the = archetype I ran Maven in offline mode and created a new application. I = could then run the DnD viewer, using mvn antrun:run -D exec=3Ddnd, in = the root of my new project. I still had to specify the archetypeVersion but now there's a note on = the site it shouldn't trip anyone up in future ;-). Thanks for helping me through the process. Regards Andrew On 9 Apr 2011, at 13:10, Dan Haywood wrote: > Hi Andrew, >=20 > I've just updated the "Smoke Test" page on the wiki so hopefully it's = not quite so confusing to anyone else running through the process of = SettingUpDevelopmentEnvironment [1] > BuildProcess [2] > SmokeTest [3]. >=20 > Cheers > Dan >=20 > [1] = https://cwiki.apache.org/confluence/display/ISIS/SettingUpDevelopmentEnvir= onment > [2] https://cwiki.apache.org/confluence/display/ISIS/BuildProcess > [3] https://cwiki.apache.org/confluence/display/ISIS/SmokeTest >=20 >=20 > On 09/04/2011 12:06, Andrew Moores wrote: >> Hi Dan >>=20 >> I dropped the archetypeCatalog property from my maven build and when = I run: >>=20 >> mvn archetype:generate \ >> -DarchetypeGroupId=3Dorg.apache.isis.support \ >> -DarchetypeArtifactId=3Dquickstart-archetype >>=20 >> I end up with a standard empty Maven project because Maven doesn't = resolve the archetype from my local repo. >>=20 >> After a couple of attempts I found the following worked: >>=20 >> mvn -o archetype:generate \ >> -DarchetypeGroupId=3Dorg.apache.isis.support \ >> -DarchetypeArtifactId=3Dquickstart-archetype \ >> -DarchetypeVersion=3D0.1.2-incubating-SNAPSHOT \ >> = -DarchetypeRepository=3D/Users/andrewmoores/development/applications/maven= /repository >>=20 >> The archetypeVersion is required. It could be that I need to specify = the archetypeRepository because I'm using a non-standard location for my = local repo. >>=20 >> So, happy days. I've built locally, created the archetype and then = created an example project from my local build of the archetype. The = following modules were created: >>=20 >> dom >> fixture >> objstore-default >> quickrun >> tests-bdd >> tests-junit >> viewer-html >> viewer-restful >> viewer-scimpi >> viewer-wicket >>=20 >> I did note that if you run this without the -o option you get the = following info messages: >>=20 >> [INFO] Unable to find resource = 'org.apache.isis.support:quickstart-archetype:jar:0.1.2-incubating-SNAPSHO= T' in repository quickstart-archetype-repo = (/Users/andrewmoores/development/applications/maven/repository) >>=20 >> [INFO] Unable to find resource = 'org.apache.isis.support:quickstart-archetype:pom:0.1.2-incubating-SNAPSHO= T' in repository quickstart-archetype-repo = (/Users/andrewmoores/development/applications/maven/repository) >>=20 >> But it still creates a new Isis project. >>=20 >> Regards >> Andrew >>=20 >>=20 >> On 9 Apr 2011, at 09:59, Dan Haywood wrote: >>=20 >>> Hi Andrew, >>> You're right, those instructions on the wiki "smoke test" page need = updating. >>>=20 >>> Here's the scoop: when we first entered the incubator I wanted to = document how to build the source and try out an example app, mostly for = the benefit of the other contributors but also for anyone else (early = adopter "users") who might be interested in exploring/trying out Isis = prior to us having pushed out our first formal release. >>>=20 >>> Since then I've got our archetype working and published to the = apache snapshot repo, which means that early adopters don't need to go = to all the hassle of building source etc. But, as you've pointed out, = that page on the wiki doesn't quite say that. >>>=20 >>> That said, the version of the archetype on the snapshot repo is a = little out-of-date; I've updated it recently to also build/package a = self-contained jar in the quickrun module. So if you do build from = source then you can try out this updated version (just miss out the = 'archetypeCatalog' parameter so that mvn picks up from your local repo = on ~/.m2 >>>=20 >>> Cheers, >>> Dan >>>=20 >>>=20 >>> Sent from my iPhone >>>=20 >>> On 8 Apr 2011, at 18:12, Andrew Moores wrote: >>>=20 >>>> Hi >>>>=20 >>>> I've just built from source and created a new app following the = instructions on the quick start page = (http://incubator.apache.org/isis/quickstart-app.html). I don't see how = this is testing what I've just built? Did it create the new app using = the artifacts installed into my local repos when I built from source? = (Maybe, this more of a Maven question). >>>>=20 >>>> Thanks >>>> Andrew >>=20