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

Has Java 7 happened already? #416

Closed
huntc opened this issue Nov 24, 2014 · 7 comments
Closed

Has Java 7 happened already? #416

huntc opened this issue Nov 24, 2014 · 7 comments
Labels

Comments

@huntc
Copy link
Contributor

huntc commented Nov 24, 2014

I'm not entirely sure what's going on, but if I use 1.0.0-M2 then Java 7 is expected. I'm wondering if some Java 7 transitive dependencies have been brought in...

I don't believe we're making the Java 7 leap until sbt goes 1.0.0.

Here's the full console output from a scripted session on sbt-bundle. If I run via Java 7 then all is well (incidentally this is strange as I see you have an openjdk 6 test for travis):

Christophers-MacBook-Pro-10:sbt-bundle huntc$ java -version
java version "1.6.0_65"
Java(TM) SE Runtime Environment (build 1.6.0_65-b14-466.1-11M4716)
Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-466.1, mixed mode)
Christophers-MacBook-Pro-10:sbt-bundle huntc$ sbt scripted
[info] Loading global plugins from /Users/huntc/.sbt/0.13/plugins
[info] Loading project definition from /Users/huntc/Projects/typesafe/sbt-bundle/project
[info] Set current project to sbt-bundle (in build file:/Users/huntc/Projects/typesafe/sbt-bundle/)
[info] :: delivering :: com.typesafe.sbt#sbt-bundle;0.2.0-SNAPSHOT :: 0.2.0-SNAPSHOT :: integration :: Mon Nov 24 16:48:52 EST 2014
[info]  delivering ivy file to /Users/huntc/Projects/typesafe/sbt-bundle/target/scala-2.10/sbt-0.13/ivy-0.2.0-SNAPSHOT.xml
[info] Compiling 1 Scala source to /Users/huntc/Projects/typesafe/sbt-bundle/target/scala-2.10/sbt-0.13/classes...
[warn] No main class detected
[info] Packaging /Users/huntc/Projects/typesafe/sbt-bundle/target/scala-2.10/sbt-0.13/sbt-bundle-0.2.0-SNAPSHOT.jar ...
[info] Done packaging.
[info]  published sbt-bundle to /Users/huntc/.ivy2/local/com.typesafe.sbt/sbt-bundle/scala_2.10/sbt_0.13/0.2.0-SNAPSHOT/jars/sbt-bundle.jar
[info]  published sbt-bundle to /Users/huntc/.ivy2/local/com.typesafe.sbt/sbt-bundle/scala_2.10/sbt_0.13/0.2.0-SNAPSHOT/srcs/sbt-bundle-sources.jar
[info]  published sbt-bundle to /Users/huntc/.ivy2/local/com.typesafe.sbt/sbt-bundle/scala_2.10/sbt_0.13/0.2.0-SNAPSHOT/docs/sbt-bundle-javadoc.jar
[info]  published ivy to /Users/huntc/.ivy2/local/com.typesafe.sbt/sbt-bundle/scala_2.10/sbt_0.13/0.2.0-SNAPSHOT/ivys/ivy.xml
Running sbt-bundle / basic
[info] Getting org.scala-sbt sbt 0.13.7 ...
[info] :: retrieving :: org.scala-sbt#boot-app
[info]  confs: [default]
[info]  51 artifacts copied, 0 already retrieved (15709kB/129ms)
[info] Getting Scala 2.10.4 (for sbt)...
[info] :: retrieving :: org.scala-sbt#boot-scala
[info]  confs: [default]
[info]  5 artifacts copied, 0 already retrieved (24459kB/154ms)
[info] [info] Loading project definition from /private/var/folders/dj/1p6vh3sx2ks4n9gl0f6t6n4c0000gn/T/sbt_da7d730d/basic/project
[info] [info] Updating {file:/private/var/folders/dj/1p6vh3sx2ks4n9gl0f6t6n4c0000gn/T/sbt_da7d730d/basic/project/}basic-build...
[info] [info] Resolving com.typesafe.sbt#sbt-bundle;0.2.0-SNAPSHOT ...
       [info] Resolving com.typesafe.sbt#sbt-bundle;0.2.0-SNAPSHOT ...
       [info] Resolving com.typesafe.sbt#sbt-native-packager;1.0.0-M2 ...
       [info] Resolving org.apache.commons#commons-compress;1.4.1 ...
       [info] Resolving org.tukaani#xz;1.0 ...
       [info] Resolving org.vafer#jdeb;1.3 ...
       [info] Resolving commons-io#commons-io;2.4 ...
       [info] Resolving org.apache.commons#commons-compress;1.7 ...
       [info] Resolving org.tukaani#xz;1.4 ...
       [info] Resolving org.apache.maven#maven-core;3.2.2 ...
       [info] Resolving org.apache.maven#maven-model;3.2.2 ...
       [info] Resolving org.codehaus.plexus#plexus-utils;3.0.17 ...
       [info] Resolving org.apache.maven#maven-settings;3.2.2 ...
       [info] Resolving org.apache.maven#maven-settings-builder;3.2.2 ...
       [info] Resolving org.codehaus.plexus#plexus-interpolation;1.19 ...
       [info] Resolving org.codehaus.plexus#plexus-component-annotations;1.5.5 ...
       [info] Resolving org.sonatype.plexus#plexus-sec-dispatcher;1.3 ...
       [info] Resolving org.sonatype.plexus#plexus-cipher;1.7 ...
       [info] Resolving org.apache.maven#maven-repository-metadata;3.2.2 ...
       [info] Resolving org.apache.maven#maven-artifact;3.2.2 ...
       [info] Resolving org.apache.maven#maven-plugin-api;3.2.2 ...
       [info] Resolving org.eclipse.sisu#org.eclipse.sisu.plexus;0.0.0.M5 ...
       [info] Resolving javax.enterprise#cdi-api;1.0 ...
       [info] Resolving javax.annotation#jsr250-api;1.0 ...
       [info] Resolving javax.inject#javax.inject;1 ...
       [info] Resolving com.google.guava#guava;14.0.1 ...
       [info] Resolving org.sonatype.sisu#sisu-guice;3.1.3 ...
       [info] Resolving aopalliance#aopalliance;1.0 ...
       [info] Resolving org.eclipse.sisu#org.eclipse.sisu.inject;0.0.0.M5 ...
       [info] Resolving org.codehaus.plexus#plexus-classworlds;2.5.1 ...
       [info] Resolving org.apache.maven#maven-model-builder;3.2.2 ...
       [info] Resolving org.apache.maven#maven-aether-provider;3.2.2 ...
       [info] Resolving org.eclipse.aether#aether-api;0.9.0.M2 ...
       [info] Resolving org.eclipse.aether#aether-spi;0.9.0.M2 ...
       [info] Resolving org.eclipse.aether#aether-util;0.9.0.M2 ...
       [info] Resolving org.eclipse.aether#aether-impl;0.9.0.M2 ...
       [info] Resolving org.apache.ant#ant;1.9.3 ...
       [info] Resolving org.apache.ant#ant-launcher;1.9.3 ...
       [info] Resolving org.bouncycastle#bcpg-jdk15on;1.51 ...
       [info] Resolving org.bouncycastle#bcprov-jdk15on;1.51 ...
       [info] Resolving org.scala-lang#scala-library;2.10.4 ...
       [info] Resolving org.scala-sbt#sbt;0.13.7 ...
       [info] Resolving org.scala-sbt#main;0.13.7 ...
       [info] Resolving org.scala-sbt#actions;0.13.7 ...
       [info] Resolving org.scala-sbt#classpath;0.13.7 ...
       [info] Resolving org.scala-lang#scala-compiler;2.10.4 ...
       [info] Resolving org.scala-lang#scala-reflect;2.10.4 ...
       [info] Resolving org.scala-sbt#launcher-interface;0.13.7 ...
       [info] Resolving org.scala-sbt#interface;0.13.7 ...
       [info] Resolving org.scala-sbt#io;0.13.7 ...
       [info] Resolving org.scala-sbt#control;0.13.7 ...
       [info] Resolving org.scala-sbt#completion;0.13.7 ...
       [info] Resolving org.scala-sbt#collections;0.13.7 ...
       [info] Resolving jline#jline;2.11 ...
       [info] Resolving org.scala-sbt#api;0.13.7 ...
       [info] Resolving org.scala-sbt#compiler-integration;0.13.7 ...
       [info] Resolving org.scala-sbt#incremental-compiler;0.13.7 ...
       [info] Resolving org.scala-sbt#logging;0.13.7 ...
       [info] Resolving org.scala-sbt#process;0.13.7 ...
       [info] Resolving org.scala-sbt#relation;0.13.7 ...
       [info] Resolving org.scala-sbt#compile;0.13.7 ...
       [info] Resolving org.scala-sbt#persist;0.13.7 ...
       [info] Resolving org.scala-tools.sbinary#sbinary_2.10;0.4.2 ...
       [info] Resolving org.scala-sbt#classfile;0.13.7 ...
       [info] Resolving org.scala-sbt#compiler-ivy-integration;0.13.7 ...
       [info] Resolving org.scala-sbt#ivy;0.13.7 ...
       [info] Resolving org.scala-sbt#cross;0.13.7 ...
       [info] Resolving org.scala-sbt.ivy#ivy;2.3.0-sbt-fccfbd44c9f64523b61398a0155784dcbaeae28f ...
       [info] Resolving com.jcraft#jsch;0.1.46 ...
       [info] Resolving org.json4s#json4s-native_2.10;3.2.10 ...
       [info] Resolving org.json4s#json4s-core_2.10;3.2.10 ...
       [info] Resolving org.json4s#json4s-ast_2.10;3.2.10 ...
       [info] Resolving com.thoughtworks.paranamer#paranamer;2.6 ...
       [info] Resolving org.scala-lang#scalap;2.10.0 ...
       [info] Resolving org.spire-math#jawn-parser_2.10;0.6.0 ...
       [info] Resolving org.spire-math#json4s-support_2.10;0.6.0 ...
       [info] Resolving org.scala-sbt#run;0.13.7 ...
       [info] Resolving org.scala-sbt#task-system;0.13.7 ...
       [info] Resolving org.scala-sbt#tasks;0.13.7 ...
       [info] Resolving org.scala-sbt#tracking;0.13.7 ...
       [info] Resolving org.scala-sbt#cache;0.13.7 ...
       [info] Resolving org.scala-sbt#testing;0.13.7 ...
       [info] Resolving org.scala-sbt#test-agent;0.13.7 ...
       [info] Resolving org.scala-sbt#test-interface;1.0 ...
       [info] Resolving org.scala-sbt#main-settings;0.13.7 ...
       [info] Resolving org.scala-sbt#apply-macro;0.13.7 ...
       [info] Resolving org.scala-sbt#command;0.13.7 ...
       [info] Resolving org.scala-sbt#logic;0.13.7 ...
       [info] Resolving org.scala-sbt#compiler-interface;0.13.7 ...
       [info] Resolving org.scala-sbt#precompiled-2_8_2;0.13.7 ...
       [info] Resolving org.scala-sbt#precompiled-2_9_2;0.13.7 ...
       [info] Resolving org.scala-sbt#precompiled-2_9_3;0.13.7 ...
       [info] Resolving org.scala-lang#jline;2.10.4 ...
       [info] Resolving org.fusesource.jansi#jansi;1.4 ...
