Expand my Community achievements bar.

SOLVED

Cannot publish certain projects to server?

Avatar

Level 3

Eclipse v4.5.2

Maven v3.2.5 

Java version: 1.8.0_101
OS: Windows 10

 

 

After I create a new project in AEM 6.2 using the Eclipse plugin, I cannot publish certain components of my project to the server.

 

Here's an image of my workspace, showing the only two components that I am able to add in the "Servers" tab:

 

 

Here's my "Add and Remove servers" screen. It shows that .core, launcher, and tests aren't even options:

 

 

 

To create this project, I went to File > New Project... > AEM > AEM Sample Multi-Module Project and chose Archetype 10

1 Accepted Solution

Avatar

Correct answer by
Level 10

The Eclipse plug-in a buggy in my view - try building with Maven/command line as discussed here: 

https://helpx.adobe.com/experience-manager/using/first-arch10.html

I find using Maven and command line much better to work with AEM.  Using Plug-in I quite often see connection issues, build issues, etc that i never see with Maven and command line. 

See: 

https://helpx.adobe.com/experience-manager/using/htl_61.html

Video: 

https://www.youtube.com/watch?v=NPjZGYGTAP8 (show you in video what i mean) 

View solution in original post

4 Replies

Avatar

Correct answer by
Level 10

The Eclipse plug-in a buggy in my view - try building with Maven/command line as discussed here: 

https://helpx.adobe.com/experience-manager/using/first-arch10.html

I find using Maven and command line much better to work with AEM.  Using Plug-in I quite often see connection issues, build issues, etc that i never see with Maven and command line. 

See: 

https://helpx.adobe.com/experience-manager/using/htl_61.html

Video: 

https://www.youtube.com/watch?v=NPjZGYGTAP8 (show you in video what i mean) 

Avatar

Employee

Did you do step 2 as defined in this page http://www.accunitysoft.com/sling-model-sightly-part/

I think I had the same issue when I first used Sling Models

Regards,

Opkar