Hi,

Thank you Felix and Michael.

I intended to add scala as a bundle to the launchpad to try and see whether
it won't need an explicite classpath and solve the problem of casting the
currentNode object from bindings back to Node in scala script.

Scala forks another process when calling from another program. So the
situation needs more attention.
Thats why I asked this question to see whether I can add any prebuilt OSGi
bundle to launchpad.

The tutorials are great Michael and same with the notes sample you've
created. It's been a good learning experience going  through the  code.

janandith.


On Mon, Jul 28, 2008 at 2:42 PM, Michael Marth <[EMAIL PROTECTED]> wrote:

> Hi Janandith,
>
> here's a tutorial on deploying OSGi bundles in Sling:
>
> http://dev.day.com/microsling/content/blogs/main/slingosgi.html
> http://dev.day.com/microsling/content/blogs/main/slingosgimaven.html
>
> Cheers
> Michael
>
> On Wed, Jul 16, 2008 at 5:33 AM, janandith jayawardena
> <[EMAIL PROTECTED]>wrote:
>
> > Hi ,
> >
> > how are the current 3rd party libraries accessed in sling. are they all
> in
> > one bundle. ex: javax.jcr , jackrabbit etc.
> >
> > janandith.
> >
> > On Tue, Jul 15, 2008 at 10:29 PM, David Trott <[EMAIL PROTECTED]>
> > wrote:
> >
> > > Hi Janandith,
> > >
> > > I am still learning sling myself, but
> > >
> > >
> > > Take a look at the jsp-taglib package (sling/scripting/jsp-taglib)
> > > It makes a nice template to follow for creating (and packaging) your
> own
> > > tag
> > > libs because there are only 5 active files:
> > >
> > > ./pom.xml
> > >
> >
> ./src/main/java/org/apache/sling/scripting/jsp/taglib/DefineObjectsTag.java
> > >
> >
> ./src/main/java/org/apache/sling/scripting/jsp/taglib/DefineObjectsTEI.java
> > >
> > >
> >
> ./src/main/java/org/apache/sling/scripting/jsp/taglib/IncludeTagHandler.java
> > > ./src/main/resources/META-INF/taglib.tld
> > >
> > > Hence if you are using JSP you can expose any custom code as a tag.
> > >
> > > You can simply upload your new package via the sling web console and it
> > > will
> > > appear in the list.
> > > Finally the tld file will also be resolved based on the <uri> you
> declare
> > > inside it.
> > >
> > > David
> > >
> > >
> > >
> > >
> > > On Tue, Jul 15, 2008 at 9:43 AM, janandith jayawardena <
> > > [EMAIL PROTECTED]>
> > > wrote:
> > >
> > > > Hi ,
> > > >
> > > > Is it possible to add pre compiled 3rd party OSGi bundles without
> doing
> > > any
> > > > modification to sling.
> > > > Can I directly load them and see it in the sling/console.
> > > >
> > > > janandith.
> > > >
> > >
> >
>
>
>
> --
> Michael Marth | Day JCR Cup 08 | Win a MacBook Pro: http://dev.day.com/
>

Reply via email to