Hi Mark

the trick of the standalone jython.jar is to add it's own /Lib folder to sys.path.
This ist the second entry in the print below:

jekyll:jython-7144-standalone oti$ java -jar jython.jar
Jython 2.5.2b2 (trunk:7144, Oct 14 2010, 07:38:55)
[Java HotSpot(TM) Client VM (Apple Inc.)] on java1.5.0_24
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> print sys.path
['', '/Users/oti/stuff/jython/jython-7144-standalone/Lib', '/Users/oti/stuff/jython/jython-7144-standalone/jython.jar/Lib', '__classpath__', '__pyclasspath__/']
>>>

I
 believe you could split the jar into two (e.g. jython.jar and jythonLib.jar), but you would need to set sys.path yourself.
Let us know if this works.

best wishes,
Oti.


On Tue, Oct 5, 2010 at 11:12 AM, Mark <markieb.lists.20090330@gmail.com> wrote:
>
> Hi Alan,
>
> that looks good, thanks; although the difference may be that I'm trying to upload
> jar/s to serve as jnlp resource/s, for a web start application, ie the files
> should be in the 'normal' place that java would look for them, rather than a
> servlet whose files app engine needs to locate; hence the web-inf .pth file may
> be less relevant
>
> Be that as it may I'll look into it :-)
>
> Best
>
> Mark
>
> http://www.halloit.com
>
> Key ID 046B65CF
>
>
> On 10/05/2010 10:55 AM, Alan Kennedy wrote:
>> [Mark]
>>> Trying to upload a jython jar > 10MB to google's app engine, the upload code is
>>> saying the jar is too large to upload;
>> There are detailed instructions on creating a WAR file for jython on
>> Google AppEngine, including how to compress the library, here
>>
>> http://opensource.xhaus.com/projects/modjy/wiki/ModjyGoogleAppEngine
>>
>> You can see jython running on Google AppEngine, from that single WAR, here
>>
>> http://jywsgi.appspot.com/
>>
>> HTH,
>>
>> Alan.
>>
>> ------------------------------------------------------------------------------
>> Beautiful is writing same markup. Internet Explorer 9 supports
>> standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
>> Spend less time writing and  rewriting code and more time creating great
>> experiences on the web. Be a part of the beta today.
>> http://p.sf.net/sfu/beautyoftheweb
>> _______________________________________________
>> Jython-users mailing list
>> Jython-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/jython-users
>
> ------------------------------------------------------------------------------
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
> Spend less time writing and  rewriting code and more time creating great
> experiences on the web. Be a part of the beta today.
> http://p.sf.net/sfu/beautyoftheweb
> _______________________________________________
> Jython-users mailing list
> Jython-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jython-users
>