Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 60457 invoked from network); 12 Jul 2006 23:55:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 12 Jul 2006 23:55:23 -0000 Received: (qmail 29746 invoked by uid 500); 12 Jul 2006 23:55:20 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 29717 invoked by uid 500); 12 Jul 2006 23:55:19 -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 29706 invoked by uid 99); 12 Jul 2006 23:55:19 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Jul 2006 16:55:19 -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 jason.dillon@gmail.com designates 64.233.162.193 as permitted sender) Received: from [64.233.162.193] (HELO nz-out-0102.google.com) (64.233.162.193) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Jul 2006 16:55:17 -0700 Received: by nz-out-0102.google.com with SMTP id s18so19990nze for ; Wed, 12 Jul 2006 16:54:57 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:mime-version:in-reply-to:references:content-type:message-id:content-transfer-encoding:subject:date:to:x-mailer:from:sender; b=jYN4+XWtZdy9UhGF0M8UKmdf/Avv08Js+gMtA0qwX86ZIY16WJZHhXMFuUAPDY8BQyjchDEHUwsBl7z+OPWS6rFljNcmy7FoYwzYGDjBn2VfyOFKXIH0c5JYhTRvnwJrxKv0zdAohAmXCYTb+DzDaXpWL3B6sHw7IS1G+C1SLLc= Received: by 10.65.219.20 with SMTP id w20mr7675qbq; Wed, 12 Jul 2006 16:54:57 -0700 (PDT) Received: from ?10.0.1.5? ( [67.180.143.96]) by mx.gmail.com with ESMTP id c5sm783404qbc.2006.07.12.16.54.55; Wed, 12 Jul 2006 16:54:56 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v752.2) In-Reply-To: <44B5734A.2080107@earthlink.net> References: <1EEF7198-A782-49C1-A0AA-B55BAADC6E44@planet57.com> <66FEF813-B864-48F6-8099-25DD37D2A0AF@planet57.com> <44B5734A.2080107@earthlink.net> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <3AD97C36-7855-441A-89C7-47510B17A91D@planet57.com> Content-Transfer-Encoding: 7bit Subject: Re: [M2 build] : Error building application uddi-db on XP Date: Wed, 12 Jul 2006 16:54:41 -0700 To: dev@geronimo.apache.org X-Mailer: Apple Mail (2.752.2) From: Jason Dillon Sender: Jason Dillon X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Beer usually works for me :-) --jason On Jul 12, 2006, at 3:10 PM, Joe Bohn wrote: > What kind of bribe will it take ;-) > > I know there are other folks interested in little-G besides > myself ... so hopefully you will be able include the minimal > assemblies too in the not too distant future. I can't think of any > reason why the minimal assemblies would require any special > treatment beyond that necessary for big-G. Did you encounter some > problems there? > > Joe > > > Prasad Kashyap wrote: >> Here is the assemblies patch to build jetty and tomcat full >> assemblies. Joe will have to bribe me to build the minimal assemblies >> ;-) >> We should merge the properties in configs/pom.xml and >> m2-assemblies/pom.xml. They are common >> Cheers >> Prasad >> On 7/12/06, Prasad Kashyap wrote: >>> Ah. So it's in genesis. >>> >>> Can't we just leave the version info alone. It will always work >>> off of >>> the latest available version in all listed repos, local included. >>> >>> Cheers >>> Prasad >>> >>> On 7/12/06, Jason Dillon wrote: >>> > maven-assembly-plugin v2.1 is the default that is specified in >>> > genesis/config/project-config/pom.xml >>> > >>> > If you want to use something else, then you need to explicitly >>> define >>> > the plugin's version in the pom you use it from. >>> > >>> > --jason >>> > >>> > >>> > On Jul 11, 2006, at 9:56 PM, Prasad Kashyap wrote: >>> > >>> > > Earlier, my jetty assembly build always used the 2.2-SNAPSHOT >>> of the >>> > > maven-assembly-plugin that I had freshly built. Now in the >>> m2migration >>> > > branch, it always downloads and uses the 2.1 v of the >>> > > maven-assembly-plugin. It's 1 am EST and I am too tired to go >>> looking >>> > > for what's changed in the pluginRepositories to cause this. >>> If u know >>> > > offhand, please send me a mail. I'll have the jetty assembly >>> patch >>> > > ready the first thing in the morning. >>> > > >>> > > It's not letting me build in the offline mode either. >>> > > ------ >>> > > GroupId: org.apache.maven.plugins >>> > > ArtifactId: maven-assembly-plugin >>> > > Version: 2.1 >>> > > >>> > > Reason: System is offline. >>> > > >>> > > org.apache.maven.plugins:maven-assembly-plugin:pom:2.1 >>> > > >>> > > NOTE: Maven is executing in offline mode. Any artifacts not >>> already in >>> > > your loca repository will be inaccessible. >>> > > ------- >>> > > >>> > > Cheers >>> > > Prasad >>> > > >>> > > On 7/12/06, Jason Dillon wrote: >>> > >> done. >>> > >> >>> > >> --jason >>> > >> >>> > >> >>> > >> On Jul 11, 2006, at 8:57 PM, Prasad Kashyap wrote: >>> > >> >>> > >> > I began using the m2migration branch. The configs build >>> stalled >>> > >> while >>> > >> > building the jsp-examples-* configs on Windoze due to the now >>> > >> familiar >>> > >> > long path problem. >>> > >> > >>> > >> > C:\Apache\geronimo\sandbox\m2migration\configs\jsp- >>> examples-jetty >>> > >> > \target\repository\org\apache\geronimo\configs\jsp- >>> examples-jetty >>> > >> > \1.2-SNAPSHOT\jsp-examples-jetty-1.2-SNAPSHOT.car\WEB-INF >>> \classes >>> > >> > \org\apache\jsp\jsp2\tagfiles >>> > >> > unable to be deleted. >>> > >> > >>> > >> > There are 2 example artifacts, jsp-examples and servlets- >>> > >> examples that >>> > >> > come from a separate geronimo-samples groupId. They should be >>> > >> built by >>> > >> > jar'ring their classes into web-inf/lib too. The maven-war- >>> > >> plugin in >>> > >> > their build should use the true>> archiveClasses> >>> > >> > config option. >>> > >> > >>> > >> > Meanwhile, we should comment out the build of the configs >>> for those >>> > >> > examples. They are not in our assemblies anyways. >>> > >> > >>> > >> > So here's the patch. Please apply it to the m2migration >>> branch >>> > >> > >>> > >> > Cheers >>> > >> > Prasad >>> > >> > >>> > >> > >>> > >> > On 7/11/06, Jason Dillon wrote: >>> > >> >> Thanks, it will make it easier for us all to keep in sync >>> and to >>> > >> >> rapidly accept patches if we use this code-line. >>> > >> >> >>> > >> >> And then... RTC with a functional build and be done with it. >>> > >> >> >>> > >> >> --jason >>> > >> >> >>> > >> >> >>> > >> >> On Jul 11, 2006, at 2:01 PM, Prasad Kashyap wrote: >>> > >> >> >>> > >> >> > Ah.. makes sense. Will work with the m2migration branch >>> then >>> > >> >> > >>> > >> >> > >>> > >> >> > Cheers >>> > >> >> > Prasad >>> > >> >> > >>> > >> >> > On 7/11/06, Jason Dillon wrote: >>> > >> >> >> I can do it... was going to, but only when the current >>> > >> m2migration >>> > >> >> >> code is merged over. I don't really want to merge bit by >>> > >> >> bit... way >>> > >> >> >> to much work. >>> > >> >> >> >>> > >> >> >> --jason >>> > >> >> >> >>> > >> >> >> >>> > >> >> >> On Jul 11, 2006, at 1:40 PM, Prasad Kashyap wrote: >>> > >> >> >> >>> > >> >> >> > Shucks.. I gotta get used to this m2migration branch. >>> > >> >> >> > >>> > >> >> >> > Thanx Jason. BTW, since this is a bug fix, this can >>> go into >>> > >> >> >> trunk too, >>> > >> >> >> > rt ? No RTC needed. >>> > >> >> >> > >>> > >> >> >> > Are you going to put it there ? Or will it be Jacek who >>> > >> has to >>> > >> >> >> do the >>> > >> >> >> > code synch now ? :-) >>> > >> >> >> > >>> > >> >> >> > Cheers >>> > >> >> >> > Prasad. >>> > >> >> >> > >>> > >> >> >> > On 7/11/06, Jason Dillon wrote: >>> > >> >> >> >> From your local workspace path, it looks like you are >>> > >> building >>> > >> >> >> from >>> > >> >> >> >> trunk, which I have not touched. >>> > >> >> >> >> >>> > >> >> >> >> Also this line is telling: >>> > >> >> >> >> >>> > >> >> >> >> [INFO] [antrun:run {execution: default}] >>> > >> >> >> >> >>> > >> >> >> >> I changed the id of the antrun execution to setup- >>> db, so it >>> > >> >> >> appears >>> > >> >> >> >> you are not using the code-line that I fixed ;-) >>> > >> >> >> >> >>> > >> >> >> >> Please use this SVN URL: >>> > >> >> >> >> >>> > >> >> >> >> https://svn.apache.org/repos/asf/geronimo/ >>> sandbox/ >>> > >> >> svkmerge/ >>> > >> >> >> >> m2migration/ >>> > >> >> >> >> >>> > >> >> >> >> --jason >>> > >> >> >> >> >>> > >> >> >> >> >>> > >> >> >> >> >>> > >> >> >> >> On Jul 11, 2006, at 12:31 PM, Prasad Kashyap wrote: >>> > >> >> >> >> >>> > >> >> >> >> > There u go.. >>> > >> >> >> >> > >>> > >> >> >> >> > Cheers >>> > >> >> >> >> > Prasad >>> > >> >> >> >> > >>> > >> >> >> >> > On 7/11/06, Jason Dillon wrote: >>> > >> >> >> >> >> Can you send the output of the build plz. >>> > >> >> >> >> >> >>> > >> >> >> >> >> --jason >>> > >> >> >> >> >> >>> > >> >> >> >> >> >>> > >> >> >> >> >> On Jul 11, 2006, at 7:15 AM, Prasad Kashyap wrote: >>> > >> >> >> >> >> >>> > >> >> >> >> >> > Nope. No such luck. I deleted the entire >>> applications >>> > >> >> dir. I >>> > >> >> >> >> also >>> > >> >> >> >> >> > deleted the o.a.g.applications group from the >>> local >>> > >> repo. >>> > >> >> >> I then >>> > >> >> >> >> >> did >>> > >> >> >> >> >> > an 'svn update' from top level geronimo dir. I >>> > >> rebuilt the >>> > >> >> >> >> >> bootstrap >>> > >> >> >> >> >> > stage and then the assembly stage. Same problem. >>> > >> >> >> >> >> > >>> > >> >> >> >> >> > Cheers >>> > >> >> >> >> >> > Prasad >>> > >> >> >> >> >> > >>> > >> >> >> >> >> > On 7/10/06, Jason Dillon >>> wrote: >>> > >> >> >> >> >> >> The uddi-db module should be buildable now since >>> > >> #420661 >>> > >> >> >> >> >> >> >>> > >> >> >> >> >> >> Give it a whirl and let me know if you run into >>> > >> anything >>> > >> >> >> else. >>> > >> >> >> >> >> >> >>> > >> >> >> >> >> >> --jason >>> > >> >> >> >> >> >> >>> > >> >> >> >> >> >> >>> > >> >> >> >> >> >> On Jul 10, 2006, at 4:28 PM, Jason Dillon wrote: >>> > >> >> >> >> >> >> >>> > >> >> >> >> >> >> > It appears that the uddi-db module should >>> *NOT* have >>> > >> >> any >>> > >> >> >> >> webapp >>> > >> >> >> >> >> >> > stuff, but only the derby database files. >>> > >> >> >> >> >> >> > >>> > >> >> >> >> >> >> > So, unless someone can shed some light onto >>> why >>> > >> the db >>> > >> >> >> module >>> > >> >> >> >> >> has >>> > >> >> >> >> >> >> > webapp files in it, I'm going to remove them. >>> > >> >> >> >> >> >> > >>> > >> >> >> >> >> >> > --jason >>> > >> >> >> >> >> >> > >>> > >> >> >> >> >> >> > >>> > >> >> >> >> >> >> > On Jul 10, 2006, at 4:15 PM, Jason Dillon >>> wrote: >>> > >> >> >> >> >> >> > >>> > >> >> >> >> >> >> >> Why are the uddi-* webapp files duplicated >>> in the - >>> > >> >> server >>> > >> >> >> >> >> and -db >>> > >> >> >> >> >> >> >> modules? >>> > >> >> >> >> >> >> >> >>> > >> >> >> >> >> >> >> >>> > >> >> >> >> >> >> >> uddi-db/src >>> > >> >> >> >> >> >> >> uddi-db/src/sql >>> > >> >> >> >> >> >> >> uddi-db/src/sql/juddi.sql >>> > >> >> >> >> >> >> >> uddi-db/src/webapp >>> > >> >> >> >> >> >> >> uddi-db/src/webapp/happyjuddi.jsp >>> > >> >> >> >> >> >> >> uddi-db/src/webapp/WEB-INF >>> > >> >> >> >> >> >> >> uddi-db/src/webapp/WEB-INF/juddi.properties >>> > >> >> >> >> >> >> >> uddi-db/src/webapp/WEB-INF/web.xml >>> > >> >> >> >> >> >> >> uddi-server/src >>> > >> >> >> >> >> >> >> uddi-server/src/webapp >>> > >> >> >> >> >> >> >> uddi-server/src/webapp/happyjuddi.jsp >>> > >> >> >> >> >> >> >> uddi-server/src/webapp/WEB-INF >>> > >> >> >> >> >> >> >> uddi-server/src/webapp/WEB-INF/ >>> juddi.properties >>> > >> >> >> >> >> >> >> uddi-server/src/webapp/WEB-INF/web.xml >>> > >> >> >> >> >> >> >> >>> > >> >> >> >> >> >> >> >>> > >> >> >> >> >> >> >> --jason >>> > >> >> >> >> >> >> >> >>> > >> >> >> >> >> >> >> >>> > >> >> >> >> >> >> >> On Jul 10, 2006, at 5:12 AM, Prasad >>> Kashyap wrote: >>> > >> >> >> >> >> >> >> >>> > >> >> >> >> >> >> >>> Seeing this error on Windows XP only. >>> Unable to >>> > >> >> recreate >>> > >> >> >> >> it on >>> > >> >> >> >> >> >> >>> Linux. >>> > >> >> >> >> >> >> >>> >>> > >> >> >> >> >> >> >>> I am trying to build the trunk using m2. >>> I began >>> > >> >> with a >>> > >> >> >> >> clean >>> > >> >> >> >> >> >> >>> repo and >>> > >> >> >> >> >> >> >>> did a fresh checkout. >>> > >> >> >> >> >> >> >>> >>> > >> >> >> >> >> >> >>> I executed build.bat and it ran the >>> bootstrap >>> > >> stage. >>> > >> >> >> Then I >>> > >> >> >> >> >> >> executed >>> > >> >> >> >> >> >> >>> >>> > >> >> >> >> >> >> >>> build.bat -Dstage=assembly - >>> Dmaven.test.skip=true. >>> > >> >> >> >> >> >> >>> >>> > >> >> >> >> >> >> >>> It failed while trying to build >>> applications/ >>> > >> uddi-db >>> > >> >> >> >> with the >>> > >> >> >> >> >> >> >>> following error >>> > >> >> >> >> >> >> >>> >>> > >> >> >> >> >> >> >>> --------------- >>> > >> >> >> >> >> >> >>> [INFO] [antrun:run {execution: default}] >>> > >> >> >> >> >> >> >>> [INFO] Executing tasks >>> > >> >> >> >> >> >> >>> [delete] Deleting directory >>> > >> >> >> >> >> >> >>> C:\Apache\geronimo\trunk\applications >>> \uddi-db >>> > >> \target >>> > >> >> >> >> \resources >>> > >> >> >> >> >> >> >>> \META-INF\geronimo-uddi-db\var\derby >>> > >> >> >> >> >> >> >>> [mkdir] Created dir: >>> > >> >> >> >> >> >> >>> C:\Apache\geronimo\trunk\applications >>> \uddi-db >>> > >> \target >>> > >> >> >> >> \resources >>> > >> >> >> >> >> >> >>> \META-INF\geronimo-uddi-db\var\derby >>> > >> >> >> >> >> >> >>> [sql] Executing file: >>> > >> >> >> >> >> >> >>> C:\Apache\geronimo\trunk\applications >>> \uddi-db >>> > >> \src\sql >>> > >> >> >> >> >> \juddi.sql >>> > >> >> >> >> >> >> >>> [sql] 87 of 87 SQL statements executed >>> > >> >> successfully >>> > >> >> >> >> >> >> >>> [INFO] Executed tasks >>> > >> >> >> >> >> >> >>> [INFO] [resources:resources] >>> > >> >> >> >> >> >> >>> [INFO] Using default encoding to copy >>> filtered >>> > >> >> >> resources. >>> > >> >> >> >> >> >> >>> [INFO] [compiler:compile] >>> > >> >> >> >> >> >> >>> [INFO] No sources to compile >>> > >> >> >> >> >> >> >>> [INFO] [jspc:compile {execution: jspc}] >>> > >> >> >> >> >> >> >>> [INFO] Built File: \happyjuddi.jsp >>> > >> >> >> >> >> >> >>> [INFO] [antrun:run {execution: default}] >>> > >> >> >> >> >> >> >>> [INFO] Executing tasks >>> > >> >> >> >> >> >> >>> [delete] Deleting directory >>> > >> >> >> >> >> >> >>> C:\Apache\geronimo\trunk\applications >>> \uddi-db >>> > >> \taget >>> > >> >> >> >> \resources >>> > >> >> >> >> >> >> >>> \META-INF\geronimo-uddi-db\var\derby >>> > >> >> >> >> >> >> >>> [INFO] >>> > >> >> >> >> >> >> >>> >>> > >> >> >> >> >> >> >>> > >> >> >> >> >> >>> > >> >> >> >> >>> > >> >> >> >>> > >> >> >>> > >> >>> -------------------------------------------------------------------- >>> > >> >> >> >> >> >> >>> ---- >>> > >> >> >> >> >> >> >>> [ERROR] BUILD ERROR >>> > >> >> >> >> >> >> >>> [INFO] >>> > >> >> >> >> >> >> >>> >>> > >> >> >> >> >> >> >>> > >> >> >> >> >> >>> > >> >> >> >> >>> > >> >> >> >>> > >> >> >>> > >> >>> -------------------------------------------------------------------- >>> > >> >> >> >> >> >> >>> ---- >>> > >> >> >> >> >> >> >>> [INFO] Error executing ant tasks >>> > >> >> >> >> >> >> >>> >>> > >> >> >> >> >> >> >>> Embedded error: Unable to delete file >>> > >> >> >> >> >> >> >>> C:\Apache\geronimo\trunk\applications >>> \uddi-db >>> > >> \target >>> > >> >> >> >> \resources >>> > >> >> >> >> >> >> >>> \META-INF\geronimo-uddi-db\var\derby >>> \UddiDatabase >>> > >> >> \db.lck >>> > >> >> >> >> >> >> >>> [INFO] >>> > >> >> >> >> >> >> >>> >>> > >> >> >> >> >> >> >>> > >> >> >> >> >> >>> > >> >> >> >> >>> > >> >> >> >>> > >> >> >>> > >> >>> -------------------------------------------------------------------- >>> > >> >> >> >> >> >> >>> ---- >>> > >> >> >> >> >> >> >>> [INFO] For more information, run Maven >>> with the -e >>> > >> >> >> switch >>> > >> >> >> >> >> >> >>> [INFO] >>> > >> >> >> >> >> >> >>> >>> > >> >> >> >> >> >> >>> > >> >> >> >> >> >>> > >> >> >> >> >>> > >> >> >> >>> > >> >> >>> > >> >>> -------------------------------------------------------------------- >>> > >> >> >> >> >> >> >>> ---- >>> > >> >> >> >> >> >> >>> [INFO] Total time: 1 minute 36 seconds >>> > >> >> >> >> >> >> >>> [INFO] Finished at: Mon Jul 10 07:47:20 >>> EDT 2006 >>> > >> >> >> >> >> >> >>> [INFO] Final Memory: 28M/51M >>> > >> >> >> >> >> >> >>> >>> > >> >> >> >> >> >> >>> --------------------------------- >>> > >> >> >> >> >> >> >>> >>> > >> >> >> >> >> >> >>> It is trying to execute the antrun plugin >>> in the >>> > >> >> >> >> >> >> >>> applications/uddi-db/pom.xml a second >>> time when >>> > >> the >>> > >> >> >> error >>> > >> >> >> >> >> occurs. >>> > >> >> >> >> >> >> >>> >>> > >> >> >> >> >> >> >>> Cheers >>> > >> >> >> >> >> >> >>> Prasad >>> > >> >> >> >> >> >> >> >>> > >> >> >> >> >> >> > >>> > >> >> >> >> >> >> >>> > >> >> >> >> >> >> >>> > >> >> >> >> >> >>> > >> >> >> >> >> >>> > >> >> >> >> >> >>> > >> >> >> >> >>> > >> >> >> >> >>> > >> >> >> >>> > >> >> >> >>> > >> >> >>> > >> >> >>> > >> >> >>> > >> >>> > >> >>> > >>> > >>> > > -- > Joe Bohn > joe.bohn at earthlink.net > > "He is no fool who gives what he cannot keep, to gain what he > cannot lose." -- Jim Elliot