xsbt.org - sbt launcher repo

66 views
Skip to first unread message

Marko Elezovic

unread,
Nov 11, 2011, 3:29:20 AM11/11/11
to simple-build-tool
Hi guys!

http://xsbt.org is a very simple website for those who are having a
hard time remembering where you can download sbt binaries. You can
either download it from the website directly via HTTP / FTP or use a
redirect link which will always redirect you to the original
repository.

xsbt.org is not an official SBT website, it's just somewhere I dumped
the binaries so that I could access the SBT launchers via FTP. The new
shiny SBT website is at http://scala-sbt.org, although the download
link there is still not working...

---

I've added GRUJ bootloaders for each of the launcher versions. They're
basically tiny programs (4kb) which download a specific SBT version,
and then run it - primarily used to reduce binary footprint when you
need to put the SBT launcher into a source version control system. It
would be great if you could bump me back with some feedback regarding
this idea.

If you want me to attach more similar SBT related binary releases up
there (for instance, the sbt.exe binaries) I'm all up for it, just
provide me the links!

Regards,
Marko Elezović

Jason Zaugg

unread,
Nov 11, 2011, 3:47:17 AM11/11/11
to simple-b...@googlegroups.com
Take a look at sbt-extras [1], which is a bash version of a sbt loader script. It handles different versions of SBT, autodetected from the ./project/build.properties, and adds some useful command line options.

There was also a thread recently about making an sbt.exe for Windows users.

-jason

Marko Elezović

unread,
Nov 11, 2011, 6:04:21 AM11/11/11
to simple-b...@googlegroups.com
Hi Jason,

I know of the sbt loader script, but as I've explained on http://gruj.org/
scripts like that depends on existance of wget, curl, etc, wherein gruj just uses the java library,
which is bound to exist if you wish to invoke sbt-launch in the first place.

Of course the loader script does much more, such as defining the JVM args,
and other environment but at some point it will still need to invoke a download agent.

Regards,
Marko
--
You received this message because you are subscribed to the Google Groups "simple-build-tool" group.
To view this discussion on the web visit https://groups.google.com/d/msg/simple-build-tool/-/83Xz5H4DHhEJ.
To post to this group, send email to simple-b...@googlegroups.com.
To unsubscribe from this group, send email to simple-build-t...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/simple-build-tool?hl=en.

Josh Suereth

unread,
Nov 11, 2011, 1:16:33 PM11/11/11
to simple-b...@googlegroups.com
Also, there's my most recent SBT endeavours here:  https://github.com/sbt/sbt-windows-install

Definitely glad to see all this effort coming into fruition.   I hope to announce some exciting possibilities soon in the SBT space for all of us, but need to iron out a few details first.

2011/11/11 Marko Elezović <ma...@element.hr>

Marko Elezović

unread,
Nov 12, 2011, 8:54:45 AM11/12/11
to simple-b...@googlegroups.com
Hello Josh!

The SBT executables are working great, so I've uploaded the 0.10.x and 0.11.x branches to xsbt.org (they're under column "Exe").
I also took the liberty and ran compression trials overnight so the executables are now about 5% smaller.

The compression trials don't change the binary footprint of the archived bytecode, they just rearrange the deflate stream in the .jar file
to make it slightly smaller. If you wish to build .exe SBT launchers againts these, smaller launchers, you can find them in the "Opt" column.

I was also thinking about uploading .exe versions of 0.7.x branch because I know some people still use these.
What would be the easiest way to do this (if not manually via launch4j?)

Regards,
Marko Elezovic

Josh Suereth

unread,
Nov 22, 2011, 8:29:36 AM11/22/11
to simple-b...@googlegroups.com
Probably manually via launch4j... You could adapt my build if you want, since you have all the download URLs for the launch jars.

I plan to get sbt.exe on a continuous build cycle, so it can be released with SBT releases.  I'm also looking at maybe wiring in an installer that comes pre-packaged with a ~/.sbt directory that has a few handy plugins enabled :)

Sorry for the long delays.  I hit a travel week, and I go silent for a while.  Still combing through email and trying to finish up my higher-priority tasks before getting back on SBT.exe.

- Josh

2011/11/12 Marko Elezović <ma...@element.hr>
Reply all
Reply to author
Forward
0 new messages