swing client error when load a plug-in use zk lib

189 views
Skip to first unread message

Hiep Lq

unread,
Dec 4, 2013, 5:29:14 AM12/4/13
to idem...@googlegroups.com

to make zk client for libero-mfg. I import plug-in org.adempiere.ui.zk and org.zkoss.zk.library info libero-mfg (by add to dependency tab)
when I run server. plug-in libero-mfg load success but when I run swing client libero-mfg is load not success.

because I must make a separate plug-in for zk client?

error message:
osgi> !SESSION 2013-12-04 17:25:19.620 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.7.0_25
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments:  -product org.adempiere.ui.swing.client_product
Command-line arguments:  -product org.adempiere.ui.swing.client_product -data /home/hieplq/data/develop/idempiere/bitbucket/idempiere-base-clone/../runtime-swingclient.product -dev file:/home/hieplq/data/develop/idempiere/bitbucket/idempiere-base-clone/.metadata/.plugins/org.eclipse.pde.core/swingclient.product/dev.properties -os linux -arch x86_64 -consoleLog -console

!ENTRY org.eclipse.osgi 2 0 2013-12-04 17:25:24.344
!MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2013-12-04 17:25:24.345
!MESSAGE Bundle reference:file:/home/hieplq/data/develop/idempiere/bitbucket/use-plugin/org.idempiere.liberomfg/ was not resolved.
!SUBENTRY 2 org.idempiere.LiberoMfg 2 0 2013-12-04 17:25:24.346
!MESSAGE Missing required bundle org.adempiere.ui.zk_2.0.0.
!SUBENTRY 2 org.idempiere.LiberoMfg 2 0 2013-12-04 17:25:24.347
!MESSAGE Missing required bundle org.zkoss.zk.library_6.0.0.

!ENTRY org.eclipse.osgi 2 0 2013-12-04 17:25:24.359
!MESSAGE The following is a complete list of bundles which are not resolved, see the prior log entry for the root cause if it exists:
!SUBENTRY 1 org.eclipse.osgi 2 0 2013-12-04 17:25:24.360
!MESSAGE Bundle org.idempiere.LiberoMfg_1.0.0.qualifier [104] was not resolved.
!SUBENTRY 2 org.idempiere.LiberoMfg 2 0 2013-12-04 17:25:24.361
!MESSAGE Missing required bundle org.adempiere.ui.zk_2.0.0.
!SUBENTRY 2 org.idempiere.LiberoMfg 2 0 2013-12-04 17:25:24.362
!MESSAGE Missing required bundle org.zkoss.zk.library_6.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2013-12-04 17:25:24.363
!MESSAGE Bundle org.idempiere.LiberoMfg_forms_1.0.0.qualifier [105] was not resolved.
!SUBENTRY 2 org.idempiere.LiberoMfg_forms 2 0 2013-12-04 17:25:24.364
!MESSAGE Missing required bundle org.idempiere.LiberoMfg_1.0.0.
Dec 04, 2013 5:25:24 PM org.adempiere.client.Application start

Heng Sin Low

unread,
Dec 4, 2013, 6:47:46 AM12/4/13
to idem...@googlegroups.com
yes, you have to.


--
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/5074d155-6d0a-48b4-be24-70f9f6384453%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Jan Thielemann

unread,
Dec 4, 2013, 7:49:53 AM12/4/13
to idem...@googlegroups.com
I believe that this depends on the plugin. You can add dependencies to your plugin and make them optional. Just select the zk plugins in the dependencies section of your manifest, click the properties button and check the "optional" checkbox. Now your plugin can run in swing as well as in web client.

Hiep Lq

unread,
Dec 4, 2013, 11:55:43 AM12/4/13
to idem...@googlegroups.com

Thanks for your support.
two method is ok. 
with a Jan's way. how to prevent mistake when code of swing use option plug-in (plug-in can't load in swing) or developer must take care by himself.

Nicolás Segura

unread,
Dec 24, 2013, 8:55:09 AM12/24/13
to idem...@googlegroups.com

You could achieve this in java swing?

Hiep Lq

unread,
Dec 24, 2013, 11:13:13 PM12/24/13
to idem...@googlegroups.com

Hi Nicolas.
I don't test in swing. you can make new topic about it to get more support.
for swing. 

Nicolás Segura

unread,
Dec 26, 2013, 7:52:32 AM12/26/13
to idem...@googlegroups.com
Thank you very much for responding! now what I want is only developed for the web version of ADempiere. I hope I can solve it for desktop version.

Thanks again for your help. regards



2013/12/25 Hiep Lq <hie...@hasuvimex.vn>

--
You received this message because you are subscribed to a topic in the Google Groups "iDempiere" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/idempiere/gIuniLZwnUg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to idempiere+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/idempiere/982dc1a4-94f3-4425-af0f-2d9726e512e9%40googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.



--
Nicolás C. Segura
Reply all
Reply to author
Forward
0 new messages