jung2 - jung-visualization build fails -


i'm having issue compiling guava branch of jung found here. jung-visualization's pluggablerendercontext.java has compile error. appears problem has come before visible this google search, link redirects jung github repository.

i've cloned github repository local machine , imported maven project eclipse. when running goals "clean install" following output when building jung-visualization.


[info] ------------------------------------------------------------------------ [info] building jung-visualization 2.0.2-snapshot [info] ------------------------------------------------------------------------ [info]  [info] --- maven-clean-plugin:2.5:clean (default-clean) @ jung-visualization --- [info]  [info] --- maven-resources-plugin:2.6:resources (default-resources) @ jung-visualization --- [warning] using platform encoding (utf-8 actually) copy filtered resources, i.e. build platform dependent! [info] skip non existing resourcedirectory /users/eric/documents/development/java/git/jung/jung/jung-visualization/src/main/resources [info]  [info] --- maven-compiler-plugin:2.0:compile (default-compile) @ jung-visualization --- compiling 158 source files /users/eric/documents/development/java/git/jung/jung/jung-visualization/target/classes [info] ------------------------------------------------------------------------ [info] reactor summary: [info]  [info] jung2 .............................................. success [  0.570 s] [info] jung-api ........................................... success [  2.159 s] [info] jung-graph-impl .................................... success [  2.148 s] [info] jung-algorithms .................................... success [  4.028 s] [info] jung-io ............................................ success [  3.369 s] [info] jung-visualization ................................. failure [  1.770 s] [info] jung-samples ....................................... skipped [info] ------------------------------------------------------------------------ [info] build failure [info] ------------------------------------------------------------------------ [info] total time: 14.192 s [info] finished at: 2015-08-16t23:59:57-04:00 [info] final memory: 62m/369m [info] ------------------------------------------------------------------------ [error] failed execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0:compile (default-compile) on project jung-visualization: compilation failure: compilation failure: [error] /users/eric/documents/development/java/git/jung/jung/jung-visualization/src/main/java/edu/uci/ics/jung/visualization/pluggablerendercontext.java:[47,7] error: pluggablerendercontext not abstract , not override abstract method getedgeshapetransformer() in rendercontext [error]  [error] not parse error message:   v,e type-variables: [error] v extends object declared in class pluggablerendercontext [error] e extends object declared in class pluggablerendercontext [error] /users/eric/documents/development/java/git/jung/jung/jung-visualization/src/main/java/edu/uci/ics/jung/visualization/pluggablerendercontext.java:310: error: getedgeshapetransformer() in pluggablerendercontext cannot implement getedgeshapetransformer() in rendercontext [error] public function<? super context<graph<v,e>,e>,shape> getedgeshapetransformer() { [error] ^ [error] -> [help 1] [error]  [error] see full stack trace of errors, re-run maven -e switch. [error] re-run maven using -x switch enable full debug logging. [error]  [error] more information errors , possible solutions, please read following articles: [error] [help 1] http://cwiki.apache.org/confluence/display/maven/mojofailureexception [error]  [error] after correcting problems, can resume build command [error]   mvn <goals> -rf :jung-visualization 

any appreciated! best regards, mcg.

it looks there's bug in declaration of guava-fied rendercontext.java; instead of this:

function<context<graph<v,e>,e>,shape> getedgeshapetransformer(); 

it should this:

function<? super context<graph<v,e>,e>,shape> getedgeshapetransformer(); 

so signatures compatible.


Comments

Popular posts from this blog

dns - How To Use Custom Nameserver On Free Cloudflare? -

python - Pygame screen.blit not working -

c# - Web API response xml language -