Hi Michael, What environment do you use to run that Windows build script? The windows builds are the ones I still feel least comfortable about. We tried to automate those on AdoptOpenJDK infrastructure, but they are using Ansible for provisioning machines (for very good reasons), and we spent days trying to come up with an Ansible script that allowed to build on Windows, without 100% success. Hence, we currently create the windows build on a Windows machine with a fixed setup. It would be better of course to move more of the environment and context parameters to the build procedure itself, and your script seems a step in that direction. But what infrastructure do you use to run this?
- Johan On Thu, Nov 1, 2018 at 11:17 PM Michael Ennen <mike.en...@gmail.com> wrote: > Also don't forget about the Windows build script: > > > https://github.com/javafxports/openjdk-jfx/blob/develop/tools/scripts/build.ps1 > > It is what I use to automate the process of building OpenJFX on Windows as > much as > possible. Any improvements to the script would be appreciated. > > On Wed, Oct 31, 2018 at 7:03 AM <faste...@swingempire.de> wrote: > > > forgot the link to the instruction page, just in case there's another: > > > > > > > https://wiki.openjdk.java.net/display/OpenJFX/Building+OpenJFX#BuildingOpenJFX-EnvironmentVariables > > > > Zitat von faste...@swingempire.de: > > > > > first try, following the instructions (for win10) at: > > > > > > that is having downloaded, installed the required tools, added env > > > vars as desribed. > > > > > > Then in cygwin, navigate to the git working dir, typing > > > > > > gradle tasks > > > > > > fails with: > > > > > > FAILURE: Build failed with an exception. > > > > > > * Where: > > > Script > > > > > > 'C:\Daten\data-for-work\eclipse\gitrep-openjdk\openjdk-jfx\buildSrc\win.gradle' > > line: > > > 92 > > > > > > * What went wrong: > > > A problem occurred evaluating script. > > >> FAIL: WINSDK_DIR not defined > > > > > > to me, it looks the env var WINSDK_DIR is not set - what should go in > > there? > > > > > > Thanks, Jeanette > > > > > > BTW: did I ever mention that I hate command line tools - and they > > > feel it, fighting back with all they got ;) > > > > > > > > > > -- > Michael Ennen >