scijava-common icon indicating copy to clipboard operation
scijava-common copied to clipboard

Language agnostic bootstrapping mechanism

Open hadim opened this issue 8 years ago • 1 comments

See here https://github.com/hadim/scijava-jupyter-kernel/issues/10#issuecomment-294511844 and here https://github.com/hadim/scijava-jupyter-kernel/issues/28 for history.

We could re-use the Scijava annotation mechanism with a syntax similar to this :

// @GrabResolver name='imagej', root='http://maven.imagej.net/content/groups/public/'
// @Grab 'net.imagej:imagej:2.0.0-rc-58'

import net.imagej.ImageJ
Image ij = new ImageJ()

For the implementation, the Groovy grape module could be a good source of inspiration : https://github.com/apache/groovy/tree/master/src/main/groovy/grape

hadim avatar Apr 17 '17 16:04 hadim

See #265

hadim avatar Apr 23 '17 22:04 hadim