These are chat archives for nextflow-io/nextflow

5th
Feb 2016
Sascha Steinbiss
@satta
Feb 05 2016 10:04
hi... I wonder if there's any way to build nextflow from source without capsule support
Paolo Di Tommaso
@pditommaso
Feb 05 2016 10:08
Hi for development purpose or to use a different deployment packaging?
Sascha Steinbiss
@satta
Feb 05 2016 10:13
packaging...
in debian for example, binaries need to go in a specific place, jars somewhere else, etc.
and not in a home directory but system-wide
I think I have worked out a way not to download from maven but to provide local jars for the deps
Paolo Di Tommaso
@pditommaso
Feb 05 2016 10:34
The command ./gradlew jar creates all nextflow jar libraries, then you will have to manage also the other deps
Sascha Steinbiss
@satta
Feb 05 2016 10:39
that's OK, they are mostly in debian, except grengine, which I just packaged
what about the nexus-gradle-plugin, is it needed for that kind of local build
?
Paolo Di Tommaso
@pditommaso
Feb 05 2016 10:41
No that plugin is only used to upload jars to the nexus repo
Sascha Steinbiss
@satta
Feb 05 2016 10:42
ok, then I can remove it from the gradle deps
Paolo Di Tommaso
@pditommaso
Feb 05 2016 10:42
I think so
I have no clue how does it work Debian packaging but we could add a specific task for that into the grade build
Sascha Steinbiss
@satta
Feb 05 2016 10:45
that would be great
in principle the JARs need to be separate from the executable, which needs to go into /usr/bin
and ideally the self-update should be disabled
Paolo Di Tommaso
@pditommaso
Feb 05 2016 10:48
I see, basically it's a defined directory structure that is packaged into a compressed file format
Sascha Steinbiss
@satta
Feb 05 2016 10:48
if it's easy for you to adjust the build process I would prefer that instead of me hacking around in the gradle file... it's not exactly one of my strengths ;)
Paolo Di Tommaso
@pditommaso
Feb 05 2016 10:49
I know :)
Sascha Steinbiss
@satta
Feb 05 2016 10:51
hehe
Paolo Di Tommaso
@pditommaso
Feb 05 2016 10:51
If you can draft the procedure in some reproducible manner I can add it to the gradle build
Sascha Steinbiss
@satta
Feb 05 2016 10:52
I'll have to work out other things first
I'm using a third party tool to do the offline mode builds... and I'm not sure how to make it only do the jar target
and even then it wants the nexus plugin, which is not yet in debian... even though I dont need it
will try a bit more and see how far I get
thanks :)
Paolo Di Tommaso
@pditommaso
Feb 05 2016 10:56
OK, just let me know if you need help
BTW did you have a look to the last post in the nextflow blog
You may be interested
Sascha Steinbiss
@satta
Feb 05 2016 11:11
no, I haven't (yet)
on my reading list now
I'm currently at this year's Debian Med Sprint, but will look it up later
Paolo Di Tommaso
@pditommaso
Feb 05 2016 11:17
Ah, cool
Enjoy it