Login  Register

Re: Getting Started on Windows

Posted by SeanTAllen on Aug 04, 2012; 12:05pm
URL: https://forum.world.st/Getting-Started-on-Windows-tp4642580p4643054.html

Hi Aaron,

Can you fork the project, make those changes and then do a pull request?

Thanks,
Sean

On Wednesday, August 1, 2012 at 12:04 PM, Aaron Reichow wrote:

Thought I'd share the steps I followed to get Redline working on Windows: asdfasdf

1> wget https://github.com/redline-smalltalk/redline-smalltalk.github.com/raw/master/assets/redline-deploy.zip
2> unzip redline-deploy.zip -d redline
3> cd redline
4> set REDLINE_HOME=%CD%
5> stic HelloWorld

Though plenty of users might not have those tools installed- wget as a part of Cygwin, unzip is Info-ZIP UnZip 5.52 in my general binary folder. You could replace the first three steps with something like:

1. Download https://github.com/redline-smalltalk/redline-smalltalk.github.com/raw/master/assets/redline-deploy.zip
2. Extract redline-deploy.zip to a folder.
3. Open a CMD window in the folder in which redline-deploy.zip was extracted.

I'd recommend to stic.bat be changed so that this line:

for %%i in (lib\*.jar) do set the_classpath=!the_classpath!%%i;

was changed to:

for %%i in (%~dp0\lib\*.jar) do set the_classpath=!the_classpath!%%i;

That way, you can run stic.bat successfully regardless of the working directory. After that change, I was able to run the tests in the git repo I'd cloned (HelloWorld.st, SimpleHelloWorld.st, Web.st). For what it's worth, Web.st ran without error, but didn't appear to do anything- haven't attempted to track down whether that's a Windows issue or if it just doesn't work yet.

Can't wait to see more activity on Redline- looks good!

Regards,
Aaron