Expand my Community achievements bar.

Project creation in Eclipse using the AEM developer tool plugin

Avatar

Level 3

Hello!

I am on Java 8, Maven 3.3.9, Eclipse(Neon.3) & AEM 6.2.  I am trying to create an AEM project using the AEM developer tool eclipse plugin. However I am getting the following error when trying to create a new project.

"Could not update project example.core configuration".

Please refer to the attached snapshots for the details.

Regards

Harsh

5 Replies

Avatar

Level 10

WHy not try to create the project using command line and then import into Eclipse as a Maven project? 

Avatar

Level 3

Hello smacdonald,

I have done that and I am not facing any issues with that.  The issue is with syncing between AEM CRXDE and Eclipse after I have imported the project.  The folder structure gets distorted when syncing between CRXDE to Eclipse.  Hence I was suggested on this forum to use the AEM developer plugin tool for the sync however I am unable to create the project.  Can you guide me with the correct way of syncing the changes between AEM CRXDE and Eclipse.

 

Regards

Harsh

Avatar

Level 10

Hi,

Yes, you can use AEM developer tools eclipse plugin to sync into AEM, but there are issues arises when you use developer tool.

Instead as Scott suggested, you can create Maven project using command line and import it as maven project in Eclipse. Also, if you want to sync into AEM, you can use File Vault. See here for the below community articles for your references.

//Creating your first Adobe Experience Manager 6.2 Project using Adobe Maven Archetype 10: https://helpx.adobe.com/experience-manager/using/first-arch10.html

//Steps to Configure FileVault Tool (VLT) in CQ: http://www.aemcq5tutorials.com/tutorials/configure-filevault-vlt-tool-in-cq/

Hope this helps!

~Ratna.

Avatar

Level 3

Hi Ratna,

 

Looks like there are issues with every tool.  I have already tried file vault this distorts my directory structure in eclipse ( I posted the errors in my previous post on this forum).  However it does work when syncing from eclipse to CRXDE.  Secondly I reckon vault-clipse is not compatible with quite a few version of eclipse.  I did try vaultclipse but couldn't see it in my preference window after installation.  Hence I was suggested to use the AEM developer tool plugin. Thirdly I have already tried the URL that you provided

"//Creating your first Adobe Experience Manager 6.2 Project using Adobe Maven Archetype 10: https://helpx.adobe.com/experience-manager/using/first-arch10.html".

I can build the project this way fine but my real question on syncing is not addressed here.  What is the best method which works without a fuss in syncing the code between CRXDE and Eclipse ?

Regards

Harsh

Avatar

Level 10

I am going to test this on AEM 6.2 and Eclipse. I will post back the findings.