ContentMine / svg

ContentMine Fork of the WWMM svg Package
0 stars 3 forks source link

Build fails against Euclid 2.1.0 #4

Open ghost opened 7 years ago

ghost commented 7 years ago

17beee03b65dcc7608b7e976b1da226a3d997878 (2017-04-13) declares a dependency on Euclid 2.1.0 and builds against it.

a808e695a2cf5d3de68a1e86f65273763d0af266 (2017-05-17) declares a dependency on Euclid 2.1.0 but does not build against it. mvn clean install yields:

[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] /home/sampablokuper/projects/contentmine/svg/src/main/java/org/xmlcml/graphics/svg/plot/AnnotatedAxis.java:[225,81] cannot find symbol
  symbol:   method getConstantTo(org.xmlcml.euclid.RealRange)
  location: class org.xmlcml.euclid.RealRange
[ERROR] /home/sampablokuper/projects/contentmine/svg/src/main/java/org/xmlcml/graphics/svg/plot/AnnotatedAxis.java:[238,57] cannot find symbol
  symbol:   method transformToRange(org.xmlcml.euclid.RealRange,double)
  location: class org.xmlcml.euclid.RealRange
[ERROR] /home/sampablokuper/projects/contentmine/svg/src/main/java/org/xmlcml/graphics/svg/path/SVGPathParser.java:[136,42] cannot find symbol
  symbol:   method plusEquals(org.xmlcml.euclid.Real2)
  location: variable r2a of type org.xmlcml.euclid.Real2Array
[ERROR] /home/sampablokuper/projects/contentmine/svg/src/main/java/org/xmlcml/graphics/svg/path/SVGPathParser.java:[191,42] cannot find symbol
  symbol:   method plusEquals(org.xmlcml.euclid.Real2)
  location: variable r2a of type org.xmlcml.euclid.Real2Array
[INFO] 4 errors 
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 9.155 s
[INFO] Finished at: 2017-05-26T13:34:20+01:00
[INFO] Final Memory: 20M/199M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.2:compile (default-compile) on project svg: Compilation failure: Compilation failure:
[ERROR] /home/sampablokuper/projects/contentmine/svg/src/main/java/org/xmlcml/graphics/svg/plot/AnnotatedAxis.java:[225,81] cannot find symbol
[ERROR] symbol:   method getConstantTo(org.xmlcml.euclid.RealRange)
[ERROR] location: class org.xmlcml.euclid.RealRange
[ERROR] /home/sampablokuper/projects/contentmine/svg/src/main/java/org/xmlcml/graphics/svg/plot/AnnotatedAxis.java:[238,57] cannot find symbol
[ERROR] symbol:   method transformToRange(org.xmlcml.euclid.RealRange,double)
[ERROR] location: class org.xmlcml.euclid.RealRange
[ERROR] /home/sampablokuper/projects/contentmine/svg/src/main/java/org/xmlcml/graphics/svg/path/SVGPathParser.java:[136,42] cannot find symbol
[ERROR] symbol:   method plusEquals(org.xmlcml.euclid.Real2)
[ERROR] location: variable r2a of type org.xmlcml.euclid.Real2Array
[ERROR] /home/sampablokuper/projects/contentmine/svg/src/main/java/org/xmlcml/graphics/svg/path/SVGPathParser.java:[191,42] cannot find symbol
[ERROR] symbol:   method plusEquals(org.xmlcml.euclid.Real2)
[ERROR] location: variable r2a of type org.xmlcml.euclid.Real2Array
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
ghost commented 7 years ago

I have now checked, and these methods were indeed missing from Euclid 2.1.0:

They are, however, present in Euclid 2.1.1.