Closed stevekm closed 3 months ago
I have the same issue
The build scripts probably just need to be updated, in the meantime I would build against an earlier version of Nextflow
Changing gradle version in distributionUrl
to 7.6 in gradle/wrapper/gradle-wrapper.properties
has done it for me
For now I updated the README to use Nextflow 23.10 when building locally. I will update it on the next stable release.
To be honest, I usually don't build this way anymore because it is brittle for other reasons. For me it is easier to simply make install
and run Nextflow as usual. Doesn't require you to clone the Nextflow repo
which version of Java and Gradle are you using?
Java 17, Gradle version is defined in the Nextflow and nf-prov repos
And how do you run a workflow from development? Executing launch.sh gives following:
If I use my nextflow CLI, it tells wrroc format is not accepted.
Perhaps it is a separate issue, though.
@stefanches7 I am now using the methods outlined here https://github.com/stevekm/nf-niceutils/blob/main/NOTES.md in particular I am using the method included in the Gradle project there to move the plugin files to the location at $HOME/.nextflow/plugins
, this is working better for me now. Not sure if the same method is scripted up the same way here? In that repo its the task ./gradlew unzipPlugin
which I believe is coming from this file https://github.com/stevekm/nf-niceutils/blob/main/buildSrc/src/main/groovy/nextflow/plugins/UnzipPluginTask.groovy
maybe we could get the same added to this repo? Seems like this kind of method is a little more robust as alluded to by @bentsherman
I think in this repo the same steps are wrapped up here
https://github.com/nextflow-io/nf-prov/blob/master/Makefile#L46-L50
this is fixed by the updates in #31
this method also works;
# install local Nextflow
# wget -qO- https://get.nextflow.io | bash
./gradlew assemble
NXF_PLUGINS_DEV=$PWD/plugins ./nextflow run tests/test.nf
as per the README, I ran the step
but I get the error
It seems that the current version of
nf-prov
has thiswhich seems to be incompatible with the latest version of the
nextflow
repoI tried changing it to this
but then I get this error
Not sure what I need to do to make it work, seems like there are potentially multiple version mis-matches for Gradle / Java / etc. between the
nextflow
andnf-prov
repos?I am running with this version of Java (installed / managed with
conda
)