Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 32308 invoked from network); 7 Jul 2006 02:01:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 7 Jul 2006 02:01:07 -0000 Received: (qmail 25911 invoked by uid 500); 7 Jul 2006 02:01:05 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 25854 invoked by uid 500); 7 Jul 2006 02:01:05 -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 List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 25837 invoked by uid 99); 7 Jul 2006 02:01:05 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Jul 2006 19:01:05 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of goyathlay.geronimo@gmail.com designates 64.233.182.190 as permitted sender) Received: from [64.233.182.190] (HELO nf-out-0910.google.com) (64.233.182.190) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Jul 2006 19:01:04 -0700 Received: by nf-out-0910.google.com with SMTP id n28so51849nfc for ; Thu, 06 Jul 2006 19:00:42 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=FRO7+NFe3BirfTpQmcG2CgQLU7q8uUmkJF9PD9eo5/dnSGno2495A6zPwKYuyKCfhrBBoCVmLMcxhzcN8i/JVvHEezj0n9HZpfjYK61d1XVbya+XLZACkHMyyvEfREVlz/HmA/J4lMtBTuHe7lpYIEkgMY3Ycae+YWVEmIp9BSM= Received: by 10.78.165.16 with SMTP id n16mr469906hue; Thu, 06 Jul 2006 19:00:42 -0700 (PDT) Received: by 10.78.184.14 with HTTP; Thu, 6 Jul 2006 19:00:42 -0700 (PDT) Message-ID: Date: Thu, 6 Jul 2006 22:00:42 -0400 From: "Prasad Kashyap" To: dev@geronimo.apache.org Subject: Re: openejb itests? In-Reply-To: <22702CB2-3388-4176-92C0-1BE52383145E@apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <9845B4EF-6F3E-4178-B3CC-62A6EDD054F8@apache.org> <32A2DE3A-D3C7-499C-8250-4C9961473F4C@apache.org> <22702CB2-3388-4176-92C0-1BE52383145E@apache.org> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I just built the geronimo-deployment-plugin from this patch ( http://issues.apache.org/jira/secure/attachment/12335875/geronimo-deployment-plugin-RTC-VOTE.2.patch ). It built successfully and installed in the local m2 repo. It's been a good 3-4 months since I last worked on itests but it is all coming back to me now. This seems to be a good time for me to start looking at itests again. Currently I could make use of this breather in the m2 migration work as issues like RTC, trunk or branch, invalid poms etc are sorted out. We still don't have a m2 distribution but we are slowly getting there. Cheers Prasad. On 7/6/06, Bill Dudney wrote: > > Hi Prasad, > > Thanks, - I guess I was hoping that it was something smaller :-) > > I had to; > 1) install the jetty version but changed version to 1.1 and updated > itests/pom.xml to reflect 1.1. instead of 1.1-SNAPSHOT > 2) install the tomcat version but changed version to 1.1 and updated > itests/pom.xml to reflect 1.1. instead of 1.1-SNAPSHOT > 3) enable the utils > 3) delete the explicit mention of version from the maven-site-plugin in > teardown-tests.pom.xml > 4) add junit as a dependency otherwise the mvn failed unless > -Dmaven.test.skip=true was specified > 5) run mvn > > Although the build succeeds, nothing appears to happen (see attached log) > > From what I can tell the geronimo-deployment-plugin is not being built > correctly, none of the src's are being compiled and placed into the jar > file. I poked around but the reason escapes me... > > TTFN, > > > Bill Dudney > MyFaces - http://myfaces.apache.org > Cayenne - http://incubator.apache.org/projects/cayenne.html > > > > [INFO] Scanning for projects... > [INFO] Reactor build order: > [INFO] Geronimo Integration Tests > [INFO] Geronimo :: itests :: system > [INFO] Geronimo :: itests :: webcontainer > [INFO] Geronimo :: itests :: teardown > [INFO] > ---------------------------------------------------------------------------- > [INFO] Building Geronimo Integration Tests > [INFO] task-segment: [install] > [INFO] > ---------------------------------------------------------------------------- > [INFO] [site:attach-descriptor] > [INFO] [dependency:unpack {execution: unpack}] > [INFO] Configured Artifact: > org.apache.geronimo.distributions:geronimo-jetty-j2ee:null:1.1:zip > [INFO] geronimo-jetty-j2ee-1.1.zip already unpacked. > Downloading: > http://cvs.apache.org/maven-snapshot-repository/org/apache/geronimo/distributions/geronimo-tomcat-j2ee/1.1/geronimo-tomcat-j2ee-1.1.pom > [WARNING] Unable to get resource from repository Maven snapshots > (http://cvs.apache.org/maven-snapshot-repository) > Downloading: > http://repo1.maven.org/maven2/org/apache/geronimo/distributions/geronimo-tomcat-j2ee/1.1/geronimo-tomcat-j2ee-1.1.pom > [WARNING] Unable to get resource from repository central > (http://repo1.maven.org/maven2) > Downloading: > http://cvs.apache.org/maven-snapshot-repository/org/apache/geronimo/distributions/geronimo-jetty-j2ee/1.1/geronimo-jetty-j2ee-1.1.pom > [WARNING] Unable to get resource from repository Maven snapshots > (http://cvs.apache.org/maven-snapshot-repository) > Downloading: > http://repo1.maven.org/maven2/org/apache/geronimo/distributions/geronimo-jetty-j2ee/1.1/geronimo-jetty-j2ee-1.1.pom > [WARNING] Unable to get resource from repository central > (http://repo1.maven.org/maven2) > [INFO] [antrun:run {execution: prepare}] > [INFO] Executing tasks > [delete] Deleting 1 files from > /private/tmp/foo/sandbox/itests/target/logs > [touch] Creating > /private/tmp/foo/sandbox/itests/target/logs/results.log > [INFO] Executed tasks > [INFO] [install:install] > [INFO] Installing /private/tmp/foo/sandbox/itests/pom.xml > to > /Users/bdudney/.m2/repository/org/apache/geronimo/itests/geronimo-itests-parent/1.0/geronimo-itests-parent-1.0.pom > [INFO] > ---------------------------------------------------------------------------- > [INFO] Building Geronimo :: itests :: system > [INFO] task-segment: [install] > [INFO] > ---------------------------------------------------------------------------- > [INFO] [resources:resources] > [INFO] Using default encoding to copy filtered resources. > [INFO] [compiler:compile] > [INFO] Nothing to compile - all classes are up to date > [INFO] [resources:testResources] > [INFO] Using default encoding to copy filtered resources. > [INFO] [compiler:testCompile] > [INFO] Nothing to compile - all classes are up to date > [INFO] [surefire:test] > [INFO] No tests to run. > [INFO] [jar:jar] > [WARNING] JAR will be empty - no content was marked for inclusion! > [INFO] Building jar: > /private/tmp/foo/sandbox/itests/system-tests/target/system-tests-1.0.jar > [INFO] [antrun:run {execution: prepare}] > [INFO] Executing tasks > [delete] Deleting 1 files from > /private/tmp/foo/sandbox/itests/system-tests/target/logs > [touch] Creating > /private/tmp/foo/sandbox/itests/system-tests/target/logs/results.log > [INFO] Executed tasks > [INFO] [install:install] > [INFO] Installing > /private/tmp/foo/sandbox/itests/system-tests/target/system-tests-1.0.jar > to > /Users/bdudney/.m2/repository/org/apache/geronimo/itests/system-tests/1.0/system-tests-1.0.jar > [INFO] > ---------------------------------------------------------------------------- > [INFO] Building Geronimo :: itests :: webcontainer > [INFO] task-segment: [install] > [INFO] > ---------------------------------------------------------------------------- > [INFO] [resources:resources] > [INFO] Using default encoding to copy filtered resources. > [INFO] [compiler:compile] > [INFO] Nothing to compile - all classes are up to date > [INFO] [resources:testResources] > [INFO] Using default encoding to copy filtered resources. > [INFO] [compiler:testCompile] > [INFO] Nothing to compile - all classes are up to date > [INFO] [surefire:test] > [INFO] Surefire report directory: > /private/tmp/foo/sandbox/itests/webcontainer-tests/target/surefire-reports > > ------------------------------------------------------- > T E S T S > ------------------------------------------------------- > There are no tests to run. > > Results : > Tests run: 0, Failures: 0, Errors: 0, Skipped: 0 > > [INFO] [jar:jar] > [WARNING] JAR will be empty - no content was marked for inclusion! > [INFO] Building jar: > /private/tmp/foo/sandbox/itests/webcontainer-tests/target/webcontainer-tests-1.0.jar > [INFO] [antrun:run {execution: prepare}] > [INFO] Executing tasks > [delete] Deleting 1 files from > /private/tmp/foo/sandbox/itests/webcontainer-tests/target/logs > [touch] Creating > /private/tmp/foo/sandbox/itests/webcontainer-tests/target/logs/results.log > [INFO] Executed tasks > [INFO] [install:install] > [INFO] Installing > /private/tmp/foo/sandbox/itests/webcontainer-tests/target/webcontainer-tests-1.0.jar > to > /Users/bdudney/.m2/repository/org/apache/geronimo/itests/webcontainer-tests/1.0/webcontainer-tests-1.0.jar > [INFO] > ---------------------------------------------------------------------------- > [INFO] Building Geronimo :: itests :: teardown > [INFO] task-segment: [install] > [INFO] > ---------------------------------------------------------------------------- > [INFO] [resources:resources] > [INFO] Using default encoding to copy filtered resources. > [INFO] [compiler:compile] > [INFO] Nothing to compile - all classes are up to date > [INFO] [resources:testResources] > [INFO] Using default encoding to copy filtered resources. > [INFO] [compiler:testCompile] > [INFO] Nothing to compile - all classes are up to date > [INFO] [surefire:test] > [INFO] No tests to run. > [INFO] [jar:jar] > [WARNING] JAR will be empty - no content was marked for inclusion! > [INFO] Building jar: > /private/tmp/foo/sandbox/itests/teardown-tests/target/teardown-tests-1.0.jar > [INFO] [antrun:run {execution: prepare}] > [INFO] Executing tasks > [delete] Deleting 1 files from > /private/tmp/foo/sandbox/itests/teardown-tests/target/logs > [touch] Creating > /private/tmp/foo/sandbox/itests/teardown-tests/target/logs/results.log > [INFO] Executed tasks > [INFO] [antrun:run {execution: prepare}] > [INFO] Executing tasks > [delete] Deleting 1 files from > /private/tmp/foo/sandbox/itests/teardown-tests/target/logs > [touch] Creating > /private/tmp/foo/sandbox/itests/teardown-tests/target/logs/results.log > [INFO] Executed tasks > [INFO] [install:install] > [INFO] Installing > /private/tmp/foo/sandbox/itests/teardown-tests/target/teardown-tests-1.0.jar > to > /Users/bdudney/.m2/repository/org/apache/geronimo/itests/teardown-tests/1.0/teardown-tests-1.0.jar > [INFO] > [INFO] > [INFO] > ------------------------------------------------------------------------ > [INFO] Reactor Summary: > [INFO] > ------------------------------------------------------------------------ > [INFO] Geronimo Integration Tests ............................ SUCCESS > [12.429s] > [INFO] Geronimo :: itests :: system .......................... SUCCESS > [1.315s] > [INFO] Geronimo :: itests :: webcontainer .................... SUCCESS > [0.419s] > [INFO] Geronimo :: itests :: teardown ........................ SUCCESS > [0.184s] > [INFO] > ------------------------------------------------------------------------ > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD SUCCESSFUL > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 14 seconds > [INFO] Finished at: Thu Jul 06 14:40:10 MDT 2006 > [INFO] Final Memory: 8M/14M > [INFO] > ------------------------------------------------------------------------ > > > > > On Jul 6, 2006, at 2:02 PM, Prasad Kashyap wrote: > > Yep. This is it. > > So what you could do is take a m1 binary and run the mvn > install:install-file command to install it into your m2 local repo. > > The exact syntax of that command is in the error message that you have > pasted. > > Cheers > Prasad > > > > On 7/6/06, Bill Dudney wrote: > Hi Prasad, > > Is this error that causes you to manually install an m1 built bit > into the m2 repo? > > If so could you point me to exactly what bits to copy? > > Thanks! > > -bd- > > [INFO] Configured Artifact: > org.apache.geronimo.distributions:geronimo-jetty-j2ee:null:1.1- > SNAPSHOT:zip > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] Failed to resolve artifact. > > GroupId: org.apache.geronimo.distributions > ArtifactId: geronimo-jetty-j2ee > Version: 1.1-SNAPSHOT > > Reason: Unable to download the artifact from any repository > > Try downloading the file manually from the project website. > > Then, install it using the command: > mvn install:install-file - > DgroupId=org.apache.geronimo.distributions > -DartifactId=geronimo- > jetty-j2ee \ > -Dversion=1.1-SNAPSHOT -Dpackaging=zip -Dfile=/path/to/file > > > > org.apache.geronimo.distributions:geronimo-jetty-j2ee:zip:1.1- > SNAPSHOT > > from the specified remote repositories: > central (http://repo1.maven.org/maven2), > Maven snapshots > (http://cvs.apache.org/maven-snapshot-repository) > > > [INFO] > ------------------------------------------------------------------------ > [INFO] For more information, run Maven with the -e switch > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 4 seconds > [INFO] Finished at: Thu Jul 06 12:32:17 MDT 2006 > [INFO] Final Memory: 5M/9M > [INFO] > ------------------------------------------------------------------------ > > > On Jul 6, 2006, at 8:35 AM, Prasad Kashyap wrote: > > > Hi Bill, > > > > Inline- > > > > On 7/6/06, Bill Dudney wrote: > >> Hi Prasad, > >> > >> > > >> > First we needed the geronimo-deployment-plugin to be in m2. So in > >> > http://issues.apache.org/jira/browse/GERONIMO-1738, I > got the > >> > deployment-plugin migarted to m2. The RTC for this is pending 2 > >> more > >> > votes. Now, if you and Jason can review and approve it, we can > >> get it > >> > in the build. > >> > > >> > >> I applied the patch but it appears that there is a problem with it, > >> AppTest.java has 3 copies of the code in it for example (as well as > >> pom.xml and many if not all the other files). > >> > >> Here is the url to what I downloaded and I'm looking at; > >> > http://issues.apache.org/jira/secure/attachment/12324416/geronimo- > >> deployment-plugin.patch > >> > >> which is the first patch from JIRA #1738 referenced above. > > > > You might want to pick up the latest patch from the "Manage > > Attachments" link. The patches on the JIRA page are sorted > > alphabetically. The patch that you downloaded was my initial > > submission. The other one with ( > > > http://issues.apache.org/jira/secure/attachment/12335875/geronimo- > > deployment-plugin-RTC-VOTE.2.patch > > ) is what you need. This was uploaded by David Jencks after reviewing > > mine and making some changes based on other reviews. > > > >> > I used to take an m1 binary distribution and manually put it > >> into an > >> > m2 local repo for this work. Now that we are working on m2, > >> hopefully > >> > we shall soon have the binary distributions for us to work with > >> > directly. > >> > > >> > >> An m1 distribution of G or something else? > >> > > > > Yes, of G. > > > > > > Cheers > > Prasad > > > >