You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by janandith jayawardena <ja...@gmail.com> on 2008/06/29 18:05:50 UTC

Fwd: Requesting your support to complete Google Summer of Code project related to scala.

Hi,

This is the mail I've sent to Martin Odersky in seek of a solution to our
problems. I don't know whether this is good enough but I didn't find a
better way.

janandith


From: janandith jayawardena <ja...@gmail.com>
Date: Sat, Jun 28, 2008 at 2:34 AM
Subject: Requesting your support to complete Google Summer of Code project
related to scala.
To: martin.odersky@epfl.ch


Dear Sir,

I'm so grateful you considered reading this mail spending a moment of your
valuable time. Please accept my humble gratitude .

I'm an Undergraduate of the Department of Computer Science & Engineering ,
University of Moratuwa , Sri Lanka [1] .
I watched your Google Tech Talk on Scala[2]. It's really interesting . I'm
currently working on a Google Summer of Code project related to Scala[3].
       The project is to make Scala available in Apache Sling [4]. The
intention is to call scala compiler in a JavaScriptEngine eval method
(JSR223).

      The source code is in Java and I use the Scala library to access scala
classes.

      I thought of approaching you because I didn't find any answer either
from the scala mailing list or the internet.

I have three questions,

1. I need a mechanism to read a Scala file and run it in the eval method.
Currently I'm using the scala.tools.nsc.Interpreter for this. Is there a
better mechanism.

2. There is a need to specify the path to "scala-library-2.7.1.jar"  using
scala.tools.nsc.Settings to run  the  Interpreter .  How  can I  avoid this
and load the path at runtime without the user having to specify path. Is
there an alternative method.

3. How can I use Interpreter.bind method and use the variable pointing to
the bound object to invoke the Object functions in Scala.

I was so glad I could make scala popular using Summer of Code as a stage but
now I'm unable to progress without solutions to above questions,
The mid evaluation is closing so I need to answer these questions to show
some progress.

Thank you for your time. Hope to get a reply soon.

Yours Faithfully,
Janandith Uditha Jayawardena.

references:

[1] http://www.cse.mrt.ac.lk/
[2] http://video.google.com/videoplay?docid=553859542692229789
[3] http://code.google.com/soc/2008/asf/appinfo.html?csaid=D8773619086359A6
[4] http://incubator.apache.org/sling/site/index.html

Re: Requesting your support to complete Google Summer of Code project related to scala.

Posted by janandith jayawardena <ja...@gmail.com>.
Sorry I think time it will show.



>Dear Sir,

>I'm so grateful you considered reading this mail spending a moment of your
valuable time. >Please accept my humble gratitude .

>I'm an Undergraduate of the Department of Computer Science & Engineering ,
University of Moratuwa , Sri Lanka [1] .
 >I watched your Google Tech Talk on Scala[2]. It's really interesting . I'm
currently working on a Google Summer of Code project related to Scala[3].
>       The project is to make Scala available in Apache Sling [4]. The
intention is to call scala compiler in a JavaScriptEngine eval method
(JSR223).

>      The source code is in Java and I use the Scala library to access
scala classes.

>      I thought of approaching you because I didn't find any answer either
from the scala mailing list or the internet.

>I have three questions,

>1. I need a mechanism to read a Scala file and run it in the eval method.
Currently I'm using the scala.tools.nsc.Interpreter for this. Is there a
better mechanism.

>2. There is a need to specify the path to "scala-library-2.7.1.jar"  using
scala.tools.nsc.Settings to run  the  Interpreter .  How  can I  avoid this
and load the path at runtime without the user having to specify path. Is
there an alternative method.

>3. How can I use Interpreter.bind method and use the variable pointing to
the bound object to invoke the Object functions in Scala.

>I was so glad I could make scala popular using Summer of Code as a stage
but now I'm >unable to progress without solutions to above questions,
>The mid evaluation is closing so I need to answer these questions to show
some progress.

>Thank you for your time. Hope to get a reply soon.

>Yours Faithfully,
>Janandith Uditha Jayawardena.

>references:

>[1] http://www.cse.mrt.ac.lk/
>[2] http://video.google.com/videoplay?docid=553859542692229789
>[3] http://code.google.com/soc/2008/asf/appinfo.html?csaid=D8773619086359A6
>[4] http://incubator.apache.org/sling/site/index.html

Re: Requesting your support to complete Google Summer of Code project related to scala.

Posted by janandith jayawardena <ja...@gmail.com>.
On Sun, Jun 29, 2008 at 10:08 PM, janandith jayawardena <ja...@gmail.com>
wrote:

> Hi please click on the "hide quoted text" area to view or here is the post
> again.
>
>
>>
>>
>> >From: janandith jayawardena <ja...@gmail.com>
>> >Date: Sat, Jun 28, 2008 at 2:34 AM
>> >Subject: Requesting your support to complete Google Summer of Code
>> project related to >scala.
>> >To: martin.odersky@epfl.ch
>>
>>
>>
>> >Dear Sir,
>>
>> >I'm so grateful you considered reading this mail spending a moment of
>> your valuable time. >Please accept my humble gratitude .
>>
>> >I'm an Undergraduate of the Department of Computer Science & Engineering
>> , University of Moratuwa , Sri Lanka [1] .
>>  >I watched your Google Tech Talk on Scala[2]. It's really interesting .
>> I'm currently working on a Google Summer of Code project related to
>> Scala[3].
>> >       The project is to make Scala available in Apache Sling [4]. The
>> intention is to call scala compiler in a JavaScriptEngine eval method
>> (JSR223).
>>
>> >      The source code is in Java and I use the Scala library to access
>> scala classes.
>>
>> >      I thought of approaching you because I didn't find any answer
>> either from the scala mailing list or the internet.
>>
>> >I have three questions,
>>
>> >1. I need a mechanism to read a Scala file and run it in the eval method.
>> Currently I'm using the scala.tools.nsc.Interpreter for this. Is there a
>> better mechanism.
>>
>> >2. There is a need to specify the path to "scala-library-2.7.1.jar"
>> using scala.tools.nsc.Settings to run  the  Interpreter .  How  can I  avoid
>> this and load the path at runtime without the user having to specify path.
>> Is there an alternative method.
>>
>> >3. How can I use Interpreter.bind method and use the variable pointing to
>> the bound object to invoke the Object functions in Scala.
>>
>> >I was so glad I could make scala popular using Summer of Code as a stage
>> but now I'm >unable to progress without solutions to above questions,
>> >The mid evaluation is closing so I need to answer these questions to show
>> some progress.
>>
>> >Thank you for your time. Hope to get a reply soon.
>>
>> >Yours Faithfully,
>> >Janandith Uditha Jayawardena.
>>
>> >references:
>>
>> >[1] http://www.cse.mrt.ac.lk/
>> >[2] http://video.google.com/videoplay?docid=553859542692229789
>> >[3]
>> http://code.google.com/soc/2008/asf/appinfo.html?csaid=D8773619086359A6
>> >[4] http://incubator.apache.org/sling/site/index.html
>>
>>
>

Re: Requesting your support to complete Google Summer of Code project related to scala.

Posted by janandith jayawardena <ja...@gmail.com>.
Hi please click on the "hide quoted text" area to view or here is the post
again.


On Sun, Jun 29, 2008 at 10:05 PM, janandith jayawardena <ja...@gmail.com>
wrote:

> Hi,
>
> This is the mail I've sent to Martin Odersky in seek of a solution to our
> problems. I don't know whether this is good enough but I didn't find a
> better way.
>
> janandith
>
>
> >From: janandith jayawardena <ja...@gmail.com>
> >Date: Sat, Jun 28, 2008 at 2:34 AM
> >Subject: Requesting your support to complete Google Summer of Code project
> related to >scala.
> >To: martin.odersky@epfl.ch
>
>
>
> >Dear Sir,
>
> >I'm so grateful you considered reading this mail spending a moment of your
> valuable time. >Please accept my humble gratitude .
>
> >I'm an Undergraduate of the Department of Computer Science & Engineering ,
> University of Moratuwa , Sri Lanka [1] .
>  >I watched your Google Tech Talk on Scala[2]. It's really interesting .
> I'm currently working on a Google Summer of Code project related to
> Scala[3].
> >       The project is to make Scala available in Apache Sling [4]. The
> intention is to call scala compiler in a JavaScriptEngine eval method
> (JSR223).
>
> >      The source code is in Java and I use the Scala library to access
> scala classes.
>
> >      I thought of approaching you because I didn't find any answer either
> from the scala mailing list or the internet.
>
> >I have three questions,
>
> >1. I need a mechanism to read a Scala file and run it in the eval method.
> Currently I'm using the scala.tools.nsc.Interpreter for this. Is there a
> better mechanism.
>
> >2. There is a need to specify the path to "scala-library-2.7.1.jar"  using
> scala.tools.nsc.Settings to run  the  Interpreter .  How  can I  avoid this
> and load the path at runtime without the user having to specify path. Is
> there an alternative method.
>
> >3. How can I use Interpreter.bind method and use the variable pointing to
> the bound object to invoke the Object functions in Scala.
>
> >I was so glad I could make scala popular using Summer of Code as a stage
> but now I'm >unable to progress without solutions to above questions,
> >The mid evaluation is closing so I need to answer these questions to show
> some progress.
>
> >Thank you for your time. Hope to get a reply soon.
>
> >Yours Faithfully,
> >Janandith Uditha Jayawardena.
>
> >references:
>
> >[1] http://www.cse.mrt.ac.lk/
> >[2] http://video.google.com/videoplay?docid=553859542692229789
> >[3]
> http://code.google.com/soc/2008/asf/appinfo.html?csaid=D8773619086359A6
> >[4] http://incubator.apache.org/sling/site/index.html
>
>

Re: Requesting your support to complete Google Summer of Code project related to scala.

Posted by Bertrand Delacretaz <bd...@apache.org>.
Hi Janandith,

On Sun, Jun 29, 2008 at 6:05 PM, janandith jayawardena
<ja...@gmail.com> wrote:
> ...This is the mail I've sent to Martin Odersky in seek of a solution to our
> problems. I don't know whether this is good enough but I didn't find a
> better way....

Although Martin Odersky would certainly be able to help us with our
scala problems in his Copious Free Time, emailing people directly
(especially very visible people who are probably busy enough already)
is frowned upon in open source projects, for good and obvious reasons.

Let's do our homework to fix those problems, SLING-549 seems quite
problematic but we have a workaround currently so let's not harass the
whole planet about that.

-Bertrand