logo       

sbaz compiler packages doubts: msg#00085

lang.scala

Subject: sbaz compiler packages doubts

Hi!

There is some confusion with the compiler packages names.

The bootstrap sbaz-boot.zip file comes with version 2.0.5795 at the moment with
files named scala,
scalac, scala-compiler.jar, ... without suffixes.

Then there are some scala2, scalac2, scala2-library packages that install files
scala2, scalac2,
scala2-compiler.jar, .. with the "2" suffix.

After sbaz "available" pkg listing I thought that maybe scala1 was on the boot
package which I
realized it was not the case.

Which are the official file names ?

-----------------------------------------

I have seen that the eclipse plugin compiler includes scala-library-src.jar
with sources probably
for mixin use

but I have not seen this library on any sbaz package ?

Is the sources library needed for compiling on scala2 like sources were needed
for scala1 ?

-----------------------------------------

I am on windows (xp pro).

scala.bat does not work after sbaz-boot install, because java cannot find the
working app classes,
so for me it works after including '.' so

set _CLASSPATH=
if not "%_CLASSPATH%"=="" goto args

should be

set _CLASSPATH=.
if not "%_CLASSPATH%"=="." goto args

----------------------------------------------------------

On sbaz.bat the lines

:exec
set _PROPS=-Dscala.home="%SCALA_HOME%" ...

should be

:exec
set _PROPS=-Dscala.home="%_SCALA_HOME%" ...

to use "_SCALA_HOME" as defined inside for Windows_NT as parent of batch file
dir.

to avoid changing SCALA_HOME between the working scala compiler directory and
the sbaz directory

-----------------------------------------------

Cheers!

Gabriel






<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise