From: <lui...@fa...> - 2006-12-04 19:05:07
|
No, I'd like to have something like this: approot/jythonapp.jar approot/lib/abc.jar The MANIFEST.MF in jythonapp.jar/META-INF contains: Class-Path: lib/abc.jar And run it thus: cd approot java -jar myjythonapp.jar Has anyone done this, or does anyone know if it's possible? This kind of classpath extension works with plain Java. Thanks again, Luis On Mon, 4 Dec 2006 10:54:56 -0800 (PST), "Leo User" <leo...@ya...> said: > Are you talking about having a jar embeded in a jar > being accessible? I don't think that works with > regular Java, you may want to take a look at something > like One-Jar: > http://one-jar.sourceforge.net/ >=20 > leouser >=20 >=20 > --- Lu=EDs Miranda <lui...@fa...> wrote: >=20 > > Hi all, > >=20 > > I'm having trouble distributing a JAR'ed Jython > > application. I've added > > a MANIFEST.MF file to the JAR created by jythonc -j, > > but Jython seems to > > ignore the Class-Path: entry in the manifest. The > > only way I can get > > Jython to see the dependency (abc.jar) is to run the > > classes from the > > build folder, using the classpath argument: > >=20 > > java -cp jpywork;abc.jar test.Main > >=20 > > Is there a better way to do this, or am I stuck > > distributing the > > application with an exploded JAR? > >=20 > > Thanks in advance, > > Luis > >=20 > > > ------------------------------------------------------------------------- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get > > the chance to share your > > opinions on IT & business topics through brief > > surveys - and earn cash > > > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV > > _______________________________________________ > > Jython-users mailing list > > Jyt...@li... > > > https://lists.sourceforge.net/lists/listinfo/jython-users > >=20 >=20 >=20 >=20 >=20=20 > _________________________________________________________________________= ___________ > Want to start your own business? > Learn how on Yahoo! Small Business. > http://smallbusiness.yahoo.com/r-index >=20 > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV > _______________________________________________ > Jython-users mailing list > Jyt...@li... > https://lists.sourceforge.net/lists/listinfo/jython-users -- check out my dj mixes: www.luuuis.com/mixes |