[info] [info] Done updating.
[info] sbt.IncompatiblePluginsException: Binary incompatibility in plugins detected.
[info] Note that conflicts were resolved for some dependencies:
[info]  org.apache.commons:commons-compress
[info]  org.tukaani:xz
[info]  at sbt.PluginDiscovery$.incompatiblePlugins(PluginDiscovery.scala:144)
[info]  at sbt.PluginDiscovery$.loadModules(PluginDiscovery.scala:134)
[info]  at sbt.PluginDiscovery$.binarySourceModules(PluginDiscovery.scala:123)
[info]  at sbt.PluginDiscovery$.discover$1(PluginDiscovery.scala:28)
[info]  at sbt.PluginDiscovery$.discoverAll(PluginDiscovery.scala:37)
[info]  at sbt.Load$.loadPlugins(Load.scala:833)
[info]  at sbt.Load$.loadPluginDefinition(Load.scala:790)
[info]  at sbt.Load$.buildPlugins(Load.scala:785)
[info]  at sbt.Load$.plugins(Load.scala:773)
[info]  at sbt.Load$.loadUnit(Load.scala:431)
[info]  at sbt.Load$$anonfun$18$$anonfun$apply$11.apply(Load.scala:281)
[info]  at sbt.Load$$anonfun$18$$anonfun$apply$11.apply(Load.scala:281)
[info]  at sbt.BuildLoader$$anonfun$componentLoader$1$$anonfun$apply$4$$anonfun$apply$5$$anonfun$apply$6.apply(BuildLoader.scala:91)
[info]  at sbt.BuildLoader$$anonfun$componentLoader$1$$anonfun$apply$4$$anonfun$apply$5$$anonfun$apply$6.apply(BuildLoader.scala:90)
[info]  at sbt.BuildLoader.apply(BuildLoader.scala:140)
[info]  at sbt.Load$.loadAll(Load.scala:334)
[info]  at sbt.Load$.loadURI(Load.scala:289)
[info]  at sbt.Load$.load(Load.scala:285)
[info]  at sbt.Load$.load(Load.scala:276)
[info]  at sbt.Load$.apply(Load.scala:130)
[info]  at sbt.Load$.defaultLoad(Load.scala:36)
[info]  at sbt.BuiltinCommands$.doLoadProject(Main.scala:481)
[info]  at sbt.BuiltinCommands$$anonfun$loadProjectImpl$2.apply(Main.scala:475)
[info]  at sbt.BuiltinCommands$$anonfun$loadProjectImpl$2.apply(Main.scala:475)
[info]  at sbt.Command$$anonfun$applyEffect$1$$anonfun$apply$2.apply(Command.scala:58)
[info]  at sbt.Command$$anonfun$applyEffect$1$$anonfun$apply$2.apply(Command.scala:58)
[info]  at sbt.Command$$anonfun$applyEffect$2$$anonfun$apply$3.apply(Command.scala:60)
[info]  at sbt.Command$$anonfun$applyEffect$2$$anonfun$apply$3.apply(Command.scala:60)
[info]  at sbt.Command$.process(Command.scala:92)
[info]  at sbt.MainLoop$$anonfun$1$$anonfun$apply$1.apply(MainLoop.scala:98)
[info]  at sbt.MainLoop$$anonfun$1$$anonfun$apply$1.apply(MainLoop.scala:98)
[info]  at sbt.State$$anon$1.process(State.scala:184)
[info]  at sbt.MainLoop$$anonfun$1.apply(MainLoop.scala:98)
[info]  at sbt.MainLoop$$anonfun$1.apply(MainLoop.scala:98)
[info]  at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:17)
[info]  at sbt.MainLoop$.next(MainLoop.scala:98)
[info]  at sbt.MainLoop$.run(MainLoop.scala:91)
[info]  at sbt.MainLoop$$anonfun$runWithNewLog$1.apply(MainLoop.scala:70)
[info]  at sbt.MainLoop$$anonfun$runWithNewLog$1.apply(MainLoop.scala:65)
[info]  at sbt.Using.apply(Using.scala:24)
[info]  at sbt.MainLoop$.runWithNewLog(MainLoop.scala:65)
[info]  at sbt.MainLoop$.runAndClearLast(MainLoop.scala:48)
[info]  at sbt.MainLoop$.runLoggedLoop(MainLoop.scala:32)
[info]  at sbt.MainLoop$.runLogged(MainLoop.scala:24)
[info]  at sbt.StandardMain$.runManaged(Main.scala:53)
[info]  at sbt.xMain.run(Main.scala:28)
[info]  at xsbt.boot.Launch$$anonfun$run$1.apply(Launch.scala:109)
[info]  at xsbt.boot.Launch$.withContextLoader(Launch.scala:128)
[info]  at xsbt.boot.Launch$.run(Launch.scala:109)
[info]  at xsbt.boot.Launch$$anonfun$apply$1.apply(Launch.scala:35)
[info]  at xsbt.boot.Launch$.launch(Launch.scala:117)
[info]  at xsbt.boot.Launch$.apply(Launch.scala:18)
[info]  at xsbt.boot.Boot$.runImpl(Boot.scala:41)
[info]  at xsbt.boot.Boot$.main(Boot.scala:17)
[info]  at xsbt.boot.Boot.main(Boot.scala)
[info] Caused by: java.lang.UnsupportedClassVersionError: com/typesafe/sbt/bundle/SbtBundle$ : Unsupported major.minor version 51.0
[info]  at java.lang.ClassLoader.defineClass1(Native Method)
[info]  at java.lang.ClassLoader.defineClassCond(ClassLoader.java:637)
[info]  at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
[info]  at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
[info]  at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
[info]  at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
[info]  at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
[info]  at java.security.AccessController.doPrivileged(Native Method)
[info]  at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
[info]  at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
[info]  at java.lang.ClassLoader.loadClass(ClassLoader.java:295)
[info]  at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
[info]  at java.lang.Class.forName0(Native Method)
[info]  at java.lang.Class.forName(Class.java:249)
[info]  at sbt.ModuleUtilities$.getObject(ModuleUtilities.scala:14)
[info]  at sbt.ModuleUtilities$.getCheckedObject(ModuleUtilities.scala:20)
[info]  at sbt.ModuleUtilities$$anonfun$getCheckedObjects$1.apply(ModuleUtilities.scala:23)
[info]  at sbt.ModuleUtilities$$anonfun$getCheckedObjects$1.apply(ModuleUtilities.scala:23)
[info]  at scala.collection.immutable.Stream.map(Stream.scala:376)
[info]  at sbt.ModuleUtilities$.getCheckedObjects(ModuleUtilities.scala:23)
[info]  at sbt.PluginDiscovery$.loadModules(PluginDiscovery.scala:129)
[info]  at sbt.PluginDiscovery$.binarySourceModules(PluginDiscovery.scala:123)
[info]  at sbt.PluginDiscovery$.discover$1(PluginDiscovery.scala:28)
[info]  at sbt.PluginDiscovery$.discoverAll(PluginDiscovery.scala:37)
[info]  at sbt.Load$.loadPlugins(Load.scala:833)
[info]  at sbt.Load$.loadPluginDefinition(Load.scala:790)
[info]  at sbt.Load$.buildPlugins(Load.scala:785)
[info]  at sbt.Load$.plugins(Load.scala:773)
[info]  at sbt.Load$.loadUnit(Load.scala:431)
[info]  at sbt.Load$$anonfun$18$$anonfun$apply$11.apply(Load.scala:281)
[info]  at sbt.Load$$anonfun$18$$anonfun$apply$11.apply(Load.scala:281)
[info]  at sbt.BuildLoader$$anonfun$componentLoader$1$$anonfun$apply$4$$anonfun$apply$5$$anonfun$apply$6.apply(BuildLoader.scala:91)
[info]  at sbt.BuildLoader$$anonfun$componentLoader$1$$anonfun$apply$4$$anonfun$apply$5$$anonfun$apply$6.apply(BuildLoader.scala:90)
[info]  at sbt.BuildLoader.apply(BuildLoader.scala:140)
[info]  at sbt.Load$.loadAll(Load.scala:334)
[info]  at sbt.Load$.loadURI(Load.scala:289)
[info]  at sbt.Load$.load(Load.scala:285)
[info]  at sbt.Load$.load(Load.scala:276)
[info]  at sbt.Load$.apply(Load.scala:130)
[info]  at sbt.Load$.defaultLoad(Load.scala:36)
[info]  at sbt.BuiltinCommands$.doLoadProject(Main.scala:481)
[info]  at sbt.BuiltinCommands$$anonfun$loadProjectImpl$2.apply(Main.scala:475)
[info]  at sbt.BuiltinCommands$$anonfun$loadProjectImpl$2.apply(Main.scala:475)
[info]  at sbt.Command$$anonfun$applyEffect$1$$anonfun$apply$2.apply(Command.scala:58)
[info]  at sbt.Command$$anonfun$applyEffect$1$$anonfun$apply$2.apply(Command.scala:58)
[info]  at sbt.Command$$anonfun$applyEffect$2$$anonfun$apply$3.apply(Command.scala:60)
[info]  at sbt.Command$$anonfun$applyEffect$2$$anonfun$apply$3.apply(Command.scala:60)
[info]  at sbt.Command$.process(Command.scala:92)
[info]  at sbt.MainLoop$$anonfun$1$$anonfun$apply$1.apply(MainLoop.scala:98)
[info]  at sbt.MainLoop$$anonfun$1$$anonfun$apply$1.apply(MainLoop.scala:98)
[info]  at sbt.State$$anon$1.process(State.scala:184)
[info]  at sbt.MainLoop$$anonfun$1.apply(MainLoop.scala:98)
[info]  at sbt.MainLoop$$anonfun$1.apply(MainLoop.scala:98)
[info]  at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:17)
[info]  at sbt.MainLoop$.next(MainLoop.scala:98)
[info]  at sbt.MainLoop$.run(MainLoop.scala:91)
[info]  at sbt.MainLoop$$anonfun$runWithNewLog$1.apply(MainLoop.scala:70)
[info]  at sbt.MainLoop$$anonfun$runWithNewLog$1.apply(MainLoop.scala:65)
[info]  at sbt.Using.apply(Using.scala:24)
[info]  at sbt.MainLoop$.runWithNewLog(MainLoop.scala:65)
[info]  at sbt.MainLoop$.runAndClearLast(MainLoop.scala:48)
[info]  at sbt.MainLoop$.runLoggedLoop(MainLoop.scala:32)
[info]  at sbt.MainLoop$.runLogged(MainLoop.scala:24)
[info]  at sbt.StandardMain$.runManaged(Main.scala:53)
[info]  at sbt.xMain.run(Main.scala:28)
[info]  at xsbt.boot.Launch$$anonfun$run$1.apply(Launch.scala:109)
[info]  at xsbt.boot.Launch$.withContextLoader(Launch.scala:128)
[info]  at xsbt.boot.Launch$.run(Launch.scala:109)
[info]  at xsbt.boot.Launch$$anonfun$apply$1.apply(Launch.scala:35)
[info]  at xsbt.boot.Launch$.launch(Launch.scala:117)
[info]  at xsbt.boot.Launch$.apply(Launch.scala:18)
[info]  at xsbt.boot.Boot$.runImpl(Boot.scala:41)
[info]  at xsbt.boot.Boot$.main(Boot.scala:17)
[info]  at xsbt.boot.Boot.main(Boot.scala)
[info] [error] sbt.IncompatiblePluginsException: Binary incompatibility in plugins detected.
[info] [error] Note that conflicts were resolved for some dependencies:
[info] [error]  org.apache.commons:commons-compress
[info] [error]  org.tukaani:xz
[info] [error] Use 'last' for the full log.
[info] Project loading failed: (r)etry, (q)uit, (l)ast, or (i)gnore? 
[error] x sbt-bundle / basic
[error]    {line 1}  Command failed: Remote sbt initialization failed
java.lang.RuntimeException: Failed tests:
    sbt-bundle / basic

    at scala.sys.package$.error(package.scala:27)
    at sbt.test.ScriptedTests$.runAll(ScriptedTests.scala:119)
    at sbt.test.ScriptedTests$.run(ScriptedTests.scala:114)
    at sbt.test.ScriptedTests$.run(ScriptedTests.scala:106)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at sbt.ScriptedPlugin$$anonfun$scriptedTask$1$$anonfun$apply$3$$anonfun$apply$4.apply(ScriptedPlugin.scala:61)
    at sbt.ScriptedPlugin$$anonfun$scriptedTask$1$$anonfun$apply$3$$anonfun$apply$4.apply(ScriptedPlugin.scala:57)
    at scala.Function1$$anonfun$compose$1.apply(Function1.scala:47)
    at sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:40)
    at sbt.std.Transform$$anon$4.work(System.scala:63)
    at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:226)
    at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:226)
    at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:17)
    at sbt.Execute.work(Execute.scala:235)
    at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:226)
    at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:226)
    at sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:159)
    at sbt.CompletionService$$anon$2.call(CompletionService.scala:28)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    at java.util.concurrent.FutureTask.run(FutureTask.java:138)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    at java.util.concurrent.FutureTask.run(FutureTask.java:138)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
    at java.lang.Thread.run(Thread.java:695)
