IcedTea-Web icon indicating copy to clipboard operation
IcedTea-Web copied to clipboard

Build Tools and Document for Icedtea-Web 2.0 Version

Open patris70 opened this issue 5 years ago • 48 comments

Hi,

we need Build Tools and Document for Version 2.0. https://github.com/AdoptOpenJDK/IcedTea-Web/releases/tag/icedtea-web-2.0.0-alpha1

My 1.8.x Version Build Tools don't work with Version 2.0.

regards

patris70 avatar Sep 03 '19 10:09 patris70

You can run the build using maven (https://maven.apache.org/).

mvn clean package

sclassen avatar Sep 03 '19 14:09 sclassen

What about Rust for exe file (javaws.exe) compiling?

patris70 avatar Sep 03 '19 21:09 patris70

Hi @sclassen ,

here is error file:

mvn-clean-package.txt

patris70 avatar Sep 04 '19 11:09 patris70

Hi @patris70 kann you please run mvn clean verify -DskipTests

There still some tests that do not work on all systems or sometimes not work based on race conditions. By calling this command the tests will be skipped.

hendrikebbers avatar Sep 04 '19 12:09 hendrikebbers

Hi @hendrikebbers,

Thanks, worked, here is LOG:

mvn-clean-verify -DskipTests.txt

But, where is Javaws.jar, javaws.exe and etc., how can i start a JNLP File?

patris70 avatar Sep 04 '19 18:09 patris70

@judovana can you give a hint how the (win) native executable can be build once the man build is don?

hendrikebbers avatar Sep 30 '19 12:09 hendrikebbers

ah, found the maven exec plugin :) Will try...

hendrikebbers avatar Sep 30 '19 12:09 hendrikebbers

This should work (but I assume only on linux): mvn clean install -DskipTests -P launchers

hendrikebbers avatar Sep 30 '19 12:09 hendrikebbers

Hi @hendrikebbers,

failed in compiling launcher section (i used Windows OS for compiling)! The question is, why work only on Linux!! As you know, we can compiling 1.8 on both Windows and Linux.

Here is Error:

