logo       

Re: sbaz compiler packages doubts: msg#00086

lang.scala

Subject: Re: sbaz compiler packages doubts


I am sorry, I should say "could be" instead of "should be".

I do not want to appear unpolite.

My language is not english and sometimes I dont employ the best words.


"Gabriel Riba" <griba2010@xxxxxx> ha escrit en el missatge dels grups de
discussió:dtcq6f$2kd$1@xxxxxxxxxxxxxxxx
> -----------------------------------------
>
> 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
>

this way you can call scala.bat from the package base without problems.

> ----------------------------------------------------------
>
> 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
>

if SCALA_HOME does not point to the sbaz dir. you get the message "<scala_home>
does not appear to
be an sbaz managed directory" so using the code for _SCALA_HOME makes sbaz use
without problems.

Cheers!

Gabriel.









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

News | FAQ | advertise