geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "A. Alonso Dominguez" <>
Subject Build error while compiling Scout sources
Date Tue, 26 Apr 2005 10:50:59 GMT
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




    [echo] Running jar:install for Apache Scout Implementation
    [mkdir] Created dir:

    [echo] Compiling to

  NOTE: Targetting JVM 1.4, classes
  will not run on earlier JVMs


    [javac] Compiling 34 source files to
    [javac] /home/alonso/projects/apache/scout/trunk/modules/scout/src/java/org/apache/ws/scout/registry/
execute(org.apache.juddi.datatype.RegistryObject) in
org.apache.juddi.proxy.RegistryProxy cannot be applied to
    [javac]           return registry.execute(s,type);
    [javac]                          ^
    [javac] 1 error

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] --
<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;
       type = inquiry;

          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?


View raw message