Add external jar

331 views
Skip to first unread message

dadan su

unread,
Dec 5, 2013, 10:59:40 PM12/5/13
to idem...@googlegroups.com
Sorry, i wan to ask how to add external jar, for example is jxl.jar which used in org.adempiere.base.process project . I have add it in java build path, but when i run 
swing.client.product , the error message is : cannot find class the excel workbook.
I try to add jxl in manifest.mf org.adempiere.base.process, and when i run it , i got the error message : cannot find myclass .

Thomas Bayen

unread,
Dec 6, 2013, 3:54:22 AM12/6/13
to idem...@googlegroups.com
Hi Dadan Su,

The jar should be part of the OSGi plugin which uses it. So in the
mement where you create your plugin you have to insert it. I create the
plugin with the eclipse wizard.

The wizard includes jar files automatically if you create the right
entries in the file META-INF/MANIFEST.MF. On the "Runtime" tab you can
enter jar files in the "classpath" area.

If you have no clue what I am speaking about ;-) see first:
http://wiki.idempiere.org/en/Category:Plug-In_Development

regards,

Thomas Bayen
> --
> You received this message because you are subscribed to the Google
> Groups "iDempiere" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to idempiere+...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/idempiere/a71867a4-8a96-4db0-bebd-f404d908cc5d%40googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.

mit freundlichen Gr��en,

Thomas Bayen
--
Jakob Bayen KG, Bleichpfad 20-22, 47799 Krefeld
AG Krefeld HRA 416 Tel +49/2151/65 80 9-0
Reply all
Reply to author
Forward
0 new messages