Return-Path: Delivered-To: apmail-incubator-ace-dev-archive@minotaur.apache.org Received: (qmail 22394 invoked from network); 30 Jan 2010 23:58:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 30 Jan 2010 23:58:00 -0000 Received: (qmail 79948 invoked by uid 500); 30 Jan 2010 23:58:00 -0000 Delivered-To: apmail-incubator-ace-dev-archive@incubator.apache.org Received: (qmail 79908 invoked by uid 500); 30 Jan 2010 23:58:00 -0000 Mailing-List: contact ace-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ace-dev@incubator.apache.org Delivered-To: mailing list ace-dev@incubator.apache.org Received: (qmail 79896 invoked by uid 99); 30 Jan 2010 23:58:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 30 Jan 2010 23:58:00 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [194.109.24.36] (HELO smtp-vbr16.xs4all.nl) (194.109.24.36) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 30 Jan 2010 23:57:49 +0000 Received: from marrs.fritz.box (planetmarrs.xs4all.nl [82.95.193.148]) (authenticated bits=0) by smtp-vbr16.xs4all.nl (8.13.8/8.13.8) with ESMTP id o0UNvR2G075457 for ; Sun, 31 Jan 2010 00:57:28 +0100 (CET) (envelope-from marcel.offermans@luminis.nl) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1077) Subject: Re: ace-target-devgateway up and running! From: Marcel Offermans In-Reply-To: <36fe576b1001301545s5c9fac16x29d1457551d4e940@mail.gmail.com> Date: Sun, 31 Jan 2010 00:57:26 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: <36fe576b1001301515i28c6b5fap471aa6630be2c657@mail.gmail.com> <2C26F02D-2C6B-4733-92EB-375E4287FF43@luminis.nl> <36fe576b1001301545s5c9fac16x29d1457551d4e940@mail.gmail.com> To: X-Mailer: Apple Mail (2.1077) X-Virus-Scanned: by XS4ALL Virus Scanner X-Virus-Checked: Checked by ClamAV on apache.org Yes. I'm by no means a Maven expert either, but to solve this issue you = can: Checkout the deployment admin module from Felix: svn co http://svn.apache.org/repos/asf/felix/trunk/deploymentadmin/ and then: mvn install That should get you going. In case that doesn't work (I did not actually = try just checking out one module in Felix) you might need to checkout = everything starting one level up (in other words the whole Felix source = tree) and then do that build. Greetings, Marcel On Jan 31, 2010, at 0:45 , Christopher Brind wrote: > By repository I presume you mean Maven? Is there a quick way to do = that? > Apart from running the commands that people have told me, I've used = Maven > very little. >=20 > Thanks, > Chris >=20 >=20 > On 30 January 2010 23:41, Marcel Offermans = wrote: >=20 >> Hello Chris, >>=20 >> Whoops, I completely forgot to mention that. We are at the moment = relying >> on a not-yet-released snapshot of DeploymentAdmin that is not yet in = any >> snapshot repository either. >>=20 >> That means for now you need to get it from Apache Felix, and install = it in >> your local repository. It's of course one of the things we need to = fix, but >> for now that should get you going. >>=20 >> Thanks for trying! >>=20 >> Greetings, Marcel >>=20 >>=20 >> On Jan 31, 2010, at 0:15 , Christopher Brind wrote: >>=20 >>> Hi Marcel, >>>=20 >>> I get the following error when executing "mvn clean install = -Ptargets" >>>=20 >>> Downloading: >>>=20 >> = http://repository.apache.org/snapshots/org/apache/felix/org.apache.felix.d= eploymentadmin/0.9.0-SNAPSHOT/org.apache.felix.deploymentadmin-0.9.0-SNAPS= HOT.jar >>> [INFO] Unable to find resource >>> = 'org.apache.felix:org.apache.felix.deploymentadmin:jar:0.9.0-SNAPSHOT' = in >>> repository apache.snapshots (http://repository.apache.org/snapshots) >>> [INFO] >>> = ------------------------------------------------------------------------ >>> [ERROR] BUILD ERROR >>> [INFO] >>> = ------------------------------------------------------------------------ >>> [INFO] Failed to resolve artifact. >>>=20 >>> Missing: >>> ---------- >>> 1) = org.apache.felix:org.apache.felix.deploymentadmin:jar:0.9.0-SNAPSHOT >>>=20 >>> Try downloading the file manually from the project website. >>>=20 >>> Then, install it using the command: >>> mvn install:install-file -DgroupId=3Dorg.apache.felix >>> -DartifactId=3Dorg.apache.felix.deploymentadmin = -Dversion=3D0.9.0-SNAPSHOT >>> -Dpackaging=3Djar -Dfile=3D/path/to/file >>>=20 >>> Alternatively, if you host your own repository you can deploy the = file >>> there: >>> mvn deploy:deploy-file -DgroupId=3Dorg.apache.felix >>> -DartifactId=3Dorg.apache.felix.deploymentadmin = -Dversion=3D0.9.0-SNAPSHOT >>> -Dpackaging=3Djar -Dfile=3D/path/to/file -Durl=3D[url] = -DrepositoryId=3D[id] >>>=20 >>> Path to dependency: >>> 1) org.apache.ace:ace-target-devgateway:pom:0.8.0-SNAPSHOT >>> 2) = org.apache.felix:org.apache.felix.deploymentadmin:jar:0.9.0-SNAPSHOT >>>=20 >>> ---------- >>> 1 required artifact is missing. >>>=20 >>> for artifact: >>> org.apache.ace:ace-target-devgateway:pom:0.8.0-SNAPSHOT >>>=20 >>> from the specified remote repositories: >>> apache.snapshots (http://repository.apache.org/snapshots), >>> central (http://repo1.maven.org/maven2) >>>=20 >>>=20 >>>=20 >>> [INFO] >>> = ------------------------------------------------------------------------ >>> [INFO] For more information, run Maven with the -e switch >>> [INFO] >>> = ------------------------------------------------------------------------ >>> [INFO] Total time: 35 seconds >>> [INFO] Finished at: Sat Jan 30 23:13:47 GMT 2010 >>> [INFO] Final Memory: 21M/79M >>> [INFO] >>> = ------------------------------------------------------------------------ >>>=20 >>> Cheers, >>> Chris >>>=20 >>>=20 >>>=20 >>> On 30 January 2010 22:55, Marcel Offermans = >> wrote: >>>=20 >>>> After all the work that has already been done on the Mavenization, = I >> took >>>> some time to get the ace-target-devgateway up and running. In the = end, >> two >>>> minor fixes to the Bnd files were all it took. >>>>=20 >>>> I'm running this target against the dev-server-webui as created by = the >> Ant >>>> build. >>>>=20 >>>> To do this yourself, in a shell (with a full checkout of the = sources): >>>>=20 >>>> ant release (which basically runs the full ant build with all = testing >> and >>>> packaging) >>>> cd deploy/target/dev-server-webui >>>> sh run.sh (now the server should be up and running, browse to >>>> http://localhost:8080/webui/ to validate) >>>>=20 >>>> In a second shell (from the base checkout dir) as also explained at >>>> http://incubator.apache.org/ace/maven-build.html: >>>>=20 >>>> mvn clean install >>>> mvn clean install -Ptargets >>>> cd >>>>=20 >> = ace-target-devgateway/target/ace-target-devgateway-0.8.0-SNAPSHOT-distribu= tion/ace-gateway/ >>>> sh run.sh >>>>=20 >>>> Now in the web UI you should see the gateway showing up in the last >> column. >>>>=20 >>>> I would appreciate it if anybody could confirm they get this far. = Next >> up >>>> will be a bigger task, getting all server side bundles working. >>>>=20 >>>> Greetings, Marcel >>>>=20 >>>>=20 >>=20 >>=20