[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[udig-dev] Development Environment Setup
|
HI all,
I was trying to setup the dev environment in eclipse for the latest uDig
version and have a few issues/questions:
1) I can't seem to get the org.locationtech.udig.catalog.imageio project
to compile. It it complaining about not being able to import
org.gdal.gdal. I can't figure this out because it looks like they are
configured and setup properly in the org.location.udig.libs project.
Does anybody have any ideas? I wouldn't put it past being some weird
eclipse bug. The errors are all in GDALFormatProvider.java:
* Driver cannot be resolve to a type
* gdal cannot be resolve
* The import org.gdal.gdal.Driver cannot be resolved
* The import org.gdal.gdal.gdal cannot be resolved.
2) When I ran "mvn test" it fails.
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 54.683 s
[INFO] Finished at: 2021-10-21T16:16:29-07:00
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal on project org.locationtech.udig.libs:
Could not resolve dependencies for project
org.locationtech.udig:org.locationtech.udig.libs:eclipse-plugin:2.3.0-SNAPSHOT:
Could not find artifact
org.locationtech.udig:org.locationtech.udig.libs.jfreechart:jar:2.3.0-SNAPSHOT
-> [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/DependencyResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR] mvn <args> -rf :org.locationtech.udig.libs
3) mvn clean install -Pproduct -Psdk -Pdocs
The docs part of this failed (if I run it without -Pdocs it works fine):
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 03:39 min
[INFO] Finished at: 2021-10-21T16:21:09-07:00
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-antrun-plugin:1.3:run (package) on
project udig-docs: An Ant BuildException has occured:
C:\data\uDig\github\udig-platform\docs\target\user\en\simple not found.
-> [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/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR] mvn <args> -rf :udig-docs
Lastly, I have an update that removes the joda time library (from the
main libs project) and use the java LocalDateTime/ZonedDateTime classes
instead. Are you interested in this if I submit a patch?
Thanks,
Emily