Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 41468 invoked from network); 26 Apr 2005 11:26:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 26 Apr 2005 11:26:29 -0000 Received: (qmail 32488 invoked by uid 500); 26 Apr 2005 11:26:59 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 32451 invoked by uid 500); 26 Apr 2005 11:26:59 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 32419 invoked by uid 99); 26 Apr 2005 11:26:59 -0000 X-ASF-Spam-Status: No, hits=0.3 required=10.0 tests=FORGED_RCVD_HELO,HTML_30_40,HTML_MESSAGE,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from mail.tsainc.com (HELO lng002.tsacorp.com) (206.201.23.30) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 26 Apr 2005 04:26:58 -0700 In-Reply-To: <58fcf4500504260350286c4e60@mail.gmail.com> To: dev@geronimo.apache.org Subject: Re: Build error while compiling Scout sources MIME-Version: 1.0 X-Mailer: Lotus Notes Release 6.5.2 June 01, 2004 From: sissonj@insession.com Message-ID: Date: Tue, 26 Apr 2005 22:25:44 +1100 X-MIMETrack: Serialize by Router on lng002/SVR/TSA(Release 6.5.2|June 01, 2004) at 04/26/2005 06:26:00, Serialize complete at 04/26/2005 06:26:00 Content-Type: multipart/alternative; boundary="=_alternative 003ED30BCA256FEF_=" X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N This is a multipart message in MIME format. --=_alternative 003ED30BCA256FEF_= Content-Type: text/plain; charset="US-ASCII" I don't think the temporary Pre-build step is required any more. To confirm this, I started a build with an empty maven repository and I saw that the file .maven\repository\scout\jars\scout-1.0-SNAPSHOT.jar was placed there. So just try skipping the temporary Pre-build step and let us know whether it works. John This e-mail message and any attachments may contain confidential, proprietary or non-public information. This information is intended solely for the designated recipient(s). If an addressing or transmission error has misdirected this e-mail, please notify the sender immediately and destroy this e-mail. Any review, dissemination, use or reliance upon this information by unintended recipients is prohibited. Any opinions expressed in this e-mail are those of the author personally. "A. Alonso Dominguez" wrote on 26/04/2005 08:50:59 PM: > Hi men, > > I was following the instructions that I found at your wiki site about > building Geronimo with Maven. I began checking out the sources of > Scout and I did execute Maven getting this result: > > +---------------------------------------- > | Executing multiproject:install-callback Apache Scout Implementation > | Memory: 4M/7M > +---------------------------------------- > Intentando descargar jaxr-api-1.0-SNAPSHOT.jar. > Artifact /scout/jars/jaxr-api-1.0-SNAPSHOT.jar doesn't exists in > remote repository, but it exists locally > Intentando descargar geronimo-spec-activation-1.0.2-SNAPSHOT.jar. > Intentando descargar juddi-SNAPSHOT.jar. > 744K downloaded > Intentando descargar jdom-1.0.jar. > 149K downloaded > Intentando descargar commons-logging-1.0.4.jar. > 37K downloaded > Intentando descargar commons-discovery-SNAPSHOT.jar. > 70K downloaded > Intentando descargar axis-1.2-RC1.jar. > 1444K downloaded > Intentando descargar axis-saaj-1.2-RC1.jar. > 18K downloaded > Intentando descargar axis-jaxrpc-1.2-RC1.jar. > 31K downloaded > > jar:install: > > > build:end: > > build:start: > > multiproject:install-callback: > [echo] Running jar:install for Apache Scout Implementation > java:prepare-filesystem: > [mkdir] Created dir: > /home/alonso/projects/apache/scout/trunk/modules/scout/target/classes > > java:compile: > [echo] Compiling to > /home/alonso/projects/apache/scout/trunk/modules/scout/target/classes > [echo] > ========================================================== > > NOTE: Targetting JVM 1.4, classes > will not run on earlier JVMs > > ========================================================== > > [javac] Compiling 34 source files to > /home/alonso/projects/apache/scout/trunk/modules/scout/target/classes > [javac] > /home/alonso/projects/apache/scout/trunk/modules/scout/src/java/org/apache/ws/scout/registry/RegistryServiceImpl. > java:132: > execute(org.apache.juddi.datatype.RegistryObject) in > org.apache.juddi.proxy.RegistryProxy cannot be applied to > (java.lang.String,java.lang.String) > [javac] return registry.execute(s,type); > [javac] ^ > [javac] 1 error > > BUILD FAILED > File...... /home/alonso/.maven/cache/maven-multiproject-plugin-1.3. > 1/plugin.jelly > Element... maven:reactor > Line...... 217 > Column.... 9 > Unable to obtain goal [multiproject:install-callback] -- > /home/alonso/.maven/cache/maven-java-plugin-1.5/plugin.jelly:63:48: > Compile failed; see the compiler error output for details. > Total time: 5 minutes 1 seconds > Finished at: Tue Apr 26 10:14:34 CEST 2005 > > I took a look to source file that reported the error and I found there > a TODO comment line, this is the context of the error: > > public String makeRegistrySpecificRequest(String s) throws JAXRException > { > String inquiry = "INQUIRY"; > String publish = "PUBLISH"; > String type = ""; > > //TODO: Need a better way to do this > String snippet = s.substring(0,20); > if( snippet.indexOf("save") > -1) type = publish; > else > type = inquiry; > > try > { > return registry.execute(s,type); <---------- BUILD ERROR > } > catch (RegistryException e) > { > throw new JAXRException(e.getLocalizedMessage()); > } > } > > Can anyone of you tell me how to resolve this? > > Alonso --=_alternative 003ED30BCA256FEF_= Content-Type: text/html; charset="US-ASCII"
I don't think the temporary Pre-build step is required any more.

To confirm this, I started a build with an empty maven repository and I saw that the file .maven\repository\scout\jars\scout-1.0-SNAPSHOT.jar was placed there.

So just try skipping the temporary Pre-build step and let us know whether it works.

John

This e-mail message and any attachments may contain confidential, proprietary or non-public information.  This information is intended solely for the designated recipient(s).  If an addressing or transmission error has misdirected this e-mail, please notify the sender immediately and destroy this e-mail.  Any review, dissemination, use or reliance upon this information by unintended recipients is prohibited.  Any opinions expressed in this e-mail are those of the author personally.


"A. Alonso Dominguez" <alonso.domin@gmail.com> wrote on 26/04/2005 08:50:59 PM:

> Hi men,
>
> I was following the instructions that I found at your wiki site about
> building Geronimo with Maven. I began checking out the sources of
> Scout and I did execute Maven getting this result:
>
> +----------------------------------------
> | Executing multiproject:install-callback Apache Scout Implementation
> | Memory: 4M/7M
> +----------------------------------------
> Intentando descargar jaxr-api-1.0-SNAPSHOT.jar.
> Artifact /scout/jars/jaxr-api-1.0-SNAPSHOT.jar doesn't exists in
> remote repository, but it exists locally
> Intentando descargar geronimo-spec-activation-1.0.2-SNAPSHOT.jar.
> Intentando descargar juddi-SNAPSHOT.jar.
> 744K downloaded
> Intentando descargar jdom-1.0.jar.
> 149K downloaded
> Intentando descargar commons-logging-1.0.4.jar.
> 37K downloaded
> Intentando descargar commons-discovery-SNAPSHOT.jar.
> 70K downloaded
> Intentando descargar axis-1.2-RC1.jar.
> 1444K downloaded
> Intentando descargar axis-saaj-1.2-RC1.jar.
> 18K downloaded
> Intentando descargar axis-jaxrpc-1.2-RC1.jar.
> 31K downloaded
>
> jar:install:
>
>
> build:end:
>
> build:start:
>
> multiproject:install-callback:
>     [echo] Running jar:install for Apache Scout Implementation
> java:prepare-filesystem:
>     [mkdir] Created dir:
> /home/alonso/projects/apache/scout/trunk/modules/scout/target/classes
>
> java:compile:
>     [echo] Compiling to
> /home/alonso/projects/apache/scout/trunk/modules/scout/target/classes
>     [echo]
> ==========================================================
>
>   NOTE: Targetting JVM 1.4, classes
>   will not run on earlier JVMs
>
> ==========================================================
>
>     [javac] Compiling 34 source files to
> /home/alonso/projects/apache/scout/trunk/modules/scout/target/classes
>     [javac]
> /home/alonso/projects/apache/scout/trunk/modules/scout/src/java/org/apache/ws/scout/registry/RegistryServiceImpl.
> java:132:
> execute(org.apache.juddi.datatype.RegistryObject) in
> org.apache.juddi.proxy.RegistryProxy cannot be applied to
> (java.lang.String,java.lang.String)
>     [javac]           return registry.execute(s,type);
>     [javac]                          ^
>     [javac] 1 error
>
> BUILD FAILED
> File...... /home/alonso/.maven/cache/maven-multiproject-plugin-1.3.
> 1/plugin.jelly
> Element... maven:reactor
> Line...... 217
> Column.... 9
> Unable to obtain goal [multiproject:install-callback] --
> /home/alonso/.maven/cache/maven-java-plugin-1.5/plugin.jelly:63:48:
> <ant:javac> Compile failed; see the compiler error output for details.
> Total time: 5 minutes 1 seconds
> Finished at: Tue Apr 26 10:14:34 CEST 2005
>
> I took a look to source file that reported the error and I found there
> a TODO comment line, this is the context of the error:
>
>     public String makeRegistrySpecificRequest(String s) throws JAXRException
>     {
>        String inquiry = "INQUIRY";
>        String publish = "PUBLISH";
>        String type = "";
>
>        //TODO: Need a better way to do this
>        String snippet = s.substring(0,20);
>        if( snippet.indexOf("save") > -1) type = publish;
>        else
>        type = inquiry;
>
>        try
>        {
>           return registry.execute(s,type);         <---------- BUILD ERROR
>        }
>        catch (RegistryException e)
>        {
>           throw new JAXRException(e.getLocalizedMessage());
>        }
>     }
>
> Can anyone of you tell me how to resolve this?
>
> Alonso
--=_alternative 003ED30BCA256FEF_=--