We also do a similar thing in Equinox for jsp support.

Tom




|------------>
| From:      |
|------------>
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
  |Felix Meschberger <[email protected]>                                       
                                                                     |
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| To:        |
|------------>
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
  |OSGi Developer Mail List <[email protected]>,                           
                                                                     |
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Date:      |
|------------>
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
  |09/14/2012 06:37 AM                                                          
                                                                     |
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Subject:   |
|------------>
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
  |Re: [osgi-dev] best way to generate a classpath for  
javax.tools.JavaCompiler                                                        
            |
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|





Hi,

Am 13.09.2012 um 17:01 schrieb Raymond Auge:

      No, in fact the root problem is trying to do is use jasper to compile
      JSPs in OSGi.

In the Apache Sling project we embed the Eclipse compiler for compiling
JSPs since this is much easier to embedd and use in the OSGi context.
Particularly with respect to the class path: the compiler just asks a
helper class for classes and doesn't care, where these come from.

Regards
Felix


      However, I seem to have once again missed some facts about how this
      is setup, so ignore this for now. If I actually find a problem I'll
      come back to it.

      Thanks and sorry for the noise.

      - Ray


      On Thu, Sep 13, 2012 at 10:45 AM, BJ Hargrave <[email protected]>
      wrote:
        I don't understand the question? Are you trying to package
        tools.jar as a bundle?

        --
                                                                       
 BJ Hargrave                                                           
 Senior Technical Staff Member, IBM                   office: +1 386 848 1781
 OSGi Fellow and CTO of the OSGi Alliance             mobile: +1 386 848 3788
 [email protected]                                                   
                                                                       








        From:        Raymond Auge <[email protected]>
        To:        OSGi Developer Mail List <[email protected]>,
        Date:        2012/09/13 10:41
        Subject:        [osgi-dev] best way to generate a classpath for
        javax.tools.JavaCompiler
        Sent by:        [email protected]




        Hey all,

        Is there a definitive way to create a classpath for
        javax.tools.JavaCompiler in OSGi?

        I've asked the same here:

        
http://stackoverflow.com/questions/12408624/the-definitive-way-to-generate-a-classpath-for-javax-tools-javacompiler-in-osgi


        i.e. does this exist or need to be specified and then implemented?

        --
        Raymond Augé  | Senior Software Architect | Liferay, Inc.


        ---



        8-9 October 2012 | Liferay North America Symposium |
        liferay.com/northamerica2012

        16-17 October 2012 | Liferay Europe Symposium |
        liferay.com/europe2012

        24-25 October 2012 | Liferay Spain Symposium |
        liferay.com/spain2012


        _______________________________________________
        OSGi Developer Mail List
        [email protected]
        https://mail.osgi.org/mailman/listinfo/osgi-dev










        _______________________________________________
        OSGi Developer Mail List
        [email protected]
        https://mail.osgi.org/mailman/listinfo/osgi-dev



      --
      Raymond Augé  | Senior Software Architect | Liferay, Inc.


      ---


      8-9 October 2012 | Liferay North America Symposium |
      liferay.com/northamerica2012


      16-17 October 2012 | Liferay Europe Symposium |
      liferay.com/europe2012


      24-25 October 2012 | Liferay Spain Symposium | liferay.com/spain2012





      _______________________________________________
      OSGi Developer Mail List
      [email protected]
      https://mail.osgi.org/mailman/listinfo/osgi-dev
_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev

<<inline: graycol.gif>>

<<inline: ecblank.gif>>

_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to