Thanks, Artem, I'll have a look!
On Jan 31, 2009, at 1:28 AM, Artem Orlov wrote:
Tony,
have a look at code in "your_shoes_dir/0.r1134/lib/shoes/pack.rb"
that makes packaging.
That's not too complicated code there so i guess you can create your
own command-line tool ;)
Please note that if you choose to bundle shoes into target binary
packager downloads shoes package from site each time. But in the
same time this packager may get already downloaded files from your
local file system, just put them in ".shoes" folder created by shoes
for storing installed gems.
Artem
On Fri, Jan 30, 2009 at 23:38, Tony Hursh <[email protected]> wrote:
On Dec 2, 2008, at 11:10 PM, Daniel Zepeda wrote:
As far as I know, there is no ability to call the packager from the
command line.
I'm coming in late on this -- this message turned up after a search
of the list.
It sure would be neat to be able to do that. What I'm thinking of is:
1) Guy 1 starts [nifty service] on his computer, which may have some
random IP address and/or host name.
2) Service figures out IP address and calls Shoes packager.
3) Shoes automatically generates [cool client] binaries for all
platforms, preconfigured to connect to [nifty service] on Guy 1's
computer.
4) Guy 2 downloads the package from a web server running on Guy 1's
computer, runs it, and gets to have [cool client] connect to [nifty
service] without any configuration.
The case in point is a launcher that tells the standard Second Life
client to connect to an OpenSim server (OpenSim is free software
that's more or less compatible with Second Life).
Trivial amount of code, really -- it just fires up the Second Life
client with the appropriate command line parameters -- but those
parameters are ugly enough that you don't want to make people who
may have never seen the command line before type them in by hand. :-)
This isn't a show stopper for me at the moment; we finally got a
static IP address and domain name for our OpenSim server, so I just
hard-coded it. It'd be more generally useful to others, though, if
the Shoes launcher(s) could be built dynamically from the command
line.
Shoes is great for this kind of application, by the way. Many
thanks to _why and the other contributors.
--
Tony Hursh
Technology Coordinator and Research Programmer
Curriculum, Technology and Education Reform
University of Illinois at Urbana-Champaign
http://cterport.ed.uiuc.edu
--
Tony Hursh
Technology Coordinator and Research Programmer
Curriculum, Technology and Education Reform
University of Illinois at Urbana-Champaign
http://cterport.ed.uiuc.edu