Skip to end of metadata
Go to start of metadata

Instructions on downloading and building Compiere code.


DOWNLOAD SOURCE CODE

Community

1)     Create a free account in the Compiere Webstore: https://www.compiere.com/wstore/login.jsp

2)     Validate your email address. Login to the webstore and click on "My Downloads" and click on "Send Verification Code". You should get an email with a validation code that you need to provide

3)     Subscribe for access to the source code: login to the webstore, go to 'Interest Area' and click on the Subscribe button  for 'Core Code Access'

4)     Access from your browser by going directly to http://svn.compiere.org/core/trunkor using any third-party svn client (http://subversion.tigris.org/

Customers

1)     Login to the Compiere Webstore (https://www.compiere.com/wstore/login.jsp) with the email that you have registered when purchasing your Compiere subscription. To add additional contacts to be able to access your assets please send an email to info@compiere.com

2)     Validate your email address. Login to the webstore and click on "My Downloads" and click on "Send Verification Code". You should get an email with a validation code that you need to provide

3)     Login to the webstore, go to 'My Downloads' (formerly called 'My Assets') and download the zip file with the source code

Partners

1)     Login to the Compiere Webstore (https://www.compiere.com/wstore/login.jsp) with the email that you have registered when purchasing your Compiere subscription. To add additional contacts to be able to access your assets please send an email to info@compiere.com

2)     Validate your email address. Login to the webstore and click on "My Downloads" and click on "Send Verification Code". You should get an email with a validation code that you need to provide

3)     Login to the webstore, go to 'My Downloads' (formerly called 'My Assets') and download the zip file with the source code

4)     You can also access the svn maintenance repository from your browser by going directly to : http://internalsvn.compiere.org/maintenance or using any third-party svn client (http://subversion.tigris.org/). If you are a current Compiere Partner and can't access the repository, please log a support request. Please notice that the last stable release is in the tags/release_xxx folder. Code from the trunk will include recent critical bug fixes, but they have not gone through the same QA process as the stable releases so you are highly encouraged to do some additional testing before pushing to production.  

BUILD COMPIERE AND GENERATE DISTRIBUTION FILE

1) Copy utils_dev/myDevEnvTemplate to utils_dev/myDevEnv and edit your settings (JAVA_HOME, COMPIERE_SOURCE, etc.)

2) Execute the script utils_dev/RUN_Build to generate a binary distribution file under COMPIERE_INSTALL  

COMPILE USING ECLIPSE (1ST time only)

1) Copy utils_dev/myDevEnvTemplate to utils_dev/myDevEnv and edit your settings (JAVA_HOME, COMPIERE_SOURCE, etc.)

2) Execute the script utils_dev/RUN_Build to generate all the jar files that you need 

3) Refresh all the files in Eclipse (highlight all your projects and press F5) 

4) Clean all your projects in Eclipse and rebuild. This might need to be done a couple of times. Notice that #2 will try to do a file install on an existing Compiere Home defined in myDevEnv, so if you don't have a Compiere home setup (i.e. executed RUN_Setup) then you'll get an error, but that does not affect the zip file. 

Note: The source code only has the car file for Standard, so if you have Professional, Manufacturing, etc. you need to download the binary distribution from the Webstore and copy the files Compiere2/data/.car to COMPIERE_SOURCE/data/seed/ before step #2*  *

GENERATE .CAR FILES FOR YOUR OWN COMPONENTS (PARTNERS ONLY)

See COMPIERE_SOURCE/xuom/build.xml as an example or use the Entity Type window  

COMPILE COMPIERE PROFESSIONAL
Compiere professional code is available if partners have signed an NDA with Compiere. Partners who are interested in getting Compiere Professional (Web UI) code, please contact your Partner Manager.

1)     Execute gwt/RUN_Build to generate the file gwt/apps.ear

2)     Update COMPIERE_HOME/Compiere2/data/compiere_CPRO.car with the new version of apps.ear (from 3.5 the file COMPIERE_SOURCE/data/seed/compiere_CPRO.car is updated automatically but you still need to copy it to COMPIERE_HOME/data)

3)     Execute RUN_setup => File Install, or utils/CommandLine/CLFileInstall (assuming that you already run the database portion of the install)

Labels
  • None