You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by Prasad Kashyap <go...@gmail.com> on 2006/07/10 14:12:19 UTC

[M2 build] : Error building application uddi-db on XP

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

Re: [M2 build] : Error building application uddi-db on XP

Posted by Jason Dillon <ja...@planet57.com>.
As far as I can tell, someone just copied uddi-server to uddi-db and  
then never removed the webapp bits.

Looks like its been like for about a year too.

--jason


On Jul 10, 2006, at 4:36 PM, Jacek Laskowski wrote:

> On 7/11/06, Jason Dillon <ja...@planet57.com> wrote:
>
>> So, unless someone can shed some light onto why the db module has
>> webapp files in it, I'm going to remove them.
>
> I don't know, but there must be a svn command that would help us to
> find it out, shouldn't there? Wouldn't svn log tell us about their
> origins?
>
> Jacek
>
> -- 
> Jacek Laskowski
> http://www.laskowski.net.pl


Re: [M2 build] : Error building application uddi-db on XP

Posted by Jacek Laskowski <ja...@laskowski.net.pl>.
On 7/11/06, Jason Dillon <ja...@planet57.com> wrote:

> So, unless someone can shed some light onto why the db module has
> webapp files in it, I'm going to remove them.

I don't know, but there must be a svn command that would help us to
find it out, shouldn't there? Wouldn't svn log tell us about their
origins?

Jacek

-- 
Jacek Laskowski
http://www.laskowski.net.pl

Re: [M2 build] : Error building application uddi-db on XP

Posted by Prasad Kashyap <go...@gmail.com>.
Oh.. I have seen it with the geronimo PluginInstaller too. In fact,
you'd see it if you used the deployer in the bin directory too. So it
is coming from some place deeper inside.

Cheers
Prasad

On 7/12/06, Jason Dillon <ja...@planet57.com> wrote:
> Where is the code that spits out ##########... ?
>
> I did not see that in the plugin... maybe I missed it... or maybe its
> hiding from me.
>
> --jason
>
>
> On Jul 12, 2006, at 7:56 PM, Prasad Kashyap wrote:
>
> > Comes from the installation of the "car" with the geronimo-assembly-
> > plugin
> >
> > Cheers
> > Prasad
> >
> > On 7/12/06, Jason Dillon <ja...@planet57.com> wrote:
> >> Where does this output come from:
> >>
> >> <snip>
> >> ############################################################
> >> # Installed configuration
> >> #   id = org.apache.geronimo.configs/online-deployer/1.2-SNAPSHOT/car
> >> #   location = /Users/jason/ws/apache/geronimo/svkmerge/m2migration/
> >> m2-assemblies/j2ee-tomcat-server/target/archive-tmp/repository/org/
> >> apache/geronimo/configs/online-deployer/1.2-SNAPSHOT/online-
> >> deployer-1.2-SNAPSHOT.car
> >> </snip>
> >>
> >> ?
> >>
> >> --jason
> >>
> >>
> >> On Jul 12, 2006, at 1:01 PM, Prasad Kashyap wrote:
> >>
> >> > Used by var/config/config.xml of the assemblies.
> >> >
> >> > Cheers
> >> > Prasad.
> >> >
> >> > On 7/12/06, Jason Dillon <ja...@planet57.com> wrote:
> >> >> > We should merge the properties in configs/pom.xml and
> >> >> > m2-assemblies/pom.xml. They are common
> >> >>
> >> >> Where are they used?
> >> >>
> >> >> --jason
> >> >>
> >> >>
> >> >>
> >>
> >>
>
>

Re: [M2 build] : Error building application uddi-db on XP

Posted by Donald Woods <dr...@yahoo.com>.
modules\system\src\java\org\apache\geronimo\system\repository\AbstractRepository.java



Jason Dillon wrote:
> Where is the code that spits out ##########... ?
> 
> I did not see that in the plugin... maybe I missed it... or maybe its  
> hiding from me.
> 
> --jason
> 
> 
> On Jul 12, 2006, at 7:56 PM, Prasad Kashyap wrote:
> 
>> Comes from the installation of the "car" with the geronimo-assembly- 
>> plugin
>>
>> Cheers
>> Prasad
>>
>> On 7/12/06, Jason Dillon <ja...@planet57.com> wrote:
>>
>>> Where does this output come from:
>>>
>>> <snip>
>>> ############################################################
>>> # Installed configuration
>>> #   id = org.apache.geronimo.configs/online-deployer/1.2-SNAPSHOT/car
>>> #   location = /Users/jason/ws/apache/geronimo/svkmerge/m2migration/
>>> m2-assemblies/j2ee-tomcat-server/target/archive-tmp/repository/org/
>>> apache/geronimo/configs/online-deployer/1.2-SNAPSHOT/online-
>>> deployer-1.2-SNAPSHOT.car
>>> </snip>
>>>
>>> ?
>>>
>>> --jason
>>>
>>>
>>> On Jul 12, 2006, at 1:01 PM, Prasad Kashyap wrote:
>>>
>>> > Used by var/config/config.xml of the assemblies.
>>> >
>>> > Cheers
>>> > Prasad.
>>> >
>>> > On 7/12/06, Jason Dillon <ja...@planet57.com> wrote:
>>> >> > We should merge the properties in configs/pom.xml and
>>> >> > m2-assemblies/pom.xml. They are common
>>> >>
>>> >> Where are they used?
>>> >>
>>> >> --jason
>>> >>
>>> >>
>>> >>
>>>
>>>
> 
> 
> 

Re: [M2 build] : Error building application uddi-db on XP

Posted by Jason Dillon <ja...@planet57.com>.
Where is the code that spits out ##########... ?

I did not see that in the plugin... maybe I missed it... or maybe its  
hiding from me.

--jason


On Jul 12, 2006, at 7:56 PM, Prasad Kashyap wrote:

> Comes from the installation of the "car" with the geronimo-assembly- 
> plugin
>
> Cheers
> Prasad
>
> On 7/12/06, Jason Dillon <ja...@planet57.com> wrote:
>> Where does this output come from:
>>
>> <snip>
>> ############################################################
>> # Installed configuration
>> #   id = org.apache.geronimo.configs/online-deployer/1.2-SNAPSHOT/car
>> #   location = /Users/jason/ws/apache/geronimo/svkmerge/m2migration/
>> m2-assemblies/j2ee-tomcat-server/target/archive-tmp/repository/org/
>> apache/geronimo/configs/online-deployer/1.2-SNAPSHOT/online-
>> deployer-1.2-SNAPSHOT.car
>> </snip>
>>
>> ?
>>
>> --jason
>>
>>
>> On Jul 12, 2006, at 1:01 PM, Prasad Kashyap wrote:
>>
>> > Used by var/config/config.xml of the assemblies.
>> >
>> > Cheers
>> > Prasad.
>> >
>> > On 7/12/06, Jason Dillon <ja...@planet57.com> wrote:
>> >> > We should merge the properties in configs/pom.xml and
>> >> > m2-assemblies/pom.xml. They are common
>> >>
>> >> Where are they used?
>> >>
>> >> --jason
>> >>
>> >>
>> >>
>>
>>


Re: [M2 build] : Error building application uddi-db on XP

Posted by Prasad Kashyap <go...@gmail.com>.
Comes from the installation of the "car" with the geronimo-assembly-plugin

Cheers
Prasad

On 7/12/06, Jason Dillon <ja...@planet57.com> wrote:
> Where does this output come from:
>
> <snip>
> ############################################################
> # Installed configuration
> #   id = org.apache.geronimo.configs/online-deployer/1.2-SNAPSHOT/car
> #   location = /Users/jason/ws/apache/geronimo/svkmerge/m2migration/
> m2-assemblies/j2ee-tomcat-server/target/archive-tmp/repository/org/
> apache/geronimo/configs/online-deployer/1.2-SNAPSHOT/online-
> deployer-1.2-SNAPSHOT.car
> </snip>
>
> ?
>
> --jason
>
>
> On Jul 12, 2006, at 1:01 PM, Prasad Kashyap wrote:
>
> > Used by var/config/config.xml of the assemblies.
> >
> > Cheers
> > Prasad.
> >
> > On 7/12/06, Jason Dillon <ja...@planet57.com> wrote:
> >> > We should merge the properties in configs/pom.xml and
> >> > m2-assemblies/pom.xml. They are common
> >>
> >> Where are they used?
> >>
> >> --jason
> >>
> >>
> >>
>
>

Re: [M2 build] : Error building application uddi-db on XP

Posted by Jason Dillon <ja...@planet57.com>.
Who applies them?

--jason


On Jul 12, 2006, at 1:01 PM, Prasad Kashyap wrote:

> Used by var/config/config.xml of the assemblies.
>
> Cheers
> Prasad.
>
> On 7/12/06, Jason Dillon <ja...@planet57.com> wrote:
>> > We should merge the properties in configs/pom.xml and
>> > m2-assemblies/pom.xml. They are common
>>
>> Where are they used?
>>
>> --jason
>>
>>
>>


Re: [M2 build] : Error building application uddi-db on XP

Posted by Jason Dillon <ja...@planet57.com>.
Where does this output come from:

<snip>
############################################################
# Installed configuration
#   id = org.apache.geronimo.configs/online-deployer/1.2-SNAPSHOT/car
#   location = /Users/jason/ws/apache/geronimo/svkmerge/m2migration/ 
m2-assemblies/j2ee-tomcat-server/target/archive-tmp/repository/org/ 
apache/geronimo/configs/online-deployer/1.2-SNAPSHOT/online- 
deployer-1.2-SNAPSHOT.car
</snip>

?

--jason


On Jul 12, 2006, at 1:01 PM, Prasad Kashyap wrote:

> Used by var/config/config.xml of the assemblies.
>
> Cheers
> Prasad.
>
> On 7/12/06, Jason Dillon <ja...@planet57.com> wrote:
>> > We should merge the properties in configs/pom.xml and
>> > m2-assemblies/pom.xml. They are common
>>
>> Where are they used?
>>
>> --jason
>>
>>
>>


Re: [M2 build] : Error building application uddi-db on XP

Posted by Jason Dillon <ja...@planet57.com>.
nm... found it... filtered from bin.xml

--jason


On Jul 12, 2006, at 1:01 PM, Prasad Kashyap wrote:

> Used by var/config/config.xml of the assemblies.
>
> Cheers
> Prasad.
>
> On 7/12/06, Jason Dillon <ja...@planet57.com> wrote:
>> > We should merge the properties in configs/pom.xml and
>> > m2-assemblies/pom.xml. They are common
>>
>> Where are they used?
>>
>> --jason
>>
>>
>>


Re: [M2 build] : Error building application uddi-db on XP

Posted by Prasad Kashyap <go...@gmail.com>.
Used by var/config/config.xml of the assemblies.

Cheers
Prasad.

On 7/12/06, Jason Dillon <ja...@planet57.com> wrote:
> > We should merge the properties in configs/pom.xml and
> > m2-assemblies/pom.xml. They are common
>
> Where are they used?
>
> --jason
>
>
>

Re: [M2 build] : Error building application uddi-db on XP

Posted by Jason Dillon <ja...@planet57.com>.
> We should merge the properties in configs/pom.xml and
> m2-assemblies/pom.xml. They are common

Where are they used?

--jason



Re: [M2 build] : Error building application uddi-db on XP

Posted by Jason Dillon <ja...@planet57.com>.
This has been applied to svkmerge/m2migration.

Pending adding bootstrap bits to apply the m2 assembly plugin patch.

But, until then you can:

./bootstrap
cd m2-assemblies
mvn

--jason


On Jul 12, 2006, at 9:13 AM, 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 <go...@gmail.com> 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 <ja...@planet57.com> 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 <ja...@planet57.com> 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 <archiveClasses>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 <ja...@planet57.com> 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 <ja...@planet57.com> 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 <ja...@planet57.com> 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 <ja...@planet57.com> 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 <ja...@planet57.com>  
>> 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?
>> > >> >> >> >> >> >> >>
>> > >> >> >> >> >> >> >> <snip>
>> > >> >> >> >> >> >> >> 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
>> > >> >> >> >> >> >> >> </snip>
>> > >> >> >> >> >> >> >>
>> > >> >> >> >> >> >> >> --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
>> > >> >> >> >> >> >> >>
>> > >> >> >> >> >> >> >
>> > >> >> >> >> >> >>
>> > >> >> >> >> >> >>
>> > >> >> >> >> >>
>> > >> >> >> >> >>
>> > >> >> >> >> >> <mvn.log>
>> > >> >> >> >>
>> > >> >> >> >>
>> > >> >> >>
>> > >> >> >>
>> > >> >>
>> > >> >>
>> > >> >> <comment-examples-configs.patch>
>> > >>
>> > >>
>> >
>> >
>>
>> <assemblies.patch>


Re: [M2 build] : Error building application uddi-db on XP

Posted by Prasad Kashyap <go...@gmail.com>.
 Haven't looked into it yet. So don't know of any problems if any. But
if it is as straight forward as you say it is, then beer would do ;-)

Cheers
Prasad

On 7/12/06, Joe Bohn <jo...@earthlink.net> 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 <go...@gmail.com> 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 <ja...@planet57.com> 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 <ja...@planet57.com> 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 <archiveClasses>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 <ja...@planet57.com> 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 <ja...@planet57.com> 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 <ja...@planet57.com> 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 <ja...@planet57.com> 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 <ja...@planet57.com> 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?
> >> > >> >> >> >> >> >> >>
> >> > >> >> >> >> >> >> >> <snip>
> >> > >> >> >> >> >> >> >> 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
> >> > >> >> >> >> >> >> >> </snip>
> >> > >> >> >> >> >> >> >>
> >> > >> >> >> >> >> >> >> --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
> >> > >> >> >> >> >> >> >>
> >> > >> >> >> >> >> >> >
> >> > >> >> >> >> >> >>
> >> > >> >> >> >> >> >>
> >> > >> >> >> >> >>
> >> > >> >> >> >> >>
> >> > >> >> >> >> >> <mvn.log>
> >> > >> >> >> >>
> >> > >> >> >> >>
> >> > >> >> >>
> >> > >> >> >>
> >> > >> >>
> >> > >> >>
> >> > >> >> <comment-examples-configs.patch>
> >> > >>
> >> > >>
> >> >
> >> >
> >>
>
> --
> 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
>

Re: [M2 build] : Error building application uddi-db on XP

Posted by Jason Dillon <ja...@planet57.com>.
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 <go...@gmail.com> 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 <ja...@planet57.com> 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 <ja...@planet57.com> 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 <archiveClasses>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 <ja...@planet57.com> 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 <ja...@planet57.com> 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 <ja...@planet57.com> 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 <ja...@planet57.com> 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 <ja...@planet57.com>  
>>> 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?
>>> > >> >> >> >> >> >> >>
>>> > >> >> >> >> >> >> >> <snip>
>>> > >> >> >> >> >> >> >> 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
>>> > >> >> >> >> >> >> >> </snip>
>>> > >> >> >> >> >> >> >>
>>> > >> >> >> >> >> >> >> --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
>>> > >> >> >> >> >> >> >>
>>> > >> >> >> >> >> >> >
>>> > >> >> >> >> >> >>
>>> > >> >> >> >> >> >>
>>> > >> >> >> >> >>
>>> > >> >> >> >> >>
>>> > >> >> >> >> >> <mvn.log>
>>> > >> >> >> >>
>>> > >> >> >> >>
>>> > >> >> >>
>>> > >> >> >>
>>> > >> >>
>>> > >> >>
>>> > >> >> <comment-examples-configs.patch>
>>> > >>
>>> > >>
>>> >
>>> >
>>>
>
> -- 
> 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


Re: [M2 build] : Error building application uddi-db on XP

Posted by Joe Bohn <jo...@earthlink.net>.
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 <go...@gmail.com> 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 <ja...@planet57.com> 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 <ja...@planet57.com> 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 <archiveClasses>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 <ja...@planet57.com> 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 <ja...@planet57.com> 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 <ja...@planet57.com> 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 <ja...@planet57.com> 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 <ja...@planet57.com> 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?
>> > >> >> >> >> >> >> >>
>> > >> >> >> >> >> >> >> <snip>
>> > >> >> >> >> >> >> >> 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
>> > >> >> >> >> >> >> >> </snip>
>> > >> >> >> >> >> >> >>
>> > >> >> >> >> >> >> >> --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
>> > >> >> >> >> >> >> >>
>> > >> >> >> >> >> >> >
>> > >> >> >> >> >> >>
>> > >> >> >> >> >> >>
>> > >> >> >> >> >>
>> > >> >> >> >> >>
>> > >> >> >> >> >> <mvn.log>
>> > >> >> >> >>
>> > >> >> >> >>
>> > >> >> >>
>> > >> >> >>
>> > >> >>
>> > >> >>
>> > >> >> <comment-examples-configs.patch>
>> > >>
>> > >>
>> >
>> >
>>