[error] (*:scripted) Failed tests:
[error]     sbt-bundle / basic
[error] Total time: 27 s, completed Nov 24, 2014 4:49:19 PM
Christophers-MacBook-Pro-10:sbt-bundle huntc$ 
huntc added a commit to huntc/sbt-bundle that referenced this issue Nov 24, 2014
Bumped to Java 7 as the native packager 1.0.0-M2 requires us to unfortunately. Perhaps this can revert back. There is an associated issue: sbt/sbt-native-packager#416
@muuki88
Copy link
Contributor

muuki88 commented Nov 24, 2014

Nothing i know of. Travis should have failed. However your logs show something different :/

@muuki88 muuki88 added the bug label Nov 24, 2014
@muuki88
Copy link
Contributor

muuki88 commented Nov 27, 2014

Can you try 1.0.0-M3. I added target:jvm-1.6 to the build.sbt.

@muuki88
Copy link
Contributor

muuki88 commented Dec 13, 2014

@huntc is this issue still present?

@huntc
Copy link
Contributor Author

huntc commented Dec 16, 2014

Just tested with 1.0.0-M3 and all appears well. Thanks.

@huntc huntc closed this as completed Dec 16, 2014
@huntc
Copy link
Contributor Author

huntc commented Dec 16, 2014

Ah, my bad, I was using java 1.7. Anyhow, if you're still testing on 1.6 and all is well then we'll leave it as my issue to resolve I think.

@huntc
Copy link
Contributor Author

huntc commented Dec 16, 2014

I'm so dumb. :-P So it turns out that the bytecode in my plugin was targeting 1.7. So sorry for the noise.

All is well with the native packager here.

@muuki88
Copy link
Contributor

muuki88 commented Dec 16, 2014

Nevermind ❤️

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

No branches or pull requests

2 participants