Use a package from a command line programm

1 view
Skip to first unread message

George Moschovitis

unread,
May 28, 2010, 8:36:19 AM5/28/10
to RingoJS
What is the preferred method to add a packages to a command line Ringo
app? In webapps I just put the package into WEB-INF/packages, what is
the equivalent for command line apps?

-g.

Andreas Bolka

unread,
May 29, 2010, 2:37:43 PM5/29/10
to ringojs

For now, symlink the package into the packages/ dir of your RingoJS
runtime.

Short-term, we could expose a loadPackage function from the packages
module. Mid-term, we'll most likely want something like virtualenv (or
Narwhal/Tusk's "sea", if I'm not mistaken).

--
a

George Moschovitis

unread,
May 30, 2010, 4:06:38 AM5/30/10
to RingoJS
> For now, symlink the package into the packages/ dir of your RingoJS
> runtime.

Does the job for the moment.

> Short-term, we could expose a loadPackage function from the packages
> module.

That would be neat.

-g.
Reply all
Reply to author
Forward
0 new messages