-- 
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

Re: [M2 build] : Error building application uddi-db on XP

Posted by Jason Dillon <ja...@planet57.com>.
Okay, let me know if you need some help applying strategic pressure  
on 'em ;-)

--jason


On Jul 12, 2006, at 12:45 PM, Prasad Kashyap wrote:

> I have uploaded the patch to this JIRA
> http://jira.codehaus.org/browse/MASSEMBLY-45 .
>
> I have been working with John and Jesse. Hopefully either they or
> somebody else will soon look at it.
>
> Cheers
> Prasad
>
>
>
> On 7/12/06, Jason Dillon <ja...@planet57.com> wrote:
>> Any update on when this patch might make it into an official release
>> of the plugin?
>>
>> --jason
>>
>>
>> On Jul 12, 2006, at 9:46 AM, Prasad Kashyap wrote:
>>
>> > Let ma again remind everyone trying the assembly that they will  
>> have
>> > to build the maven-assembly-plugin.
>> >
>> > 1. Check out maven-assembly-plugin src from
>> > http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-assembly-
>> > plugin
>> >
>> > 2. Download the patch maven-assembly-plugin.patch from here
>> > http://issues.apache.org/jira/secure/attachment/12336456/maven-
>> > assembly-plugin.patch
>> > and apply it to the source checked out above.
>> >
>> > 3. Build the maven-assembly-plugin using the command
>> > $> mvn install -Dmaven.test.skip=true
>> > Skipping test is very important to install the plugin into the  
>> repo.
>> >
>> >
>> > Cheers
>> > Prasad
>> >
>> > On 7/12/06, Prasad Kashyap <go...@gmail.com> 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 <go...@gmail.com> 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 <ja...@planet57.com> 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 <ja...@planet57.com> 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 <archiveClasses>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 <ja...@planet57.com> 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 <ja...@planet57.com> 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 <ja...@planet57.com>  
>> 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 <ja...@planet57.com>
>> >> 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 <ja...@planet57.com>
>> >> 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?
>> >> > > >> >> >> >> >> >> >>
>> >> > > >> >> >> >> >> >> >> <snip>
>> >> > > >> >> >> >> >> >> >> 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
>> >> > > >> >> >> >> >> >> >> </snip>
>> >> > > >> >> >> >> >> >> >>
>> >> > > >> >> >> >> >> >> >> --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
>> >> > > >> >> >> >> >> >> >>
>> >> > > >> >> >> >> >> >> >
>> >> > > >> >> >> >> >> >>
>> >> > > >> >> >> >> >> >>
>> >> > > >> >> >> >> >>
>> >> > > >> >> >> >> >>
>> >> > > >> >> >> >> >> <mvn.log>
>> >> > > >> >> >> >>
>> >> > > >> >> >> >>
>> >> > > >> >> >>
>> >> > > >> >> >>
>> >> > > >> >>
>> >> > > >> >>
>> >> > > >> >> <comment-examples-configs.patch>
>> >> > > >>
>> >> > > >>
>> >> > >
>> >> > >
>> >> >
>> >>
>> >>
>> >>
>>
>>


Re: [M2 build] : Error building application uddi-db on XP

Posted by Jason Dillon <ja...@planet57.com>.
FYI... we need this issue fixed to for the assembly to function:

     http://jira.codehaus.org/browse/MASSEMBLY-127

--jason


On Jul 12, 2006, at 12:45 PM, Prasad Kashyap wrote:

> I have uploaded the patch to this JIRA
> http://jira.codehaus.org/browse/MASSEMBLY-45 .
>
> I have been working with John and Jesse. Hopefully either they or
> somebody else will soon look at it.
>
> Cheers
> Prasad
>
>
>
> On 7/12/06, Jason Dillon <ja...@planet57.com> wrote:
>> Any update on when this patch might make it into an official release
>> of the plugin?
>>
>> --jason
>>
>>
>> On Jul 12, 2006, at 9:46 AM, Prasad Kashyap wrote:
>>
>> > Let ma again remind everyone trying the assembly that they will  
>> have
>> > to build the maven-assembly-plugin.
>> >
>> > 1. Check out maven-assembly-plugin src from
>> > http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-assembly-
>> > plugin
>> >
>> > 2. Download the patch maven-assembly-plugin.patch from here
>> > http://issues.apache.org/jira/secure/attachment/12336456/maven-
>> > assembly-plugin.patch
>> > and apply it to the source checked out above.
>> >
>> > 3. Build the maven-assembly-plugin using the command
>> > $> mvn install -Dmaven.test.skip=true
>> > Skipping test is very important to install the plugin into the  
>> repo.
>> >
>> >
>> > Cheers
>> > Prasad
>> >
>> > On 7/12/06, Prasad Kashyap <go...@gmail.com> 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 <go...@gmail.com> 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 <ja...@planet57.com> 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 <ja...@planet57.com> 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 <archiveClasses>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 <ja...@planet57.com> 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 <ja...@planet57.com> 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 <ja...@planet57.com>  
>> 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 <ja...@planet57.com>
>> >> 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 <ja...@planet57.com>
>> >> 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?
>> >> > > >> >> >> >> >> >> >>
>> >> > > >> >> >> >> >> >> >> <snip>
>> >> > > >> >> >> >> >> >> >> 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
>> >> > > >> >> >> >> >> >> >> </snip>
>> >> > > >> >> >> >> >> >> >>
>> >> > > >> >> >> >> >> >> >> --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
>> >> > > >> >> >> >> >> >> >>
>> >> > > >> >> >> >> >> >> >
>> >> > > >> >> >> >> >> >>
>> >> > > >> >> >> >> >> >>
>> >> > > >> >> >> >> >>
>> >> > > >> >> >> >> >>
>> >> > > >> >> >> >> >> <mvn.log>
>> >> > > >> >> >> >>
>> >> > > >> >> >> >>
>> >> > > >> >> >>
>> >> > > >> >> >>
>> >> > > >> >>
>> >> > > >> >>
>> >> > > >> >> <comment-examples-configs.patch>
>> >> > > >>
>> >> > > >>
>> >> > >
>> >> > >
>> >> >
>> >>
>> >>
>> >>
>>
>>


Re: [M2 build] : Error building application uddi-db on XP

Posted by Prasad Kashyap <go...@gmail.com>.
I have uploaded the patch to this JIRA
http://jira.codehaus.org/browse/MASSEMBLY-45 .

I have been working with John and Jesse. Hopefully either they or
somebody else will soon look at it.

Cheers
Prasad



On 7/12/06, Jason Dillon <ja...@planet57.com> wrote:
> Any update on when this patch might make it into an official release
> of the plugin?
>
> --jason
>
>
> On Jul 12, 2006, at 9:46 AM, Prasad Kashyap wrote:
>
> > Let ma again remind everyone trying the assembly that they will have
> > to build the maven-assembly-plugin.
> >
> > 1. Check out maven-assembly-plugin src from
> > http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-assembly-
> > plugin
> >
> > 2. Download the patch maven-assembly-plugin.patch from here
> > http://issues.apache.org/jira/secure/attachment/12336456/maven-
> > assembly-plugin.patch
> > and apply it to the source checked out above.
> >
> > 3. Build the maven-assembly-plugin using the command
> > $> mvn install -Dmaven.test.skip=true
> > Skipping test is very important to install the plugin into the repo.
> >
> >
> > Cheers
> > Prasad
> >
> > On 7/12/06, Prasad Kashyap <go...@gmail.com> 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 <go...@gmail.com> 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 <ja...@planet57.com> 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 <ja...@planet57.com> 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 <archiveClasses>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 <ja...@planet57.com> 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 <ja...@planet57.com> 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 <ja...@planet57.com> 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 <ja...@planet57.com>
> >> 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 <ja...@planet57.com>
> >> 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?
> >> > > >> >> >> >> >> >> >>
> >> > > >> >> >> >> >> >> >> <snip>
> >> > > >> >> >> >> >> >> >> 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
> >> > > >> >> >> >> >> >> >> </snip>
> >> > > >> >> >> >> >> >> >>
> >> > > >> >> >> >> >> >> >> --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
> >> > > >> >> >> >> >> >> >>
> >> > > >> >> >> >> >> >> >
> >> > > >> >> >> >> >> >>
> >> > > >> >> >> >> >> >>
> >> > > >> >> >> >> >>
> >> > > >> >> >> >> >>
> >> > > >> >> >> >> >> <mvn.log>
> >> > > >> >> >> >>
> >> > > >> >> >> >>
> >> > > >> >> >>
> >> > > >> >> >>
> >> > > >> >>
> >> > > >> >>
> >> > > >> >> <comment-examples-configs.patch>
> >> > > >>
> >> > > >>
> >> > >
> >> > >
> >> >
> >>
> >>
> >>
>
>

Re: [M2 build] : Error building application uddi-db on XP

Posted by Jason Dillon <ja...@planet57.com>.
Any update on when this patch might make it into an official release  
of the plugin?

--jason


On Jul 12, 2006, at 9:46 AM, Prasad Kashyap wrote:

> Let ma again remind everyone trying the assembly that they will have
> to build the maven-assembly-plugin.
>
> 1. Check out maven-assembly-plugin src from
> http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-assembly- 
> plugin
>
> 2. Download the patch maven-assembly-plugin.patch from here
> http://issues.apache.org/jira/secure/attachment/12336456/maven- 
> assembly-plugin.patch
> and apply it to the source checked out above.
>
> 3. Build the maven-assembly-plugin using the command
> $> mvn install -Dmaven.test.skip=true
> Skipping test is very important to install the plugin into the repo.
>
>
> Cheers
> Prasad
>
> On 7/12/06, Prasad Kashyap <go...@gmail.com> 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 <go...@gmail.com> 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 <ja...@planet57.com> 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 <ja...@planet57.com> 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 <archiveClasses>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 <ja...@planet57.com> 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 <ja...@planet57.com> 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 <ja...@planet57.com> 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 <ja...@planet57.com>  
>> 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 <ja...@planet57.com>  
>> 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?
>> > > >> >> >> >> >> >> >>
>> > > >> >> >> >> >> >> >> <snip>
>> > > >> >> >> >> >> >> >> 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
>> > > >> >> >> >> >> >> >> </snip>
>> > > >> >> >> >> >> >> >>
>> > > >> >> >> >> >> >> >> --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
>> > > >> >> >> >> >> >> >>
>> > > >> >> >> >> >> >> >
>> > > >> >> >> >> >> >>
>> > > >> >> >> >> >> >>
>> > > >> >> >> >> >>
>> > > >> >> >> >> >>
>> > > >> >> >> >> >> <mvn.log>
>> > > >> >> >> >>
>> > > >> >> >> >>
>> > > >> >> >>
>> > > >> >> >>
>> > > >> >>
>> > > >> >>
>> > > >> >> <comment-examples-configs.patch>
>> > > >>
>> > > >>
>> > >
>> > >
>> >
>>
>>
>>


Re: [M2 build] : Error building application uddi-db on XP