[DEBUG] Executing command line: [D:\Dev-new\cygwin\bin\bash.exe, D:\IcedTea2\launchers/build.sh, 2.0.0-alpha2] [ERROR] Command execution failed. org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1) at org.apache.commons.exec.DefaultExecutor.executeInternal (DefaultExecutor.java:404) at org.apache.commons.exec.DefaultExecutor.execute (DefaultExecutor.java:166) at org.codehaus.mojo.exec.ExecMojo.executeCommandLine (ExecMojo.java:804) at org.codehaus.mojo.exec.ExecMojo.executeCommandLine (ExecMojo.java:760) at org.codehaus.mojo.exec.ExecMojo.execute (ExecMojo.java:304) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288) at org.apache.maven.cli.MavenCli.main (MavenCli.java:192) at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:498) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347) [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for IcedTeaWeb 2.0.0-alpha2: [INFO] [INFO] IcedTeaWeb ......................................... SUCCESS [ 13.766 s] [INFO] JNLP API ........................................... SUCCESS [ 26.796 s] [INFO] Common ............................................. SUCCESS [01:18 min] [INFO] Test Extensions .................................... SUCCESS [ 56.165 s] [INFO] XML Parser ......................................... SUCCESS [ 34.062 s] [INFO] Core ............................................... SUCCESS [05:18 min] [INFO] ITW with no dependencies ........................... SUCCESS [ 20.609 s] [INFO] ITW with all dependencies .......................... SUCCESS [ 30.657 s] [INFO] Integration Tests .................................. SUCCESS [ 49.422 s] [INFO] Clients ............................................ SUCCESS [ 17.984 s] [INFO] JNLP Servlet ....................................... SUCCESS [ 33.092 s] [INFO] Launchers .......................................... FAILURE [ 12.078 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 11:34 min [INFO] Finished at: 2019-10-01T11:08:35+02:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.6.0:exec (build-launchers) on project icedtea-web-launchers: Command execution failed.: Process exited with an error: 1 (Exit value: 1) -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.6.0:exec (build-launchers) on project icedtea-web-launchers: Command execution failed. at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288) at org.apache.maven.cli.MavenCli.main (MavenCli.java:192) at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:498) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347) Caused by: org.apache.maven.plugin.MojoExecutionException: Command execution failed. at org.codehaus.mojo.exec.ExecMojo.execute (ExecMojo.java:326) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288) at org.apache.maven.cli.MavenCli.main (MavenCli.java:192) at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:498) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347) Caused by: org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1) at org.apache.commons.exec.DefaultExecutor.executeInternal (DefaultExecutor.java:404) at org.apache.commons.exec.DefaultExecutor.execute (DefaultExecutor.java:166) at org.codehaus.mojo.exec.ExecMojo.executeCommandLine (ExecMojo.java:804) at org.codehaus.mojo.exec.ExecMojo.executeCommandLine (ExecMojo.java:760) at org.codehaus.mojo.exec.ExecMojo.execute (ExecMojo.java:304) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288) at org.apache.maven.cli.MavenCli.main (MavenCli.java:192) at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:498) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347) [ERROR] [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn -rf :icedtea-web-launchers

patris70 avatar Oct 01 '19 09:10 patris70

Hi, any news or update for this problem?

patris70 avatar Oct 25 '19 09:10 patris70

Sorry, we currently have no one working on a windows machine and can therefore not reproduce your error. If you find anything we are happy to accept PR or tips on how to fix it

sclassen avatar Oct 25 '19 09:10 sclassen

@sclassen @hendrikebbers I managed to build installers on Windows as follows:

  1. Install Visual C++ Build Tools: select MSVC Build Tools + Windows 10 SDK
  2. Install WIX
  3. Copy wixgen.jar to C:\msi-deps
  4. Copy all 65 files from C:\Program Files (x86)\WiX Toolset v3.11\bin to C:\msi-deps\wix311-binaries

Using Git Bash:

  1. Needs #490
  2. install Rust+Cargo: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
  3. export JRE=/c/Java/AdoptOpenJDK/jdk-13.0.0.33-hotspot
  4. update PATH so that MSVC link.exe will be used instead of GNU link: export PATH="/c/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.23.28105/bin/Hostx64/x64:$PATH"
  5. mvn clean install -DskipTests=true -P launchers => It fails because of hardcoded path to /cygdrive/msi-deps/... and I didn't use Cygwin (see #313 comments)

Using Cygwin64 terminal:

  1. export JRE=/cygdrive/c/Java/AdoptOpenJDK/jdk-13.0.0.33-hotspot
  2. export PATH="/cygdrive/c/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.23.28105/bin/Hostx64/x64:$PATH"
  3. mvn clean install -DskipTests=true -P launchers => it works!
  4. ./launchers/target/bin/javaws.exe https://josm.openstreetmap.de/download/josm-latest.jnlp => I can now test JOSM with ITW 2.0 👍

don-vip avatar Oct 31 '19 01:10 don-vip

@don-vip

can you please tell me, why we need MSVC Build Tools + Windows 10 SDK? Source code language for EXE file is RUST!!

Thanks

patris70 avatar Nov 06 '19 09:11 patris70

I have no idea. Something in the build chain requires it. Might be rust, cargo, wix, I don't remember. Try by yourself without it and you will face an issue about "link.exe".

don-vip avatar Nov 06 '19 21:11 don-vip

@don-vip

failed again, here is errors:

[DEBUG] Executing command line: [D:\Dev-new\cygwin\bin\bash.exe, D:\IcedTea2\launchers/build.sh, 2.0.0-alpha4] [ERROR] Command execution failed.
org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1)
at org.apache.commons.exec.DefaultExecutor.executeInternal (DefaultExecutor.java:404)
at org.apache.commons.exec.DefaultExecutor.execute (DefaultExecutor.java:166)
at org.codehaus.mojo.exec.ExecMojo.executeCommandLine (ExecMojo.java:804)
at org.codehaus.mojo.exec.ExecMojo.executeCommandLine (ExecMojo.java:760)
at org.codehaus.mojo.exec.ExecMojo.execute (ExecMojo.java:304)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:498)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for IcedTeaWeb 2.0.0-alpha4:
[INFO]
[INFO] IcedTeaWeb ......................................... SUCCESS [ 11.469 s]
[INFO] JNLP API ........................................... SUCCESS [ 26.298 s]
[INFO] Common ............................................. SUCCESS [ 50.002 s]
[INFO] Test Extensions .................................... SUCCESS [ 33.376 s]
[INFO] XML Parser ......................................... SUCCESS [ 24.548 s]
[INFO] Core ............................................... SUCCESS [02:39 min]
[INFO] ITW with no dependencies ........................... SUCCESS [ 22.611 s]
[INFO] ITW with all dependencies .......................... SUCCESS [ 31.907 s]
[INFO] Integration Tests .................................. SUCCESS [ 47.924 s]
[INFO] Clients ............................................ SUCCESS [ 19.110 s]
[INFO] JNLP Servlet ....................................... SUCCESS [ 29.501 s]
[INFO] Launchers .......................................... FAILURE [ 12.532 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 07:50 min
[INFO] Finished at: 2019-11-07T05:50:39+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.6.0:exec (build-launchers) on project icedtea-web-launchers: Command execution failed.: Process exited with an error: 1 (Exit value: 1) -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.6.0:exec (build-launchers) on project icedtea-web-launchers: Command execution failed.
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:498)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
Caused by: org.apache.maven.plugin.MojoExecutionException: Command execution failed.
at org.codehaus.mojo.exec.ExecMojo.execute (ExecMojo.java:326)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:498)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
Caused by: org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1)
at org.apache.commons.exec.DefaultExecutor.executeInternal (DefaultExecutor.java:404)
at org.apache.commons.exec.DefaultExecutor.execute (DefaultExecutor.java:166)
at org.codehaus.mojo.exec.ExecMojo.executeCommandLine (ExecMojo.java:804)
at org.codehaus.mojo.exec.ExecMojo.executeCommandLine (ExecMojo.java:760)
at org.codehaus.mojo.exec.ExecMojo.execute (ExecMojo.java:304)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:498)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
[ERROR]
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn -rf :icedtea-web-launchers

patris70 avatar Nov 07 '19 04:11 patris70

@don-vip can you do a PR that adds the build documentation for windows? I would like to put it in a new MD file. By doing so we can easily link it in issues and in the readme.md of the project.

hendrikebbers avatar Nov 11 '19 07:11 hendrikebbers

@don-vip

can you please tell me, why we need MSVC Build Tools + Windows 10 SDK? Source code language for EXE file is RUST!!

Thanks

I build the msi-installer without msvc and sdk. Rust needs the linker to be built to match the toolchain that is used to build. If you change the toolchain with rustup to x86_64-pc-windows-gnu or i686-pc-windows-gnu instead of x86_64-pc-windows-msvc or i686-pc-windows-msvc, rust uses the gnu-linker from the cygwin installation.

In addition, you do not need to copy the files from the wix toolset to the wixgen jar directory. You simply set the environment variables WIXGEN_JAR and WIX_TOOLSET_DIR

lherschi avatar Jan 09 '20 13:01 lherschi

@lherschi can you please submit a new PR better than mine? You obviously know more than me on the topic.

don-vip avatar Jan 09 '20 16:01 don-vip

Hi, any news or update? If yes, can you please upload toolchains in github? regards

patris70 avatar Jan 28 '20 19:01 patris70

Hi, any news or update? If yes, can you please upload toolchains in github as Dev-Tools? regards

patris70 avatar Jun 04 '20 11:06 patris70

see https://github.com/AdoptOpenJDK/IcedTea-Web/pull/520

hendrikebbers avatar Jun 05 '20 06:06 hendrikebbers

Just successfully build master branch (2.0.0-SNAPSHOT) !

Thanks this #392 and #520

Done on Cygwin I have set PATH(with a java bin path with short folder name c:\Progra~1) WIX_TOOLSET_DIR JRE

and I can now close https://github.com/AdoptOpenJDK/IcedTea-Web/issues/190 :)

douph1 avatar Sep 22 '20 21:09 douph1

@patris70 I have the same error org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1) when my JRE path contains space in the name you can add "-X" to mvn command to show the exec command who failed with exit 1 For me the JRE path was not quoted .. I have replaced with Progra~1 instead of "Program Files"

and be careful from space in path for other var too : WIXGEN_JAR and WIX_TOOLSET_DIR

douph1 avatar Sep 23 '20 08:09 douph1

