tmlbl / jvm.jl Goto Github PK
View Code? Open in Web Editor NEW"Simple" Julia dependency manager
"Simple" Julia dependency manager
ARGS should have the same value whether running julia <file> <arg1> ...
or jvm run <file> <arg1> ...
For example, test.jl:
println(join(ARGS," "))
produces:
$ julia test.jl arg1 arg2
arg1 arg2
$ jvm run test.jl arg1 arg2
INFO: Setting JULIA_PKGDIR to /home/sthibault/gitlab/backend/realtime-chf/.jdeps
run test.jl arg1 arg2
If a Julia package configured to be built by JVM fails to build with errors in Julia, JVM does not error out so that parent processes (e.g., CI systems) detect that the build has failed.
Would be great to be able to add a specific branch of a git repository. Helpful during development when dependencies require changes related to current project.
jvm init
/usr/local/bin/jvm: line 10: realpath: command not found
mv: cannot stat '/root/.juliarc.jl': No such file or directory
ERROR: could not open file /test-project/init
in include at ./boot.jl:261
in include_from_node1 at ./loading.jl:304
in process_options at ./client.jl:308
in _start at ./client.jl:411
mv: cannot stat '/root/.juliarc.jl.bak': No such file or directory
make: *** [.jdeps] Error 1
The Julia cp function does not seem to retain permissions. Some shell scripts loose their execution bit. I had to replace:
cp(".jdeps", "/tmp/.jdeps.pkg"; remove_destination=true)
with:
run(`rm -rf /tmp/.jdeps.pkg`)
run(`cp -r .jdeps /tmp/.jdeps.pkg`)
jvm package
command errors with trace:
ERROR: ArgumentError: Module JVM not found in current path.
Run `Pkg.add("JVM")` to install the JVM package.
in require(::Symbol) at ./loading.jl:365
in eval(::Module, ::Any) at ./boot.jl:234
in process_options(::Base.JLOptions) at ./client.jl:239
in _start() at ./client.jl:318
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.