[MOBY-dev] jMoby does not compile

Martin Senger martin.senger at gmail.com
Tue Jun 9 21:16:54 UTC 2009


compile:
    [javac] Compiling 367 source files to
/home/senger/moby-live/Java/build/classes
    [javac]
/home/senger/moby-live/Java/src/main/ca/ucalgary/seahawk/gui/MobyContentPane.java:327:
cannot find symbol
    [javac] symbol  : class Desktop
    [javac] location: class ca.ucalgary.seahawk.gui.MobyContentPane
    [javac]         Desktop desktop = Desktop.getDesktop();
    [javac]             ^
    [javac]
/home/senger/moby-live/Java/src/main/ca/ucalgary/seahawk/gui/MobyContentPane.java:327:
cannot find symbol
    [javac] symbol  : variable Desktop
    [javac] location: class ca.ucalgary.seahawk.gui.MobyContentPane
    [javac]         Desktop desktop = Desktop.getDesktop();
    [javac]                               ^
    [javac]
/home/senger/moby-live/Java/src/main/ca/ucalgary/seahawk/gui/MobyContentPane.java:328:
package Desktop does not exist
    [javac]         if(!desktop.isSupported(Desktop.Action.BROWSE)) {
    [javac]                                            ^
    [javac]
/home/senger/moby-live/Java/src/main/ca/ucalgary/services/util/PBERecorder.java:554:
incompatible types
    [javac] found   : java.lang.Object
    [javac] required: java.util.Map.Entry<java.lang.String,java.lang.String>
    [javac]             for(Map.Entry<String,String> servicetype:
gui.getMobyCentralImpl().getServiceTypes().entrySet()){

[javac]
^
    [javac] Note:
/home/senger/moby-live/Java/src/main/ca/ucalgary/services/util/PBERecorder.java
uses or overrides 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] 4 errors

BUILD FAILED
/home/senger/moby-live/Java/build.xml:329: Compile failed; see the compiler
error output for details.


-- 
Martin Senger
email: martin.senger at gmail.com,m.senger at cgiar.org
skype: martinsenger



More information about the MOBY-dev mailing list