immutant

http://immutant.org Note: dev discussion happens in #immutant on FreeNode IRC.
2016-03-15T14:21:23.000170Z

@tcrawley: Great, thank you! For some reason my hoplon resources (index.html) isn't being served, otherwise the server is fine. Investigating, if this is a packaging issue. I don't see any index.html in the entire WAR or the nested JAR where is would likely be.

2016-03-15T14:24:45.000171Z

@symbit: is index.html in a dir that is listed in :resource-paths? I think it has to be to end up in the uberjar

2016-03-15T14:26:55.000172Z

Yes, in the source the index.cljs.hl file is in a subdir in the resource-path.

2016-03-15T14:30:29.000173Z

I don't see any of the artifacts from the compiling index.cljs.hl in the project.jar (nor the outer war file.) Adding (show :fileset true) to the uberwar task chain..

2016-03-15T15:38:42.000174Z

The hoplon artifacts aren't in the WAR file created.

2016-03-15T15:58:11.000175Z

@tcrawley: I removed the target and /.boot/ directories. I renamed the (page "somethingveryunique.html"). Expand the WAR and project.jar. There is no sign of somethingveryunique. They are however in the temp directories in the /.boot/cache/tmp/base_dir/subdir1/subdir2/ns1/ns2/random_dir_name1/random_dir_name2/

2016-03-15T15:59:01.000176Z

trying again with

(target)
added back in..

2016-03-15T16:01:13.000177Z

actually aren't you calling the target task in 0.6.0-snapshot?

2016-03-15T16:01:31.000178Z

@symbit: sorry, I've been busy with other stuff this morning. I can try and take a look this afternoon - I suspect the issue here is the boot-immutant plugin is running uber itself instead of honoring your pipeline

2016-03-15T16:01:59.000179Z

it calls target after calling (comp (uber) (jar)) to get access to the uberjar

2016-03-15T16:02:58.000180Z

would it be possible for you to create a sample app that demonstrates the problem? that would make it easier for me to figure out what's going on

2016-03-15T16:03:13.000181Z

It sounds like you'd have to pick up the fileset/pipeline instead of creating a private one?

2016-03-15T16:03:28.000182Z

Yes, I'll put that together..

2016-03-15T16:08:02.000183Z

thanks!