eclipse - Blackberry extrenal library problem (module not found) -
i using eclipse. when add external jar (import it.sauronsoftware.ftp4j.*;) seems ok, reference external jar right clicking project , properties. when instantiate ftpclient opbject , run in simulator "module not found".
somebody on different forum suggested creating new library , adding jar it, reference library dependency in main bb project. downside library must installed along compiled bb app , dont want this. there way import third party libs eclipse blackberry plugin make work?
thanks
my solution (for eclipse plugin):
- generate/get *.jar file.
preverify *.jar file using preverify tool (it's in jde_dir\components\bin):
preverify -classpath {jde.home}\lib\net_rim_api.jar {output.file} -d {output.dir}
above command produce preverified *.jar in: {output.dir}\output\
in eclipse:
- add preverified *.jar build path: (right click on project -> libraries -> add jars)
- export *.jar: (right click on project -> libraries ->order , export -> check *.jar)
- run application, should work now
you can write ant script automate process
cheers, m
Comments
Post a Comment