@douph1 Thanks for Infos. I try it and write here the result. But as Info, my JRE Path has not Space and Path is D:\JDK\JRE Can you please tell me, what must be set for WIXGEN_JAR as Value? regards

patris70 avatar Sep 23 '20 08:09 patris70

Again Error:

[DEBUG] Executing command line: [C:\64bit\cygwin\bin\bash.exe, C:\64bit\ice-2\launchers/build.sh, 2.0.0-alpha8] [ERROR] Command execution failed. org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1) at org.apache.commons.exec.DefaultExecutor.executeInternal (DefaultExecutor.java:404) at org.apache.commons.exec.DefaultExecutor.execute (DefaultExecutor.java:166) at org.codehaus.mojo.exec.ExecMojo.executeCommandLine (ExecMojo.java:804) at org.codehaus.mojo.exec.ExecMojo.executeCommandLine (ExecMojo.java:760) at org.codehaus.mojo.exec.ExecMojo.execute (ExecMojo.java:304) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289) at org.apache.maven.cli.MavenCli.main (MavenCli.java:193) at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:498) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347) [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for IcedTeaWeb 2.0.0-alpha8: [INFO] [INFO] IcedTeaWeb ......................................... SUCCESS [ 7.298 s] [INFO] JNLP API ........................................... SUCCESS [ 15.000 s] [INFO] Common ............................................. SUCCESS [ 26.593 s] [INFO] Test Extensions .................................... SUCCESS [ 23.688 s] [INFO] XML Parser ......................................... SUCCESS [ 20.250 s] [INFO] Core ............................................... SUCCESS [01:25 min] [INFO] ITW with no dependencies ........................... SUCCESS [ 16.644 s] [INFO] ITW with all dependencies .......................... SUCCESS [ 16.731 s] [INFO] Integration Tests .................................. SUCCESS [ 32.219 s] [INFO] Clients ............................................ SUCCESS [ 18.734 s] [INFO] JNLP Servlet ....................................... SUCCESS [ 21.500 s] [INFO] Launchers .......................................... FAILURE [ 8.531 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 04:53 min [INFO] Finished at: 2020-09-23T10:59:54+02:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.6.0:exec (build-launchers) on project icedtea-web-launchers: Command execution failed.: Process exited with an error: 1 (Exit value: 1) -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.6.0:exec (build-launchers) on project icedtea-web-launchers: Command execution failed. at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289) at org.apache.maven.cli.MavenCli.main (MavenCli.java:193) at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:498) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347) Caused by: org.apache.maven.plugin.MojoExecutionException: Command execution failed. at org.codehaus.mojo.exec.ExecMojo.execute (ExecMojo.java:326) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289) at org.apache.maven.cli.MavenCli.main (MavenCli.java:193) at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:498) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347) Caused by: org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1) at org.apache.commons.exec.DefaultExecutor.executeInternal (DefaultExecutor.java:404) at org.apache.commons.exec.DefaultExecutor.execute (DefaultExecutor.java:166) at org.codehaus.mojo.exec.ExecMojo.executeCommandLine (ExecMojo.java:804) at org.codehaus.mojo.exec.ExecMojo.executeCommandLine (ExecMojo.java:760) at org.codehaus.mojo.exec.ExecMojo.execute (ExecMojo.java:304) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289) at org.apache.maven.cli.MavenCli.main (MavenCli.java:193) at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:498) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347) [ERROR] [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn -rf :icedtea-web-launchers

patris70 avatar Sep 23 '20 09:09 patris70

and nothing more if you run

bash launchers/build.sh 2.0.0-alpha8

douph1 avatar Sep 23 '20 09:09 douph1

WIXGEN_JAR is the path to wixgen.jar defaulting to C:\msi-deps I have not set it but placed the jar into the default folder C:\msi-deps

WIX_TOOLSET_DIR=C:\Progra~2\WiX Toolset v3.11\bin

douph1 avatar Sep 23 '20 09:09 douph1

JRE Error, but i have JAVA_HOME Variable and in PATH!!!

bash launchers/build.sh 2.0.0-alpha8

  • set -e
  • set -o pipefail
  • SCRIPT_SOURCE=launchers/build.sh
  • '[' -h launchers/build.sh ']'
  • isWindows ++ uname
  • [[ CYGWIN_NT-6.3 == \N\T ]]
  • return 0 ++++ dirname launchers/build.sh +++ cd -P launchers +++ pwd ++ cygpath -m /cygdrive/c/64bit/ice-2/launchers
  • readonly SCRIPT_DIR=C:/64bit/ice-2/launchers
  • SCRIPT_DIR=C:/64bit/ice-2/launchers
  • source C:/64bit/ice-2/launchers/configure.sh ++ VERSION=2.0.0-alpha8 ++ LOCALIZATIONS='en_US.UTF-8 cs_CZ.UTF-8 pl_PL.UTF-8 de_DE.UTF-8' ++ '[' x2.0.0-alpha8 == x ']' ++ readonly VERSION=2.0.0-alpha8 ++ VERSION=2.0.0-alpha8 ++ '[' x == x ']' ++ echo 'default jre is necessary' default jre is necessary ++ exit 1

patris70 avatar Sep 23 '20 09:09 patris70

As proprosed by @don-vip https://github.com/AdoptOpenJDK/IcedTea-Web/pull/520

The proper way would be to not force users to define a "JRE" variable at all, and either rely on JAVA_HOME, or simply on the PATH

and I'm ok with this !, I have added my comment:

What about defaulting to JAVA_HOME if JRE is not defined ?

Overloading JAVA_HOME with JRE is a good option, but I agree with @don-vip and @patris70 that making mandatory to set JRE when JAVA_HOME exists is superfluous

douph1 avatar Sep 23 '20 09:09 douph1

Ok, now i get Error about /Libs

$ launchers/build.sh 2.0.0-alpha8

  • set -e
  • set -o pipefail
  • SCRIPT_SOURCE=launchers/build.sh
  • '[' -h launchers/build.sh ']'
  • isWindows ++ uname
  • [[ CYGWIN_NT-6.3 == \N\T ]]
  • return 0 ++++ dirname launchers/build.sh +++ cd -P launchers +++ pwd ++ cygpath -m /cygdrive/c/64bit/ice-2/launchers
  • readonly SCRIPT_DIR=C:/64bit/ice-2/launchers
  • SCRIPT_DIR=C:/64bit/ice-2/launchers
  • source C:/64bit/ice-2/launchers/configure.sh ++ VERSION=2.0.0-alpha8 ++ LOCALIZATIONS='en_US.UTF-8 cs_CZ.UTF-8 pl_PL.UTF-8 de_DE.UTF-8' ++ '[' x2.0.0-alpha8 == x ']' ++ readonly VERSION=2.0.0-alpha8 ++ VERSION=2.0.0-alpha8 ++ '[' x/d/64bit/jdk == x ']' ++ readonly JRE=/d/64bit/jdk ++ JRE=/d/64bit/jdk +++ dirname C:/64bit/ice-2/launchers ++ readonly PROJECT_TOP=C:/64bit/ice-2 ++ PROJECT_TOP=C:/64bit/ice-2 ++ readonly TARGET=C:/64bit/ice-2/launchers/target ++ TARGET=C:/64bit/ice-2/launchers/target ++ readonly TARGET_TMP=C:/64bit/ice-2/launchers/target/tmp ++ TARGET_TMP=C:/64bit/ice-2/launchers/target/tmp ++ readonly TARGET_IMAGES=C:/64bit/ice-2/launchers/target/images ++ TARGET_IMAGES=C:/64bit/ice-2/launchers/target/images ++ readonly TARGET_DOCS_PARENT=C:/64bit/ice-2/launchers/target/icedtea-web-docs ++ TARGET_DOCS_PARENT=C:/64bit/ice-2/launchers/target/icedtea-web-docs ++ readonly TARGET_DOCS=C:/64bit/ice-2/launchers/target/icedtea-web-docs/2.0.0-alpha8 ++ TARGET_DOCS=C:/64bit/ice-2/launchers/target/icedtea-web-docs/2.0.0-alpha8 ++ rm -rf C:/64bit/ice-2/launchers/target ++ '[' x = x ']' ++ readonly ITW_LIBS=BUNDLED ++ ITW_LIBS=BUNDLED ++ '[' x == x ']' ++ readonly LIB_TARGET_DIR=C:/64bit/ice-2/launchers/target/libs ++ LIB_TARGET_DIR=C:/64bit/ice-2/launchers/target/libs ++ '[' x == x ']' ++ readonly ITW_TARGET_DIR=C:/64bit/ice-2/launchers/target/libs ++ ITW_TARGET_DIR=C:/64bit/ice-2/launchers/target/libs ++ '[' x == x ']' ++ readonly ETC_TARGET_DIR=C:/64bit/ice-2/launchers/target/libs ++ ETC_TARGET_DIR=C:/64bit/ice-2/launchers/target/libs ++ '[' x == x ']' ++ readonly BIN_TARGET_DIR=C:/64bit/ice-2/launchers/target/bin ++ BIN_TARGET_DIR=C:/64bit/ice-2/launchers/target/bin ++ '[' x == x ']' ++ readonly SPLASH_TARGET_DIR=C:/64bit/ice-2/launchers/target/libs ++ SPLASH_TARGET_DIR=C:/64bit/ice-2/launchers/target/libs ++ '[' x == x ']' ++ readonly ICO_TARGET_DIR=C:/64bit/ice-2/launchers/target/libs ++ ICO_TARGET_DIR=C:/64bit/ice-2/launchers/target/libs ++ '[' xBUNDLED == xDISTRIBUTION ']' +++ ls C:/64bit/ice-2/artifact-all-dependencies/target/icedtea-web-all-dependencies-2.0.0-alpha8-sources.jar C:/64bit/ice-2/artifact-all-dependencies/target/icedtea-web-all-dependencies-2.0.0-alpha8.jar +++ grep -v sources +++ grep -v javadoc +++ grep -v shaded ++ readonly JAVAWS_SRC=C:/64bit/ice-2/artifact-all-dependencies/target/icedtea-web-all-dependencies-2.0.0-alpha8.jar ++ JAVAWS_SRC=C:/64bit/ice-2/artifact-all-dependencies/target/icedtea-web-all-dependencies-2.0.0-alpha8.jar +++ ls C:/64bit/ice-2/artifact-all-dependencies/target/icedtea-web-all-dependencies-2.0.0-alpha8-sources.jar C:/64bit/ice-2/artifact-all-dependencies/target/icedtea-web-all-dependencies-2.0.0-alpha8.jar +++ grep sources ++ readonly JAVAWS_SRC_SRC=C:/64bit/ice-2/artifact-all-dependencies/target/icedtea-web-all-dependencies-2.0.0-alpha8-sources.jar ++ JAVAWS_SRC_SRC=C:/64bit/ice-2/artifact-all-dependencies/target/icedtea-web-all-dependencies-2.0.0-alpha8-sources.jar ++ '[' x == x ']' ++ readonly SYSTEM_JARS=/usr/share ++ SYSTEM_JARS=/usr/share ++ '[' x == x ']' +++ getJar rhino +++ '[' xBUNDLED == xDISTRIBUTION ']' +++ echo '' ++ readonly RHINO_SRC= ++ RHINO_SRC= ++ '[' x == x ']' +++ getJar tagsoup +++ '[' xBUNDLED == xDISTRIBUTION ']' +++ echo '' ++ readonly TAGSOUP_SRC= ++ TAGSOUP_SRC= ++ '[' x == x ']' +++ getJar mslinks +++ '[' xBUNDLED == xDISTRIBUTION ']' +++ echo '' ++ readonly MSLINKS_SRC= ++ MSLINKS_SRC= +++ find C:/64bit/ice-2/core/src +++ grep '/javaws_splash.png$' FIND: Parameterformat falsch ++ readonly SPLASH_PNG_SRC= ++ SPLASH_PNG_SRC= +++ find C:/64bit/ice-2/launchers +++ grep '/javaws.png$' FIND: Parameterformat falsch ++ readonly JAVAWS_ICO_SRC= ++ JAVAWS_ICO_SRC= +++ find C:/64bit/ice-2/launchers +++ grep '/itw-modularjdk.args$' FIND: Parameterformat falsch ++ readonly MODULARJDK_ARGS_FILE_SRC= ++ MODULARJDK_ARGS_FILE_SRC= ++ '[' x == x ']' ++ readonly KCOV_HOME=/home/Administrator/kcov ++ KCOV_HOME=/home/Administrator/kcov ++ KCOV=none ++ '[' -e /home/Administrator/kcov ']' ++ '[' x == x ']' ++ readonly CARGO_RUST=cargo ++ CARGO_RUST=cargo ++ '[' x == x ']' ++ readonly WIN_INSTALLER_DIR=C:/64bit/ice-2/launchers/win-installer ++ WIN_INSTALLER_DIR=C:/64bit/ice-2/launchers/win-installer ++ '[' x/d/64bit/wix/bin == x ']' ++ readonly WIXGEN_JAR=/d/64bit/wix/bin ++ WIXGEN_JAR=/d/64bit/wix/bin ++ '[' x/d/64bit/wix/bin == x ']' ++ readonly WIX_TOOLSET_DIR=/d/64bit/wix/bin ++ WIX_TOOLSET_DIR=/d/64bit/wix/bin
  • source C:/64bit/ice-2/launchers/utils.sh
  • mkdir -p C:/64bit/ice-2/launchers/target/libs
  • mkdir -p C:/64bit/ice-2/launchers/target/libs
  • mkdir -p C:/64bit/ice-2/launchers/target/libs
  • mkdir -p C:/64bit/ice-2/launchers/target/bin
  • mkdir -p C:/64bit/ice-2/launchers/target/libs
  • mkdir -p C:/64bit/ice-2/launchers/target/libs
  • publishInternalLib C:/64bit/ice-2/artifact-all-dependencies/target/icedtea-web-all-dependencies-2.0.0-alpha8.jar C:/64bit/ice-2/launchers/target/libs javaws.jar ++ getTarget C:/64bit/ice-2/artifact-all-dependencies/target/icedtea-web-all-dependencies-2.0.0-alpha8.jar C:/64bit/ice-2/launchers/target/libs javaws.jar ++ '[' xjavaws.jar == x ']' ++ echo C:/64bit/ice-2/launchers/target/libs/javaws.jar
  • cp C:/64bit/ice-2/artifact-all-dependencies/target/icedtea-web-all-dependencies-2.0.0-alpha8.jar C:/64bit/ice-2/launchers/target/libs/javaws.jar ++ getTarget C:/64bit/ice-2/artifact-all-dependencies/target/icedtea-web-all-dependencies-2.0.0-alpha8.jar C:/64bit/ice-2/launchers/target/libs javaws.jar ++ '[' xjavaws.jar == x ']' ++ echo C:/64bit/ice-2/launchers/target/libs/javaws.jar
  • RESOURCES_SRC_TO_DEST["$1"]=C:/64bit/ice-2/launchers/target/libs/javaws.jar
  • publishInternalLib C:/64bit/ice-2/artifact-all-dependencies/target/icedtea-web-all-dependencies-2.0.0-alpha8-sources.jar C:/64bit/ice-2/launchers/target/libs javaws-srcs.jar ++ getTarget C:/64bit/ice-2/artifact-all-dependencies/target/icedtea-web-all-dependencies-2.0.0-alpha8-sources.jar C:/64bit/ice-2/launchers/target/libs javaws-srcs.jar ++ '[' xjavaws-srcs.jar == x ']' ++ echo C:/64bit/ice-2/launchers/target/libs/javaws-srcs.jar
  • cp C:/64bit/ice-2/artifact-all-dependencies/target/icedtea-web-all-dependencies-2.0.0-alpha8-sources.jar C:/64bit/ice-2/launchers/target/libs/javaws-srcs.jar ++ getTarget C:/64bit/ice-2/artifact-all-dependencies/target/icedtea-web-all-dependencies-2.0.0-alpha8-sources.jar C:/64bit/ice-2/launchers/target/libs javaws-srcs.jar ++ '[' xjavaws-srcs.jar == x ']' ++ echo C:/64bit/ice-2/launchers/target/libs/javaws-srcs.jar
  • RESOURCES_SRC_TO_DEST["$1"]=C:/64bit/ice-2/launchers/target/libs/javaws-srcs.jar
  • publishInternalLib '' C:/64bit/ice-2/launchers/target/libs ++ getTarget C:/64bit/ice-2/launchers/target/libs ++ '[' x == x ']' +++ basename C:/64bit/ice-2/launchers/target/libs ++ echo /libs + cp /libs cp: missing destination file operand after '/libs' Try 'cp --help' for more information.

patris70 avatar Sep 23 '20 09:09 patris70