Help with Java package needed
Hi,
I intent to package mauve[1] and prepared the package in Git[2]. I was
able to get rid of several JARs upstream included but it seems now it
starts to become tricky enough that I need some help.
The Mauve download contains ext/zeus-jscl.jar. The source of this is
available here[3] and I think I was able to create a proper package of
this in pkg-java Git[4].
However, if I try to build Mauve which was working before changing the
location of zaus-jscl.jar in build.xml I get:
compile:
[mkdir] Created dir: /home/andreas/debian-maintain/repack/mauve/mauve-2.4.0+4734/bin
[javac] /home/andreas/debian-maintain/repack/mauve/mauve-2.4.0+4734/build.xml:96: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 202 source files to /home/andreas/debian-maintain/repack/mauve/mauve-2.4.0+4734/bin
[javac] /home/andreas/debian-maintain/repack/mauve/mauve-2.4.0+4734/src/org/gel/mauve/MyConsole.java:17: error: incompatible types
[javac] console = JConsole.getConsole ();
[javac] ^
[javac] required: JConsole
[javac] found: JConsolePane
[javac] /home/andreas/debian-maintain/repack/mauve/mauve-2.4.0+4734/src/org/gel/mauve/MyConsole.java:22: error: cannot find symbol
[javac] console.startConsole ();
[javac] ^
[javac] symbol: method startConsole()
[javac] location: variable console of type JConsole
[javac] /home/andreas/debian-maintain/repack/mauve/mauve-2.4.0+4734/src/org/gel/mauve/MyConsole.java:24: error: cannot find symbol
[javac] console.stopConsole ();
[javac] ^
[javac] symbol: method stopConsole()
[javac] location: variable console of type JConsole
[javac] /home/andreas/debian-maintain/repack/mauve/mauve-2.4.0+4734/src/org/gel/mauve/MyConsole.java:33: error: cannot find symbol
[javac] console.showConsole ();
[javac] ^
[javac] symbol: method showConsole()
[javac] location: variable console of type JConsole
[javac] /home/andreas/debian-maintain/repack/mauve/mauve-2.4.0+4734/src/org/gel/mauve/MyConsole.java:39: error: cannot find symbol
[javac] console.showConsole ();
[javac] ^
[javac] symbol: method showConsole()
[javac] location: variable console of type JConsole
[javac] /home/andreas/debian-maintain/repack/mauve/mauve-2.4.0+4734/src/org/gel/mauve/gui/MauveFrame.java:500: error: incompatible types
[javac] JConsole console = JConsole.getConsole();
[javac] ^
[javac] required: JConsole
[javac] found: JConsolePane
[javac] /home/andreas/debian-maintain/repack/mauve/mauve-2.4.0+4734/src/org/gel/mauve/gui/MauveFrame.java:501: error: cannot find symbol
[javac] console.showConsole();
[javac] ^
[javac] symbol: method showConsole()
[javac] location: variable console of type JConsole
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 7 errors
I have no idea what might went wrong here. Any idea?
Kind regards
Andreas.
[1] http://darlinglab.org/mauve/
[2] git://anonscm.debian.org/debian-med/mauve.git
[3] http://sourceforge.net/projects/zeus-jscl/
[4] git://anonscm.debian.org/pkg-java/libzeus-jscl-java.git
--
http://fam-tille.de
Reply to: