geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "A. Alonso Dominguez" <alonso.do...@gmail.com>
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

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

Mime
View raw message