Problem Compiling icelogo

108 views
Skip to first unread message

Johannes Helmuth

unread,
Jun 5, 2013, 11:03:02 AM6/5/13
to ice...@googlegroups.com, cor...@molgen.mpg.de
I am running Linux  3.5.3 x86_64! I am having great difficulties with your source code for icelogo:

1) I had to modify my pom.xml to get necessary libraries and get mvn install running (pom.xml attached).
To start the compilation, I had to download some artifacts by hand and ran the following commands from the commandline by hand:

$ mvn install:install-file -Dfile=mysql-connector-java-3.1.12-bin.jar -DgroupId=mysql -DartifactId=mysql-connector-java -Dpackaging=jar -Dversion=3.1.12-bin -DgeneratePom=true
$ mvn install:install-file -Dfile=iText-2.0.8.jar -DgroupId=itext -DartifactId=iText -Dpackaging=jar -Dversion=2.0.8 -DgeneratePom=true
$ mvn install:install-file -Dfile=jcommon-1.0.13.jar -DgroupId=jfree -DartifactId=jcommon -Dpackaging=jar -Dversion=1.0.13 -DgeneratePom=true
$ mvn install:install-file -Dfile=jfreechart-1.0.10.jar -DgroupId=jfree -DartifactId=jfreechart -Dpackaging=jar -Dversion=1.0.10 -DgeneratePom=true

2) Even after getting all artifacts I am still unable to compile. I attached the output of

$ mvn -X compile
Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-19 14:51:28+0100)                                                                               
Java version: 1.7.0_17, vendor: Oracle Corporation
Java home: /usr/local/java/jre
Default locale: de_DE, platform encoding: ISO-8859-1
OS name: "linux", version: "3.5.3.mx64.41", arch: "amd64", family: "unix"

I think the most important line would be:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project logo: Compilation failure: Compilation failure:
[ERROR] /amd/pummelfee/X/X3009/home/abt_vin/helmuth/workspace/tom/icelogo-src/src/main/java/com/compomics/icelogo/core/io/MatrixDataModelSaver.java:[10,44] cannot find symbol
[ERROR] symbol:   class Savable
[ERROR] location: package com.compomics.icelogo.gui.interfaces


The class/interface Savable is missing in svn trunk!

Where is it?

Best
Johannes Helmuth

pom.xml
compile.log

Johannes Helmuth

unread,
Jun 6, 2013, 12:17:14 PM6/6/13
to ice...@googlegroups.com, cor...@molgen.mpg.de
I found a solution. Because the interface is pretty simple, I created it myself. Find it attached...
Savable.java
Reply all
Reply to author
Forward
0 new messages