java - PyDev Jython module_not_found_in_the_pythonpath, autocomplete not working -


i've been searching 2 days trying pydev recognize external .jar (it's obfuscated protection), no matter doesn't want work. i've read on documentation hour straight trying work.

i'm helping work on emulation server uses jython scripting. can compile , run emulation server scripts working fine however, without using autocompletion methods inside engine part of server obfuscated in external .jar. here example code of script uses methods obfuscated .jar (which isn't working autocomplete, have navigate through package explorer find method want use):

import sys  def createstartingcharacter(core, object):  testobject = core.objectservice.createobject('object/weapon/ranged/rifle/shared_rifle_t21.iff', object.getplanet()) testobject.setcustomname('this jython rifle') testobject.setstringattribute('crafter', 'light') inventory = object.getslottedobject('inventory') inventory.add(testobject)  testclothing = core.objectservice.createobject('object/tangible/wearables/cape/shared_cape_rebel_01.iff', object.getplanet()) testclothing.setcustomname('test cape') testcloak = core.objectservice.createobject('object/tangible/wearables/robe/shared_robe_jedi_dark_s05.iff', object.getplanet()) testcloak.setcustomname('test cloak')  inventory.add(testclothing) inventory.add(testcloak)  return 

this script executed following command in java (core class inside external jar, obfuscated) core.scriptservice.callscript("scripts/", "demo", "createstartingcharacter", object);

object is... creatureobject object = (creatureobject)core.objectservice.createobject(sharedracetemplate, core.terrainservice.getplanetlist().get(0));

like said above, of methods used in script obfuscated jar isn't working autocomplete. however, can use method isn't in jar fine such as:

from resources.common import radialoptions services.sui import suiwindow services.sui.suiwindow import trigger java.util import vector import sys  def createradial(core, owner, target, radials): radials.clear() bank = owner.getslottedobject('bank') if bank:     radials.add(radialoptions(0, 21, 1, ''))     radials.add(radialoptions(0, 7, 1, ''))     radials.add(radialoptions(1, radialoptions.banktransfer, 3, '@sui:bank_credits'))     radials.add(radialoptions(1, radialoptions.bankitems, 3, '@sui:bank_items'))         if owner.getbankcredits() > 0:         radials.add(radialoptions(1, radialoptions.bankwithdrawall, 3, '@sui:bank_withdrawall'))     if owner.getcashcredits() > 0:         radials.add(radialoptions(1, radialoptions.bankdepositall, 3, '@sui:bank_depositall'))  return 

... , using radialoptions. control+space show me methods.

help appreciated. @ point feel it's not working because jar file obfuscated or that. , yes, i've added pythonpath , updated interpreter, bin folder project.


Comments