
cabbey wrote:Hmmm... did you actually load a plugin via that? what does that turn the classpath in the info.plist into? I wasn't able to get it to accept jars from any form of wild card.
$PMS_HOME/update.jar:$PMS_HOME/pms.jar:$PMS_HOME/plugins/:$PMS_HOME/plugins/*cabbey wrote:Yeah, so the problem with that is that you're only going to list the plugins that already exist in the directory at bundle creation time since the ** is parsed at build time.
So far as I've been able to determine, there is no good solution for getting dynamically added jars into the classpath for a bundled application...
<jarbundler
vmoptions="... -classpath '$JAVAROOT/update.jar:$JAVAROOT/plugins:$JAVAROOT/plugins/*' -jar"
...
/>
chocolateboy wrote:Surely, if nothing else works, you could just add a -classpath option to vmoptions e.g.
- Code: Select all
<jarbundler
vmoptions="... -classpath '$JAVAROOT/update.jar:$JAVAROOT/plugins:$JAVAROOT/plugins/*' -jar"
...
/>
cabbey wrote:Ah, I'd forgotten that Azereus had dynamic plugins.
They're dynamically altering the classpath within their application using a URLClassLoader.
Nope. The classpath items in the plist replace the -classpath options on that line.
Return to Additions and Plugins
Users browsing this forum: No registered users and 4 guests