Modify

Opened 9 months ago

Closed 9 months ago

Last modified 9 months ago

#16127 closed defect (fixed)

Building cadastre_fr fails due to Javadoc

Reported by: stoecker Owned by: Don-vip
Priority: normal Milestone:
Component: Plugin cadastre-fr Version:
Keywords: Cc:

Description (last modified by Don-vip)

I tried to build all plugins today. cadastre_fr blocks build, as it can't find the class for apache-commons and geotools in javadoc generating.

Attachments (0)

Change History (12)

comment:1 Changed 9 months ago by Don-vip

javadoc errors don't fail the build, can you please share your full console output?

Last edited 9 months ago by Don-vip (previous) (diff)

comment:2 Changed 9 months ago by Don-vip

Description: modified (diff)

comment:3 Changed 9 months ago by stoecker

Buildfile: /home/stoecker/sources/josm/plugins/cadastre-fr/build.xml

init:

compile:
     [echo] compiling sources for /home/stoecker/sources/josm/dist/cadastre-fr.jar ... 

javadoc:
  [javadoc] Generating Javadoc
  [javadoc] Javadoc execution
  [javadoc] Loading source files for package org.openstreetmap.josm.plugins.fr.cadastre...
  [javadoc] Loading source files for package org.openstreetmap.josm.plugins.fr.cadastre.actions...
  [javadoc] Loading source files for package org.openstreetmap.josm.plugins.fr.cadastre.actions.mapmode...
  [javadoc] Loading source files for package org.openstreetmap.josm.plugins.fr.cadastre.actions.upload...
  [javadoc] Loading source files for package org.openstreetmap.josm.plugins.fr.cadastre.download...
  [javadoc] Loading source files for package org.openstreetmap.josm.plugins.fr.cadastre.edigeo...
  [javadoc] Loading source files for package org.openstreetmap.josm.plugins.fr.cadastre.edigeo.pci...
  [javadoc] Loading source files for package org.openstreetmap.josm.plugins.fr.cadastre.edigeo.utils...
  [javadoc] Loading source files for package org.openstreetmap.josm.plugins.fr.cadastre.preferences...
  [javadoc] Loading source files for package org.openstreetmap.josm.plugins.fr.cadastre.session...
  [javadoc] Loading source files for package org.openstreetmap.josm.plugins.fr.cadastre.wms...
  [javadoc] Constructing Javadoc information...
  [javadoc] /home/stoecker/sources/josm/plugins/cadastre-fr/src/org/openstreetmap/josm/plugins/fr/cadastre/actions/MenuActionSaveRasterAs.java:17: error: package org.geotools.coverage.grid does not exist
  [javadoc] import org.geotools.coverage.grid.GridCoverage2D;
  [javadoc]                                  ^
  [javadoc] /home/stoecker/sources/josm/plugins/cadastre-fr/src/org/openstreetmap/josm/plugins/fr/cadastre/actions/MenuActionSaveRasterAs.java:18: error: package org.geotools.coverage.grid does not exist
  [javadoc] import org.geotools.coverage.grid.GridCoverageFactory;
  [javadoc]                                  ^
  [javadoc] /home/stoecker/sources/josm/plugins/cadastre-fr/src/org/openstreetmap/josm/plugins/fr/cadastre/actions/MenuActionSaveRasterAs.java:19: error: package org.geotools.coverage.grid.io does not exist
  [javadoc] import org.geotools.coverage.grid.io.AbstractGridFormat;
  [javadoc]                                     ^
  [javadoc] /home/stoecker/sources/josm/plugins/cadastre-fr/src/org/openstreetmap/josm/plugins/fr/cadastre/actions/MenuActionSaveRasterAs.java:20: error: package org.geotools.gce.geotiff does not exist
  [javadoc] import org.geotools.gce.geotiff.GeoTiffFormat;
  [javadoc]                                ^
  [javadoc] /home/stoecker/sources/josm/plugins/cadastre-fr/src/org/openstreetmap/josm/plugins/fr/cadastre/actions/MenuActionSaveRasterAs.java:21: error: package org.geotools.gce.geotiff does not exist
  [javadoc] import org.geotools.gce.geotiff.GeoTiffWriteParams;
  [javadoc]                                ^
  [javadoc] /home/stoecker/sources/josm/plugins/cadastre-fr/src/org/openstreetmap/josm/plugins/fr/cadastre/actions/MenuActionSaveRasterAs.java:22: error: package org.geotools.gce.geotiff does not exist
  [javadoc] import org.geotools.gce.geotiff.GeoTiffWriter;
  [javadoc]                                ^
  [javadoc] /home/stoecker/sources/josm/plugins/cadastre-fr/src/org/openstreetmap/josm/plugins/fr/cadastre/actions/MenuActionSaveRasterAs.java:23: error: package org.geotools.geometry does not exist
  [javadoc] import org.geotools.geometry.Envelope2D;
  [javadoc]                             ^
  [javadoc] /home/stoecker/sources/josm/plugins/cadastre-fr/src/org/openstreetmap/josm/plugins/fr/cadastre/actions/MenuActionSaveRasterAs.java:24: error: package org.geotools.referencing does not exist
  [javadoc] import org.geotools.referencing.CRS;
  [javadoc]                                ^
  [javadoc] /home/stoecker/sources/josm/plugins/cadastre-fr/src/org/openstreetmap/josm/plugins/fr/cadastre/actions/MenuActionSaveRasterAs.java:25: error: package org.opengis.parameter does not exist
  [javadoc] import org.opengis.parameter.GeneralParameterValue;
  [javadoc]                             ^
  [javadoc] /home/stoecker/sources/josm/plugins/cadastre-fr/src/org/openstreetmap/josm/plugins/fr/cadastre/actions/MenuActionSaveRasterAs.java:26: error: package org.opengis.parameter does not exist
  [javadoc] import org.opengis.parameter.ParameterValueGroup;
  [javadoc]                             ^
  [javadoc] /home/stoecker/sources/josm/plugins/cadastre-fr/src/org/openstreetmap/josm/plugins/fr/cadastre/edigeo/pci/EdigeoPciReader.java:18: error: package org.apache.commons.compress.archivers.tar does not exist
  [javadoc] import org.apache.commons.compress.archivers.tar.TarArchiveEntry;
  [javadoc]                                                 ^
  [javadoc] /home/stoecker/sources/josm/plugins/cadastre-fr/src/org/openstreetmap/josm/plugins/fr/cadastre/edigeo/pci/EdigeoPciReader.java:19: error: package org.apache.commons.compress.archivers.tar does not exist
  [javadoc] import org.apache.commons.compress.archivers.tar.TarArchiveInputStream;
  [javadoc]                                                 ^
  [javadoc] /home/stoecker/sources/josm/plugins/cadastre-fr/src/org/openstreetmap/josm/plugins/fr/cadastre/edigeo/pci/EdigeoPciReader.java:22: error: package org.apache.commons.lang3 does not exist
  [javadoc] import org.apache.commons.lang3.StringUtils;
  [javadoc]                                ^
  [javadoc] /home/stoecker/sources/josm/plugins/cadastre-fr/src/org/openstreetmap/josm/plugins/fr/cadastre/edigeo/pci/EdigeoPciReader.java:23: error: package org.apache.commons.text does not exist
  [javadoc] import org.apache.commons.text.WordUtils;
  [javadoc]                               ^
  [javadoc] 14 errors

init-svn-revision-xml:

init-git-svn-revision-xml:

init-git-revision-xml:

init-revision-fallback:

revision:
   [delete] Deleting: /home/stoecker/sources/josm/plugins/cadastre-fr/REVISION.XML

dist:
     [echo] creating cadastre-fr.jar ... 

setup-dist:

setup-dist-default:

check-manifest-attribute:

add-manifest-attribute:

check-manifest-attribute:

add-manifest-attribute:

check-manifest-attribute:

add-manifest-attribute:

check-manifest-attribute:

add-manifest-attribute:

check-manifest-attribute:

add-manifest-attribute:

check-manifest-attribute:

add-manifest-attribute:

additional-manifest:
      [jar] Building jar: /home/stoecker/sources/josm/dist/cadastre-fr-sources.jar

BUILD FAILED
/home/stoecker/sources/josm/plugins/build-common.xml:189: /home/stoecker/sources/josm/plugins/cadastre-fr/javadoc does not exist.

Total time: 2 seconds

comment:4 Changed 9 months ago by Don-vip

What's your version of Java and Ant? I don't have the same output with JDK 8u162 and ant 1.10.1:

Buildfile: C:\SVN\josm\plugins\cadastre-fr\build.xml
clean:
   [delete] Deleting directory C:\SVN\josm\plugins\cadastre-fr\build
   [delete] Deleting: C:\SVN\josm\dist\cadastre-fr.jar
   [delete] Deleting: C:\SVN\josm\dist\cadastre-fr-sources.jar
   [delete] Deleting: C:\SVN\josm\dist\cadastre-fr-javadoc.jar
