Displaying #maven/2017-04-30.log:

Sun Apr 30 00:21:46 2017  mithrandeer:Joined the channel
Sun Apr 30 00:48:38 2017  bobbyja:Joined the channel
Sun Apr 30 01:26:46 2017  mithrandeer:Joined the channel
Sun Apr 30 01:40:46 2017  mithrandeer:Joined the channel
Sun Apr 30 01:47:44 2017  mithrandeer:Joined the channel
Sun Apr 30 02:04:12 2017  Masber_080:Joined the channel
Sun Apr 30 02:12:29 2017  mithrandeer:Joined the channel
Sun Apr 30 02:31:47 2017  mithrandeer:Joined the channel
Sun Apr 30 02:53:01 2017  olamy:Joined the channel
Sun Apr 30 03:19:09 2017  mithrandeer:Joined the channel
Sun Apr 30 04:07:12 2017  masuberu:Joined the channel
Sun Apr 30 04:35:02 2017  mithrandeer:Joined the channel
Sun Apr 30 06:26:08 2017  bobbyja:Joined the channel
Sun Apr 30 06:27:34 2017  [1]Keepa:Joined the channel
Sun Apr 30 07:05:26 2017  masuberu:Joined the channel
Sun Apr 30 07:55:14 2017  masuberu:Joined the channel
Sun Apr 30 08:16:25 2017  masuberu:Joined the channel
Sun Apr 30 09:36:00 2017  thc202:Joined the channel
Sun Apr 30 09:41:57 2017  csanchez:Joined the channel
Sun Apr 30 10:28:07 2017  masuberu:Joined the channel
Sun Apr 30 11:44:13 2017  rfscholte:Joined the channel
Sun Apr 30 11:51:41 2017  Zed_:Joined the channel
Sun Apr 30 12:03:38 2017  Maldivia:Joined the channel
Sun Apr 30 12:28:48 2017  bobbyja:Joined the channel
Sun Apr 30 12:48:15 2017  conan:Joined the channel
Sun Apr 30 13:05:36 2017  ottO_:Joined the channel
Sun Apr 30 13:12:53 2017  Maldivia:Joined the channel
Sun Apr 30 15:11:36 2017  BuildTheRobots:Joined the channel
Sun Apr 30 15:14:06 2017  BuildTheRobots:good afternoon; i've found a small java project on github that i'm trying to build and and it's telling me "Source option 1.5 is no longer supported. Use 1.6 or later"
Sun Apr 30 15:14:26 2017  BuildTheRobots:any advice would be amasing; i know nothing at all about java or maven
Sun Apr 30 15:35:41 2017  Maldivia:BuildTheRobots: you're trying to build with Java 9 (which is not released yet, btw), which doesn't support 1.5 target -- install jdk 8 instead
Sun Apr 30 15:44:05 2017  BuildTheRobots:Maldivia: i'm pretty sure my javac came from openjdk-8-headles installed
Sun Apr 30 15:44:43 2017  BuildTheRobots:ah, ok, i have both installed, now i need to work out how to tell it which one to use on linx ;)
Sun Apr 30 15:46:40 2017  BuildTheRobots:hmm, after removing hte openjdk-9 packages mvn build now says my JAVA_HOME is incorrect... still almost progress :)
Sun Apr 30 15:50:24 2017  Maldivia:well, set JAVA_HOME to point to the correct installation then
Sun Apr 30 15:50:40 2017  BuildTheRobots:indeed; i'm just trying to work out what/where that should be
Sun Apr 30 15:52:19 2017  Maldivia:well, it should point to where you have java installed
Sun Apr 30 15:55:13 2017  BuildTheRobots:sorry, lapotp just crashed
Sun Apr 30 15:56:30 2017  Maldivia:does it work now?
Sun Apr 30 15:58:39 2017  BuildTheRobots:Maldivia: `mvn compile`seems to have completed iwthout error this time :)
Sun Apr 30 15:59:11 2017  BuildTheRobots:what would be the correct incantation to get a jar file I can use out of it, please?
Sun Apr 30 15:59:21 2017  Maldivia:mvn package
Sun Apr 30 15:59:43 2017  Maldivia:should package -- if it's something you "can use", depends on a lot of factors :D
Sun Apr 30 16:00:40 2017  BuildTheRobots:it's created a jar file. Just need to reinstall java as apparently me trying to get rid of openjdk-9 has made a right mess of things
Sun Apr 30 16:01:04 2017  BuildTheRobots:that's absolutely amazing though, thank you very very much Maldivia - I've been going round in circles trying to use javac manaually
Sun Apr 30 16:03:04 2017  Maldivia:well, that's what you get for installing using the OS package system, which apparently is stupid enough to install alpha software without any warnings :D
Sun Apr 30 16:05:02 2017  BuildTheRobots:i think it just came preinstalled, but yeah; I'm going to be looking to move back to a slightly saner flavour of linux in short order
Sun Apr 30 16:05:15 2017  BuildTheRobots:but frankly that's going to have to wait until i'm not still stuck in a hospital ;)
Sun Apr 30 16:05:52 2017  BuildTheRobots:hmm, "java --jar file.jar" - unrecognised option --jar... oh i really have made a bit of a mess :(
Sun Apr 30 16:06:20 2017  BuildTheRobots:oh, single not double hyphen... still says unable to access though.
Sun Apr 30 16:06:24 2017  BuildTheRobots:yeah, i've made a right mess :)
Sun Apr 30 16:06:56 2017  Maldivia:unable to access what? and are you sure the jar in question is executable?
Sun Apr 30 16:07:05 2017  BuildTheRobots:hang on a sec...
Sun Apr 30 16:07:37 2017  BuildTheRobots:ah, ok, typod the path (but have also chmod +x the file)
Sun Apr 30 16:07:45 2017  BuildTheRobots:no main manifest attribute, in target/drone_protocol-1.0-SNAPSHOT.jar
Sun Apr 30 16:07:56 2017  BuildTheRobots:urgh
Sun Apr 30 16:08:10 2017  Maldivia:so it not something that executable
Sun Apr 30 16:10:14 2017  BuildTheRobots:yeah, though I'm semi convinced it should be... - tldr: found a github project to stream video from a cheap drone. it has sources and a jar file, jar file works on windows not linux (it seems to be calling something with 'cmd' which i can see in the unzipped jar but not in the sources), trying now to recompile the sorces on linux to see if it makes any
Sun Apr 30 16:10:14 2017  BuildTheRobots:difference...
Sun Apr 30 16:11:02 2017  Maldivia:recompiling shouldn't make a difference in that regard
Sun Apr 30 16:12:36 2017  BuildTheRobots:i'm sure it shouldn't, but if you look at hte stacktrace here from his supplied jar file, "java.io.IOException: Cannot run program "cmd": error=2, No such file or directory" - which seems extremely windowsy
Sun Apr 30 16:13:13 2017  witquicked:Joined the channel
Sun Apr 30 16:13:13 2017  Maldivia:yeah, but that means it's in the source, or some resource file it reads etc
Sun Apr 30 16:13:14 2017  BuildTheRobots:and like I say, if I extract and grep the jar he supplies I can see 'cmd' in about hte right place, but it's not actually in the code base which struck me as possibly odd... but then I don't actually have a real clue anyay, so
Sun Apr 30 16:13:35 2017  mithrandeer:Joined the channel
Sun Apr 30 16:15:04 2017  BuildTheRobots:i'm confused; i really can't see it in the sources, just in the compiled class files
Sun Apr 30 16:16:39 2017  BuildTheRobots:actually, no, sorry, i lie, i can see it in the sources: "ffplay = new ProcessBuilder("cmd", "/c", "start", "ffplay", "-probesize", "64", "-sync", "ext", output)" - which is obviously a not crossplatform way of doing things
Sun Apr 30 16:16:50 2017  TotemFallico:Joined the channel
Sun Apr 30 16:18:28 2017  TotemFallico:Hello guys. I'm trying to build playonlinux5-git and it gives me some testing error on phoenicis-apps. The "-X" switch gives me just that it fails, sending me to "http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException" but that's not quite helpful. There is a way to still build the stuff ignoring the test results?
Sun Apr 30 16:19:43 2017  Maldivia:TotemFallico: -DskipTests
Sun Apr 30 16:20:07 2017  Maldivia:or -Dmaven.test.skip=true
Sun Apr 30 16:21:15 2017  Maldivia:but tests failing is usually an indicator that the source is not in a stable state
Sun Apr 30 16:22:21 2017  TotemFallico:it's the git version, i totally know it's not stable
Sun Apr 30 16:23:48 2017  BuildTheRobots:Maldivia: thank you very much for your help so far, i'm slowly starting to make sense of it (infuriatingly manually specifying the class I've gotten from his binary doesn't help either; but i'll stop spamming you)
Sun Apr 30 16:30:31 2017  TotemFallico:Maldivia, the problem here is that maven is not very specific on why it's failing, or at least not clear enough for me to understand it
Sun Apr 30 16:30:59 2017  Maldivia:TotemFallico: it is -- you just have to basically ignore the last 10-15 lines; scroll up, and you'll see
Sun Apr 30 16:32:04 2017  TotemFallico:i know the error, it's something like "got <... author blabla a[??]xel> expected <... author blabla a[ ?]xel>"
Sun Apr 30 16:32:25 2017  TotemFallico:but it doesn't give out where, when, who, why
Sun Apr 30 16:32:43 2017  Maldivia:TotemFallico: well, that's a unit test failure, it should tell you which test it is as well, if not, it's on the surefire report
Sun Apr 30 16:33:09 2017  TotemFallico:it's on the surefire report, but it's on the classpathsomethingtest
Sun Apr 30 16:33:43 2017  TotemFallico:Maldivia wanna check the error?
Sun Apr 30 16:33:44 2017  Maldivia:TotemFallico: again, as this is a unit test, it's very specific to that particular code, so :D
Sun Apr 30 16:34:02 2017  TotemFallico:maybe you can sort things out
Sun Apr 30 16:34:59 2017  Maldivia:well, build with skipTests enabled, and then see what happens, or you know, use an actual stable/released version of that library
Sun Apr 30 16:35:29 2017  TotemFallico:i need for a specific program the version 5, the stable one is still on 4
Sun Apr 30 16:35:37 2017  TotemFallico:building with the skip doesn't fail
Sun Apr 30 16:36:16 2017  TotemFallico:the thing is that they are rebranding and renaming everything, so i'd expect some stability errors due to some random names that doesn't match
Sun Apr 30 16:36:37 2017  TotemFallico:ls
Sun Apr 30 16:37:57 2017  TotemFallico:nope, nope, mybad, it fails
Sun Apr 30 16:38:29 2017  TotemFallico:...or not?
Sun Apr 30 16:38:34 2017  TotemFallico:idk it's going random
Sun Apr 30 16:40:37 2017  bobbyja:Joined the channel
Sun Apr 30 16:41:05 2017  TotemFallico:gtg bye
Sun Apr 30 16:50:27 2017  bobbyja_:Joined the channel
Sun Apr 30 16:58:34 2017  mithrandeer:Joined the channel
Sun Apr 30 18:07:30 2017  Guest4:Joined the channel
Sun Apr 30 18:20:48 2017  mithrandeer:Joined the channel
Sun Apr 30 18:30:12 2017  bobbyja:Joined the channel
Sun Apr 30 19:12:38 2017  mal``:Joined the channel
Sun Apr 30 20:00:20 2017  conan:Joined the channel
Sun Apr 30 20:21:20 2017  theRealGent:Joined the channel
Sun Apr 30 20:26:42 2017  mithrandeer:Joined the channel
Sun Apr 30 20:52:52 2017  Zed_:Joined the channel
Sun Apr 30 20:57:19 2017  [1]Keepa:Joined the channel
Sun Apr 30 22:06:14 2017  masuberu:Joined the channel
Sun Apr 30 22:15:51 2017  mithrandeer:Joined the channel
Sun Apr 30 22:18:08 2017  oseph:Joined the channel
Sun Apr 30 22:20:30 2017  mithrandeer:Joined the channel

Comments