Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate OS X installer binary #100

Closed
cbeams opened this issue Sep 29, 2014 · 10 comments
Closed

Generate OS X installer binary #100

cbeams opened this issue Sep 29, 2014 · 10 comments
Assignees
Milestone

Comments

@cbeams
Copy link
Contributor

cbeams commented Sep 29, 2014

See #66

@cbeams cbeams self-assigned this Sep 29, 2014
@cbeams cbeams added this to the M1 milestone Sep 29, 2014
cbeams added a commit that referenced this issue Sep 29, 2014
cbeams added a commit that referenced this issue Sep 29, 2014
The Gradle JavaFX plugin requires Oracle JDK 8u20 or better. Travis CI
currently runs something older, and does not have a roadmap for
upgrading. This commit experiments with what Travis support suggested as
a workaround.

See #100
@cbeams
Copy link
Contributor Author

cbeams commented Sep 30, 2014

@ManfredKarrer, FYI for your usability testing, etc.: you can build the OS X installer by switching to the native branch and running gradle build. Afterward, you'll find the .dmg, .pkg and .app files in build/distributions.

@ManfredKarrer
Copy link
Contributor

@cbeams: I just tried to build it from the latest version (native branch) but got that error:

Manfreds-iMac:bitsquare-native mk$ gradle build
:compileJava
/Users/mk/Downloads/bitsquare-native/src/main/java/io/bitsquare/locale/BSResources.java:57: warning: non-varargs call of varargs method with inexact argument type for last parameter;
return MessageFormat.format(BSResources.get(key), arguments);
^
cast to Object for a varargs call
cast to Object[] for a non-varargs call and to suppress this warning
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 warning
:processResources
:cssToBin SKIPPED
:classes
:jar
:jfxJar FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':jfxJar'.

    com/oracle/tools/packager/Log

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

@cbeams
Copy link
Contributor Author

cbeams commented Sep 30, 2014

Oops. Sorry, I should have mentioned that JDK 8u20 or better is required for this part of the build to work.

@ManfredKarrer
Copy link
Contributor

ah ok need to update, btw. could you add install instructions for java on linux. I remember that it was a bit tricky and some linux guys are not familiar with java...

@cbeams
Copy link
Contributor Author

cbeams commented Sep 30, 2014

Yeah, funny enough, they're actually embedded in our Travis config (at least for the moment, until Travis updates their default JDK to 8u20 or better): https://github.com/bitsquare/bitsquare/blob/native/.travis.yml#L5-L8

  • sudo apt-get purge openjdk*
  • sudo add-apt-repository -y ppa:webupd8team/java
  • sudo apt-get update
  • sudo apt-get install oracle-java8-installer

Of course that's just for Debian and its variants. Not sure what it looks like with RPM, Yum, etc.

@ManfredKarrer
Copy link
Contributor

@cbeams: I updated java now but get that error:

23:05:17.459 [ERROR] [org.gradle.BuildExceptionReporter] Caused by: java.lang.ClassNotFoundException: org.codehaus.groovy.runtime.typehandling.ShortTypeHandling

