| |
Sloppy-discuss |
On 6 Dec 2008, at 11:32, betab...@gmail.com wrote: http://dallaway.com/sloppy/sloppy.jar On the Mac if you download that file you can start Sloppy like this $ cd ~/Downloads (or wherever sloppy.jar lives) Which will output something like: # Unable to load saved settings: uninitialized ...and you're set. To stop it, you have to CTRL-C, and that might be the hardness part to I've just noticed that there's no command line option for setting the E.g., create mysettings.properties containing: sloppy.bytesPerSecond=32250 Then start sloppy with the name of the file: java -cp /System/Library/Frameworks/JavaVM.framework/Versions/1.5/Home/ Not sure how much that helps you... $ cd sloppy You may have to change some of the properties (file paths) set up in > I'm on Mac OS X 10.5.5 with Developer Tools (Apple) and Eclipse > Oh, and thanks for this great utility Richard :) Richard
but yes :-)
> Eclipse). So this non-gui version would do great (i hope), but I'm not
> quite sure how to set it up. I've checked out from SVN hoping to find
> the mentioned sloppy.jar in there. But I guess, I have to build it
> myself...
from Terminal:
$ java -cp /System/Library/Frameworks/JavaVM.framework/Versions/1.5/
Home/lib/javaws.jar:sloppy.jar com.dallaway.sloppy.Sloppy -gui -site http://google.co.uk
# Starting Sloppy/1.1.118 (en_US)
# Sloppy comes with ABSOLUTELY NO WARRANTY. This is free software, and
you are welcome to redistribute it under certain conditions. For
details see <a href='http://www.dallaway.com/sloppy/license.txt'>the
license</a>
# Listening Port=7569 Destination=http://google.co.uk Bytes per
second=3225
deal with when running it from inside Ant. It wouldn't be hard to
write an Ant task to start Sloppy, but I'm not sure how to stop it
from Ant. That'd need some thought.
simulation speed (bandwidth). Not for any reason, other than I never
did it. You can however specify a properties file:
# oh no, there's a spelling mistake in the code :-( ...
sloppy.desintationURL=http://google.co.uk
lib/javaws.jar:sloppy.jar com.dallawasloppy.Sloppy -gui
mysettings.properties
> comes to build a jar file (so now you probably say, I shouldn't deal
> with source code if I don't even know how to build sth out of it ;)
$ ant -f etc/build.xml compile jar
etc/build.xml
> tell me where I can find this non-gui version).
> installed.
some changes to support what you're trying to do.