Full log of the build
[easyant-configure-easyant] :: Apache Ivy 2.7.0-local-20230210142119 - 20230210142119 :: Home | Apache Ivy ™ ::
[easyant-configure-easyant] :: loading settings :: file = /home/deadbeef/MicroEJ/MicroEJ-SDK-21.11/rcp/configuration/org.eclipse.osgi/482/data/repositories/microej-build-repository/ivysettings.xml
Loading System Plugins…
[easyant-load-module] Loading build module : /home/deadbeef/repos/github.com/microej/Demo-Widget/com.microej.demo.widget/module.ivy
[echo] Building com.microej.demo widget with com.is2t.easyant.buildtypes#build-firmware-singleapp…
[easyant-load-module] :: loading settings :: file = /home/deadbeef/.microej/microej-ivysettings-5.4.xml
clean-std:clean:
[echo] Cleaning /home/deadbeef/repos/github.com/microej/Demo-Widget/com.microej.demo.widget/target~…
[delete] Deleting directory /home/deadbeef/repos/github.com/microej/Demo-Widget/com.microej.demo.widget/target~
clean-artifacts:preinit:
[echo] clean.artifacts.force.skip = true
clean-artifacts:dir-exists:
[echo] clean.artifacts.module.dir = /home/deadbeef/repos/github.com/microej/Demo-Widget/com.microej.demo.widget/${clean.artifacts.repository}/${clean.artifacts.organisation}/${clean.artifacts.module}/${clean.artifacts.branch}
-ivy-provisioning:resolve:
[ivy:resolve] Configure microej module manager semantic cache for microEJForgeCentral resolver.
[ivy:resolve] Configure microej module manager semantic cache for microEJForgeDeveloper resolver.
[ivy:resolve] Configure microej module manager semantic cache for microEJCentral resolver.
[ivy:resolve] Configure microej module manager semantic cache for microEJLocal resolver.
[check-available-confs] Try default
[check-available-confs] Try test
[check-available-confs] Try provided
-ivy-provisioning:resolve-main-confs:
Topological sort auto enabled : true
-ivy-provisioning:resolve-test-confs:
Topological sort auto enabled : true
-ivy-provisioning:resolve-provided-confs:
Topological sort auto enabled : true
ivy-retrieve:retrieve:
[ivy:retrieve] :: retrieving :: com.microej.demo#widget [sync]
[ivy:retrieve] confs: [default]
[ivy:retrieve] 9 artifacts copied, 0 already retrieved (402kB/5ms)
-build-firmware-singleapp:init:
[mkdir] Created dir: /home/deadbeef/repos/github.com/microej/Demo-Widget/com.microej.demo.widget/target~/ant
[copy] Copying 3 files to /home/deadbeef/repos/github.com/microej/Demo-Widget/com.microej.demo.widget/target~/ant/lib
[copy] Copying /home/deadbeef/MicroEJ/MicroEJ-SDK-21.11/rcp/configuration/org.eclipse.osgi/482/data/repositories/microej-build-repository/org/apache/ant/ant/1.9.9/ant-1.9.9.jar to /home/deadbeef/repos/github.com/microej/Demo-Widget/com.microej.demo.widget/target~/ant/lib/ant-1.9.9.jar
[copy] Copying /home/deadbeef/MicroEJ/MicroEJ-SDK-21.11/rcp/configuration/org.eclipse.osgi/482/data/repositories/microej-build-repository/org/apache/ant/ant-launcher/1.9.9/ant-launcher-1.9.9.jar to /home/deadbeef/repos/github.com/microej/Demo-Widget/com.microej.demo.widget/target~/ant/lib/ant-launcher-1.9.9.jar
[copy] Copying /home/deadbeef/MicroEJ/MicroEJ-SDK-21.11/rcp/configuration/org.eclipse.osgi/482/data/repositories/microej-build-repository/org/apache/ant/ant-junit/1.8.4/ant-junit-1.8.4.jar to /home/deadbeef/repos/github.com/microej/Demo-Widget/com.microej.demo.widget/target~/ant/lib/ant-junit-1.8.4.jar
-addon-processor:post-customization:compute-application-classpath:
[ivy:retrieve-forked] :: retrieving :: com.microej.demo#widget
[ivy:retrieve-forked] confs: [default, provided, documentation, platform, vdruntime, source, dist, test]
[ivy:retrieve-forked] 13 artifacts copied, 0 already retrieved (897kB/9ms)
-addon-processor:partialCompile:
[mkdir] Created dir: /home/deadbeef/repos/github.com/microej/Demo-Widget/com.microej.demo.widget/target~/adppartialclasses
[echo] Warning: the following compilation may fail without consequences on the build result.
[javac] Compiling 158 source files to /home/deadbeef/repos/github.com/microej/Demo-Widget/com.microej.demo.widget/target~/adppartialclasses
[javac] ----------
[javac] 1. WARNING in /home/deadbeef/repos/github.com/microej/Demo-Widget/com.microej.demo.widget/src/main/java/com/microej/demo/widget/wheel/widget/Choice.java (at line 7)
[javac] import java.util.NoSuchElementException;
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] The import java.util.NoSuchElementException is never used
[javac] ----------
[javac] 1 problem (1 warning)
-addon-processor:run:
[adp-executor] :: loading settings :: url = jar:file:/home/deadbeef/MicroEJ/MicroEJ-SDK-21.11/rcp/configuration/org.eclipse.osgi/481/0/.cp/lib/ivy.jar!/org/apache/ivy/core/settings/ivysettings.xml
-addon-processor:run:copy-main-resources:
[mkdir] Created dir: /home/deadbeef/repos/github.com/microej/Demo-Widget/com.microej.demo.widget/target~/main/classes
-addon-processor:run:copy-test-resources:
[mkdir] Created dir: /home/deadbeef/repos/github.com/microej/Demo-Widget/com.microej.demo.widget/target~/test/classes
platform-loader:set-use-platform-dependency:
Topological sort auto enabled : true
BUILD FAILED
Found an error when building widget
File : /home/deadbeef/MicroEJ/MicroEJ-SDK-21.11/rcp/configuration/org.eclipse.osgi/482/data/repositories/microej-build-repository/com/is2t/easyant/plugins/platform-loader/1.3.2/platform-loader-1.3.2.ant
Line : 307 column : 55
No loaded Platform.
Possible options to load a platform are:
- (1) Set the property
platform-loader.target.platform.file
to a Platform file absolute path.
- (2) Set the property
platform-loader.target.platform.dir
to a Platform directory absolute path.
- (3) Declare a dependency in
module.ivy
using the platform
configuration (e.g. <dependency org="com.mycompany" name="myplatform" rev="M.m.p" conf="platform->default"/>
).
- (4) Copy/Paste a Platform file into the folder defined by the property
platform-loader.target.platform.dropins
(by default its value is dropins
).
A Platform declared using (1) or (2) is loaded prior to (3) or (4).
Run easyant with -verbose or -debug option to get more details.
Total time: 1 second