I am attempting an install of OpenEMM from source on FreeBSD 7.0-RELEASE.
I got the tar ball from Sourceforge, collected all the required jars mentioned in required-jars.txt in the lib directory and went for an ant run. This is the result:
Code: Select all
Buildfile: build.xml
init:
compile:
[echo] Java Home: /usr/local/diablo-jdk1.5.0/jre
[echo] Java compile: /usr/local/
[echo] Resin Home: /usr/local/resin3
[javac] Compiling 286 source files to /opt/openemm/OpenEMM-5.5.1/deploy/OpenEMM/WEB-INF/classes
[javac] /opt/openemm/OpenEMM-5.5.1/src/java/org/agnitas/util/SubCheck.java:2: 'class' or 'interface' expected
[javac] public static void main (String[] args) {
[javac] ^
[javac] /opt/openemm/OpenEMM-5.5.1/src/java/org/agnitas/util/SubCheck.java:20: 'class' or 'interface' expected
[javac] Sub s = new Sub ();
[javac] ^
[javac] /opt/openemm/OpenEMM-5.5.1/src/java/org/agnitas/util/SubCheck.java:22: 'class' or 'interface' expected
[javac] s.parse ("<a href=\"[rdir-domain bla=fasel]/banner_click?bid={banner}&uid=[agnUID]\"><img src=\"[rdir-domain dflt=\"bla fasel\"]/banner?bid={banner}&uid=[agnUID]\" border=\"0\"></a>",
[javac] ^
[javac] /opt/openemm/OpenEMM-5.5.1/src/java/org/agnitas/util/SubCheck.java:24: 'class' or 'interface' expected
[javac] s.reg ("rdir-domain", new Bla ());
[javac] ^
[javac] /opt/openemm/OpenEMM-5.5.1/src/java/org/agnitas/util/SubCheck.java:25: 'class' or 'interface' expected
[javac] X (s.sub (null));
[javac] ^
[javac] /opt/openemm/OpenEMM-5.5.1/src/java/org/agnitas/util/SubCheck.java:26: 'class' or 'interface' expected
[javac] }
[javac] ^
[javac] /opt/openemm/OpenEMM-5.5.1/src/java/org/agnitas/util/SubCheck.java:30: 'class' or 'interface' expected
[javac] ^
[javac] 7 errors
BUILD FAILED
/opt/openemm/OpenEMM-5.5.1/build.xml:90: Compile failed; see the compiler error output for details.
Total time: 2 seconds
Is this a known problem? What is this SubCheck file for? Is it normal that OpenEMM doesn't compile cleanly ``out of the box''? Or did I miss something?
Thank you!