Friday, 2015-03-20

*** johnmendonca <johnmendonca!~johnmendo@67.204.184.82> has quit IRC (Remote host closed the connection)00:06
*** tcrawley-away is now known as tcrawley00:24
tcrawleyjcrossley3: yeah, that was the thing I set out to change in ClusterUtils, but it turned in to a larger refactor00:26
*** tcrawley is now known as tcrawley-away00:27
*** cemerick <cemerick!~cemerick@c-24-34-140-98.hsd1.ma.comcast.net> has joined #immutant00:41
*** marianoguerra <marianoguerra!~marianogu@245-123-17-190.fibertel.com.ar> has joined #immutant00:59
*** marianoguerra <marianoguerra!~marianogu@emesene/grandpa/marianoguerra> has joined #immutant00:59
*** irsol <irsol!~irsol@unaffiliated/contempt> has quit IRC (Remote host closed the connection)01:23
*** irsol <irsol!~irsol@unaffiliated/contempt> has joined #immutant01:31
*** Guest9000 <Guest9000!~textual@97-97-226-79.res.bhn.net> has quit IRC (Quit: My Mac has gone to sleep. ZZZzzz…)02:30
*** jcrossley3 is now known as jcrossley3-away02:39
*** marianoguerra <marianoguerra!~marianogu@emesene/grandpa/marianoguerra> has quit IRC (Ping timeout: 252 seconds)03:24
*** statonjr <statonjr!~statonjr@cpe-174-108-074-226.carolina.res.rr.com> has quit IRC (Quit: statonjr)03:33
*** Guest9000 <Guest9000!~textual@97-97-226-79.res.bhn.net> has joined #immutant03:38
*** Guest9000 <Guest9000!~textual@97-97-226-79.res.bhn.net> has quit IRC (Quit: My Mac has gone to sleep. ZZZzzz…)04:11
*** Guest9000 <Guest9000!~textual@97-97-226-79.res.bhn.net> has joined #immutant04:16
*** mikeb293 <mikeb293!~mikeb293@ip68-229-28-134.lv.lv.cox.net> has joined #immutant04:16
*** Guest9000 <Guest9000!~textual@97-97-226-79.res.bhn.net> has quit IRC (Quit: My Mac has gone to sleep. ZZZzzz…)04:34
*** cap10morgan <cap10morgan!~cap10morg@2601:1:b200:1c6:d539:ca68:572:e429> has joined #immutant05:03
*** mikeb293 <mikeb293!~mikeb293@ip68-229-28-134.lv.lv.cox.net> has quit IRC ()05:16
*** DomKM <DomKM!uid23709@gateway/web/irccloud.com/x-dvuykpapxeksfexo> has quit IRC (Quit: Connection closed for inactivity)05:32
*** cemerick <cemerick!~cemerick@c-24-34-140-98.hsd1.ma.comcast.net> has quit IRC (Ping timeout: 246 seconds)05:42
*** mgoldmann|away is now known as mgoldmann06:23
*** galderz <galderz!~galder@redhat/jboss/galderz> has joined #immutant07:12
*** dm3 <dm3!~dm3@pub151248158012.dh-hfc.datazug.ch> has joined #immutant08:16
*** galderz <galderz!~galder@redhat/jboss/galderz> has quit IRC (Quit: This computer has gone to sleep)08:24
*** galderz <galderz!~galder@redhat/jboss/galderz> has joined #immutant08:30
*** Guest9000 <Guest9000!~textual@97-97-226-79.res.bhn.net> has joined #immutant09:05
*** dm3 <dm3!~dm3@pub151248158012.dh-hfc.datazug.ch> has quit IRC (Remote host closed the connection)09:05
*** dm3 <dm3!~dm3@pub158181119172.dh-hfc.datazug.ch> has joined #immutant09:25
*** galderz <galderz!~galder@redhat/jboss/galderz> has quit IRC (Quit: This computer has gone to sleep)09:58
*** Guest9000 <Guest9000!~textual@97-97-226-79.res.bhn.net> has quit IRC (Ping timeout: 245 seconds)11:08
*** Guest9000 <Guest9000!~textual@97-97-226-79.res.bhn.net> has joined #immutant11:09
*** statonjr <statonjr!~statonjr@cpe-174-108-074-226.carolina.res.rr.com> has joined #immutant11:10
*** marianoguerra <marianoguerra!~marianogu@emesene/grandpa/marianoguerra> has joined #immutant11:23
*** Guest9000 <Guest9000!~textual@97-97-226-79.res.bhn.net> has quit IRC (Quit: My Mac has gone to sleep. ZZZzzz…)11:32
*** Guest9000 <Guest9000!~textual@97-97-226-79.res.bhn.net> has joined #immutant11:42
*** galderz <galderz!~galder@redhat/jboss/galderz> has joined #immutant11:47
*** statonjr <statonjr!~statonjr@cpe-174-108-074-226.carolina.res.rr.com> has quit IRC (Quit: statonjr)11:49
*** tcrawley-away is now known as tcrawley11:51
*** cemerick <cemerick!~cemerick@c-24-34-140-98.hsd1.ma.comcast.net> has joined #immutant12:08
*** bbrowning_away is now known as bbrowning12:18
*** statonjr <statonjr!~statonjr@209.34.239.254> has joined #immutant12:41
*** jcrossley3-away is now known as jcrossley313:03
tcrawleyjcrossley3: I'm looking at how to enable and use STOMP embedded & in-container to answer the clojure ml & SO question13:04
tcrawleyit should probably be a blog post when I'm done13:04
jcrossley3ugh13:05
jcrossley3godspeed, brother13:05
tcrawleyI have it working OOC, almost13:05
jcrossley3yay!13:05
tcrawleyit's actually pretty easy13:05
jcrossley3yay!13:06
jcrossley3tcrawley: so the answer is to use STOMP from C#?13:07
tcrawleythat's probably the best answer, yeah13:08
jcrossley3ugh13:08
jcrossley3"easy"13:08
tcrawleyI could look at enabling the REST interface, but STOMP is a better protocol than straight-up REST13:08
jcrossley3it's certainly more aggressive and less passive13:09
tcrawleytotes13:09
tcrawleyjcrossley3: this is useful: https://github.com/immutant/immutant/blob/thedeuce/messaging/src/immutant/messaging/codecs.clj13:15
tcrawleyI'll remove it13:15
jcrossley3huh13:16
jcrossley3wonder how that got there13:16
tcrawleyI moved the last remaining fn, but didn't remove the ns: https://github.com/immutant/immutant/commit/d8dd5e1c969d938fbd67a85f5d203390206767fe13:17
jbossbotgit [immutant] d8dd5e1.. Toby Crawley Fix properties-as-metadata support.13:17
jcrossley3i like that you updated its copyright *after* it was empty :)13:18
tcrawleyhey, that was a script :)13:18
jbossbotgit [immutant] push thedeuce c9f956f.. Toby Crawley Remove empty ns.13:18
jbossbotgit [immutant] push thedeuce URL: http://github.com/immutant/immutant/commit/c9f956f5213:18
*** Guest9000 <Guest9000!~textual@97-97-226-79.res.bhn.net> has quit IRC (Ping timeout: 264 seconds)13:18
*** Guest9000 <Guest9000!~textual@97-97-226-79.res.bhn.net> has joined #immutant13:19
projectodd-ciProject immutant2-incremental build #517: SUCCESS in 12 min: https://projectodd.ci.cloudbees.com/job/immutant2-incremental/517/13:33
projectodd-ciToby Crawley: Remove empty ns.13:33
*** Guest9000 <Guest9000!~textual@97-97-226-79.res.bhn.net> has quit IRC (Quit: My Mac has gone to sleep. ZZZzzz…)13:37
*** lance|afk is now known as lanceball13:41
*** cap10morgan <cap10morgan!~cap10morg@2601:1:b200:1c6:d539:ca68:572:e429> has quit IRC (Quit: Lingo - http://www.lingoirc.com)13:49
*** tcrawley is now known as tcrawley-away14:14
projectodd-ciProject immutant2-incremental-integs build #10: SUCCESS in 45 min: https://projectodd.ci.cloudbees.com/job/immutant2-incremental-integs/10/14:21
projectodd-ciToby Crawley: Remove empty ns.14:21
*** cap10morgan <cap10morgan!~cap10morg@2601:1:b200:1c6:e5b3:31bd:4d53:98b> has joined #immutant14:24
*** Guest9000 <Guest9000!~textual@97-97-226-79.res.bhn.net> has joined #immutant14:39
*** statonjr <statonjr!~statonjr@209.34.239.254> has quit IRC (Quit: statonjr)14:40
*** bbrowning is now known as bbrowning_away14:47
*** conan <conan!~conan@mdproctor.plus.com> has quit IRC (Quit: ["Textual IRC Client: www.textualapp.com"])14:50
*** conan <conan!~conan@mdproctor.plus.com> has joined #immutant14:53
*** tcrawley-away is now known as tcrawley14:53
*** lanceball is now known as lance|afk14:54
*** Guest9000 <Guest9000!~textual@97-97-226-79.res.bhn.net> has quit IRC (Quit: My Mac has gone to sleep. ZZZzzz…)14:58
*** tcrawley is now known as tcrawley-away14:59
*** statonjr <statonjr!~statonjr@209.34.239.254> has joined #immutant15:11
*** eric_normand <eric_normand!~eric@ip72-211-99-52.no.no.cox.net> has joined #immutant15:15
eric_normandhello!15:15
eric_normandI have a question about lein-immutant15:15
eric_normandrunning lein test, it runs fine15:17
eric_normandrunning lein immutant test, it does not15:17
eric_normandit is unable to read a configuration from the resources directory15:18
eric_normandwhich is added in the :test profile15:18
eric_normandis there a way to add the test profile to the war that is created?15:20
jcrossley3eric_normand: hi, and welcome!15:26
jcrossley3we're talking 2x, right?15:26
eric_normandthanks15:26
eric_normandyes15:26
jcrossley3lemme check something15:27
eric_normandok15:27
jcrossley3eric_normand: looking at 'lein help immutant deployment'15:29
jcrossley3i think the answer is :resource-paths15:30
jcrossley3that you're gonna want to set in your :test profile15:30
jcrossley3does that make sense?15:30
jcrossley3according to that doc, your lein :resource-paths should be in there without having to do anything, so we may have a bug15:31
eric_normandok15:31
*** cap10morgan <cap10morgan!~cap10morg@2601:1:b200:1c6:e5b3:31bd:4d53:98b> has quit IRC (Quit: Computer has gone to sleep.)15:31
eric_normandlet me keep diagnosing this15:32
eric_normandI'm not quite sure it's the problem15:32
eric_normandit's very hard to diagnose15:32
jcrossley3eric_normand: i'm happy to try locally if your app is public, or you can publish a small test app15:32
eric_normandI'm just getting a NullPointerException15:32
eric_normandand the stacktrace has no line with any of our code in it15:33
eric_normandand nothing is written to the logs15:33
jcrossley3there are a lot of moving parts, unfortunately, and it can be tricky to diagnose. are you looking to use wildfly for clustering?15:34
eric_normandwe want to use wildfly to run many apps in the same jvm15:34
jcrossley3gotcha15:34
jcrossley3is this with wildfly 8.2?15:34
eric_normand8.115:35
jcrossley3pretty stock configuration?15:35
eric_normandI have not touched the configuration15:35
eric_normandbut configuration for what?15:36
eric_normandwildfly?15:36
jcrossley3yes15:36
jcrossley3just trying to rule out some things15:36
eric_normandI just unzipped the file15:36
jcrossley3cool15:36
jcrossley3can you deploy the war file created by the test task to your wildfly manually?15:36
eric_normandis it possible the immutant is trying to run more than just the tests?15:36
eric_normandlet me try that15:37
jcrossley3essentially, the test task is 1) creating a war file with nrepl configured, 2) firing up your wildfly, 3) deploying the war file 4) connecting to the nrepl endpoint inside wildfly, and 4) running the tests through that socket15:38
jcrossley3um, 515:38
jcrossley3eric_normand: what version of lein-immutant are you using, btw?15:39
eric_normandoh, I see15:39
eric_normandso it's running the main?15:39
eric_normandwhich I believe is done automatically when it's deployed15:40
jcrossley3if :main is configured in your project.clj, yes, it will15:40
eric_normandeven for the tests?15:40
eric_normandmaybe I should override :main for the tests15:40
jcrossley3i was about to suggest that :)15:41
*** statonjr <statonjr!~statonjr@209.34.239.254> has quit IRC (Quit: statonjr)15:41
jcrossley3main is gonna get run just by the deployer15:41
jcrossley3regardless of the tests15:41
*** statonjr <statonjr!~statonjr@209.34.239.254> has joined #immutant15:43
eric_normandtrying now15:43
eric_normandno dice15:45
jcrossley3so you get an NPE when you deploy the war manually?15:46
jcrossley3i'm not sure what you tried specifically15:46
eric_normandFailed to start service jboss.undertow.deployment.default-server.default-host./ballot-scout-dev: org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./ballot-scout-dev: Failed to start service15:50
eric_normandyeah15:50
eric_normandI run lein with-profile test immutant test -j  ~/dw/wildfly-8.1.0.Final15:50
eric_normandthat fails15:50
eric_normandthen I copy the war file manually to ~/dw/wildfly-8.1.0.Final/standalone/deployments15:51
*** cap10morgan <cap10morgan!~cap10morg@2600:100e:b014:b47:bae8:56ff:fe40:58b8> has joined #immutant15:51
jcrossley3eric_normand: is 'with-profile +test' any better?15:51
eric_normandtrying15:51
eric_normandno15:52
jcrossley3no different?15:52
eric_normandsame15:52
jcrossley3ok, if you don't mind, let's back up a bit...15:52
eric_normandCaused by: java.lang.NullPointerException15:53
eric_normand        at immutant.wildfly$init_deployment.invoke(wildfly.clj:87)15:53
eric_normand15:53
eric_normandok15:53
jcrossley3after removing whatever's in your deployments/ dir, can you try 'lein immutant war -o ~/dw/wildfly-8.1.0.Final'15:54
jcrossley3just to make sure your app will deploy to wildfly15:54
jcrossley3if not, i suspect some dependency conflict, possibly15:54
eric_normandwith normal profile?15:54
jcrossley3yes15:55
eric_normandok15:55
eric_normandlikely won't work15:55
jcrossley3because?15:55
eric_normandbecause it will run main15:55
eric_normandwe'll see15:55
jcrossley3and main won't work?15:56
eric_normandno15:56
eric_normandlein run won't work15:56
eric_normandit's trying to connect to services using environment variables that don't exist15:57
jcrossley3i c15:57
jcrossley3we can remove :main before running 'immutant war'15:57
*** statonjr <statonjr!~statonjr@209.34.239.254> has quit IRC (Quit: statonjr)15:57
jcrossley3if *that* won't deploy, we have real problems :)15:57
eric_normandyou mean delete that line?15:57
jcrossley3yeah, from project.clj15:58
eric_normandok15:58
eric_normandtrying again15:58
eric_normandone thing that has concerned me is that when I run lein with-profile test immutant test, it creates a war called ballot-scout-dev.war15:59
eric_normandJBAS014776:    Newly corrected services:16:00
eric_normand      service jboss.undertow.deployment.default-server.default-host./ballot-scout (new available)16:00
eric_normandno error16:00
eric_normandthat's without main16:00
jcrossley3eric_normand: are you starting/stopping wildfly or has it been running all this time?16:00
*** cap10morgan <cap10morgan!~cap10morg@2600:100e:b014:b47:bae8:56ff:fe40:58b8> has quit IRC (Quit: Computer has gone to sleep.)16:00
eric_normandI just restarted it to try the previous command16:01
eric_normandthe one with :main16:01
jcrossley3k, i'm a little concerned by the "newly corrected"16:01
eric_normandwell, it broke before16:01
eric_normandshould I restart?16:01
eric_normandrestarting16:02
jcrossley3wildfly has a tendency to remember state between restarts, which can be a hassle during development16:02
eric_normandno error16:02
jcrossley3k16:02
eric_normandjust a warning about no initialization16:02
jcrossley3so that's good :)16:02
eric_normandso that troubles me16:02
jcrossley3why?16:02
eric_normandbecause I replaced the main in the :test profile16:03
eric_normandwith a function that just returns nil16:03
eric_normandthat seems to indicate that the war is not built with that main16:03
jcrossley3well, the test war file is doing other things, e.g. starting nrepl16:03
eric_normandthe test main16:03
jcrossley3actually that's a good idea16:03
jcrossley3build the war again but add the -d option16:04
eric_normandok16:04
jcrossley3that'll build it exactly like the test task16:04
jcrossley3and it'll give you that -dev suffix16:04
jcrossley3btw, you mentioned that concerned you?16:04
eric_normandyeah16:05
jcrossley3but you didn't mention why :)16:05
eric_normanddev is also a profile name16:06
jcrossley3yeah, unrelated16:06
eric_normandok16:06
eric_normandFailed to start service jboss.undertow.deployment.default-server.default-host./ballot-scout: org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./ballot-scout: Failed to start service16:06
eric_normandthat's with -d16:07
eric_normandthe main looks like this:16:07
eric_normand(defn test-main []16:07
eric_normand  nil)16:07
jcrossley3is there a stack trace in server.log?16:07
eric_normandwhere would that be?16:07
jcrossley3~/dw/wildfly-8.1.0.Final/standalone/log/server.log16:08
jcrossley3sorry, i thought that's where you were getting these errors from16:08
jcrossley3you're seeing these in stdout, i guess16:08
eric_normandyeah16:09
eric_normandhang on16:09
eric_normandit's big16:09
eric_normandand chrome just crashed :(16:09
jcrossley3likely a trace near the bottom16:09
eric_normandhttps://gist.github.com/ericnormand/a0e53b4fe5842439c32116:10
* jcrossley3 looks16:11
jcrossley3weird16:12
jcrossley3eric_normand: i hate to ask you this, but if you crack open that war file, you'll find a META-INF/app.properties file. would you mind gisting that?16:13
eric_normandok16:13
eric_normandremember, that's with a main that just returns nil16:13
jcrossley3i wouldn't think it should care16:13
jcrossley3eric_normand: another dumb question, but what version of lein-immutant are you using?16:14
eric_normandupdated the gist16:15
eric_normandwith app.properties16:15
eric_normand[lein-immutant "2.0.0-beta1"]16:17
jcrossley3eric_normand: i'm wondering if that pedestal middleware is the culprit16:18
eric_normandlet me comment it out and try again16:19
eric_normandsame16:19
eric_normanddoes immutant require something to happen in the main?16:20
eric_normandit has no args16:20
eric_normanddoes it need args?16:20
eric_normanddoes it expect a certain return value?16:20
jcrossley3it may need args16:21
jcrossley3it doesn't care about the return value16:21
jcrossley3but your gist shows no :main configured, so i don't think it's even relevant16:22
eric_normandok, when there's no :main at all, the tests run fine16:23
jcrossley3yay! :)16:24
eric_normandyay!16:24
eric_normandthanks16:24
jcrossley3so now i wonder if it's a problem with your :main not taking args when it is configured16:24
eric_normandnow I just need to figure out how to make leiningen remove the main configuration16:24
eric_normandtrying that16:24
eric_normandno, adding args does not help16:25
eric_normandapparently setting it to nil will remove it16:25
jcrossley3that's weird16:25
jcrossley3eric_normand: so the stack trace in your gist doesn't match your app.properties, right? because there's no :main in it?16:26
eric_normandI don't understand the question16:27
jcrossley3i'm really curious to see 1) your project.clj with :main defined, 2) your main fn, 3) any errors in server.log, and 4) that app.properties16:28
eric_normandwell, the project.clj is constantly changing as we have been testing stuff16:28
jcrossley3i thought the trace in your gist came from a war built with a :main defined. but the app.properties doesn't indicate a main defined16:28
eric_normandwould you like me to try it again?16:29
jcrossley3eric_normand: this line, near the bottom of app.properties: init=(do (clojure.core/require (quote immutant.wildfly)) (immutant.wildfly/init-deployment (quote nil) {\:nrepl {\:start? true, \:port 0, \:host "localhost"}}))16:29
jcrossley3eric_normand: well, my reasons are selfish. you may have found a bug. but yes. :)16:29
eric_normandok16:30
eric_normandI readded main16:30
eric_normandI'm still having trouble getting it to run differently in the test profile16:30
jcrossley3if you have a :main defined you won't see (quote nil) in that init= line16:30
jcrossley3eric_normand: also fwiw, the test task should activate the :dev and :test profiles for you16:31
jcrossley3that may be a problem, or causing confusion16:32
jcrossley3also, what version of lein are you running?16:33
eric_normandok16:34
eric_normandnew gist: https://gist.github.com/ericnormand/2eeeae3aa0a45d8b3f6616:35
*** statonjr <statonjr!~statonjr@cpe-174-108-074-226.carolina.res.rr.com> has joined #immutant16:37
jcrossley3eric_normand: that is very helpful, but can you confirm the init= line in META-INF/app.properties includes ballot-scout.server/test-main16:37
eric_normandsorry16:38
eric_normandlet me see16:38
jcrossley3i'm gonna try and reproduce locally16:38
eric_normandok16:38
eric_normanddoing :main nil does not seem to remove it16:38
jcrossley3ah16:40
eric_normandok, updated gist16:40
eric_normandit looks like it's a problem16:40
jcrossley3yeah, that's a tricky thing, as you'd likely need ^:replace metadata on :main16:40
jcrossley3but that won't work on nil16:40
*** galderz <galderz!~galder@redhat/jboss/galderz> has quit IRC (Quit: Leaving)16:41
eric_normandmain looks broken in app.properties16:41
jcrossley3you *might* be able to set ^:displace on your top-level :main16:42
jcrossley3eric_normand: agree that looks wrong16:43
eric_normandI thought you could do that16:43
jcrossley3not sure where those /'s are coming from16:43
*** marianoguerra <marianoguerra!~marianogu@emesene/grandpa/marianoguerra> has quit IRC (Ping timeout: 250 seconds)16:43
jcrossley3oh, wait!16:44
jcrossley3eric_normand: your :main should be ballot-scout.server.test-main16:44
jcrossley3replace that / with a .16:44
eric_normandbut test-main is the function name16:45
jcrossley3i don't think :main works like that16:45
eric_normandballot-scout.server is the namespace16:45
eric_normandno16:45
eric_normandI thought it did16:45
jcrossley3it wants a ns, i thought16:45
eric_normandbut it looks like it didn't16:45
eric_normandyeah16:45
eric_normandI thought it was smart16:45
eric_normandlike if it's a symbol with no ns, it looks for -main16:45
eric_normandand if it's got an ns, it considers it a var to call16:46
jcrossley3hmm16:46
jcrossley3that could be the bug16:46
jcrossley3if lein does that but we don't16:46
eric_normandlein run still works16:46
eric_normandwith that main configuration16:47
jcrossley3eric_normand: yeah, that's a bug then. sorry for that taking so long, but thanks for improving immutant. :)16:47
eric_normandyou're welcome16:47
eric_normandthanks for helping me16:47
jcrossley3any time!16:47
eric_normand(defn- normalize-main [given]16:48
eric_normand  (when-not (or (symbol? given)16:48
eric_normand                (and (string? given) (symbol? (read-string given))))16:48
eric_normand    (main/abort (str "Option -m requires a valid namespace argument, not "16:48
eric_normand                     given ".")))16:48
eric_normand  (if (namespace (symbol given))16:48
eric_normand    (symbol given)16:48
eric_normand    (symbol (name given) "-main")))16:48
eric_normandhttps://github.com/technomancy/leiningen/blob/master/src/leiningen/run.clj16:48
jcrossley3eric_normand: awesome, thanks. wanna create the @jira?16:48
proddbotWe'd be happy as a tornado in a trailer park, my friend, if you would file an issue at https://issues.jboss.org/browse/IMMUTANT16:48
eric_normandok16:49
*** marianoguerra <marianoguerra!~marianogu@245-123-17-190.fibertel.com.ar> has joined #immutant16:51
*** marianoguerra <marianoguerra!~marianogu@emesene/grandpa/marianoguerra> has joined #immutant16:51
*** johnmendonca <johnmendonca!~johnmendo@67.204.184.82> has joined #immutant16:55
eric_normandhttps://issues.jboss.org/browse/IMMUTANT-54116:59
jbossbotjira [IMMUTANT-541] :main in lein-immutant does not match Leiningen's semantics [Open (Unresolved) Bug, Major, Unassigned] https://issues.jboss.org/browse/IMMUTANT-54116:59
jcrossley3eric_normand: thank you! :)16:59
jcrossley3eric_normand: the interpretation of those semantics are very much from a run task perspective. contrast that with uberjar, which probably needs :main to be a namespace17:03
eric_normandinteresting17:04
eric_normandare the different?17:04
eric_normandthey17:04
jcrossley3and war is closer to uberjar in behavior, but i still think we should support it as a fn, since we don't really care about :aot17:05
eric_normandbtw, when I run lein immutant test, it uses the :main from the top level17:05
eric_normandwhen I run lein with-profile test immutant test, it uses the one from :test17:05
jcrossley3eric_normand: even with ^:displace metadata on the top-level?17:05
eric_normandno displace17:05
eric_normandon test or toplevel?17:06
jcrossley3top17:06
eric_normandtrying17:07
eric_normandwith ^:displace at top level, app.properties still points to the toplevel one17:07
*** cap10morgan <cap10morgan!~cap10morg@198.11.218.35-static.reverse.softlayer.com> has joined #immutant17:08
jcrossley3hmm17:08
*** Jesterman81 <Jesterman81!~adam@184-158-63-30.dyn.centurytel.net> has joined #immutant17:09
*** Jesterman81 <Jesterman81!~adam@184-158-63-30.dyn.centurytel.net> has left #immutant17:09
eric_normand:displace and :replace seem to have no effect at all17:11
jcrossley3yeah, i'm just looking at the code and i think we may have another bug17:11
jcrossley3https://github.com/immutant/lein-immutant/tree/2x-dev/src/immutant/test.clj#L72-L7517:12
*** johnmendonca <johnmendonca!~johnmendo@67.204.184.82> has quit IRC (Remote host closed the connection)17:12
jcrossley3i think that extract-profiles ain't exactly right, but i need to confirm with tcrawley-away17:12
jcrossley3i think there is always :included-profiles on a project's metadata, but different versions of lein have changed that over time, so i'm not sure17:16
jcrossley3eric_normand: as you may have surmised, we don't get a lot of folks who use the test task, so apologies if using it feels a little like walking through a bug minefield17:17
eric_normandthat's ok17:17
*** qwebirc74634 <qwebirc74634!81d75a34@gateway/web/freenode/ip.129.215.90.52> has joined #immutant17:18
eric_normandis it possible that the lein immutant war is not reading properties properly from combined profiles?17:18
*** qwebirc74634 <qwebirc74634!81d75a34@gateway/web/freenode/ip.129.215.90.52> has left #immutant17:18
*** qwebirc26021 <qwebirc26021!18228c62@gateway/web/freenode/ip.24.34.140.98> has joined #immutant17:18
*** qwebirc26021 <qwebirc26021!18228c62@gateway/web/freenode/ip.24.34.140.98> has quit IRC (Client Quit)17:18
eric_normandwhen I set :main to nil in :test, it still uses the toplevel one17:19
*** qwebirc75014 <qwebirc75014!9f8cfe6d@gateway/web/freenode/ip.159.140.254.109> has joined #immutant17:19
eric_normandbut if I set it to a symbol, it properly replaces it (with with-profile test)17:20
*** JulioBarros <JulioBarros!~juliobarr@c-50-186-32-133.hsd1.or.comcast.net> has joined #immutant17:20
jcrossley3and that's with ^:displace at the top?17:20
jcrossley3and explicitly activating the :test profile?17:21
jcrossley3not to make excuses, but profile merging is a black art, tbh. it's possible that ^:displace won't work if the thing displacing is nil.17:22
eric_normandyeah17:25
eric_normandI'll try it again17:25
eric_normandI've tried so many things, I could be misremembering17:25
jcrossley3eric_normand: a quick glance at meta-merge makes me think you might need :top-displace on the toplevel :main17:25
eric_normandwhoah17:25
eric_normandmakes me want to switch to Boot17:26
jcrossley3haha17:26
jcrossley3i hear that a lot, actually :)17:26
eric_normand?d\\\17:26
eric_normandoops17:26
eric_normandwhere's home row?17:26
jcrossley3:)17:26
eric_normand:displace did not work17:26
eric_normandtrying :top-displace17:26
jcrossley3https://github.com/technomancy/leiningen/tree/master/leiningen-core/src/leiningen/core/project.clj#L135-L16717:27
eric_normandI know what I want it to do, just need to find the magic keyword to put in the metadata?17:27
eric_normandno luck with top-displace17:28
jcrossley3yeah, i've been where you are. it's sucky.17:28
jcrossley3eric_normand: you might try hyperion over in #leiningen17:28
eric_normandthanks17:29
eric_normandmight have to wait for another day17:29
eric_normandI've got something working and want to make a PR17:29
jcrossley3feel free to holler back if you think it's an immutant problem17:29
eric_normandok17:30
*** mgoldmann is now known as mgoldmann|away17:30
eric_normandthanks17:32
*** qwebirc77979 <qwebirc77979!475acaf6@gateway/web/freenode/ip.71.90.202.246> has joined #immutant17:36
jcrossley3qwebirc77979: how dare you join this channel!?!17:37
qwebirc77979jcrossley3: fy17:37
*** qwebirc96548 <qwebirc96548!32bf087a@gateway/web/freenode/ip.50.191.8.122> has joined #immutant17:38
*** qwebirc77979 <qwebirc77979!475acaf6@gateway/web/freenode/ip.71.90.202.246> has left #immutant17:38
*** qwebirc96548 <qwebirc96548!32bf087a@gateway/web/freenode/ip.50.191.8.122> has quit IRC (Client Quit)17:39
*** qwebirc16270 <qwebirc16270!329dd2f3@gateway/web/freenode/ip.50.157.210.243> has joined #immutant17:43
*** jcrossley3 <jcrossley3!~user@71-90-202-246.dhcp.stls.mo.charter.com> has quit IRC (Quit: ERC Version 5.3 (IRC client for Emacs))17:44
*** jcrossley3 <jcrossley3!~user@redhat/jboss/jc3> has joined #immutant17:44
*** statonjr <statonjr!~statonjr@cpe-174-108-074-226.carolina.res.rr.com> has quit IRC (Quit: statonjr)17:44
*** tcrawley-away is now known as tcrawley17:45
*** lance|afk is now known as lanceball17:46
*** qwebirc17128 <qwebirc17128!4e5a45b6@gateway/web/freenode/ip.78.90.69.182> has joined #immutant17:46
*** qwebirc17128 <qwebirc17128!4e5a45b6@gateway/web/freenode/ip.78.90.69.182> has left #immutant17:47
*** qwebirc30846 <qwebirc30846!4c1921c8@gateway/web/freenode/ip.76.25.33.200> has joined #immutant17:49
*** qwebirc30846 <qwebirc30846!4c1921c8@gateway/web/freenode/ip.76.25.33.200> has left #immutant17:49
tcrawleyjcrossley3: thanks for helping out eric_normand17:57
tcrawleysorry I wasn't here, because I would have pointed at lein-immutant/issues instead of jira :)17:57
jcrossley3tcrawley: i know. good thing i was here! ;)17:58
* tcrawley goes off to make a dupe17:58
eric_normanddrama?17:58
jcrossley3eric_normand: nah, just a running bit17:58
tcrawleyeric_normand: always17:58
jcrossley3eric_normand: tcrawley is very compartmentalized17:59
tcrawleyand jcrossley3 is a hippie17:59
jcrossley3haha17:59
* jcrossley3 is in fact in need of a neck shave17:59
tcrawleyI'll be right over with a SHARP blade17:59
jcrossley3pfft18:04
jcrossley3tcrawley: was main-as-fn a known issue on gh?18:05
tcrawleyno18:05
*** qwebirc87560 <qwebirc87560!6309510b@gateway/web/freenode/ip.99.9.81.11> has joined #immutant18:06
tcrawleybut it will be in a few minutes18:06
jcrossley3why does cemerick hate us?18:06
tcrawleyqwebirc87560: who are you, and why does jcrossley3 hate you?18:06
*** qwebirc87560 <qwebirc87560!6309510b@gateway/web/freenode/ip.99.9.81.11> has quit IRC (Client Quit)18:06
tcrawleywait, cemerick hates us?18:06
tcrawleywhy are we both talking about hate at the same time?18:06
cemerickoh shit18:06
jcrossley3https://twitter.com/cemerick/status/57897243218430361618:07
jbossbotTitle: Chas Emerick on Twitter: "People know that projects can link to IRC (freenode) channels in the same way as e.g. gitter, right? http://t.co/urJcl2G3wq"18:07
cemerickwelp18:07
tcrawleyI thought he was using us as a shining example!18:07
jcrossley3tcrawley: you're always so positive!18:07
cemerickI figured, hey, what project's channel could use an influx of randos?18:08
jcrossley3_exactly_ :)18:08
tcrawleyah, now I understand the qwebirc* users18:08
tcrawleywhy does cemerick hate us?18:08
tcrawleyjcrossley3: stop driving people away!18:08
jcrossley3tcrawley: that was me, doofus18:09
cemerickoh dammit18:09
cemerickjcrossley3: here I thought you were being genuinely welcoming18:09
tcrawleyjcrossley3: and I was supposed to know that how?18:09
tcrawleywait, that makes *me* the unwelcoming one18:10
tcrawleyI blame jcrossley318:10
tcrawleyI could never blame cemerick FOR A THING18:10
jcrossley3i'm confused now18:10
tcrawleyno more than I18:10
jcrossley3tcrawley: bottom line is you ran off qwebirc8756018:11
jcrossley3wtg18:11
tcrawleyI know, right?18:11
jcrossley3it was you, right?18:11
tcrawleyI am the same tcrawley that engaged qwebirc87560, yes18:12
tcrawleyI was not qwebirc8756018:12
jcrossley3wtg doofus18:12
*** Guest9000 <Guest9000!~textual@97-97-226-79.res.bhn.net> has joined #immutant18:12
jcrossley3tcrawley: well? are you gonna run off Guest9000 too?18:12
*** qwebirc23987 <qwebirc23987!4394bac2@gateway/web/freenode/ip.67.148.186.194> has joined #immutant18:12
* tcrawley dozes off18:13
*** bbrowning_away is now known as bbrowning18:13
tcrawleywait, when did jbossbot start resolving tweets?18:23
tcrawleythat bot wears some big britches18:23
*** jcrossley3 is now known as jcrossley3-away18:28
cemerickseriously, that's one of the nicest irc bots I've ever seen18:30
cemerickI think I might register a qwebircNNNN handle as my primary, just to make both of you twitch anytime I log in18:31
tcrawleyheh18:32
tcrawleyI'm past it18:32
tcrawleyI welcome everyone!18:32
tcrawleythe more folks in here, the more I can justify my salary w/RHT18:32
*** kschrader <kschrader!uid41175@gateway/web/irccloud.com/x-ewrilhdwyizlevyz> has quit IRC (Quit: Connection closed for inactivity)18:33
*** dselph_____ <dselph_____!sid28058@gateway/web/irccloud.com/x-lfeyellwgvquwsvr> has quit IRC (Ping timeout: 252 seconds)18:38
*** qwebirc90032 <qwebirc90032!56077172@gateway/web/freenode/ip.86.7.113.114> has joined #immutant18:45
*** statonjr <statonjr!~statonjr@cpe-174-108-074-226.carolina.res.rr.com> has joined #immutant18:45
*** qwebirc90032 <qwebirc90032!56077172@gateway/web/freenode/ip.86.7.113.114> has quit IRC (Ping timeout: 246 seconds)18:49
*** qwebirc58072 <qwebirc58072!591f7659@gateway/web/freenode/ip.89.31.118.89> has joined #immutant19:31
*** jcrossley3-away is now known as jcrossley319:36
*** qwebirc48350 <qwebirc48350!59be322d@gateway/web/freenode/ip.89.190.50.45> has joined #immutant20:08
*** dselph_____ <dselph_____!sid28058@gateway/web/irccloud.com/x-tvmvctmetdizcqkk> has joined #immutant20:11
*** jcrossle_ <jcrossle_!~user@71-90-202-246.dhcp.stls.mo.charter.com> has joined #immutant20:23
*** Guest9000 <Guest9000!~textual@97-97-226-79.res.bhn.net> has quit IRC (Quit: My Mac has gone to sleep. ZZZzzz…)20:26
*** jcrossley3 <jcrossley3!~user@redhat/jboss/jc3> has quit IRC (Ping timeout: 252 seconds)20:27
*** cap10morgan <cap10morgan!~cap10morg@198.11.218.35-static.reverse.softlayer.com> has quit IRC (Quit: Computer has gone to sleep.)20:27
*** jcrossle_ is now known as jcrossley320:30
*** cap10morgan <cap10morgan!~cap10morg@50.23.152.10-static.reverse.softlayer.com> has joined #immutant20:39
*** qwebirc63360 <qwebirc63360!3ef54d9e@gateway/web/freenode/ip.62.245.77.158> has joined #immutant20:43
*** marianoguerra <marianoguerra!~marianogu@emesene/grandpa/marianoguerra> has quit IRC (Ping timeout: 265 seconds)20:50
*** tcrawley is now known as tcrawley-away20:59
*** bbrowning is now known as bbrowning_away21:00
*** bbrowning_away <bbrowning_away!~bbrowning@redhat/jboss/bbrowning> has quit IRC (Quit: Leaving)21:02
*** eric_normand <eric_normand!~eric@ip72-211-99-52.no.no.cox.net> has quit IRC (Read error: Connection reset by peer)21:09
*** eric_normand <eric_normand!~eric@ip72-211-99-52.no.no.cox.net> has joined #immutant21:10
*** tcrawley-away is now known as tcrawley21:35
*** cap10morgan <cap10morgan!~cap10morg@50.23.152.10-static.reverse.softlayer.com> has quit IRC (Quit: Computer has gone to sleep.)21:41
eric_normandooh, another question21:42
eric_normandI've got org.immutant/web 2.0.0-beta2 in my dependencies21:43
eric_normandat the repl, I run (require 'immutant.web.internal.headers :reload-all)21:43
eric_normandand I get this:CompilerException java.lang.RuntimeException: Unable to resolve var: ring.util.request/charset-pattern in this context, compiling:(immutant/web/internal/headers.clj:20:22)21:43
eric_normandring.util.request/charset-pattern is marked private21:44
tcrawleyeric_normand: hmm, that's odd it doesn't load - we're var-quoting it: (def charset-pattern (deref #'ring.util.request/charset-pattern))21:45
eric_normandhappens to me at the repl, too21:46
tcrawleywhat version of ring are you using?21:47
eric_normand1.3.221:47
tcrawleylet me see if I can recreate it21:48
tcrawleyeric_normand: with this: :dependencies [[org.clojure/clojure "1.6.0"]21:49
tcrawley                 [org.immutant/web "2.0.0-beta2"]21:49
tcrawley                 [ring "1.3.2"]]21:49
tcrawleyI can't recreate it21:49
tcrawleythe headers ns requires fine w/:reload-all21:50
eric_normandhmm21:50
eric_normandI'll try to isolate it21:50
tcrawleythanks!21:50
eric_normandhuh21:53
eric_normandrestarted the repl and it works21:53
eric_normandalso did lein clean21:54
tcrawleyis it possible something had brought in a version of ring < 1.3 at some point?21:56
eric_normandthanks!21:56
tcrawleymy pleasure!21:56
eric_normandyes21:56
*** Guest9000 <Guest9000!~textual@97-97-226-79.res.bhn.net> has joined #immutant21:56
eric_normandquite possible21:56
eric_normandI'm new to the codebase, trying to migrate it to immutant21:56
eric_normandwas using httpkit + compojure21:56
tcrawleygotcha - it looks like charset-pattern was introduced in ring 1.3.021:57
tcrawleywe should probably just copy that regex out of ring instead of relying on its presence21:57
tcrawleyeric_normand: will you be at c/west?21:58
eric_normandno21:58
tcrawleythat's too bad, I was going to buy you a drink/coffee.21:58
tcrawley(I can safely say that now that I know you won't be there)21:58
eric_normandha!22:00
eric_normandwell, if you're ever down in new orleans  . . .22:00
tcrawleywill do, mildew!22:01
eric_normandy'all rock22:05
tcrawleyheh22:07
tcrawleyeric_normand: hey, your issue with overriding :main from a profile - is that still an issue?22:08
eric_normandyes, but I've found a workaround22:08
eric_normandand you have to run lein with-profile test immutant test22:08
eric_normandI'd rather be able to run lein immutant test22:09
tcrawleywould you mind filing an issue at https://github.com/immutant/lein-immutant/issues?22:09
eric_normandok22:09
tcrawleyI want to get a release of the plugin out next week, so would like to try to fix it before then22:09
eric_normandnice22:11
eric_normandwould save us headaches22:11
eric_normandany idea what the problem might be?22:11
tcrawleyI'm not sure - jcrossley3 is the profile "expert", but hopefully we can figure it out22:12
jcrossley3eric_normand: how long have you lived in NO? my wife used to live in kenner. my brother's in lafayette. we used to go to jazzfest every year.22:13
eric_normandoh, wow!22:13
jcrossley3she used to work at the federal reserve down there22:13
eric_normandI'm from here22:14
eric_normandlived here all my life22:14
jcrossley3awesome. i love it down there.22:14
jcrossley3i proposed to her at antoine's :)22:14
eric_normandha!22:14
*** qwebirc86714 <qwebirc86714!36d870e0@gateway/web/freenode/ip.54.216.112.224> has joined #immutant22:15
tcrawleyjcrossley3: maybe we should take a southern speaking tour22:15
jcrossley3haha22:16
jcrossley3i'm down22:16
*** qwebirc86714 <qwebirc86714!36d870e0@gateway/web/freenode/ip.54.216.112.224> has quit IRC (Client Quit)22:16
jcrossley3tcrawley: i think it should extend to the caribbean, though22:16
tcrawleywe'll take my aquacar22:17
* tcrawley has never been to NO, sadly22:17
eric_normandgot a bus?22:19
eric_normandI could find a venue22:19
jcrossley3tcrawley: we should hit whatever ug's are between here and there. maybe see codefinger in huntsville, too22:20
tcrawleyyeah, that would be fun22:21
eric_normandtraveling code talks22:22
*** Guest9000 <Guest9000!~textual@97-97-226-79.res.bhn.net> has quit IRC (Quit: My Mac has gone to sleep. ZZZzzz…)22:23
jcrossley3eric_normand: is there a clojure user group/meetup there?22:23
eric_normandno22:23
tcrawleywe'll rent a camper22:23
eric_normandI run an fp group22:23
eric_normandbut not enough clojure activity to work22:24
jcrossley3eric_normand: java user group?22:24
eric_normandmaybe22:24
eric_normandnothing on meetup22:25
jcrossley3we've spoken at java user groups, jboss user groups, and clojure user groups22:25
eric_normandthat's cool22:27
jcrossley3i probably wouldn't have figured NO to have a big developer community. do you work remote?22:27
*** tcrawley is now known as tcrawley-away22:33
*** cemerick <cemerick!~cemerick@c-24-34-140-98.hsd1.ma.comcast.net> has quit IRC (Ping timeout: 250 seconds)22:45
*** marianoguerra <marianoguerra!~marianogu@245-123-17-190.fibertel.com.ar> has joined #immutant22:56
*** marianoguerra <marianoguerra!~marianogu@emesene/grandpa/marianoguerra> has joined #immutant22:56
*** eric_normand <eric_normand!~eric@ip72-211-99-52.no.no.cox.net> has quit IRC (Quit: eric_normand)23:06
*** johnmendonca <johnmendonca!~johnmendo@67.204.184.82> has joined #immutant23:07
*** jcrossle_ <jcrossle_!~user@71-90-202-246.dhcp.stls.mo.charter.com> has joined #immutant23:07
*** mikeb293 <mikeb293!~mikeb293@ip68-229-28-134.lv.lv.cox.net> has joined #immutant23:08
*** jcrossley3 <jcrossley3!~user@71-90-202-246.dhcp.stls.mo.charter.com> has quit IRC (Ping timeout: 250 seconds)23:09
*** jcrossle_ is now known as jcrossley323:26
*** MadcapJake <MadcapJake!~MadcapJak@66-188-235-160.dhcp.eucl.wi.charter.com> has joined #immutant23:33
*** Guest9000 <Guest9000!~textual@97-97-226-79.res.bhn.net> has joined #immutant23:33
*** MadcapRusso <MadcapRusso!~MadcapJak@66-188-235-160.dhcp.eucl.wi.charter.com> has quit IRC (Ping timeout: 244 seconds)23:34
*** johnmendonca <johnmendonca!~johnmendo@67.204.184.82> has quit IRC (Remote host closed the connection)23:45
*** marianoguerra <marianoguerra!~marianogu@emesene/grandpa/marianoguerra> has quit IRC (Ping timeout: 265 seconds)23:54

Generated by irclog2html.py 2.9.2 by Marius Gedminas - find it at mg.pov.lt!