Hi Janandith,

Am Mittwoch, den 16.04.2008, 16:40 +0600 schrieb janandith jayawardena:
> Hi ,
> 
> Thanks a lot. I'm sorry i didn't know screenshots are not allowed in the
> mailing list.
> I have configured my project to use java 6. Therefore I guess then there is
> a conflict with BSF 3.0 which causes the warning.

alright.

> 
> I havent implemented any code for the engine yet. I have to get more insight
> in to Scala first.
> 
> Can you tell me where can i place my scripts to be loaded by Sling for
> testing ?.

Probably the easiest way to create some content and an initial script is
following the steps of the "Create some content" section of the Sling
Launchpad page [1].

Instead of creating a JavaScript file, you would create the scala file,
which would be taken provided the ScalaScriptEngineFactory is correctly
loaded.

Regards
Felix

[1]
http://incubator.apache.org/sling/site/discover-sling-in-15-minutes.html

> 
> Thanks again for the valuable advice.
> 
> regards,
> janandith.
> 
> 
> 
> 
> 
> 
> On Wed, Apr 16, 2008 at 2:57 PM, Bertrand Delacretaz <[EMAIL PROTECTED]>
> wrote:
> 
> > On Wed, Apr 16, 2008 at 10:29 AM, Felix Meschberger <[EMAIL PROTECTED]>
> > wrote:
> >
> > >  ...For maven build we have created the correct project setup to prevent
> > >  this kind of collision even if using JDK 6 to build....
> >
> > FWIW, I recently noticed that our continuum builds on
> > vmbuild.apache.org run under java 6, here's an excerpt from a vmbuild
> > notification:
> >
> > Building machine hostname: vmbuild.apache.org
> >  Operating system : Linux(unknown)
> >  Java Home version :         java version "1.6.0_05"
> >        Java(TM) SE Runtime Environment (build 1.6.0_05-b13)
> >        Java HotSpot(TM) Client VM (build 10.0-b19, mixed mode, sharing)
> >       Builder version :
> >        Maven version: 2.0.7
> >        Java version: 1.6.0_05
> >        OS name: "linux" version: "2.6.20-16-server" arch: "i386"
> >
> > -Bertrand
> >

Reply via email to