Buildfile: /srv/ci/workspace/mod-simple-ci23.18101/build-eclipse.xml init: [mkdir] Created dir: /srv/ci/workspace/mod-simple-ci23.18101/ecj compile: [mkdir] Created dir: /srv/ci/workspace/mod-simple-ci23.18101/SANDBOX/tools/eclipse-warnings/build [javac] Compiling 2 source files to /srv/ci/workspace/mod-simple-ci23.18101/SANDBOX/tools/eclipse-warnings/build generate.compliance.libs.modules: eclipse-warnings: [echo] Compiling. Compliance level 11... [java] ---------- [java] 1. WARNING in /srv/ci/workspace/mod-simple-ci23.18101/src/org/openbravo/erpCommon/businessUtility/InitialSetupUtility.java (at line 1774) [java] return IOUtils.toString(r); [java] ^^^^^^^^^^^ [java] The method toString(InputStream) from the type IOUtils is deprecated [java] ---------- [java] ---------- [java] 2. WARNING in /srv/ci/workspace/mod-simple-ci23.18101/modules/org.openbravo.base.cxf.examples/src-test/org/openbravo/base/cxf/examples/test/util/WSDLCreator.java (at line 58) [java] FileUtils.writeStringToFile(getTargetFile(), wsdl); [java] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [java] The method writeStringToFile(File, String) from the type FileUtils is deprecated [java] ---------- [java] 3. WARNING in /srv/ci/workspace/mod-simple-ci23.18101/modules/org.openbravo.base.cxf.examples/src-test/org/openbravo/base/cxf/examples/test/util/WSDLCreator.java (at line 64) [java] String wsdlContent = FileUtils.readFileToString(new File(url.toURI())); [java] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [java] The method readFileToString(File) from the type FileUtils is deprecated [java] ---------- [java] ---------- [java] 4. WARNING in /srv/ci/workspace/mod-simple-ci23.18101/modules/org.openbravo.certification.france.testing/src-test/org/openbravo/certification/france/testing/gzip/test/OBCFRGzip.java (at line 60) [java] testJson = FileUtils.readFileToString(new File(getClass().getResource(testJson).getPath())); [java] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [java] The method readFileToString(File) from the type FileUtils is deprecated [java] ---------- [java] ---------- [java] 5. WARNING in /srv/ci/workspace/mod-simple-ci23.18101/modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/BaseTemplateProcessor.java (at line 165) [java] return IOUtils.toString(input); [java] ^^^^^^^^^^^^^^^ [java] The method toString(InputStream) from the type IOUtils is deprecated [java] ---------- [java] ---------- [java] 6. WARNING in /srv/ci/workspace/mod-simple-ci23.18101/modules/org.openbravo.client.kernel/src-test/org/openbravo/client/kernel/freemarker/test/FreemarkerTemplateProcessorTest.java (at line 169) [java] return FileUtils.readFileToString(file); [java] ^^^^^^^^^^^^^^^^^^^^^^ [java] The method readFileToString(File) from the type FileUtils is deprecated [java] ---------- [java] ---------- [java] 7. WARNING in /srv/ci/workspace/mod-simple-ci23.18101/modules/org.openbravo.dqm.capency/src/org/openbravo/dqm/capency/CapencyConnector.java (at line 254) [java] IOUtils.copy(inputStream, writer); [java] ^^^^^^^^^^^^^^^^^^^^^^^^^ [java] The method copy(InputStream, Writer) from the type IOUtils is deprecated [java] ---------- [java] ---------- [java] 8. WARNING in /srv/ci/workspace/mod-simple-ci23.18101/modules/org.openbravo.externaldata.integration/src/org/openbravo/externaldata/integration/process/JSONDataProcessor.java (at line 81) [java] data = FileUtils.readFileToString((File) raw); [java] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [java] The method readFileToString(File) from the type FileUtils is deprecated [java] ---------- [java] ---------- [java] 9. WARNING in /srv/ci/workspace/mod-simple-ci23.18101/modules/org.openbravo.externaldata.integration/src/org/openbravo/externaldata/integration/process/DataProcessor.java (at line 243) [java] FileUtils.writeStringToFile(attFile, (String) rawData); [java] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [java] The method writeStringToFile(File, String) from the type FileUtils is deprecated [java] ---------- [java] 10. WARNING in /srv/ci/workspace/mod-simple-ci23.18101/modules/org.openbravo.externaldata.integration/src/org/openbravo/externaldata/integration/process/DataProcessor.java (at line 247) [java] FileUtils.writeStringToFile(attFile, rawData.toString()); [java] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [java] The method writeStringToFile(File, String) from the type FileUtils is deprecated [java] ---------- [java] ---------- [java] 11. WARNING in /srv/ci/workspace/mod-simple-ci23.18101/modules/org.openbravo.integration.google/src/org/openbravo/integration/google/common/GoogleUtils.java (at line 72) [java] new InputStreamReader(IOUtils.toInputStream(config.getClientSecrets()))); [java] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [java] The method toInputStream(String) from the type IOUtils is deprecated [java] ---------- [java] ---------- [java] 12. WARNING in /srv/ci/workspace/mod-simple-ci23.18101/modules/org.openbravo.module.resources/src/org/openbravo/module/resources/calendar/email/ReservationEmailGenerator.java (at line 155) [java] FileUtils.writeStringToFile(file, sb.toString()); [java] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [java] The method writeStringToFile(File, String) from the type FileUtils is deprecated [java] ---------- [java] ---------- [java] 13. WARNING in /srv/ci/workspace/mod-simple-ci23.18101/modules/org.openbravo.retail.discounts/src-test/org/openbravo/retail/discounts/test/base/DiscountsBaseTest.java (at line 103) [java] JSONObject ping = new JSONObject(IOUtils.toString(response.getEntity().getContent())); [java] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [java] The method toString(InputStream) from the type IOUtils is deprecated [java] ---------- [java] ---------- [java] 14. WARNING in /srv/ci/workspace/mod-simple-ci23.18101/modules/org.openbravo.retail.posterminal/src-test/org/openbravo/retail/posterminal/POSOrderCashupPerformanceTest.java (at line 47) [java] String order1Json = IOUtils.toString(this.getClass().getResourceAsStream("order1.json")); [java] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [java] The method toString(InputStream) from the type IOUtils is deprecated [java] ---------- [java] 15. WARNING in /srv/ci/workspace/mod-simple-ci23.18101/modules/org.openbravo.retail.posterminal/src-test/org/openbravo/retail/posterminal/POSOrderCashupPerformanceTest.java (at line 48) [java] String order2Json = IOUtils.toString(this.getClass().getResourceAsStream("order2.json")); [java] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [java] The method toString(InputStream) from the type IOUtils is deprecated [java] ---------- [java] 16. WARNING in /srv/ci/workspace/mod-simple-ci23.18101/modules/org.openbravo.retail.posterminal/src-test/org/openbravo/retail/posterminal/POSOrderCashupPerformanceTest.java (at line 113) [java] String order1Json = IOUtils.toString(this.getClass().getResourceAsStream("order1.json")); [java] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [java] The method toString(InputStream) from the type IOUtils is deprecated [java] ---------- [java] 17. WARNING in /srv/ci/workspace/mod-simple-ci23.18101/modules/org.openbravo.retail.posterminal/src-test/org/openbravo/retail/posterminal/POSOrderCashupPerformanceTest.java (at line 114) [java] String order2Json = IOUtils.toString(this.getClass().getResourceAsStream("order2.json")); [java] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [java] The method toString(InputStream) from the type IOUtils is deprecated [java] ---------- [java] 18. WARNING in /srv/ci/workspace/mod-simple-ci23.18101/modules/org.openbravo.retail.posterminal/src-test/org/openbravo/retail/posterminal/POSOrderCashupPerformanceTest.java (at line 115) [java] String cashupJson = IOUtils.toString(this.getClass().getResourceAsStream("cashup.json")); [java] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [java] The method toString(InputStream) from the type IOUtils is deprecated [java] ---------- [java] ---------- [java] 19. WARNING in /srv/ci/workspace/mod-simple-ci23.18101/modules/org.openbravo.service.integration.sapecc/src/org/openbravo/service/integration/sapecc/process/SapEccExporterSynchronizableBusinessObjectExporter.java (at line 219) [java] FileUtils.writeStringToFile(idocTempFile, idocContents); [java] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [java] The method writeStringToFile(File, String) from the type FileUtils is deprecated [java] ---------- [java] ---------- [java] 20. WARNING in /srv/ci/workspace/mod-simple-ci23.18101/modules/org.openbravo.service.integration.sapecc/src/org/openbravo/service/integration/sapecc/communication/debug/LocalFileSystemImportRequestInfoIterator.java (at line 135) [java] return FileUtils.readFileToString(iDoc); [java] ^^^^^^^^^^^^^^^^^^^^^^ [java] The method readFileToString(File) from the type FileUtils is deprecated [java] ---------- [java] ---------- [java] 21. WARNING in /srv/ci/workspace/mod-simple-ci23.18101/modules/org.openbravo.service.jsexecutor/src-test/org/openbravo/service/jsexecutor/test/service/ServiceManager.java (at line 167) [java] return new JSONObject(IOUtils.toString(ping().getEntity().getContent())); [java] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [java] The method toString(InputStream) from the type IOUtils is deprecated [java] ---------- [java] ---------- [java] 22. WARNING in /srv/ci/workspace/mod-simple-ci23.18101/modules/org.openbravo.taxes/src-test/org/openbravo/taxes/test/base/TaxesBaseTest.java (at line 103) [java] JSONObject ping = new JSONObject(IOUtils.toString(response.getEntity().getContent())); [java] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [java] The method toString(InputStream) from the type IOUtils is deprecated [java] ---------- [java] ---------- [java] 23. WARNING in /srv/ci/workspace/mod-simple-ci23.18101/modules/org.openbravo.warehouse.advancedwarehouseoperations.edl/src/org/openbravo/warehouse/advancedwarehouseoperations/edl/communication/local/LocalFileSystemImportRequestInfoIterator.java (at line 119) [java] return FileUtils.readFileToString(csvFile); [java] ^^^^^^^^^^^^^^^^^^^^^^^^^ [java] The method readFileToString(File) from the type FileUtils is deprecated [java] ---------- [java] ---------- [java] 24. WARNING in /srv/ci/workspace/mod-simple-ci23.18101/src-test/src/org/openbravo/test/xml/XMLBaseTest.java (at line 76) [java] return FileUtils.readFileToString(f); [java] ^^^^^^^^^^^^^^^^^^^ [java] The method readFileToString(File) from the type FileUtils is deprecated [java] ---------- [java] 24 problems (24 warnings) BUILD FAILED /srv/ci/workspace/mod-simple-ci23.18101/build-eclipse.xml:104: There are compilation warnings/errors Total time: 25 seconds