Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 60225 invoked from network); 1 Oct 2004 20:55:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 1 Oct 2004 20:55:14 -0000 Received: (qmail 97657 invoked by uid 500); 1 Oct 2004 20:54:47 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 97599 invoked by uid 500); 1 Oct 2004 20:54:46 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: dev@geronimo.apache.org Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 69632 invoked by uid 99); 1 Oct 2004 20:39:46 -0000 X-ASF-Spam-Status: No, hits=1.6 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of karanmalhi@verizon.net designates 206.46.170.143 as permitted sender) Received: from [206.46.170.143] (HELO out005.verizon.net) (206.46.170.143) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 01 Oct 2004 13:39:46 -0700 Received: from [192.168.1.4] ([141.150.203.180]) by out005.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20041001203944.BQDV24464.out005.verizon.net@[192.168.1.4]> for ; Fri, 1 Oct 2004 15:39:44 -0500 Subject: Re: build failed From: karan singh malhi Reply-To: karanmalhi@verizon.net To: dev In-Reply-To: <5FEF2402-13E3-11D9-B7E9-000D93361CAA@gluecode.com> References: <1096651628.32327.4.camel@j2ee> <415D9A2D.6060102@shaw.ca> <422E794D-13D5-11D9-B7E9-000D93361CAA@gluecode.com> <1096659639.32327.46.camel@j2ee> <5FEF2402-13E3-11D9-B7E9-000D93361CAA@gluecode.com> Content-Type: text/plain Organization: Message-Id: <1096663182.8191.22.camel@j2ee> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 (1.2.2-4) Date: 01 Oct 2004 16:39:42 -0400 Content-Transfer-Encoding: 7bit X-Authentication-Info: Submitted using SMTP AUTH at out005.verizon.net from [141.150.203.180] at Fri, 1 Oct 2004 15:39:43 -0500 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Finally, the build succeeded. Thanks a lot David. So in the wiki, i am going to write the following instructions, since i dont understand the process completely, i would need some confirmation from the experts. $ svn checkout http://svn.apache.org/repos/asf/geronimo/trunk geronimo $ cd geronimo $ svn update $ maven multiproject:install -Dmaven.test.skip=true -Dmaven.itest.skip=true [if the build fails then try the following steps: $ maven -Dmodules=maven-itest-plugin $ maven multiproject:install -Dmaven.test.skip=true -Dmaven.itest.skip=true ] $ java -jar modules/assembly/target/geronimo-1.0-SNAPSHOT/bin/server.jar org/apache/geronimo/DebugConsole $ Connect to debug console: http://localhost:8080/debug-tool/ On Fri, 2004-10-01 at 15:52, David Jencks wrote: > hmm, I thought the plugin dependencies were working better than that. > > Try > > maven -Dmodules=maven-itest-plugin > maven multiproject:install -Dmaven.test.skip=true > -Dmaven.itest.skip=true > > The itest plugin provides hooks to set up and tear down an environment > (such as starting geronimo and deploying and starting packages on it). > In the middle it runs unit tests in the "itest" directory. > maven.itest.skip and maven.itest.failure.ignore parallel the > corresponding properties for tests. > > thanks > david jencks > > On Oct 1, 2004, at 12:40 PM, karan singh malhi wrote: > > > Even after doing a multiproject install, the build failed. > > i ran the following > > > > maven multiproject:install -Dmaven.test.skip=true > > -Dmaven.itest.skip=true > > > > Here is the output:- > > > > +---------------------------------------- > > | Executing multiproject:install-callback OpenEJB :: Integration Tests > > | Memory: 32M/38M > > +---------------------------------------- > > Attempting to download tranql-1.0-SNAPSHOT.jar. > > Attempting to download geronimo-kernel-1.0-SNAPSHOT.jar. > > Attempting to download geronimo-core-1.0-SNAPSHOT.jar. > > Attempting to download geronimo-remoting-1.0-SNAPSHOT.jar. > > Attempting to download geronimo-security-1.0-SNAPSHOT.jar. > > Attempting to download openejb-core-2.0-SNAPSHOT.jar. > > Attempting to download openejb-assembly-2.0-SNAPSHOT.jar. > > > > rar:install: > > > > > > build:end: > > > > [copy] Copying 1 file to /home/karan/geronimo/openejb/etc > > build:start: > > > > multiproject:install-callback: > > [echo] Running ejb:install for OpenEJB :: Integration Tests > > Tag library requested that is not present: 'geronimo:deploy' in > > plugin: 'null' > > ejb:init: > > java:prepare-filesystem: > > > > java:compile: > > [depend] Deleted 0 out of date files in 0 seconds > > [echo] Compiling to > > /home/karan/geronimo/openejb/modules/itests/target/classes > > > > java:jar-resources: > > > > test:prepare-filesystem: > > > > test:test-resources: > > > > test:compile: > > > > test:test: > > [echo] NOTICE: Skipping tests; they seem to have passed already > > [echo] No tests to run. > > > > > > ejb:ejb: > > [echo] Building ejb openejb-itests-2.0-SNAPSHOT > > Copying: from > > '/home/karan/geronimo/openejb/modules/itests/target/openejb-itests > > -2.0-SNAPSHOT.jar' to: > > '/home/karan/.maven/repository/openejb/ejbs/openejb-itests-2.0- > > SNAPSHOT.jar' > > Copying: from > > '/home/karan/geronimo/openejb/modules/itests/project.xml' to: > > '/home/karan/.maven/repository/openejb/poms/openejb-itests-2.0- > > SNAPSHOT.pom' > > > > BUILD FAILED > > File...... > > /home/karan/.maven/cache/maven-multiproject-plugin-1.3.1/plugin.jelly > > Element... maven:reactor > > Line...... 217 > > Column.... 9 > > Unable to obtain goal [multiproject:install-callback] -- > > /home/karan/geronimo/openejb/modules/itests/maven.xml:21:35: > > No goal [itest] > > Total time: 16 minutes 33 seconds > > Finished at: Fri Oct 01 15:31:00 EDT 2004 > > > > > > On Fri, 2004-10-01 at 14:11, David Jencks wrote: > >> I'd recommend > >> > >> maven multiproject:install -Dmaven.test.skip=true > >> -Dmaven.itest.skip=true > >> > >> which will ensure you get up to date copies of everything in your > >> local > >> repo. > >> > >> In any case, running maven in openejb ought to copy > >> openejb-core-2.0-SNAPSHOT.jar to your local maven repo by itself. > >> Check the console output... > >> > >> thanks > >> david jencks > >> > >> On Oct 1, 2004, at 10:55 AM, Craig Johannsen wrote: > >> > >>> Hi Karan, > >>> > >>> This is the same problem I had a couple of days ago. See emails with > >>> subject "2 Connector tests failed". Here are the steps I took to > >>> work > >>> around the problem, which will be fixed when the Maven repository > >>> contains an up-to-date version of openejb-core-2.0-SNAPSHOT.jar: > >>> 1.) Get the source of the related projects (openejb, howl, activemq, > >>> etc): "maven getotherprojects" > >>> 2.) Change to the geronimo/openejb directory and run: "maven". > >>> 3.) Assuming the openejb build succeeded or at least built the jars, > >>> copy the openejb-core-2.0-SNAPSHOT.jar from > >>> geronimo/openejb/modules/core/target directory to the local maven > >>> repository directory .maven/repository/openejb/jars (or wherever the > >>> local maven repository happens to be). > >>> 4.) Change to the geronimo directory and run: "maven" to build using > >>> the new openejb-core-2.0-SNAPSHOT.jar file. This should fix the > >>> missing "org.openejb.client.naming" package issue. > >>> > >>> Alternatively, possibly the Maven repository is already up to date > >>> but > >>> for some reason the openejb-core-2.0-SNAPSHOT.jar in your local > >>> repository is not being replaced. You could manually delete it and > >>> then try running "maven -Dmodules=client-builder" to see if that > >>> fixed > >>> the problem. > >>> > >>> Cheers, > >>> Craig > >>> > >>> karan singh malhi wrote: > >>> > >>>> hi , > >>>> i disabled maven to run tests, and the build failed. > >>>> > >>>> > >>>> > >>> [snip] > >>> > >>> > >>>> /home/karan/geronimo/modules/client-builder/src/java/org/apache/ > >>>> geronimo/client/builder/AppClientModuleBuilder.java:74: package > >>>> org.openejb.client.naming does not exist > >>>> > >>>> > >>> > >> > > >