23:05:17.426 [LIFECYCLE] [class org.gradle.TaskExecutionLogger] :jfxJar FAILED
23:05:17.426 [INFO] [org.gradle.execution.taskgraph.AbstractTaskPlanExecutor] :jfxJar (Thread[main,5,main]) completed. Took 0.225 secs.
23:05:17.427 [DEBUG] [org.gradle.execution.taskgraph.AbstractTaskPlanExecutor] Task worker [Thread[main,5,main]] finished, busy: 7.598 secs, idle: 0.009 secs
23:05:17.432 [ERROR] [org.gradle.BuildExceptionReporter]
23:05:17.434 [ERROR] [org.gradle.BuildExceptionReporter] FAILURE: Build failed with an exception.
23:05:17.434 [ERROR] [org.gradle.BuildExceptionReporter]
23:05:17.435 [ERROR] [org.gradle.BuildExceptionReporter] * What went wrong:
23:05:17.435 [ERROR] [org.gradle.BuildExceptionReporter] Execution failed for task ':jfxJar'.
23:05:17.435 [ERROR] [org.gradle.BuildExceptionReporter] > org/codehaus/groovy/runtime/typehandling/ShortTypeHandling
23:05:17.438 [ERROR] [org.gradle.BuildExceptionReporter]
23:05:17.439 [ERROR] [org.gradle.BuildExceptionReporter] * Exception is:
23:05:17.440 [ERROR] [org.gradle.BuildExceptionReporter] org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':jfxJar'.
23:05:17.441 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:69)
23:05:17.441 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:46)
23:05:17.441 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.PostExecutionAnalysisTaskExecuter.execute(PostExecutionAnalysisTaskExecuter.java:35)
23:05:17.442 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:64)
23:05:17.442 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58)
23:05:17.442 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:42)
23:05:17.442 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52)
23:05:17.443 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:53)
23:05:17.443 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
23:05:17.443 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.AbstractTask.executeWithoutThrowingTaskFailure(AbstractTask.java:289)
23:05:17.444 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.executeTask(AbstractTaskPlanExecutor.java:79)
23:05:17.444 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.processTask(AbstractTaskPlanExecutor.java:63)
23:05:17.445 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.run(AbstractTaskPlanExecutor.java:51)
23:05:17.445 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor.process(DefaultTaskPlanExecutor.java:23)
23:05:17.445 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter.execute(DefaultTaskGraphExecuter.java:86)
23:05:17.445 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.SelectedTaskExecutionAction.execute(SelectedTaskExecutionAction.java:29)
23:05:17.446 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:61)
23:05:17.446 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.DefaultBuildExecuter.access$200(DefaultBuildExecuter.java:23)
23:05:17.446 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.DefaultBuildExecuter$2.proceed(DefaultBuildExecuter.java:67)
23:05:17.447 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.DryRunBuildExecutionAction.execute(DryRunBuildExecutionAction.java:32)
23:05:17.447 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:61)
23:05:17.447 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:54)
23:05:17.448 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:166)
23:05:17.448 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:113)
23:05:17.448 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:81)
23:05:17.448 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.run(InProcessBuildActionExecuter.java:64)
23:05:17.449 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.ExecuteBuildAction.run(ExecuteBuildAction.java:33)
23:05:17.449 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.ExecuteBuildAction.run(ExecuteBuildAction.java:24)
23:05:17.449 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:35)
23:05:17.450 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:26)
23:05:17.450 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.RunBuildAction.run(RunBuildAction.java:50)
23:05:17.450 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.internal.Actions$RunnableActionAdapter.execute(Actions.java:171)
23:05:17.451 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:201)
23:05:17.451 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:174)
23:05:17.451 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:170)
23:05:17.452 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:139)
23:05:17.452 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:33)
23:05:17.452 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:22)
23:05:17.452 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.Main.doAction(Main.java:46)
23:05:17.453 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45)
23:05:17.453 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.Main.main(Main.java:37)
23:05:17.453 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:50)
23:05:17.454 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:32)
23:05:17.454 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.GradleMain.main(GradleMain.java:23)
23:05:17.454 [ERROR] [org.gradle.BuildExceptionReporter] Caused by: java.lang.NoClassDefFoundError: org/codehaus/groovy/runtime/typehandling/ShortTypeHandling
23:05:17.455 [ERROR] [org.gradle.BuildExceptionReporter] at org.bitbucket.shemnon.javafxplugin.tasks.JavaFXJarTask.this$dist$invoke$4(JavaFXJarTask.groovy)
23:05:17.455 [ERROR] [org.gradle.BuildExceptionReporter] at org.bitbucket.shemnon.javafxplugin.tasks.JavaFXJarTask$1.methodMissing(JavaFXJarTask.groovy)
23:05:17.455 [ERROR] [org.gradle.BuildExceptionReporter] at org.bitbucket.shemnon.javafxplugin.tasks.JavaFXJarTask$1.info(JavaFXJarTask.groovy:85)
23:05:17.455 [ERROR] [org.gradle.BuildExceptionReporter] at com.oracle.tools.packager.Log.info(Log.java:77)
23:05:17.456 [ERROR] [org.gradle.BuildExceptionReporter] at com.sun.javafx.tools.packager.PackagerLib.packageAsJar(PackagerLib.java:172)
23:05:17.456 [ERROR] [org.gradle.BuildExceptionReporter] at com.sun.javafx.tools.packager.PackagerLib$packageAsJar.call(Unknown Source)
23:05:17.456 [ERROR] [org.gradle.BuildExceptionReporter] at org.bitbucket.shemnon.javafxplugin.tasks.JavaFXJarTask.processResources(JavaFXJarTask.groovy:99)
23:05:17.457 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:63)
23:05:17.457 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.doExecute(AnnotationProcessingTaskFactory.java:219)
23:05:17.457 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:212)
23:05:17.458 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:201)
23:05:17.458 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:533)
23:05:17.458 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:516)
23:05:17.459 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:80)
23:05:17.459 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:61)
23:05:17.459 [ERROR] [org.gradle.BuildExceptionReporter] ... 43 more
23:05:17.459 [ERROR] [org.gradle.BuildExceptionReporter] Caused by: java.lang.ClassNotFoundException: org.codehaus.groovy.runtime.typehandling.ShortTypeHandling
23:05:17.460 [ERROR] [org.gradle.BuildExceptionReporter] ... 58 more
23:05:17.460 [ERROR] [org.gradle.BuildExceptionReporter]
23:05:17.460 [LIFECYCLE] [org.gradle.BuildResultLogger]
23:05:17.461 [LIFECYCLE] [org.gradle.BuildResultLogger] BUILD FAILED

