Difference between revisions of "Talk:ADempiere/Equinox Integration 2"
From ADempiere
This Wiki is read-only for reference purposes to avoid broken links.
(Running standalone within Eclipse) |
(→Running standalone within Eclipse) |
||
Line 47: | Line 47: | ||
INFO: Started org.adempiere.tools | INFO: Started org.adempiere.tools | ||
but nothing happens, what am I missing?. [[User:CarlosRuiz|CarlosRuiz_globalqss]] 13:13, 19 May 2010 (PDT) | but nothing happens, what am I missing?. [[User:CarlosRuiz|CarlosRuiz_globalqss]] 13:13, 19 May 2010 (PDT) | ||
+ | :Carlos, i got same like you until i set the arguments to AdempiereEnv.properties. Then i got blank but i can type in apps and see below and also nothing happens: | ||
+ | osgi> apps | ||
+ | org.adempiere.Client [launchable] | ||
+ | org.eclipse.equinox.app.error [not launchable] | ||
+ | : - [[User:Red1|red1]] 01:24, 20 May 2010 (PDT) |
Revision as of 01:24, 20 May 2010
Contents
German Workshop on OSGI
- Joerg, i wonder if you know about this event http://germany.osgiusers.org/Main/WorkshopBuildingOSGiApplication - red1 09:30, 21 March 2010 (PDT)
- Thanks, I'll look into it viola 13:40, 22 March 2010 (PDT)
Progress Testing by RED1
- I checkout the OSGI approach 2 and import all folders as sub-projects.
- I can see the org.adempiere.base as plugin and do the equinox-target.
- Ok, with the latest revision i can get the utils/RUN_build.sh to SUCCESS.
- Hundreds of errors mainly due to not finding org.osgi or org.eclipse.core.
2nd Progress Testing by RED1
- Following some tip from Joerg, i updated my Eclipse app to latest JEE Galileo
- Then checkout hell again and i got down to only 4 errors (hurrah!):
- 2 classes says no such last arg in here 'MOrgInfo.get (getCtx(), document.getAD_Org_ID(), null);'
- in WorkflowProcessor and Scheduler classes.
- Import in Env.java 'com.sun.xml.internal.ws.util.ServiceFinder' cannot be resolved.
- org.adempiere.tools MANIFEST has unexisting plugin > org.apache.tools.ant.types.resolver
- 2 classes says no such last arg in here 'MOrgInfo.get (getCtx(), document.getAD_Org_ID(), null);'
- By following advice in Eclipse auto-correct, these 4 errors are gone.
- After Equinox-Target setting ...
- utils_dev/RUN_build.xml says /zkwebui has no build.xml (to be cont'd)
- actually it still gives success in the end for the other packages.
Test Equinox Integration 2
Eloy Gomez 2010-05-05
- In Ubuntu Lucid, need to increase max open files parameter in /etc/security/limits.conf
username soft nofile 65535 username hard nofile 65535
- The build script try to process all the projects in the current workspace, if you have a lot of, is a good choice create a new workspace only for this project and your plugins.
- Must set to null in db ad_client.modelvalidationclasses
- You need to create a custom utils/RUN_UnixEnv.sh by hand.
- You can launch inside eclipse selecting the client project, and run as eclipse application
- I can launch Adempiere client with RUN_Adempiere.sh!!
Running standalone within Eclipse
Hi guys, finally I have a clean osgi env - now following the instructions on "Running standalone within Eclipse" - the console just shows:
osgi> 19/05/2010 03:12:08 PM org.adempiere.client.Activator activateAll INFO: Started org.adempiere.jbossfacet 19/05/2010 03:12:08 PM org.adempiere.client.Activator activateAll WARNING: Could not start org.adempiere.client 19/05/2010 03:12:08 PM org.adempiere.client.Activator activateAll INFO: Started org.adempiere.base 19/05/2010 03:12:08 PM org.adempiere.client.Activator activateAll INFO: Started org.adempiere.jboss 19/05/2010 03:12:08 PM org.adempiere.client.Activator activateAll INFO: Started org.adempiere.tools
but nothing happens, what am I missing?. CarlosRuiz_globalqss 13:13, 19 May 2010 (PDT)
- Carlos, i got same like you until i set the arguments to AdempiereEnv.properties. Then i got blank but i can type in apps and see below and also nothing happens:
osgi> apps org.adempiere.Client [launchable] org.eclipse.equinox.app.error [not launchable]
- - red1 01:24, 20 May 2010 (PDT)