UI - jar packaging
Hello, facing problem with packaging of UI components to jar files.
- have two module: Core and App, where app use core as component library.
- UI designer is set to compile into Java source code
- use javac2 compiler to create core.jar:
IDEA give me error at App module, when tries to compile form that use core component:
appPanel.add(coreTableComponent.$$$getRootComponent$$$(), new GridConstraints(......));
cannot find symbol: symbol : method $$$getRootComponent$$$()
- same error when I use ant javac2 compiler to compile app.jar
When I check core.jar ->]]> CoreTableComponent.class method $$$getRootComponent$$$() exist and is public.
Please help, what I missed? Thanks
Edited by: UI_user on Jun 12, 2008 1:58 PM
请先登录再写评论。
Hello UI_user,
1. What IDEA build are you using?
2. Do I understand it correctly that App module has dependency to core.jar,
and not to Core module?
3. How have you put coreTableComponent to appPanel: as a form, non-palette
component or some other way?
Alexander.
>>1. What IDEA build are you using?
#7757
>> 2. Do I understand it correctly that App module has dependency to core.jar, and not to Core module?
Yes. In the case of module dependecy is everything fine.
>> 3. How have you put coreTableComponent to appPanel: as a form, non-palette component or some other way?
CoreTableComponent was dragged from palette (form definition).
Thanks
Hello UI_user,
>>> 1. What IDEA build are you using?
>>>
>>> 2. Do I understand it correctly that App module has dependency to
>>> core.jar, and not to Core module?
>>>
>>> 3. How have you put coreTableComponent to appPanel: as a form,
>>> non-palette component or some other way?
>>>
Hm... I cannot add a nested form, if the form file is in library jar, not
in module. IDEA replies "Cannot load form file". Sorry, no ideas how to help
for now.
Alexander.