Discussion:
[Middlegen-user] Compilation Problem
M-Leander Reimer
2002-05-13 05:43:03 UTC
Permalink
Morning,
last week I got a clean snapshot from the CVS repository and it didn't
compile. I just tried it again but it still doesn't work.

The error is:
compile:
[javac] Compiling 51 source files to
/home/reimerl/projekte/java/middlegen/build/classes
[javac]
/home/reimerl/projekte/java/middlegen/build/src/middlegen/MiddlegenTask.java:345: cannot resolve symbol
[javac] symbol : method init (java.io.File,java.lang.String)
[javac] location: class middlegen.Prefs
[javac] Prefs.init(_prefsDir, _appName);
[javac] ^
[javac] 1 error

BUILD FAILED

I am using Sun's JDK 1.3.1_02 under Debian Linux. I guess that is the
problem because the file src/java1.3/middlegen/Prefs.java does not have
this method.

Can I only compile Middlegen with JDK 1.4 and the new Preferences API?
Or does anyone know a quick fix that I could try to get it to compile
without switching JDKs, like extending the dummy Prefs class with the
missing methods?

Cheers,
Leander

Loading...