Hello Bruno (and thanks Hao for the detailed build instructions!) Le 07/05/2018 à 00:41, Bruno Kinoshita a écrit :
> At work we use Java GIS libraries and metadata, although some of it is > running on some old versions. We are now updating these libraries, and I am > interested in learning more about Apache SIS & GeoAPI, to see if parts of > our code base could be replaced by both/either. Cool! Do not hesitate to let us know about any issue. > I tried to build Apache SIS, but it fails saying that it can't find the > parent of some of its modules. GeoAPI yesterday failed too, saying that the > JPY project could not be found. I looked at their Maven repository (senbox) > and it was returning error 500 too. http://www.geoapi.org/ server has just been fixed - sorry for the disturbance. http://nexus.senbox.net/ seems to be down for now. Let see later if still the case. In the meantime, you can remove the following line in the root pom.xml file of GeoAPI (near the end of the file): <module>geoapi-java-python</module> The GeoAPI Java-Python bridge is a new GeoAPI module under development which allow to use any GeoAPI implementation (not necessarily Apache SIS) in Java from the Python language, or conversely a GeoAPI implementation in Python from the Java language. When completed, it will allow to use parts of Apache SIS from Python. This module is being created because of the popularity of Python language among scientists, and because it is an OGC requirement to demonstrate that GeoAPI can work with other languages than Java. I will post more about this module when completed. But since Apache SIS does not yet use it, you can safely exclude it from the build. By the way, if there is any Python developer reading this, feedback would be welcome since I'm not myself a Python developer. Initial Python API documentation is available there: http://www.geoapi.org/snapshot/python/index.html > I couldn't find an YAML file for Travis-CI, so looked at builds.apache.org > to see if I could understand how Apache SIS was being built, but found > nothing different from what I was doing. > > The docs I followed : http://sis.apache.org/source.html Did you tried to build the trunk or a branch? When building the trunk, there is no need to try to build GeoAPI first because the trunk is nailed down on the GeoAPI 3.0.1 standard release from OGC. Only the branches use GeoAPI snapshots. The instruction for Eclipse IDE may be out-dated since I'm not aware of an Eclipse user having tried them recently. I will check if there is other instructions needed to be updated. Regards, Martin
