THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
- What is the best practice to modify an existing component or create a new one?
- What is considered the best practice in creating a custom web application with OFBIZ?
- How to manage your source differences
Eclipse
...
- Make sure that rmiregistry is not running on your RMIDispatcher/JOTM/jndi port before starting Open for Business
Anchor | ||||
---|---|---|---|---|
|
How to manage your source differences
The first three links use the vendor branch principle
A discussion about this topic on user ML proposing an alternative simpler way, extract :
- I keep two main patch files - basic_development.patch and basic_production.patch. Both patch files change the OFBiz configuration to work with our network environment, each one using settings chosen for the task - development or production. Only one patch is used at a time.
- I keep all of my custom development in a single folder under the ofbiz/applications folder. I avoid touching the trunk code at all costs - except for the configuration patches mentioned above.
- To keep my local copy updated, I do an SVN revert (to reverse the changes made by the patch), then an SVN update, then re-apply the patch. My custom development folder is untouched by the SVN commands, because SVN doesn't "know" about the folder.
This works really well and it doesn't involve any complicated merging - since the configuration files changed by the patches seldom change in the trunk.