Posted by Jason Dillon <ja...@planet57.com>.
> 3. Build the maven-assembly-plugin using the command
> $> mvn install -Dmaven.test.skip=true
> Skipping test is very important to install the plugin into the repo.

Are the test failures due to our patch?

If so, we need to resolve that...

otherwise if we can fix the tests it would probably help the m2 team  
take in this change faster.

--jason



Re: [M2 build] : Error building application uddi-db on XP

Posted by Prasad Kashyap <go...@gmail.com>.
Let ma again remind everyone trying the assembly that they will have
to build the maven-assembly-plugin.

1. Check out maven-assembly-plugin src from
http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-assembly-plugin

2. Download the patch maven-assembly-plugin.patch from here
http://issues.apache.org/jira/secure/attachment/12336456/maven-assembly-plugin.patch
and apply it to the source checked out above.

3. Build the maven-assembly-plugin using the command
$> mvn install -Dmaven.test.skip=true
Skipping test is very important to install the plugin into the repo.


Cheers
Prasad

On 7/12/06, Prasad Kashyap <go...@gmail.com> 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 <go...@gmail.com> 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 <ja...@planet57.com> 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 <ja...@planet57.com> 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 <archiveClasses>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 <ja...@planet57.com> 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 <ja...@planet57.com> 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 <ja...@planet57.com> 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 <ja...@planet57.com> 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 <ja...@planet57.com> 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?
> > > >> >> >> >> >> >> >>
> > > >> >> >> >> >> >> >> <snip>
> > > >> >> >> >> >> >> >> 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
> > > >> >> >> >> >> >> >> </snip>
> > > >> >> >> >> >> >> >>
> > > >> >> >> >> >> >> >> --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
> > > >> >> >> >> >> >> >>
> > > >> >> >> >> >> >> >
> > > >> >> >> >> >> >>
> > > >> >> >> >> >> >>
> > > >> >> >> >> >>
> > > >> >> >> >> >>
> > > >> >> >> >> >> <mvn.log>
> > > >> >> >> >>
> > > >> >> >> >>
> > > >> >> >>
> > > >> >> >>
> > > >> >>
> > > >> >>
> > > >> >> <comment-examples-configs.patch>
> > > >>
> > > >>
> > >
> > >
> >
>
>
>

Re: [M2 build] : Error building application uddi-db on XP

Posted by Prasad Kashyap <go...@gmail.com>.
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 <go...@gmail.com> 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 <ja...@planet57.com> 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 <ja...@planet57.com> 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 <archiveClasses>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 <ja...@planet57.com> 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 <ja...@planet57.com> 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 <ja...@planet57.com> 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 <ja...@planet57.com> 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 <ja...@planet57.com> 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?
> > >> >> >> >> >> >> >>
> > >> >> >> >> >> >> >> <snip>
> > >> >> >> >> >> >> >> 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
> > >> >> >> >> >> >> >> </snip>
> > >> >> >> >> >> >> >>
> > >> >> >> >> >> >> >> --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
> > >> >> >> >> >> >> >>
> > >> >> >> >> >> >> >
> > >> >> >> >> >> >>
> > >> >> >> >> >> >>
> > >> >> >> >> >>
> > >> >> >> >> >>
> > >> >> >> >> >> <mvn.log>
> > >> >> >> >>
> > >> >> >> >>
> > >> >> >>
> > >> >> >>
> > >> >>
> > >> >>
> > >> >> <comment-examples-configs.patch>
> > >>
> > >>
> >
> >
>

Re: [M2 build] : Error building application uddi-db on XP

Posted by Jason Dillon <ja...@planet57.com>.
Negative.

I have already run into several problems with past m2 projects using  
the RELEASE version of plugins... most notibly, then surefire plugin,  
when it decided to change the format of systemProperties which one  
day just completely hosed all builds.

We want to use known versions of these plugins...

And if you need to use something different then, put in a specific  
version in your pom... and preferably add some comment to justify why  
it needs to be different.

If the version is a newer released version and is compatible with  
older versions and/or someone is going to update all poms that use  
ihat plugin to be compatible, then project-config should be updated  
and that version of the plugin should be made the default.

I do not believe that we want to make use of the RELEASE  
functionality that comes in m2 as it is more likely to cause problems  
in the future. IMO is not worth the added overhead of debugging  
problems in months to come when things just start breaking.  I much  
prefer the minor upkeep costs to manage versions explicitly in a  
central pom.

--jason


On Jul 12, 2006, at 4:50 AM, 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 <ja...@planet57.com> 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 <ja...@planet57.com> 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 <archiveClasses>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 <ja...@planet57.com> 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 <ja...@planet57.com> 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 <ja...@planet57.com> 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 <ja...@planet57.com> 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 <ja...@planet57.com> 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?
>> >> >> >> >> >> >> >>
>> >> >> >> >> >> >> >> <snip>
>> >> >> >> >> >> >> >> 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
>> >> >> >> >> >> >> >> </snip>
>> >> >> >> >> >> >> >>
>> >> >> >> >> >> >> >> --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
>> >> >> >> >> >> >> >>
>> >> >> >> >> >> >> >
>> >> >> >> >> >> >>
>> >> >> >> >> >> >>
>> >> >> >> >> >>
>> >> >> >> >> >>
>> >> >> >> >> >> <mvn.log>
>> >> >> >> >>
>> >> >> >> >>
>> >> >> >>
>> >> >> >>
>> >> >>
>> >> >>
>> >> >> <comment-examples-configs.patch>
>> >>
>> >>
>>
>>


Re: [M2 build] : Error building application uddi-db on XP