@cbeams
Copy link
Contributor Author

cbeams commented Sep 30, 2014

Make sure you run with ./gradlew. Your locally installed Gradle is probably too old.

brew update && brew upgrade gradle

Should work as well.

On Sep 30, 2014, at 11:06 PM, Manfred Karrer [email protected] wrote:

@cbeams: I updated java now but get that error:

23:05:17.459 [ERROR] [org.gradle.BuildExceptionReporter] Caused by: java.lang.ClassNotFoundException: org.codehaus.groovy.runtime.typehandling.ShortTypeHandling

23:05:17.426 [LIFECYCLE] [class org.gradle.TaskExecutionLogger] :jfxJar FAILED
23:05:17.426 [INFO] [org.gradle.execution.taskgraph.AbstractTaskPlanExecutor] :jfxJar (Thread[main,5,main]) completed. Took 0.225 secs.
23:05:17.427 [DEBUG] [org.gradle.execution.taskgraph.AbstractTaskPlanExecutor] Task worker [Thread[main,5,main]] finished, busy: 7.598 secs, idle: 0.009 secs
23:05:17.432 [ERROR] [org.gradle.BuildExceptionReporter]
23:05:17.434 [ERROR] [org.gradle.BuildExceptionReporter] FAILURE: Build failed with an exception.
23:05:17.434 [ERROR] [org.gradle.BuildExceptionReporter]
23:05:17.435 [ERROR] [org.gradle.BuildExceptionReporter] * What went wrong:
23:05:17.435 [ERROR] [org.gradle.BuildExceptionReporter] Execution failed for task ':jfxJar'.
23:05:17.435 [ERROR] [org.gradle.BuildExceptionReporter] > org/codehaus/groovy/runtime/typehandling/ShortTypeHandling
23:05:17.438 [ERROR] [org.gradle.BuildExceptionReporter]
23:05:17.439 [ERROR] [org.gradle.BuildExceptionReporter] * Exception is:
23:05:17.440 [ERROR] [org.gradle.BuildExceptionReporter] org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':jfxJar'.
23:05:17.441 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:69)
23:05:17.441 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:46)
23:05:17.441 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.PostExecutionAnalysisTaskExecuter.execute(PostExecutionAnalysisTaskExecuter.java:35)
23:05:17.442 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:64)
23:05:17.442 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58)
23:05:17.442 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:42)
23:05:17.442 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52)
23:05:17.443 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:53)
23:05:17.443 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
23:05:17.443 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.AbstractTask.executeWithoutThrowingTaskFailure(AbstractTask.java:289)
23:05:17.444 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.executeTask(AbstractTaskPlanExecutor.java:79)
23:05:17.444 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.processTask(AbstractTaskPlanExecutor.java:63)
23:05:17.445 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.run(AbstractTaskPlanExecutor.java:51)
23:05:17.445 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor.process(DefaultTaskPlanExecutor.java:23)
23:05:17.445 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter.execute(DefaultTaskGraphExecuter.java:86)
23:05:17.445 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.SelectedTaskExecutionAction.execute(SelectedTaskExecutionAction.java:29)
23:05:17.446 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:61)
23:05:17.446 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.DefaultBuildExecuter.access$200(DefaultBuildExecuter.java:23)
23:05:17.446 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.DefaultBuildExecuter$2.proceed(DefaultBuildExecuter.java:67)
23:05:17.447 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.DryRunBuildExecutionAction.execute(DryRunBuildExecutionAction.java:32)
23:05:17.447 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:61)
23:05:17.447 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:54)
23:05:17.448 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:166)
23:05:17.448 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:113)
23:05:17.448 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:81)
23:05:17.448 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.run(InProcessBuildActionExecuter.java:64)
23:05:17.449 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.ExecuteBuildAction.run(ExecuteBuildAction.java:33)
23:05:17.449 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.ExecuteBuildAction.run(ExecuteBuildAction.java:24)
23:05:17.449 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:35)
23:05:17.450 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:26)
23:05:17.450 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.RunBuildAction.run(RunBuildAction.java:50)
23:05:17.450 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.internal.Actions$RunnableActionAdapter.execute(Actions.java:171)
23:05:17.451 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:201)
23:05:17.451 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:174)
23:05:17.451 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:170)
23:05:17.452 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:139)
23:05:17.452 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:33)
23:05:17.452 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:22)
23:05:17.452 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.Main.doAction(Main.java:46)
23:05:17.453 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45)
23:05:17.453 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.Main.main(Main.java:37)
23:05:17.453 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:50)
23:05:17.454 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:32)
23:05:17.454 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.GradleMain.main(GradleMain.java:23)
23:05:17.454 [ERROR] [org.gradle.BuildExceptionReporter] Caused by: java.lang.NoClassDefFoundError: org/codehaus/groovy/runtime/typehandling/ShortTypeHandling
23:05:17.455 [ERROR] [org.gradle.BuildExceptionReporter] at org.bitbucket.shemnon.javafxplugin.tasks.JavaFXJarTask.this$dist$invoke$4(JavaFXJarTask.groovy)
23:05:17.455 [ERROR] [org.gradle.BuildExceptionReporter] at org.bitbucket.shemnon.javafxplugin.tasks.JavaFXJarTask$1.methodMissing(JavaFXJarTask.groovy)
23:05:17.455 [ERROR] [org.gradle.BuildExceptionReporter] at org.bitbucket.shemnon.javafxplugin.tasks.JavaFXJarTask$1.info(JavaFXJarTask.groovy:85)
23:05:17.455 [ERROR] [org.gradle.BuildExceptionReporter] at com.oracle.tools.packager.Log.info(Log.java:77)
23:05:17.456 [ERROR] [org.gradle.BuildExceptionReporter] at com.sun.javafx.tools.packager.PackagerLib.packageAsJar(PackagerLib.java:172)
23:05:17.456 [ERROR] [org.gradle.BuildExceptionReporter] at com.sun.javafx.tools.packager.PackagerLib$packageAsJar.call(Unknown Source)
23:05:17.456 [ERROR] [org.gradle.BuildExceptionReporter] at org.bitbucket.shemnon.javafxplugin.tasks.JavaFXJarTask.processResources(JavaFXJarTask.groovy:99)
23:05:17.457 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:63)
23:05:17.457 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.doExecute(AnnotationProcessingTaskFactory.java:219)
23:05:17.457 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:212)
23:05:17.458 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:201)
23:05:17.458 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:533)
23:05:17.458 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:516)
23:05:17.459 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:80)
23:05:17.459 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:61)
23:05:17.459 [ERROR] [org.gradle.BuildExceptionReporter] ... 43 more
23:05:17.459 [ERROR] [org.gradle.BuildExceptionReporter] Caused by: java.lang.ClassNotFoundException: org.codehaus.groovy.runtime.typehandling.ShortTypeHandling
23:05:17.460 [ERROR] [org.gradle.BuildExceptionReporter] ... 58 more
23:05:17.460 [ERROR] [org.gradle.BuildExceptionReporter]
23:05:17.460 [LIFECYCLE] [org.gradle.BuildResultLogger]
23:05:17.461 [LIFECYCLE] [org.gradle.BuildResultLogger] BUILD FAILED


