Hi, Yeah, it does work without the Lib directory and that's my current configuration. Another option could be dismantle the pygments jar and put the required py file s right away into the jython jar, so that you'll have only one jar. Cheers Nicola ________________________________ From: tmortagne [via XWiki] [mailto:[email protected]] Sent: Monday, March 29, 2010 2:36 PM To: Nardino Nicola (KSTB 52) Subject: Re: Issue with Pygments/Python On Mon, Mar 29, 2010 at 12:41, Nicola Nardino <[hidden email] <http://n2.nabble.com/user/SendEmail.jtp?type=node&node=4817652&i=0> > wrote:
At least I've found out a work-around, that's not the ideal solution,
but it
works.
Due to the fact that, maybe caused by my context class loader, jython is not able to add the Lib directory to its classpath by default (this is valid only in my specific context). So I've moved all files in jython/Lib/* to jython_home$/* and this works. It would be nice to know how to explitily set the path to Lib or at least where this setting happens in jython.
Does it work without the "Lib" folder in a separated jar (in short, like it's done with Pygments) ? If that's the case then i will change jython packaging that way.
Cheers Nicola -- View this message in context:
http://n2.nabble.com/Issue-with-Pygments-Python-tp4816815p4817201.html
Sent from the XWiki- Dev mailing list archive at Nabble.com. _______________________________________________ devs mailing list [hidden email] <http://n2.nabble.com/user/SendEmail.jtp?type=node&node=4817652&i=1> http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne _______________________________________________ devs mailing list [hidden email] <http://n2.nabble.com/user/SendEmail.jtp?type=node&node=4817652&i=2> http://lists.xwiki.org/mailman/listinfo/devs ________________________________ View message @ http://n2.nabble.com/Issue-with-Pygments-Python-tp4816815p4817652.html To unsubscribe from Re: Issue with Pygments/Python, click here < (link removed) pbm9AY3JlZGl0LXN1aXNzZS5jb218NDgxNzIwMXwtMTY3NzI5OTkzNg==> . -- View this message in context: http://n2.nabble.com/Issue-with-Pygments-Python-tp4816815p4818198.html Sent from the XWiki- Dev mailing list archive at Nabble.com.