Now I made some further steps to build an executable:
- I have stored and modified as discribed on GitHub/Servoy/electron the build.xml to my electron direction.
- I opened the Terminal, changed to the electron direction and executed: ant run.electron
The executable file should be created in the ../electron/ElectronClient/ directory (as presented from Sean in the Tech Webinar #39).
But the build failed. This is what I get in the Terminal:
- Code: Select all
iMac:electron thomas$ ant run.electron
Buildfile: /Volumes/iMac/Users/thomas/electron/build.xml
[taskdef] Could not load definitions from resource net/sf/antcontrib/antcontrib.properties. It could not be found.
run.electron:
[taskdef] Could not load definitions from resource net/sf/antcontrib/antcontrib.properties. It could not be found.
run.electron.init:
[taskdef] Could not load definitions from resource net/sf/antcontrib/antcontrib.properties. It could not be found.
run.electron.windows:
[taskdef] Could not load definitions from resource net/sf/antcontrib/antcontrib.properties. It could not be found.
run.electron.mac:
[echo] Mac Target
[taskdef] Could not load definitions from resource net/sf/antcontrib/antcontrib.properties. It could not be found.
run.electron.install:
BUILD FAILED
/Volumes/iMac/Users/thomas/electron/build.xml:27: The following error occurred while executing this line:
/Volumes/iMac/Users/thomas/electron/build.xml:34: The following error occurred while executing this line:
/Volumes/iMac/Users/thomas/electron/build.xml:64: The following error occurred while executing this line:
/Volumes/iMac/Users/thomas/electron/build.xml:74: Problem: failed to create task or type if
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.
Ok, the Cause and Action output should be clear, but I can't find anything went wrong...
The build.xml is exactly the same as on GitHub/Servoy/electron except the changes for the "url" property. The "platform" and "arch" properties are correkt.