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