This week to understand an MES project requirements, and then find some open source projects to understand, there are php+mysql write Weberp, configuration is quite convenient, the next version of weberp_v4.13, to F:\Apache\htdocs\ a put, start F:\Apache\bin\ Httpd.exe,
Visit 127.0.0.1:8089/web-erp/index.php, follow the instructions step by step, if you want to point out the demo data, execute F:\Apache\htdocs\web-erp\sql\mysql\country_sql\ Demo.sql
There is a problem not resolved is clearly set the Chinese, but the interface is displayed in English.
The next point, Opentaps, is based on the ofbiz of an open source ERP project, written in Java, support a variety of databases, configuration online has a lot of tutorials,
If just run, please go-"http://blog.csdn.net/dolphin_gx/article/details/7294687
If it is to be put to eclipse two times development, it is best to use the old version of Eclipse, support JDK1.6 better, such as Kepler or luna,mars seemingly not (requires minimum version JDK1.7)
Specific configuration of the shift-"http://blog.csdn.net/dolphin_gx/article/details/7294687
I got a day to get well, some twists and turns in the middle,
1: Because Opentaps components more, need large memory, if the machine memory only 4 G, it is necessary to adjust the boot parameters, usually build failed will tell you that the VM failed to boot, not enough heap,
Change the build.properties, please.
Memory.initial.param =-xms512m
Memory.max.param =-xmx1024m
Permmemory.max.param =-xx:maxpermsize=512m
Memory.maxpermsize.param =-xx:maxpermsize=512m
Javadoc.maxmemory = 1024M
Pos.memory.max.param =-xmx512m
2:opentaps1.5 version support JDK1.6, for most of the 1.8 projects in the Jer, it is necessary to re-install a JDK1.6, and
If you are in the process of Ant-install compilation encountered Java.util.Map 52-50 error, probably is your default JVM environment is more than 1.6 of the version, you have to change the system environment variables, move up a move should be good,
At least that's how I solved it when I met this problem.
3: When you debug Opentaps in Eclipse, you will also encounter insufficient memory, you may need to change the memory configuration of Eclipse startup, such as changing the Eclipse.ini, slightly larger,
--launcher. Xxmaxpermsize
768M
-showsplash
Org.eclipse.platform
--launcher. Xxmaxpermsize
768m
4: If all builds up, found that the DB table has been built, no data?
This situation is estimated to be the front entityengine.xml datasource-name for Localmysql did not change well, to completely get rid of OH
<delegator name= "Default" entity-model-reader= "main" entity-group-reader= "main" entity-eca-reader= "main" Distributed-cache-clear-enabled= "false" >
<group-map group-name= "org.ofbiz" datasource-name= "Localmysql"/>
<group-map group-name= "Org.ofbiz.olap" datasource-name= "Localmysql"/>
<group-map group-name= "org.ofbiz.tenant" datasource-name= "Localmysql"/>
<group-map group-name= "Org.opentaps.analytics" datasource-name= "Localmysql"/>
<group-map group-name= "org.opentaps.testing" datasource-name= "Localmysql"/>
</delegator>
<delegator name= "Default-no-eca" entity-model-reader= "main" entity-group-reader= "main" entity-eca-reader= "main" Entity-eca-enabled= "false" distributed-cache-clear-enabled= "false" >
<group-map group-name= "org.ofbiz" datasource-name= "Localmysql"/>
<group-map group-name= "Org.ofbiz.olap" datasource-name= "Localmysql"/>
<group-map group-name= "org.ofbiz.tenant" datasource-name= "Localmysql"/>
</delegator>
<!--Be sure this your default delegator (or the one use) uses the same datasource for test. You must run "Ant Run-install" before running "Ant run-tests"-
<delegator name= "Test" entity-model-reader= "main" entity-group-reader= "main" entity-eca-reader= "main" >
<group-map group-name= "org.ofbiz" datasource-name= "Localmysql"/>
<group-map group-name= "Org.ofbiz.olap" datasource-name= "Localmysql"/>
<group-map group-name= "org.ofbiz.tenant" datasource-name= "Localmysql"/>
</delegator>
Then remember not to run run-install-seed alone, because it may cause the password of the user table to be empty.
The correct build method is Run-install, and then in argument Riga Run-install-seed, the above mentioned blog has been described, very good ~
The above is the installation of opentaps need to pay attention to the point, I am also on the basis of other people with success, thank you for sharing, opentaps content or quite a lot, really want to two times development or need to study the source, and his architecture design to start,
Of course, the most important thing is to look at the needs of customers to match the problem, the wheel is a waste of youth, as long as local tyrants customers willing to pay the money there is no problem. I'll give them a head start.
Opentaps Installation Little Note