https://www.eclipse.org/downloads/.
2) Double Click on the Executable JAR after the download.
3) Select Eclipse IDE for Java EE Deveopers
4) Provide the installation Path and click install.
5) After the successful installation, click on Launch
6) While starting the Eclipse please select the workspace
7) By Default only JRE will be configured. So need to add JDK path too. otherwise maven install will fail.
Window – >Preferences
Java -> Installed JREs
Click Add button
Window – >Preferences
Java -> Installed JREs
Click Add button
8) Select Standard VM
9) Browse the JDK installation directory and Finish
10) JDK path will added.
11) For working with AEM projects. AEM plugins is required to install.
Help -> Eclipse Marketplace
Search for AEM
install AEM Developer Tools for Eclipse
Help -> Eclipse Marketplace
Search for AEM
install AEM Developer Tools for Eclipse
12) Accept the terms and conditions
13) Select Install anyway
14) Restart Eclipse to take effect changes
15) After restart AEM project will be visible in projects.
File->New -> Project
Select AEM Sample Multi-Module Project and click next
File->New -> Project
Select AEM Sample Multi-Module Project and click next
16) Select com.adobe.granite.archetypes : aem-project-archetype : 10
17) For Configuring Archetype Properties, provide Name, Group Id and Artifact ID.
18) Select the server details as per the requirement and click Finish
19) For First time Eclipse workspace setup.
Run -> Run Configurations
Select Maven Build
click on New Launch Configurations
Provide the Name : Eclipse Setup
Select Base directory
Set Goals as eclipse:eclipse
click Apply and run.
Run -> Run Configurations
Select Maven Build
click on New Launch Configurations
Provide the Name : Eclipse Setup
Select Base directory
Set Goals as eclipse:eclipse
click Apply and run.
20) Below Success message will be displayed in console
Reactor Summary:
[INFO]
[INFO] myproject …………………………………… SUCCESS [ 2.175 s]
[INFO] AEM Sample – Core ……………………………. SUCCESS [ 1.368 s]
[INFO] AEM Sample – UI apps …………………………. SUCCESS [ 1.113 s]
[INFO] AEM Sample – UI content ………………………. SUCCESS [ 0.074 s]
[INFO] AEM Sample – Integration Tests Bundles …………. SUCCESS [ 0.194 s]
[INFO] AEM Sample – Integration Tests Launcher ………… SUCCESS [ 1.129 s]
[INFO] ————————————————————————
[INFO] BUILD SUCCESS
Reactor Summary:
[INFO]
[INFO] myproject …………………………………… SUCCESS [ 2.175 s]
[INFO] AEM Sample – Core ……………………………. SUCCESS [ 1.368 s]
[INFO] AEM Sample – UI apps …………………………. SUCCESS [ 1.113 s]
[INFO] AEM Sample – UI content ………………………. SUCCESS [ 0.074 s]
[INFO] AEM Sample – Integration Tests Bundles …………. SUCCESS [ 0.194 s]
[INFO] AEM Sample – Integration Tests Launcher ………… SUCCESS [ 1.129 s]
[INFO] ————————————————————————
[INFO] BUILD SUCCESS
21) Configure Maven for Clean install
Run -> Run Configurations
Select Maven Build
click on New Launch Configurations
Provide the Name : Clean Install
Select Base directory
Set Goals as clean install
click Apply and run.
Run -> Run Configurations
Select Maven Build
click on New Launch Configurations
Provide the Name : Clean Install
Select Base directory
Set Goals as clean install
click Apply and run.
22) Below success message will be displayed in console
[INFO] Reactor Summary:
[INFO]
[INFO] myproject …………………………………… SUCCESS [ 8.242 s]
[INFO] AEM Sample – Core ……………………………. SUCCESS [ 7.524 s]
[INFO] AEM Sample – UI apps …………………………. SUCCESS [ 3.208 s]
[INFO] AEM Sample – UI content ………………………. SUCCESS [ 0.778 s]
[INFO] AEM Sample – Integration Tests Bundles …………. SUCCESS [ 0.859 s]
[INFO] AEM Sample – Integration Tests Launcher ………… SUCCESS [ 5.062 s]
[INFO] ————————————————————————
[INFO] BUILD SUCCESS
[INFO] Reactor Summary:
[INFO]
[INFO] myproject …………………………………… SUCCESS [ 8.242 s]
[INFO] AEM Sample – Core ……………………………. SUCCESS [ 7.524 s]
[INFO] AEM Sample – UI apps …………………………. SUCCESS [ 3.208 s]
[INFO] AEM Sample – UI content ………………………. SUCCESS [ 0.778 s]
[INFO] AEM Sample – Integration Tests Bundles …………. SUCCESS [ 0.859 s]
[INFO] AEM Sample – Integration Tests Launcher ………… SUCCESS [ 5.062 s]
[INFO] ————————————————————————
[INFO] BUILD SUCCESS
23) Now in Project explore, a clean AEM project will be created.
No comments:
Post a Comment
If you have any doubts or questions, please let us know.