Posted by Prasad Kashyap <go...@gmail.com>.
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 <ja...@planet57.com> 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 <ja...@planet57.com> 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 <archiveClasses>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 <ja...@planet57.com> 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 <ja...@planet57.com> 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 <ja...@planet57.com> 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 <ja...@planet57.com> 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 <ja...@planet57.com> 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?
> >> >> >> >> >> >> >>
> >> >> >> >> >> >> >> <snip>
> >> >> >> >> >> >> >> 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
> >> >> >> >> >> >> >> </snip>
> >> >> >> >> >> >> >>
> >> >> >> >> >> >> >> --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
> >> >> >> >> >> >> >>
> >> >> >> >> >> >> >
> >> >> >> >> >> >>
> >> >> >> >> >> >>
> >> >> >> >> >>
> >> >> >> >> >>
> >> >> >> >> >> <mvn.log>
> >> >> >> >>
> >> >> >> >>
> >> >> >>
> >> >> >>
> >> >>
> >> >>
> >> >> <comment-examples-configs.patch>
> >>
> >>
>
>

Re: [M2 build] : Error building application uddi-db on XP

Posted by Jason Dillon <ja...@planet57.com>.
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 <ja...@planet57.com> 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 <archiveClasses>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 <ja...@planet57.com> 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 <ja...@planet57.com> 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 <ja...@planet57.com> 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 <ja...@planet57.com> 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 <ja...@planet57.com> 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?
>> >> >> >> >> >> >>
>> >> >> >> >> >> >> <snip>
>> >> >> >> >> >> >> 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
>> >> >> >> >> >> >> </snip>
>> >> >> >> >> >> >>
>> >> >> >> >> >> >> --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
>> >> >> >> >> >> >>
>> >> >> >> >> >> >
>> >> >> >> >> >>
>> >> >> >> >> >>
>> >> >> >> >>
>> >> >> >> >>
>> >> >> >> >> <mvn.log>
>> >> >> >>
>> >> >> >>
>> >> >>
>> >> >>
>> >>
>> >>
>> >> <comment-examples-configs.patch>
>>
>>


Re: [M2 build] : Error building application uddi-db on XP

Posted by Prasad Kashyap <go...@gmail.com>.
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 <ja...@planet57.com> 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 <archiveClasses>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 <ja...@planet57.com> 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 <ja...@planet57.com> 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 <ja...@planet57.com> 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 <ja...@planet57.com> 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 <ja...@planet57.com> 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?
> >> >> >> >> >> >>
> >> >> >> >> >> >> <snip>
> >> >> >> >> >> >> 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
> >> >> >> >> >> >> </snip>
> >> >> >> >> >> >>
> >> >> >> >> >> >> --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
> >> >> >> >> >> >>
> >> >> >> >> >> >
> >> >> >> >> >>
> >> >> >> >> >>
> >> >> >> >>
> >> >> >> >>
> >> >> >> >> <mvn.log>
> >> >> >>
> >> >> >>
> >> >>
> >> >>
> >>
> >>
> >> <comment-examples-configs.patch>
>
>

Re: [M2 build] : Error building application uddi-db on XP

Posted by Jason Dillon <ja...@planet57.com>.
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 <archiveClasses>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 <ja...@planet57.com> 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 <ja...@planet57.com> 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 <ja...@planet57.com> 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 <ja...@planet57.com> 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 <ja...@planet57.com> 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?
>> >> >> >> >> >>
>> >> >> >> >> >> <snip>
>> >> >> >> >> >> 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
>> >> >> >> >> >> </snip>
>> >> >> >> >> >>
>> >> >> >> >> >> --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
>> >> >> >> >> >>
>> >> >> >> >> >
>> >> >> >> >>
>> >> >> >> >>
>> >> >> >>
>> >> >> >>
>> >> >> >> <mvn.log>
>> >> >>
>> >> >>
>> >>
>> >>
>>
>>
>> <comment-examples-configs.patch>


Re: [M2 build] : Error building application uddi-db on XP

Posted by Prasad Kashyap <go...@gmail.com>.
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 <archiveClasses>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 <ja...@planet57.com> 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 <ja...@planet57.com> 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 <ja...@planet57.com> 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 <ja...@planet57.com> 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 <ja...@planet57.com> 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?
> >> >> >> >> >>
> >> >> >> >> >> <snip>
> >> >> >> >> >> 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
> >> >> >> >> >> </snip>
> >> >> >> >> >>
> >> >> >> >> >> --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
> >> >> >> >> >>
> >> >> >> >> >
> >> >> >> >>
> >> >> >> >>
> >> >> >>
> >> >> >>
> >> >> >> <mvn.log>
> >> >>
> >> >>
> >>
> >>
>
>

Re: [M2 build] : Error building application uddi-db on XP

Posted by Jason Dillon <ja...@planet57.com>.
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 <ja...@planet57.com> 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 <ja...@planet57.com> 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 <ja...@planet57.com> 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 <ja...@planet57.com> 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?
>> >> >> >> >>
>> >> >> >> >> <snip>
>> >> >> >> >> 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
>> >> >> >> >> </snip>
>> >> >> >> >>
>> >> >> >> >> --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
>> >> >> >> >>
>> >> >> >> >
>> >> >> >>
>> >> >> >>
>> >> >>
>> >> >>
>> >> >> <mvn.log>
>> >>
>> >>
>>
>>


Re: [M2 build] : Error building application uddi-db on XP

Posted by Prasad Kashyap <go...@gmail.com>.
Ah.. makes sense. Will work with the m2migration branch then


Cheers
Prasad

