Windows Version?

5 views
Skip to first unread message

ahurd

unread,
Apr 2, 2008, 1:30:12 PM4/2/08
to Sleep Developers
Hello all,
I am new the sleep movement, but you can thank Martin Sheppard for
getting me here. I was trying to get sleep up and running on my
laptop. It there any work around to not having the webserver running?

Is there way to compile sleep programs on a windows platform that is
not running a webserver?

By the way, A little history on me. I am a College professor at
Hudson Valley CC and I am finishing my Ph.D. at SUNY albany in
Information Assurance. I am trying to use sleep in a part of my
dissertation.


Thanks,
Andy Hurd

Raphael Mudge

unread,
Apr 4, 2008, 12:15:32 PM4/4/08
to sleep-de...@googlegroups.com
Hi Andy,
Welcome to the Sleep movement. I can't say we're a movement yet.
More like some monks in a monastery hanging out with our serializable
continuations. I'll tackle your questions 1 by 1 real quick:

Is it possible to use Sleep without a webserver?

By itself Sleep executes as a stand-alone program. The only thing it
requires is the Java Runtime Environment version 1.4.2 or greater.
Sleep was designed for programmers to embed into their Java
applications. I've tied Sleep to NanoHTTPD for the purpose of
developing one-off web apps in the past. (Marty probably mentioned
this?)

How to compile Sleep on Windows?

Sleep itself is an interpreter for scripts written in the Sleep
language. You can recompile the Sleep interpreter on Windows with
Apache Ant installed (http://ant.apache.org/). The Sleep website
always has a pre-compiled Sleep jar ready to go though.

To execute a Sleep script on Windows:
java -jar sleep.jar

If you desire to execute a Sleep script without showing a DOS window,
create a new shortcut on the desktop to the following app:
c:\path-to\javaw.exe c:\path-to\sleep.jar c:\path-to\yourscript.sl

Good luck!

-- Raphael

Poarman

unread,
Apr 16, 2008, 10:48:54 PM4/16/08
to Sleep Developers
I have some scriptss and framework templates that I find useful for
making sleep apps. As soon as I figure out how to do so, I will send
in a zip that contains a small sample sleep projects directory with
supporting windows and linux start scripts to run the sleep apps as
well as a small framework project that supports a fairly useful (i
think) plugin app template.
> > Andy Hurd- Hide quoted text -
>
> - Show quoted text -
Reply all
Reply to author
Forward
0 new messages