Prerequisites
Java
If you do not have a JDK installed, download the latest version of JDK 7.
Set the environmental variables JAVA_HOME to point to JDK directory
We can check the java version using command javac –version in command prompt.
Eclipse
Download Eclipse and paste the required configuration files for hybris coding convention in workspace../.metadata/.plugins/org.eclipse.core.runtime/.settings
Restart eclipse and all set.
Installing hybris
Get the Hybris commerce suite zip file and unzip it into a folder ‘hybris’.
Open a command line window and navigate to yourpath/bin/platform and execute the command
1. Setantenv.bat to ensure Ant is on your classpath
2. Ant clean which ask to press enter and after that it shows build successful. Now you can see the config folder generated in your hybris path which is responsible for configuration files.
3. Ant all
Import the codebase into eclipse
File -> Import -> general -> existing projects into workspace and click on Next.
Click browse button and select your hybris path which shows all the available extension.
Select the required extension and click finish.
Preparing Eclipse Ant view
Windows -> show view -> ant we can see the ant symbol
Click Add Build files in Ant window. Select and expand the Platform extension and select build.xml
Set the Ant provided by hybris which is installed currently. Windows -> preferences - > Ant ( runtime ) click on Ant home and browse the path/bin/platform/ apache –ant-1.9.1
Now start the server command is hybrisserver.bat
…Path/bin/platform> hybrisserver.bat
After server started we need to initialize the system
Go to http://localhost:9001 to open the hac ( Hybris management console) and click on initialize button.
Here the port number 9001 is set in platform -> project.properties file tomcat.http.port=9001
Ant command Modulegen is used to generate sets of dependent extensions to easily start new projects or create new applications.
Start the ant task called modulegen. In the example below, you can see the script with the following information:
modulegen:
[input]
[input] Please choose the name of your module extension. It has to start with a letter followed by letters and/or numbers.
[input] Press [Enter] to use the default value [training]
storefront
[input]
[input] Please choose the base package name of your extensions. It has to fulfill java package name convention. Each extension
in the module will
add its name to this package.
[input] Press [Enter] to use the default value [org.training]
org.storefront
[input]
[input] Please choose a template for generation.
[input] Press [Enter] to use the default value ([accelerator], b2baccelerator)
Accelerator
After this a copy of different extension like ( **core, **facades, **storefront, **cockpit, **fulfilmentprocess, **test, **initialdata)
After module generation it shows a list of instruction to follow. Do it!
Rebuild the system.
Casino Hotel Reno - Mapyro
ReplyDeleteFind the closest Casino Hotel Reno to Reno with Mapyro's helpful 태백 출장마사지 community, 경기도 출장마사지 and the Casino, a hotel on 논산 출장안마 the corner of 공주 출장안마 Broad Street 강원도 출장안마 and Fremont Street.