javadoc:
  [javadoc] Generating Javadoc
  [javadoc] Javadoc execution
  [javadoc] Loading source files for package org.openstreetmap.josm.plugins.fr.cadastre...
  [javadoc] Loading source files for package org.openstreetmap.josm.plugins.fr.cadastre.actions...
  [javadoc] Loading source files for package org.openstreetmap.josm.plugins.fr.cadastre.actions.mapmode...
  [javadoc] Loading source files for package org.openstreetmap.josm.plugins.fr.cadastre.actions.upload...
  [javadoc] Loading source files for package org.openstreetmap.josm.plugins.fr.cadastre.download...
  [javadoc] Loading source files for package org.openstreetmap.josm.plugins.fr.cadastre.edigeo...
  [javadoc] Loading source files for package org.openstreetmap.josm.plugins.fr.cadastre.edigeo.pci...
  [javadoc] Loading source files for package org.openstreetmap.josm.plugins.fr.cadastre.edigeo.utils...
  [javadoc] Loading source files for package org.openstreetmap.josm.plugins.fr.cadastre.preferences...
  [javadoc] Loading source files for package org.openstreetmap.josm.plugins.fr.cadastre.session...
  [javadoc] Loading source files for package org.openstreetmap.josm.plugins.fr.cadastre.wms...
  [javadoc] Constructing Javadoc information...
  [javadoc] C:\SVN\josm\plugins\cadastre-fr\src\org\openstreetmap\josm\plugins\fr\cadastre\actions\MenuActionSaveRasterAs.java:17: error: package org.geotools.coverage.grid does not exist
  [javadoc] import org.geotools.coverage.grid.GridCoverage2D;
  [javadoc]                                  ^
  [javadoc] C:\SVN\josm\plugins\cadastre-fr\src\org\openstreetmap\josm\plugins\fr\cadastre\actions\MenuActionSaveRasterAs.java:18: error: package org.geotools.coverage.grid does not exist
  [javadoc] import org.geotools.coverage.grid.GridCoverageFactory;
  [javadoc]                                  ^
  [javadoc] C:\SVN\josm\plugins\cadastre-fr\src\org\openstreetmap\josm\plugins\fr\cadastre\actions\MenuActionSaveRasterAs.java:19: error: package org.geotools.coverage.grid.io does not exist
  [javadoc] import org.geotools.coverage.grid.io.AbstractGridFormat;
  [javadoc]                                     ^
  [javadoc] C:\SVN\josm\plugins\cadastre-fr\src\org\openstreetmap\josm\plugins\fr\cadastre\actions\MenuActionSaveRasterAs.java:20: error: package org.geotools.gce.geotiff does not exist
  [javadoc] import org.geotools.gce.geotiff.GeoTiffFormat;
  [javadoc]                                ^
  [javadoc] C:\SVN\josm\plugins\cadastre-fr\src\org\openstreetmap\josm\plugins\fr\cadastre\actions\MenuActionSaveRasterAs.java:21: error: package org.geotools.gce.geotiff does not exist
  [javadoc] import org.geotools.gce.geotiff.GeoTiffWriteParams;
  [javadoc]                                ^
  [javadoc] C:\SVN\josm\plugins\cadastre-fr\src\org\openstreetmap\josm\plugins\fr\cadastre\actions\MenuActionSaveRasterAs.java:22: error: package org.geotools.gce.geotiff does not exist
  [javadoc] import org.geotools.gce.geotiff.GeoTiffWriter;
  [javadoc]                                ^
  [javadoc] C:\SVN\josm\plugins\cadastre-fr\src\org\openstreetmap\josm\plugins\fr\cadastre\actions\MenuActionSaveRasterAs.java:23: error: package org.geotools.geometry does not exist
  [javadoc] import org.geotools.geometry.Envelope2D;
  [javadoc]                             ^
  [javadoc] C:\SVN\josm\plugins\cadastre-fr\src\org\openstreetmap\josm\plugins\fr\cadastre\actions\MenuActionSaveRasterAs.java:24: error: package org.geotools.referencing does not exist
  [javadoc] import org.geotools.referencing.CRS;
  [javadoc]                                ^
  [javadoc] C:\SVN\josm\plugins\cadastre-fr\src\org\openstreetmap\josm\plugins\fr\cadastre\actions\MenuActionSaveRasterAs.java:25: error: package org.opengis.parameter does not exist
  [javadoc] import org.opengis.parameter.GeneralParameterValue;
  [javadoc]                             ^
  [javadoc] C:\SVN\josm\plugins\cadastre-fr\src\org\openstreetmap\josm\plugins\fr\cadastre\actions\MenuActionSaveRasterAs.java:26: error: package org.opengis.parameter does not exist
  [javadoc] import org.opengis.parameter.ParameterValueGroup;
  [javadoc]                             ^
  [javadoc] C:\SVN\josm\plugins\cadastre-fr\src\org\openstreetmap\josm\plugins\fr\cadastre\edigeo\pci\EdigeoPciReader.java:18: error: package org.apache.commons.compress.archivers.tar does not exist
  [javadoc] import org.apache.commons.compress.archivers.tar.TarArchiveEntry;
  [javadoc]                                                 ^
  [javadoc] C:\SVN\josm\plugins\cadastre-fr\src\org\openstreetmap\josm\plugins\fr\cadastre\edigeo\pci\EdigeoPciReader.java:19: error: package org.apache.commons.compress.archivers.tar does not exist
  [javadoc] import org.apache.commons.compress.archivers.tar.TarArchiveInputStream;
  [javadoc]                                                 ^
  [javadoc] C:\SVN\josm\plugins\cadastre-fr\src\org\openstreetmap\josm\plugins\fr\cadastre\edigeo\pci\EdigeoPciReader.java:22: error: package org.apache.commons.lang3 does not exist
  [javadoc] import org.apache.commons.lang3.StringUtils;
  [javadoc]                                ^
  [javadoc] C:\SVN\josm\plugins\cadastre-fr\src\org\openstreetmap\josm\plugins\fr\cadastre\edigeo\pci\EdigeoPciReader.java:23: error: package org.apache.commons.text does not exist
  [javadoc] import org.apache.commons.text.WordUtils;
  [javadoc]                               ^
  [javadoc] Creating destination directory: "C:\SVN\josm\plugins\cadastre-fr\javadoc\"
  [javadoc] Standard Doclet version 1.8.0_162
  [javadoc] Building tree for all the packages and classes...
  [javadoc] C:\SVN\josm\plugins\cadastre-fr\src\org\openstreetmap\josm\plugins\fr\cadastre\CadastrePlugin.java:484: error: self-closing element not allowed
  [javadoc]      * Adds the WMSLayer following this rule:<br/>
  [javadoc]                                              ^
  [javadoc] C:\SVN\josm\plugins\cadastre-fr\src\org\openstreetmap\josm\plugins\fr\cadastre\CadastrePlugin.java:485: error: self-closing element not allowed
  [javadoc]      * - if a WMSLayer exists place this new layer just before this layer<br/>
  [javadoc]                                                                          ^
  [javadoc] C:\SVN\josm\plugins\cadastre-fr\src\org\openstreetmap\josm\plugins\fr\cadastre\actions\upload\CheckSourceUploadHook.java:59: warning: no @param for osm
  [javadoc]     private boolean tagSourceExist(OsmPrimitive osm) {
  [javadoc]                     ^
  [javadoc] C:\SVN\josm\plugins\cadastre-fr\src\org\openstreetmap\josm\plugins\fr\cadastre\download\CadastreDownloadData.java:21: warning: no @param for downloadWater
  [javadoc]     CadastreDownloadData(boolean downloadWater, boolean downloadBuilding, boolean downloadSymbol,
  [javadoc]     ^
  [javadoc] C:\SVN\josm\plugins\cadastre-fr\src\org\openstreetmap\josm\plugins\fr\cadastre\download\CadastreDownloadData.java:21: warning: no @param for downloadBuilding
  [javadoc]     CadastreDownloadData(boolean downloadWater, boolean downloadBuilding, boolean downloadSymbol,
  [javadoc]     ^
  [javadoc] C:\SVN\josm\plugins\cadastre-fr\src\org\openstreetmap\josm\plugins\fr\cadastre\download\CadastreDownloadData.java:21: warning: no @param for downloadSymbol
  [javadoc]     CadastreDownloadData(boolean downloadWater, boolean downloadBuilding, boolean downloadSymbol,
  [javadoc]     ^
  [javadoc] C:\SVN\josm\plugins\cadastre-fr\src\org\openstreetmap\josm\plugins\fr\cadastre\download\CadastreDownloadData.java:21: warning: no @param for downloadParcel
  [javadoc]     CadastreDownloadData(boolean downloadWater, boolean downloadBuilding, boolean downloadSymbol,
  [javadoc]     ^
  [javadoc] C:\SVN\josm\plugins\cadastre-fr\src\org\openstreetmap\josm\plugins\fr\cadastre\download\CadastreDownloadData.java:21: warning: no @param for downloadParcelNumber
  [javadoc]     CadastreDownloadData(boolean downloadWater, boolean downloadBuilding, boolean downloadSymbol,
  [javadoc]     ^
  [javadoc] C:\SVN\josm\plugins\cadastre-fr\src\org\openstreetmap\josm\plugins\fr\cadastre\download\CadastreDownloadData.java:21: warning: no @param for downloadAddress
  [javadoc]     CadastreDownloadData(boolean downloadWater, boolean downloadBuilding, boolean downloadSymbol,
  [javadoc]     ^
  [javadoc] C:\SVN\josm\plugins\cadastre-fr\src\org\openstreetmap\josm\plugins\fr\cadastre\download\CadastreDownloadData.java:21: warning: no @param for downloadLocality
  [javadoc]     CadastreDownloadData(boolean downloadWater, boolean downloadBuilding, boolean downloadSymbol,
  [javadoc]     ^
  [javadoc] C:\SVN\josm\plugins\cadastre-fr\src\org\openstreetmap\josm\plugins\fr\cadastre\download\CadastreDownloadData.java:21: warning: no @param for downloadSection
  [javadoc]     CadastreDownloadData(boolean downloadWater, boolean downloadBuilding, boolean downloadSymbol,
  [javadoc]     ^
  [javadoc] C:\SVN\josm\plugins\cadastre-fr\src\org\openstreetmap\josm\plugins\fr\cadastre\download\CadastreDownloadData.java:21: warning: no @param for downloadCommune
  [javadoc]     CadastreDownloadData(boolean downloadWater, boolean downloadBuilding, boolean downloadSymbol,
  [javadoc]     ^
  [javadoc] C:\SVN\josm\plugins\cadastre-fr\src\org\openstreetmap\josm\plugins\fr\cadastre\edigeo\EdigeoLotFile.java:70: error: @param name not found
  [javadoc]      * @param klass descriptor class
  [javadoc]               ^
  [javadoc] C:\SVN\josm\plugins\cadastre-fr\src\org\openstreetmap\josm\plugins\fr\cadastre\edigeo\EdigeoLotFile.java:89: warning: no @param for <T>
  [javadoc]     public final <T extends B> T find(List<String> values, Class<T> klass) {
  [javadoc]                                  ^
  [javadoc] C:\SVN\josm\plugins\cadastre-fr\src\org\openstreetmap\josm\plugins\fr\cadastre\edigeo\EdigeoFileVEC.java:500: error: @param name not found
  [javadoc]      * @param consumer consumer that will update OSM primitive accordingly
  [javadoc]               ^
  [javadoc] C:\SVN\josm\plugins\cadastre-fr\src\org\openstreetmap\josm\plugins\fr\cadastre\edigeo\utils\ClassToInstancesMap.java:25: warning: no @param for <T>
  [javadoc]     <T extends B> List<T> getInstances(Class<T> type);
  [javadoc]                           ^
  [javadoc] C:\SVN\josm\plugins\cadastre-fr\src\org\openstreetmap\josm\plugins\fr\cadastre\edigeo\utils\ClassToInstancesMap.java:36: warning: no @param for <T>
  [javadoc]     <T extends B> List<T> putInstances(Class<T> type, List<T> values);
  [javadoc]                           ^
  [javadoc] C:\SVN\josm\plugins\cadastre-fr\src\org\openstreetmap\josm\plugins\fr\cadastre\edigeo\utils\ClassToInstancesMap.java:44: warning: no @param for <T>
  [javadoc]     <T extends B> boolean addInstance(Class<T> type, T value);
  [javadoc]                           ^
  [javadoc] C:\SVN\josm\plugins\cadastre-fr\src\org\openstreetmap\josm\plugins\fr\cadastre\wms\CacheFileLambert4ZoneFilter.java:30: warning: no @param for extension
  [javadoc]     private CacheFileLambert4ZoneFilter(String extension, String description) {
  [javadoc]             ^
  [javadoc] C:\SVN\josm\plugins\cadastre-fr\src\org\openstreetmap\josm\plugins\fr\cadastre\wms\CacheFileLambert4ZoneFilter.java:30: warning: no @param for description
  [javadoc]     private CacheFileLambert4ZoneFilter(String extension, String description) {
  [javadoc]             ^
  [javadoc] C:\SVN\josm\plugins\cadastre-fr\src\org\openstreetmap\josm\plugins\fr\cadastre\wms\CacheFileLambert9ZoneFilter.java:34: warning: no @param for extension
  [javadoc]     private CacheFileLambert9ZoneFilter(String extension, String description) {
  [javadoc]             ^
  [javadoc] C:\SVN\josm\plugins\cadastre-fr\src\org\openstreetmap\josm\plugins\fr\cadastre\wms\CacheFileLambert9ZoneFilter.java:34: warning: no @param for description
  [javadoc]     private CacheFileLambert9ZoneFilter(String extension, String description) {
  [javadoc]             ^
  [javadoc] C:\SVN\josm\plugins\cadastre-fr\src\org\openstreetmap\josm\plugins\fr\cadastre\wms\CacheFileUTM20NFilter.java:29: warning: no @param for extension
  [javadoc]     private CacheFileUTM20NFilter(String extension, String description) {
  [javadoc]             ^
  [javadoc] C:\SVN\josm\plugins\cadastre-fr\src\org\openstreetmap\josm\plugins\fr\cadastre\wms\CacheFileUTM20NFilter.java:29: warning: no @param for description
  [javadoc]     private CacheFileUTM20NFilter(String extension, String description) {
  [javadoc]             ^
  [javadoc] C:\SVN\josm\plugins\cadastre-fr\src\org\openstreetmap\josm\plugins\fr\cadastre\wms\CadastreInterface.java:121: error: invalid use of @return
  [javadoc]      * @return true if a cookie is delivered by WMS and false is WMS is not opening a client session
  [javadoc]        ^
  [javadoc] C:\SVN\josm\plugins\cadastre-fr\src\org\openstreetmap\josm\plugins\fr\cadastre\wms\CadastreInterface.java:124: warning: no @throws for java.io.IOException
  [javadoc]     private void getCookie() throws IOException {
  [javadoc]                  ^
  [javadoc] C:\SVN\josm\plugins\cadastre-fr\src\org\openstreetmap\josm\plugins\fr\cadastre\wms\CadastreInterface.java:271: error: unknown tag: select
  [javadoc]      *   <select name="codeCommune" class="long erreur" id="codeCommune">
  [javadoc]          ^
  [javadoc] C:\SVN\josm\plugins\cadastre-fr\src\org\openstreetmap\josm\plugins\fr\cadastre\wms\CadastreInterface.java:272: error: unknown tag: option
  [javadoc]      *   <option value="">Choisir</option>
  [javadoc]          ^
  [javadoc] C:\SVN\josm\plugins\cadastre-fr\src\org\openstreetmap\josm\plugins\fr\cadastre\wms\CadastreInterface.java:272: error: unknown tag: option
  [javadoc]      *   <option value="">Choisir</option>
  [javadoc]                                  ^
  [javadoc] C:\SVN\josm\plugins\cadastre-fr\src\org\openstreetmap\josm\plugins\fr\cadastre\wms\CadastreInterface.java:273: error: unknown tag: option
  [javadoc]      *   <option value="50061" >COLMARS - 04370</option>
  [javadoc]          ^
  [javadoc] C:\SVN\josm\plugins\cadastre-fr\src\org\openstreetmap\josm\plugins\fr\cadastre\wms\CadastreInterface.java:273: error: unknown tag: option
  [javadoc]      *   <option value="50061" >COLMARS - 04370</option>
  [javadoc]                                                ^
  [javadoc] C:\SVN\josm\plugins\cadastre-fr\src\org\openstreetmap\josm\plugins\fr\cadastre\wms\CadastreInterface.java:274: error: unknown tag: option
  [javadoc]      *   <option value="QK066" >COLMAR - 68000</option>
  [javadoc]          ^
  [javadoc] C:\SVN\josm\plugins\cadastre-fr\src\org\openstreetmap\josm\plugins\fr\cadastre\wms\CadastreInterface.java:274: error: unknown tag: option
  [javadoc]      *   <option value="QK066" >COLMAR - 68000</option>
  [javadoc]                                               ^
  [javadoc] C:\SVN\josm\plugins\cadastre-fr\src\org\openstreetmap\josm\plugins\fr\cadastre\wms\CadastreInterface.java:275: error: unknown tag: select
  [javadoc]      *   </select>
  [javadoc]          ^
  [javadoc] C:\SVN\josm\plugins\cadastre-fr\src\org\openstreetmap\josm\plugins\fr\cadastre\wms\CadastreInterface.java:281: warning: no @param for wmsLayer
  [javadoc]     private String postForm(WMSLayer wmsLayer, String codeCommune) throws IOException {
  [javadoc]                    ^
  [javadoc] C:\SVN\josm\plugins\cadastre-fr\src\org\openstreetmap\josm\plugins\fr\cadastre\wms\CadastreInterface.java:281: warning: no @param for codeCommune
  [javadoc]     private String postForm(WMSLayer wmsLayer, String codeCommune) throws IOException {
  [javadoc]                    ^
  [javadoc] C:\SVN\josm\plugins\cadastre-fr\src\org\openstreetmap\josm\plugins\fr\cadastre\wms\CadastreInterface.java:281: warning: no @throws for java.io.IOException
  [javadoc]     private String postForm(WMSLayer wmsLayer, String codeCommune) throws IOException {
  [javadoc]                    ^
  [javadoc] C:\SVN\josm\plugins\cadastre-fr\src\org\openstreetmap\josm\plugins\fr\cadastre\wms\DownloadSVGBuilding.java:103: warning: no @param for svg
  [javadoc]     private void createBuildings(String svg) {
  [javadoc]                  ^
  [javadoc] C:\SVN\josm\plugins\cadastre-fr\src\org\openstreetmap\josm\plugins\fr\cadastre\wms\DownloadSVGBuilding.java:201: warning: no @param for nodes
  [javadoc]     private static Node checkNearestNode(Node nodeToAdd, Collection<Node> nodes) {
  [javadoc]                         ^
  [javadoc] C:\SVN\josm\plugins\cadastre-fr\src\org\openstreetmap\josm\plugins\fr\cadastre\wms\DownloadSVGBuilding.java:49: warning: no @param for wmsLayer
  [javadoc]     public DownloadSVGBuilding(WMSLayer wmsLayer) {
  [javadoc]            ^
  [javadoc] C:\SVN\josm\plugins\cadastre-fr\src\org\openstreetmap\josm\plugins\fr\cadastre\wms\DownloadSVGTask.java:111: warning: no @param for svg
  [javadoc]     private void createWay(String svg) {
  [javadoc]                  ^
  [javadoc] C:\SVN\josm\plugins\cadastre-fr\src\org\openstreetmap\josm\plugins\fr\cadastre\wms\DownloadSVGTask.java:55: warning: no @param for wmsLayer
  [javadoc]     public DownloadSVGTask(WMSLayer wmsLayer) {
  [javadoc]            ^
  [javadoc] C:\SVN\josm\plugins\cadastre-fr\src\org\openstreetmap\josm\plugins\fr\cadastre\wms\GeorefImage.java:82: warning: no @return
  [javadoc]     private EastNorthBound computeNewBounding(EastNorth p1, EastNorth p2, EastNorth p3, EastNorth p4) {
  [javadoc]                            ^
  [javadoc] C:\SVN\josm\plugins\cadastre-fr\src\org\openstreetmap\josm\plugins\fr\cadastre\wms\GeorefImage.java:165: warning: no @param for georefImage
  [javadoc]     public boolean overlap(GeorefImage georefImage) {
  [javadoc]                    ^
  [javadoc] C:\SVN\josm\plugins\cadastre-fr\src\org\openstreetmap\josm\plugins\fr\cadastre\wms\GeorefImage.java:165: warning: no @return
  [javadoc]     public boolean overlap(GeorefImage georefImage) {
  [javadoc]                    ^
  [javadoc] C:\SVN\josm\plugins\cadastre-fr\src\org\openstreetmap\josm\plugins\fr\cadastre\wms\GeorefImage.java:177: warning: no @param for georefImage
  [javadoc]     public void withdraw(GeorefImage georefImage) {
  [javadoc]                 ^
  [javadoc] C:\SVN\josm\plugins\cadastre-fr\src\org\openstreetmap\josm\plugins\fr\cadastre\wms\GeorefImage.java:203: warning: no @param for in
  [javadoc]     private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException {
  [javadoc]                  ^
  [javadoc] C:\SVN\josm\plugins\cadastre-fr\src\org\openstreetmap\josm\plugins\fr\cadastre\wms\GeorefImage.java:203: warning: no @throws for java.io.IOException
  [javadoc]     private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException {
  [javadoc]                  ^
  [javadoc] C:\SVN\josm\plugins\cadastre-fr\src\org\openstreetmap\josm\plugins\fr\cadastre\wms\GeorefImage.java:203: warning: no @throws for java.lang.ClassNotFoundException
  [javadoc]     private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException {
  [javadoc]                  ^
  [javadoc] C:\SVN\josm\plugins\cadastre-fr\src\org\openstreetmap\josm\plugins\fr\cadastre\wms\GeorefImage.java:235: warning: no @param for out
  [javadoc]     private void writeObject(ObjectOutputStream out) throws IOException {
  [javadoc]                  ^
  [javadoc] C:\SVN\josm\plugins\cadastre-fr\src\org\openstreetmap\josm\plugins\fr\cadastre\wms\GeorefImage.java:235: warning: no @throws for java.io.IOException
  [javadoc]     private void writeObject(ObjectOutputStream out) throws IOException {
  [javadoc]                  ^
  [javadoc] C:\SVN\josm\plugins\cadastre-fr\src\org\openstreetmap\josm\plugins\fr\cadastre\wms\GeorefImage.java:297: warning: no @param for anchor
  [javadoc]     public void scale(EastNorth anchor, double proportion) {
  [javadoc]                 ^
  [javadoc] C:\SVN\josm\plugins\cadastre-fr\src\org\openstreetmap\josm\plugins\fr\cadastre\wms\GeorefImage.java:297: warning: no @param for proportion
  [javadoc]     public void scale(EastNorth anchor, double proportion) {
  [javadoc]                 ^
  [javadoc] C:\SVN\josm\plugins\cadastre-fr\src\org\openstreetmap\josm\plugins\fr\cadastre\wms\GeorefImage.java:310: error: @param name not found
  [javadoc]      * @param old_ang previous angle of image before rotation (0 the first time)(in radian)
  [javadoc]               ^
  [javadoc] C:\SVN\josm\plugins\cadastre-fr\src\org\openstreetmap\josm\plugins\fr\cadastre\wms\GrabThread.java:39: warning: no @param for moreImages
  [javadoc]     public void addImages(ArrayList<EastNorthBound> moreImages) {
  [javadoc]                 ^
  [javadoc] C:\SVN\josm\plugins\cadastre-fr\src\org\openstreetmap\josm\plugins\fr\cadastre\wms\ImageModifier.java:159: warning: no @param for img
  [javadoc]     public boolean isBackgroundColor(BufferedImage img, int x, int y) {
  [javadoc]                    ^
  [javadoc] C:\SVN\josm\plugins\cadastre-fr\src\org\openstreetmap\josm\plugins\fr\cadastre\wms\ImageModifier.java:159: warning: no @param for x
  [javadoc]     public boolean isBackgroundColor(BufferedImage img, int x, int y) {
  [javadoc]                    ^
  [javadoc] C:\SVN\josm\plugins\cadastre-fr\src\org\openstreetmap\josm\plugins\fr\cadastre\wms\ImageModifier.java:159: warning: no @param for y
  [javadoc]     public boolean isBackgroundColor(BufferedImage img, int x, int y) {
  [javadoc]                    ^
  [javadoc] C:\SVN\josm\plugins\cadastre-fr\src\org\openstreetmap\josm\plugins\fr\cadastre\wms\ImageModifier.java:159: warning: no @return
  [javadoc]     public boolean isBackgroundColor(BufferedImage img, int x, int y) {
  [javadoc]                    ^
  [javadoc] C:\SVN\josm\plugins\cadastre-fr\src\org\openstreetmap\josm\plugins\fr\cadastre\wms\RasterImageGeoreferencer.java:152: warning: no @param for action
  [javadoc]  private boolean canceledOrRestartCurrAction(String action) {
  [javadoc]                  ^
  [javadoc] C:\SVN\josm\plugins\cadastre-fr\src\org\openstreetmap\josm\plugins\fr\cadastre\wms\RasterImageModifier.java:49: warning: no @param for pixel
  [javadoc]     private int reverseIfGrey(int pixel) {
  [javadoc]                 ^
  [javadoc] C:\SVN\josm\plugins\cadastre-fr\src\org\openstreetmap\josm\plugins\fr\cadastre\wms\RasterImageModifier.java:49: warning: no @return
  [javadoc]     private int reverseIfGrey(int pixel) {
  [javadoc]                 ^
  [javadoc] C:\SVN\josm\plugins\cadastre-fr\src\org\openstreetmap\josm\plugins\fr\cadastre\wms\RasterImageModifier.java:96: warning: no @param for img
  [javadoc]     public static BufferedImage fixRasterImage(BufferedImage img) {
  [javadoc]                                 ^
  [javadoc] C:\SVN\josm\plugins\cadastre-fr\src\org\openstreetmap\josm\plugins\fr\cadastre\wms\SVGParser.java:47: warning: no @param for svg
  [javadoc]     public String[] getClosedPaths(String svg) {
  [javadoc]                     ^
  [javadoc] C:\SVN\josm\plugins\cadastre-fr\src\org\openstreetmap\josm\plugins\fr\cadastre\wms\SVGParser.java:47: warning: no @return
  [javadoc]     public String[] getClosedPaths(String svg) {
  [javadoc]                     ^
  [javadoc] C:\SVN\josm\plugins\cadastre-fr\src\org\openstreetmap\josm\plugins\fr\cadastre\wms\VectorImageModifier.java:76: warning: no @param for pixel
  [javadoc]     private int reverseIfGrey(int pixel) {
  [javadoc]                 ^
  [javadoc] C:\SVN\josm\plugins\cadastre-fr\src\org\openstreetmap\josm\plugins\fr\cadastre\wms\VectorImageModifier.java:76: warning: no @return
  [javadoc]     private int reverseIfGrey(int pixel) {
  [javadoc]                 ^
  [javadoc] C:\SVN\josm\plugins\cadastre-fr\src\org\openstreetmap\josm\plugins\fr\cadastre\wms\WMSLayer.java:379: warning: no @param for min
  [javadoc]     public String eastNorth2raster(EastNorth min, EastNorth max) {
  [javadoc]                   ^
  [javadoc] C:\SVN\josm\plugins\cadastre-fr\src\org\openstreetmap\josm\plugins\fr\cadastre\wms\WMSLayer.java:379: warning: no @param for max
  [javadoc]     public String eastNorth2raster(EastNorth min, EastNorth max) {
  [javadoc]                   ^
  [javadoc] C:\SVN\josm\plugins\cadastre-fr\src\org\openstreetmap\josm\plugins\fr\cadastre\wms\WMSLayer.java:456: warning: no @param for associatedFile
  [javadoc]     public void write(File associatedFile, ObjectOutputStream oos) throws IOException {
  [javadoc]                 ^
  [javadoc] C:\SVN\josm\plugins\cadastre-fr\src\org\openstreetmap\josm\plugins\fr\cadastre\wms\WMSLayer.java:456: warning: no @param for oos
  [javadoc]     public void write(File associatedFile, ObjectOutputStream oos) throws IOException {
  [javadoc]                 ^
  [javadoc] C:\SVN\josm\plugins\cadastre-fr\src\org\openstreetmap\josm\plugins\fr\cadastre\wms\WMSLayer.java:456: warning: no @throws for java.io.IOException
  [javadoc]     public void write(File associatedFile, ObjectOutputStream oos) throws IOException {
  [javadoc]                 ^
  [javadoc] C:\SVN\josm\plugins\cadastre-fr\src\org\openstreetmap\josm\plugins\fr\cadastre\wms\WMSLayer.java:482: warning: no @param for associatedFile
  [javadoc]     public boolean read(File associatedFile, ObjectInputStream ois, int currentLambertZone) throws IOException, ClassNotFoundException {
  [javadoc]                    ^
  [javadoc] C:\SVN\josm\plugins\cadastre-fr\src\org\openstreetmap\josm\plugins\fr\cadastre\wms\WMSLayer.java:482: warning: no @param for ois
  [javadoc]     public boolean read(File associatedFile, ObjectInputStream ois, int currentLambertZone) throws IOException, ClassNotFoundException {
  [javadoc]                    ^
  [javadoc] C:\SVN\josm\plugins\cadastre-fr\src\org\openstreetmap\josm\plugins\fr\cadastre\wms\WMSLayer.java:482: warning: no @param for currentLambertZone
  [javadoc]     public boolean read(File associatedFile, ObjectInputStream ois, int currentLambertZone) throws IOException, ClassNotFoundException {
  [javadoc]                    ^
  [javadoc] C:\SVN\josm\plugins\cadastre-fr\src\org\openstreetmap\josm\plugins\fr\cadastre\wms\WMSLayer.java:482: warning: no @return
  [javadoc]     public boolean read(File associatedFile, ObjectInputStream ois, int currentLambertZone) throws IOException, ClassNotFoundException {
  [javadoc]                    ^
  [javadoc] C:\SVN\josm\plugins\cadastre-fr\src\org\openstreetmap\josm\plugins\fr\cadastre\wms\WMSLayer.java:482: warning: no @throws for java.io.IOException
  [javadoc]     public boolean read(File associatedFile, ObjectInputStream ois, int currentLambertZone) throws IOException, ClassNotFoundException {
  [javadoc]                    ^
  [javadoc] C:\SVN\josm\plugins\cadastre-fr\src\org\openstreetmap\josm\plugins\fr\cadastre\wms\WMSLayer.java:482: warning: no @throws for java.lang.ClassNotFoundException
  [javadoc]     public boolean read(File associatedFile, ObjectInputStream ois, int currentLambertZone) throws IOException, ClassNotFoundException {
  [javadoc]                    ^
  [javadoc] C:\SVN\josm\plugins\cadastre-fr\src\org\openstreetmap\josm\plugins\fr\cadastre\wms\WMSLayer.java:586: warning: no @param for en1
  [javadoc]     public void cropImage(EastNorth en1, EastNorth en2) {
  [javadoc]                 ^
  [javadoc] C:\SVN\josm\plugins\cadastre-fr\src\org\openstreetmap\josm\plugins\fr\cadastre\wms\WMSLayer.java:586: warning: no @param for en2
  [javadoc]     public void cropImage(EastNorth en1, EastNorth en2) {
  [javadoc]                 ^
  [javadoc] Building index for all the packages and classes...
  [javadoc] Building index for all classes...
  [javadoc] Generating C:\SVN\josm\plugins\cadastre-fr\javadoc\help-doc.html...
  [javadoc] 14 errors
  [javadoc] 80 warnings
BUILD SUCCESSFUL
Total time: 5 seconds

comment:5 Changed 9 months ago by stoecker

Was Java9, With Java8 it does not fail, you're right. There came 4 other errors which I fixed now.

comment:6 Changed 9 months ago by stoecker

I now installed java 8, 9, 10 and 11 :-)

Still no JavaFX for openSUSE.

comment:7 in reply to:  6 Changed 9 months ago by Don-vip

Replying to stoecker:

Still no JavaFX for openSUSE.

This will probably become easier to build once JavaFX is taken out of JDK.

comment:8 Changed 9 months ago by Don-vip

Resolution: fixed
Status: assignedclosed

Errors fixed in [o34115].

comment:9 in reply to:  6 Changed 9 months ago by Don-vip

Replying to stoecker:

I now installed java 8, 9, 10 and 11 :-)

Jenkins is shouting: https://josm.openstreetmap.de/jenkins/job/JOSM-Integration/1365/warnings3Result/

All plugins have been compiled with Java 9. So it will cause errors for all Java 8 users.

comment:10 Changed 9 months ago by stoecker

I rebuilt ElevationProfile.jar, apache-commons.jar, globalsat.jar, opendata.jar, pbf.jar, poly.jar, canvec_helper.jar

I hope that was enough (the last two probably weren't necessary).

I hate this "feature" that you can only "nearly" build for an older version.

comment:12 Changed 9 months ago by stoecker

Last edited 9 months ago by stoecker (previous) (diff)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Don-vip.
as The resolution will be set.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.