This page is no longer maintained — Please continue to the home page at www.scala-lang.org

scala commands

3 replies
odersky
Joined: 2008-07-29,
User offline. Last seen 45 weeks 6 days ago.

A question: When did Scala commands move from quick/bin to pack/bin?
And why the change?

Thanks

dubochet
Joined: 2008-06-30,
User offline. Last seen 1 year 36 weeks ago.
Re: scala commands

Hello Martin.

> A question: When did Scala commands move from quick/bin to pack/bin?

Probably when we moved to SuperSabbus, in April or May 2008.

> And why the change?

For no good reason. It is arguably a bug in SuperSabbus.

There should be a set of Scala commands both in quick/bin and in pack/
bin.

- Those in quick/bin use the Scala library and compiler in quick/lib
(in the form of loose class files)
- Those in quick/pack use the Scala in pack/lib (the same loose
class files in quick/lib, but packaged as JAR files)

If you compiled files to quick/lib yourself, you can JAR them up in
pack/lib by calling "ant build".

The Scala commands in quick/pack should execute faster; loading
classes from JARs is easier.

dubochet
Joined: 2008-06-30,
User offline. Last seen 1 year 36 weeks ago.
Re: scala commands

in that form as it contains incorrect statements.

Actually, SuperSabbus builds Scala commands to quick/bin. I don't know
why you don't have them, Martin.

There is, as there should be, a set of Scala commands both in quick/
bin and in pack/bin.

Cheers,
Gilles.

> Hello Martin.
>
>> A question: When did Scala commands move from quick/bin to pack/bin?
>
> Probably when we moved to SuperSabbus, in April or May 2008.
>
>> And why the change?
>
> For no good reason. It is arguably a bug in SuperSabbus.
>
> There should be a set of Scala commands both in quick/bin and in
> pack/bin.
>
> - Those in quick/bin use the Scala library and compiler in quick/lib
> (in the form of loose class files)
> - Those in quick/pack use the Scala in pack/lib (the same loose
> class files in quick/lib, but packaged as JAR files)
>
>
>
> If you compiled files to quick/lib yourself, you can JAR them up in
> pack/lib by calling "ant build".
>
> The Scala commands in quick/pack should execute faster; loading
> classes from JARs is easier.

odersky
Joined: 2008-07-29,
User offline. Last seen 45 weeks 6 days ago.
Re: scala commands

On Sun, Feb 15, 2009 at 6:25 PM, Gilles Dubochet
wrote:
> Sorry: Please disregard that last message. I did not intend to send it in
> that form as it contains incorrect statements.
>
> Actually, SuperSabbus builds Scala commands to quick/bin. I don't know why
> you don't have them, Martin.
>
> There is, as there should be, a set of Scala commands both in quick/bin and
> in pack/bin.
>
I thinkI found it. It seems that both quick bin and pack bin are built
for the pack target, not the quick target.
What happened was that I could do an ant build up to the quick target,
but then it failed, because I did not have scalap checked out. That
seems to have been the cause. Sorry for the confusion.

Cheers

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland