The file that generates the error has remained relatively unchanged since the 9.04 branch was created. The compiler error is most likely a compiler version issue or some configuration error on your local machine.

-Adrian

On 12/14/2010 1:34 PM, Tolu Williams wrote:

SO there is no way to tell from the stack what exactly is causing the
failuure? how can i revert back (can i see a history of svn checkout to see
which revision i can roll back to?)

This is pretty rediculous though. here is the entire stack again.


### START

[of...@cultureshockmedia ofbiz.9.04]$ ant run-install-seed
Buildfile: build.xml

build:
      [echo] [build] ========== Start Building (Compile) ==========

ofbiz-init:

dir-init:
     [mkdir] Created dir: /opt/ofbiz/ofbiz.9.04/runtime/logs/test-results
     [mkdir] Created dir: /opt/ofbiz/ofbiz.9.04/runtime/data/derby
     [mkdir] Created dir: /opt/ofbiz/ofbiz.9.04/runtime/data/hsql

copy-derby-props:

build:
      [echo] [build] ========== Start Building Framework (Compile) ==========

prepare:
     [mkdir] Created dir: /opt/ofbiz/ofbiz.9.04/framework/start/build/classes
     [mkdir] Created dir: /opt/ofbiz/ofbiz.9.04/framework/start/build/lib

classes:
   [javac15] Compiling 4 source files to
/opt/ofbiz/ofbiz.9.04/framework/start/build/classes

jar:
       [jar] Building jar:
/opt/ofbiz/ofbiz.9.04/framework/start/build/lib/ofbiz.jar
      [copy] Copying 1 file to /opt/ofbiz/ofbiz.9.04
Overriding previous definition of reference to local.class.path

prepare:
     [mkdir] Created dir: /opt/ofbiz/ofbiz.9.04/framework/base/build/classes
     [mkdir] Created dir: /opt/ofbiz/ofbiz.9.04/framework/base/build/lib

classes:
   [javac15] Compiling 102 source files to
/opt/ofbiz/ofbiz.9.04/framework/base/build/classes
   [javac15] Note: Some input files use unchecked or unsafe operations.
   [javac15] Note: Recompile with -Xlint:unchecked for details.

jar:
       [jar] Building jar:
/opt/ofbiz/ofbiz.9.04/framework/base/build/lib/ofbiz-base.jar
Overriding previous definition of reference to local.class.path
Overriding previous definition of reference to src.exc.set

prepare:
     [mkdir] Created dir:
/opt/ofbiz/ofbiz.9.04/framework/entity/build/classes
     [mkdir] Created dir: /opt/ofbiz/ofbiz.9.04/framework/entity/build/lib

classes:
   [javac15] Compiling 124 source files to
/opt/ofbiz/ofbiz.9.04/framework/entity/build/classes
   [javac15] Note: Some input files use unchecked or unsafe operations.
   [javac15] Note: Recompile with -Xlint:unchecked for details.

_src-available:
Overriding previous definition of reference to _src-extra-set

jar:
       [jar] Building jar:
/opt/ofbiz/ofbiz.9.04/framework/entity/build/lib/ofbiz-entity.jar
Overriding previous definition of reference to local.class.path

prepare:
     [mkdir] Created dir:
/opt/ofbiz/ofbiz.9.04/framework/geronimo/build/classes
     [mkdir] Created dir: /opt/ofbiz/ofbiz.9.04/framework/geronimo/build/lib

classes:
   [javac15] Compiling 2 source files to
/opt/ofbiz/ofbiz.9.04/framework/geronimo/build/classes

_src-available:
Overriding previous definition of reference to _src-extra-set

jar:
       [jar] Building jar:
/opt/ofbiz/ofbiz.9.04/framework/geronimo/build/lib/ofbiz-geronimo.jar
Overriding previous definition of reference to local.class.path

prepare:
     [mkdir] Created dir:
/opt/ofbiz/ofbiz.9.04/framework/catalina/build/classes
     [mkdir] Created dir: /opt/ofbiz/ofbiz.9.04/framework/catalina/build/lib

classes:
   [javac15] Compiling 5 source files to
/opt/ofbiz/ofbiz.9.04/framework/catalina/build/classes

_src-available:
Overriding previous definition of reference to _src-extra-set

jar:
       [jar] Building jar:
/opt/ofbiz/ofbiz.9.04/framework/catalina/build/lib/ofbiz-catalina.jar
Overriding previous definition of reference to local.class.path

prepare:
     [mkdir] Created dir: /opt/ofbiz/ofbiz.9.04/framework/jetty/build/classes
     [mkdir] Created dir: /opt/ofbiz/ofbiz.9.04/framework/jetty/build/lib

classes:
   [javac15] Compiling 1 source file to
/opt/ofbiz/ofbiz.9.04/framework/jetty/build/classes

_src-available:
Overriding previous definition of reference to _src-extra-set

jar:
       [jar] Building jar:
/opt/ofbiz/ofbiz.9.04/framework/jetty/build/lib/ofbiz-jetty.jar
Overriding previous definition of reference to local.class.path

prepare:
     [mkdir] Created dir:
/opt/ofbiz/ofbiz.9.04/framework/security/build/classes
     [mkdir] Created dir: /opt/ofbiz/ofbiz.9.04/framework/security/build/lib

classes:
   [javac15] Compiling 4 source files to
/opt/ofbiz/ofbiz.9.04/framework/security/build/classes
   [javac15]
/opt/ofbiz/ofbiz.9.04/framework/security/src/org/ofbiz/security/OFBizSecurity.java:50:
invalid inferred types for V; i
nferred type does not conform to declared bound(s)
   [javac15] inferred: java.util.Map<java.lang.String,java.lang.Object>
   [javac15] bound(s): java.util.Map<java.lang.String,java.lang.String>
   [javac15]     public static final Map<String, Map<String, String>>
simpleRoleEntity = UtilMisc.toMap(
   [javac15]
^
   [javac15] 1 error

BUILD FAILED
/opt/ofbiz/ofbiz.9.04/build.xml:148: The following error occurred while
executing this line:
/opt/ofbiz/ofbiz.9.04/framework/build.xml:141: The following error occurred
while executing this line:
/opt/ofbiz/ofbiz.9.04/macros.xml:27: The following error occurred while
executing this line:
/opt/ofbiz/ofbiz.9.04/framework/security/build.xml:46: Compile failed; see
the compiler error output for details.



Reply via email to