Reply to this email directly or view it on GitHub.

@ManfredKarrer
Copy link
Contributor

Great now its working. I just din't see the popups first but that was an issue of the controlsfx lib, we need to update to version org.controlsfx:controlsfx:8.0.6_20 (to bew compatible with the latest java version). I have checked that in both master and native branch.

cbeams added a commit that referenced this issue Oct 3, 2014
The plugin's jfx* tasks tie into the normal Gradle build lifecycle, such
that `gradle build` will now generate executables and installers
according to the OS on which the build is being run. These files are
output to the `build/distributions` directory.

Installers work as expected OS X and Linux at this point.

Windows installers do build, but a very particular configuration is
necessary on the Windows machine doing the building (this configuration
is to be documented in #109). However, even when the configuration is in
place and the MSI installer is successfully built, there is still a
fatal error at installer execution time relating to a missing
msvp100.dll file. See details at
https://bitbucket.org/shemnon/javafx-gradle/issue/43. An issue has been
created to track this from the Bitsquare side as well--see #108.

The changes made in this commit are based on on the samples at
http://bitbucket.org/shemnon/javafx-gradle and the article at
http://jaxenter.com/tutorial-a-guide-to-the-gradle-javafx-plugin-46270.html

The gradle/javafx.gradle file is copied directly from the sources in the
bitbucket repository above, as is apparently the convention (not sure
why this isn't part of the plugin itself, but that's a question to be
addressed later).

Resolves #66, #100
See #108, #109
@cbeams
Copy link
Contributor Author

cbeams commented Oct 3, 2014

Resolved with d16c274.

@cbeams cbeams closed this as completed Oct 3, 2014
@cbeams cbeams removed this from the v0.1 milestone Oct 28, 2014
@cbeams
Copy link
Contributor Author

cbeams commented Oct 28, 2014

Superseded by #243.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants