Difference between revisions of "Talk:ADempiere/Equinox Integration 2"

From ADempiere
Jump to: navigation, search
This Wiki is read-only for reference purposes to avoid broken links.
(Test Equinox Integration 2: moved here on behalf of eloy gomez)
(Running standalone within Eclipse)
Line 32: Line 32:
 
* You can launch inside eclipse selecting the client project, and run as eclipse application
 
* You can launch inside eclipse selecting the client project, and run as eclipse application
 
* I can launch Adempiere client with RUN_Adempiere.sh!!
 
* 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?.  [[User:CarlosRuiz|CarlosRuiz_globalqss]] 13:13, 19 May 2010 (PDT)

Revision as of 13:13, 19 May 2010

German Workshop on OSGI

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
  • 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)