Wednesday, December 23, 2015

Setup AEM Development environment in windows

What you need?
1) Java JDK 
2) cq5-author-p4502.jar  and a valid licence.properties file
3) Maven
4) Eclipse with below plugins
     - maven
     - vlt
     - aem dev tools
     - sling for eclipse
_________________________________________________________________________________

2) Install AEM:
  • Double click on the cq5-author-p4502.jar file, it opens a window as below
  

  • After installation, it automatically opens http://localhost:4502/libs/granite/core/content/login.html page in your browser. It take some time to install and start your aem application for the first time.
  • Please sign in with default credentials: - username : admin/password: admin
3)Install Maven
4)Install Eclipse:
5) Configure Maven with eclipse:
     Launch Eclipse and
  • Click on Help on the menu bar
  • Click on Eclipse Marketplace...
  • Type Maven find box in search tab and enter
  • Scroll down the list to find Maven Integration for eclipse(Juno or newer)
  • Click Install
  • Click Confirm
 To confirm Maven has been integrated with Eclipse, Click on Window on the Menu bar and Click on Preferences 
6) Install Eclipse Plugins: 
    Lauch Eclipse and
  1. Click on Help
  2. Install New Software
  3. Download and install following plugins
7) Install File Vault(VLT):
  • Locate a FileVault zip file in the folder /crx-quickstart/opt/filevault/filevault.zip
  • Extract the zip file
  • Add ...\bin\    folder of the FileVault location to the environment variables.
  • Add that variable to the environment PATH so that the command files vlt or vlt.bat are accessed as appropriate.