On 7/11/06, Jason Dillon <ja...@planet57.com> 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 <ja...@planet57.com> 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 <ja...@planet57.com> 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 <ja...@planet57.com> 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?
> >> >> >> >>
> >> >> >> >> <snip>
> >> >> >> >> 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
> >> >> >> >> </snip>
> >> >> >> >>
> >> >> >> >> --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
> >> >> >> >>
> >> >> >> >
> >> >> >>
> >> >> >>
> >> >>
> >> >>
> >> >> <mvn.log>
> >>
> >>
>
>

Re: [M2 build] : Error building application uddi-db on XP

Posted by Jason Dillon <ja...@planet57.com>.
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 <ja...@planet57.com> 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 <ja...@planet57.com> 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 <ja...@planet57.com> 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?
>> >> >> >>
>> >> >> >> <snip>
>> >> >> >> 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
>> >> >> >> </snip>
>> >> >> >>
>> >> >> >> --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
>> >> >> >>
>> >> >> >
>> >> >>
>> >> >>
>> >>
>> >>
>> >> <mvn.log>
>>
>>


Re: [M2 build] : Error building application uddi-db on XP

Posted by Prasad Kashyap <go...@gmail.com>.
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 <ja...@planet57.com> 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 <ja...@planet57.com> 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 <ja...@planet57.com> 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?
> >> >> >>
> >> >> >> <snip>
> >> >> >> 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
> >> >> >> </snip>
> >> >> >>
> >> >> >> --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
> >> >> >>
> >> >> >
> >> >>
> >> >>
> >>
> >>
> >> <mvn.log>
>
>

Re: [M2 build] : Error building application uddi-db on XP

Posted by Jason Dillon <ja...@planet57.com>.
 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 <ja...@planet57.com> 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 <ja...@planet57.com> 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?
>> >> >>
>> >> >> <snip>
>> >> >> 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
>> >> >> </snip>
>> >> >>
>> >> >> --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
>> >> >>
>> >> >
>> >>
>> >>
>>
>>
>> <mvn.log>


Re: [M2 build] : Error building application uddi-db on XP

Posted by Prasad Kashyap <go...@gmail.com>.
There u go..

Cheers
Prasad

On 7/11/06, Jason Dillon <ja...@planet57.com> 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 <ja...@planet57.com> 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?
> >> >>
> >> >> <snip>
> >> >> 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
> >> >> </snip>
> >> >>
> >> >> --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
> >> >>
> >> >
> >>
> >>
>
>

Re: [M2 build] : Error building application uddi-db on XP

Posted by Jason Dillon <ja...@planet57.com>.
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 <ja...@planet57.com> 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?
>> >>
>> >> <snip>
>> >> 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
>> >> </snip>
>> >>
>> >> --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
>> >>
>> >
>>
>>


Re: [M2 build] : Error building application uddi-db on XP

Posted by Prasad Kashyap <go...@gmail.com>.
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 <ja...@planet57.com> 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?
> >>
> >> <snip>
> >> 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
> >> </snip>
> >>
> >> --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
> >>
> >
>
>

Re: [M2 build] : Error building application uddi-db on XP

Posted by Jason Dillon <ja...@planet57.com>.
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?
>>
>> <snip>
>> 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
>> </snip>
>>
>> --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
>>
>


Re: [M2 build] : Error building application uddi-db on XP

Posted by Jason Dillon <ja...@planet57.com>.
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?
>
> <snip>
> 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
> </snip>
>
> --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
>


Re: [M2 build] : Error building application uddi-db on XP

Posted by Jason Dillon <ja...@planet57.com>.
Why are the uddi-* webapp files duplicated in the -server and -db  
modules?

<snip>
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
</snip>

--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


Re: [M2 build] : Error building application uddi-db on XP

Posted by Jason Dillon <ja...@planet57.com>.
This is another "windows sucks" problem... this one being windows  
file locking sucks.

You will only see this on windows.

But... what appears to be more troubling is that the antrun plugin is  
running twice!

:-(

--jason


On Jul 10, 2006, at 5:17 AM, Jacek Laskowski wrote:

> On 7/10/06, Prasad Kashyap <go...@gmail.com> 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
> ...
>> 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
>
> Got exactly the same error while building Geronimo in
> svnkmerge/m2migration and was about to write to dev (!) What a
> coincidence, isn't it? Doing other stuff and haven't looked into it
> yet. If you know the answer, please speak up.
>
> Jacek
>
> -- 
> Jacek Laskowski
> http://www.laskowski.net.pl


Re: [M2 build] : Error building application uddi-db on XP

Posted by Jason Dillon <ja...@planet57.com>.
Ug... AntRun always seems to end up causing more problems than it  
resolves.

May need to create a plugin to execute sql to get around this...  
which is probably a good idea anyways.

Luckily I've done that a few times, should be easy to cook up.

--jason


On Jul 10, 2006, at 5:17 AM, Jacek Laskowski wrote:

> On 7/10/06, Prasad Kashyap <go...@gmail.com> 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
> ...
>> 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
>
> Got exactly the same error while building Geronimo in
> svnkmerge/m2migration and was about to write to dev (!) What a
> coincidence, isn't it? Doing other stuff and haven't looked into it
> yet. If you know the answer, please speak up.
>
> Jacek
>
> -- 
> Jacek Laskowski
> http://www.laskowski.net.pl


Re: [M2 build] : Error building application uddi-db on XP

Posted by Jacek Laskowski <ja...@laskowski.net.pl>.
On 7/10/06, Prasad Kashyap <go...@gmail.com> 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
...
> 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

Got exactly the same error while building Geronimo in
svnkmerge/m2migration and was about to write to dev (!) What a
coincidence, isn't it? Doing other stuff and haven't looked into it
yet. If you know the answer, please speak up.

Jacek

-- 
Jacek Laskowski
http://www.laskowski.net.pl