Broad Leaf Configuration:-
Links to Download:
JDK:http://www.oracle.com/technetwork/java/javase/downloads/index.html
BroadLeaf:http://www.broadleafcommerce.com/docs/core/current/getting-started
Maven:http://maven.apache.org/download.cgi
1.Make Sure u r running JDK-6 not higher because it throws error. install JDK-6(C:\Program Files\Java\jdk1.6.0_45)
2.copy the extracted workbench and maven to a drive say D:\
3. create a folder D:\local\reposetory\
4.go to D:\maven\conf\setting.xml and add <localRepository>D:\\local\\repository</localRepository>
5.open eclipse and chose the work space of eclipse-workspace given by Broadleaf site.
6.once eclipse opens go to windows->Preference->java->compiler change the JDK Compliance to 1.6
it asks for configuration, give the location of the JDK install ex:C:\Program Files\Java\jdk1.6.0_45 Apply and ok.
7.on the same window of go to Maven->userSeting give the location of the D:\maven\conf\settings.xml then automatically D:\\local\\repository will be taken.
8.in the project folder go to DemoSite\build.properties change maven.home=D\:\\maven\\
9. right click on Demosite->run->Mrven install(take more time to download to repository in local machine u can check in D:\local\reposetory\ files are added )
10 .on the right corner add 3 ant build file one for broaddemotool,admin,sit.
11.right click on site and runs as ant build 1. browser->http://localhost:8080/
12.right click on admin and runs as ant build 2.browser->https://localhost:8444/admin
the admin and site runs on browser.
any trouble;
Plz Comment....
Links to Download:
JDK:http://www.oracle.com/technetwork/java/javase/downloads/index.html
BroadLeaf:http://www.broadleafcommerce.com/docs/core/current/getting-started
Maven:http://maven.apache.org/download.cgi
1.Make Sure u r running JDK-6 not higher because it throws error. install JDK-6(C:\Program Files\Java\jdk1.6.0_45)
2.copy the extracted workbench and maven to a drive say D:\
3. create a folder D:\local\reposetory\
4.go to D:\maven\conf\setting.xml and add <localRepository>D:\\local\\repository</localRepository>
5.open eclipse and chose the work space of eclipse-workspace given by Broadleaf site.
6.once eclipse opens go to windows->Preference->java->compiler change the JDK Compliance to 1.6
it asks for configuration, give the location of the JDK install ex:C:\Program Files\Java\jdk1.6.0_45 Apply and ok.
7.on the same window of go to Maven->userSeting give the location of the D:\maven\conf\settings.xml then automatically D:\\local\\repository will be taken.
8.in the project folder go to DemoSite\build.properties change maven.home=D\:\\maven\\
9. right click on Demosite->run->Mrven install(take more time to download to repository in local machine u can check in D:\local\reposetory\ files are added )
10 .on the right corner add 3 ant build file one for broaddemotool,admin,sit.
11.right click on site and runs as ant build 1. browser->http://localhost:8080/
12.right click on admin and runs as ant build 2.browser->https://localhost:8444/admin
the admin and site runs on browser.
any trouble;
Plz Comment....
change the maven.home path in build.property to
ReplyDeletemaven.home=C:\Program Files\Apache Software Foundation\apache-maven-3.2.5
if error again try this in path
ReplyDeletemaven.home=C\:\\Program Files\\Apache Software Foundation\\apache-maven-3.2.5