Message12067

Author jeff.allen
Recipients darjus, hjacobs, jeff.allen, mbooth, pdina, zyasoft
Date 2018-08-04.14:51:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1533394305.86.0.56676864532.issue2182@psf.upfronthosting.co.za>
In-reply-to
Content
I found my own work-around for to avoid manually hacking the POM. Gradle's ratio of questions to knowledgeable answers is high in the forums.

I can now make what I think is the right JAR (may be missing a resource or two) and a JAR of tests separately (https://hg.python.org/jython/rev/ed155b929cf7). I can get aprompt, but not run much as  the import mechanism is broken when using Gradle-built JAR. I ought to be able to run the regression test suite (most of it) and that's not working so far.

It's currently more a question of what to do than how. When running from our JAR, what do python.home or sys.executable mean? Some of our libraries and many of our tests assume a particular layout that works where we normally tests (it's all in ./dist), but not here.

However, this is very like the position an application is in when it uses our standalone JAR, so I'm looking at how that gets its bearings and which tests normally work.
History
Date User Action Args
2018-08-04 14:51:45jeff.allensetmessageid: <1533394305.86.0.56676864532.issue2182@psf.upfronthosting.co.za>
2018-08-04 14:51:45jeff.allensetrecipients: + jeff.allen, zyasoft, darjus, hjacobs, pdina, mbooth
2018-08-04 14:51:45jeff.allenlinkissue2182 messages
2018-08-04 14:51:45jeff.allencreate