Building iDempiere

What Trunk or Branches to use and mix? Which is the Official version? How to survive growth?
Forum rules
This forum is personally pruned to avoid redundant posts. Related topics are moved to the same sub-forum. Language will be corrected for readability.

Building iDempiere

Postby banym » Thu Sep 08, 2011 2:51 pm

Hi,

as I had some problems remembering how to setup Eclipse to build and work with the iDempiere repository I collected some information from Heng Sin and Reduhan how I got and working development environment.

http://www.banym.de/eclipse/build-the-idempiere-project-using-eclipse-with-buckminster

As reference I used the wiki on Kenai and the Post in the ADempiere wiki:
http://kenai.com/projects/hengsin/pages/Building
http://www.adempiere.com/OSGI_HengSin

I hope this helps some guys to setup there development environment to review code and help the project.


Regards,

Dominik
banym
 
Posts: 5
Joined: Fri Mar 18, 2011 4:40 pm

Re: Building iDempiere

Postby danutc » Mon Nov 28, 2011 1:45 pm

Hi

Could anyone help with iDempiere building?

Did anyone try lately to import the repository and do a fresh build?

I followed the instructions at http://www.banym.de/eclipse/build-the-idempiere-project-using-eclipse-with-buckminster.

In materialize from Buckminster I get errors.

Here are the details:

- jdk1.6.0_29
- eclipse-jee-helios-SR2-win32
- eclipse configuration in file eclipse-config.txt (attached)
- buckminster nodes resolved and unresolved in file idempiere-import.bom (attached)

Also in the Buckminster log window I get the following messages:

ERROR [0004] : java.lang.IllegalArgumentException: URI has an authority component
ERROR [0006] : java.lang.IllegalArgumentException: URI has an authority component
ERROR [0010] : No suitable provider for component com.springsource.org.apache.xerces:osgi.bundle/[2.9.1,3.0.0) was found in resourceMap file:/C:/Tools/ws-idempiere/org.adempiere.sdk-feature/adempiere.rmap
ERROR [0010] : No suitable provider for component com.springsource.org.apache.xerces:osgi.bundle/[2.9.1,3.0.0) was found in searchPath spring.external.maven
ERROR [0010] : Rejecting provider maven2(http://repository.springsource.com/mave ... s/external[http://repository.springsource.com/maven/bundles/external]): No component match was found
ERROR [0010] : No suitable provider for component com.springsource.org.apache.xerces:osgi.bundle/[2.9.1,3.0.0) was found in searchPath workspace.bundle.project
ERROR [0010] : Resolution attempt ended with exception: Provider local(C:/Tools/idempiere/com.springsource.org.apache.xerces): Missing CSpec source required by component type osgi.bundle
ERROR Provider local(C:/Tools/idempiere/com.springsource.org.apache.xerces): Missing CSpec source required by component type osgi.bundle
ERROR [0010] : No suitable provider for component com.springsource.org.apache.xerces:osgi.bundle/[2.9.1,3.0.0) was found in searchPath workspace.feature.project
ERROR [0010] : Rejecting provider local({0}/{1}-feature[C:/Tools/idempiere/com.springsource.org.apache.xerces-feature]): Components of type osgi.bundle are not supported
ERROR [0010] : java.lang.IllegalArgumentException: URI has an authority component


Any help or hint would be appreciated.

Regards
Dan
Attachments
idempiere-import.zip
materialize from buckminster result
(57.7 KiB) Downloaded 571 times
eclipse-config.zip
eclipse environment configuration
(65.14 KiB) Downloaded 578 times
danutc
 
Posts: 1
Joined: Wed Nov 16, 2011 12:50 pm

Re: Building iDempiere

Postby hengsin » Sat Dec 03, 2011 8:20 am

Hi,

I've never encounter the exception "java.lang.IllegalArgumentException: URI has an authority component", maybe it is the same issue that is in the post below:

http://groups.google.com/group/google-w ... 8a5b?pli=1

It doesn't looks like it is caused by missing jar/component from the online repository, that should produce a different error in the log.

Regards,
Low
hengsin
 
Posts: 37
Joined: Tue May 10, 2011 3:11 pm

Re: Building iDempiere

Postby a42niem » Tue Jan 24, 2012 8:25 pm

Hi,

I had some problems generating installers for other platforms when I followed http://www.globalqss.com/wiki/index.php/IDempiere/Creating_Installers_from_Eclipse

I documented how I solved it on http://www.action42.de/blog/archive/2012/01/24/einen-idempiere-swing-client-fuer-eine-andere-plattform-erstellen.

Regards,
Dirk Niemeyer
a42niem
 
Posts: 30
Joined: Fri Apr 01, 2011 3:00 pm

Re: Building iDempiere

Postby globalqss » Fri Jan 27, 2012 12:24 am

Excellent Dirk - thanks for the feedback.

Regards,

Carlos Ruiz
globalqss
Senior
 
Posts: 599
Joined: Thu Dec 29, 2005 4:15 am
Location: Bogotá, Colombia

Re: Building iDempiere

Postby hengsin » Sat Feb 18, 2012 8:00 am

Hi Dan,

I have reproduce this error on Window and have resolve it, see http://jira.idempiere.com/browse/IDEMPIERE-154

Regards,
Low
danutc wrote:Hi

Could anyone help with iDempiere building?

Did anyone try lately to import the repository and do a fresh build?

I followed the instructions at http://www.banym.de/eclipse/build-the-idempiere-project-using-eclipse-with-buckminster.

In materialize from Buckminster I get errors.

Here are the details:

- jdk1.6.0_29
- eclipse-jee-helios-SR2-win32
- eclipse configuration in file eclipse-config.txt (attached)
- buckminster nodes resolved and unresolved in file idempiere-import.bom (attached)

Also in the Buckminster log window I get the following messages:

ERROR [0004] : java.lang.IllegalArgumentException: URI has an authority component
ERROR [0006] : java.lang.IllegalArgumentException: URI has an authority component
ERROR [0010] : No suitable provider for component com.springsource.org.apache.xerces:osgi.bundle/[2.9.1,3.0.0) was found in resourceMap file:/C:/Tools/ws-idempiere/org.adempiere.sdk-feature/adempiere.rmap
ERROR [0010] : No suitable provider for component com.springsource.org.apache.xerces:osgi.bundle/[2.9.1,3.0.0) was found in searchPath spring.external.maven
ERROR [0010] : Rejecting provider maven2(http://repository.springsource.com/mave ... s/external[http://repository.springsource.com/maven/bundles/external]): No component match was found
ERROR [0010] : No suitable provider for component com.springsource.org.apache.xerces:osgi.bundle/[2.9.1,3.0.0) was found in searchPath workspace.bundle.project
ERROR [0010] : Resolution attempt ended with exception: Provider local(C:/Tools/idempiere/com.springsource.org.apache.xerces): Missing CSpec source required by component type osgi.bundle
ERROR Provider local(C:/Tools/idempiere/com.springsource.org.apache.xerces): Missing CSpec source required by component type osgi.bundle
ERROR [0010] : No suitable provider for component com.springsource.org.apache.xerces:osgi.bundle/[2.9.1,3.0.0) was found in searchPath workspace.feature.project
ERROR [0010] : Rejecting provider local({0}/{1}-feature[C:/Tools/idempiere/com.springsource.org.apache.xerces-feature]): Components of type osgi.bundle are not supported
ERROR [0010] : java.lang.IllegalArgumentException: URI has an authority component


Any help or hint would be appreciated.

Regards
Dan
hengsin
 
Posts: 37
Joined: Tue May 10, 2011 3:11 pm

Re: Building iDempiere

Postby hengsin » Sat Feb 18, 2012 12:31 pm

With http://jira.idempiere.com/browse/IDEMPIERE-155 , delta pack is no longer needed to build installer for other platform. When you want to build the installer for other platform, you have to change the active target platform environment setting to the targeted platform, select the correct buckminster*.properties file and enable "Force Complete Rebuild" when you invoke the buckminster "create.product" action.

a42niem wrote:Hi,

I had some problems generating installers for other platforms when I followed http://www.globalqss.com/wiki/index.php/IDempiere/Creating_Installers_from_Eclipse

I documented how I solved it on http://www.action42.de/blog/archive/2012/01/24/einen-idempiere-swing-client-fuer-eine-andere-plattform-erstellen.

Regards,
Dirk Niemeyer
hengsin
 
Posts: 37
Joined: Tue May 10, 2011 3:11 pm


Return to Building ADempiere

Who is online

Users browsing this forum: No registered users and 2 guests

cron