Comments (8)
@ashlyjose - thanks for the report. I have a couple of questions
- How did you import this project? Is it an exact copy of the project that your colleague has set up?
I'm asking because sometimes when sharing via source control Eclipse files ( .project/.classpath/.settings ) are not added .
-
Please attach a screenshot of the project facets. You can find it by right-clicking on the project, selecting properties and then navigating to the 'Project Facets' property page.
-
What version of the AEM developer tools do you use?
from aem-eclipse-developer-tools.
- Yes, it is the exact copy of the project that my colleague has. Copied the whole folder from his workspace. I copied this to my workspace and then imported as below:
File -> Import -> Maven -> Existing Maven Projects
- Screenshot attached for Project Facets of ui.apps project
- The version I'm using is AEM 1.0.0.2--cK5l3 (screenshot attached)
from aem-eclipse-developer-tools.
Thanks for the info. So it seems that the facets are correctly set. What have you tried and does not work?
from aem-eclipse-developer-tools.
Ok, now at this point, although the facets are correctly set, project is not displayed properly in eclipse, meaning I cannot see anything in the JCR Properties when I click on the imported project (components, pages, templates etc..). Also, I see the xml files in Eclipse directly (dialog.xml). Please find the screenshot below.
Also, I cannot add the ui.apps project to my local AEM server. It does allow me to add the project using "Add and Remove" option right clicking the server, but nothing happens.
I have also tried right clicking on the project AEM -> Export to server - this also does not work
In short,
How do I get the project on to my local AEM server linked to Eclipse project so that I can see and edit the JCR Properties from eclipse?
from aem-eclipse-developer-tools.
Could you try the following:
- Right-click on your project > Properties > AEM
- Note: You will probably see that there is an error message saying that "jcr_root" doesn't exist.
- Click "Browse" and select "ui.apps" (or "ui.content")/src/main/content/jcr_root
- Click "OK"
- Note: The error message should have now disappeared.
- Click "Apply"
- Close window
This should now trigger the project to run in the AEM context...
from aem-eclipse-developer-tools.
@mikeyhendy Thanks Michael. It works !!
@rombert The workaround specified by Michael works and I'm able to get things running. Do you want me to leave this issue open for a proper fix for this or is this the way it is supposed to work?
from aem-eclipse-developer-tools.
@mikeyhendy - thanks for digging up the root cause!
@ashlyjose - Please leave it open, we need to find a better UI for this. For now I'm considering adding an error marker on the project if the 'jcr_root' folder can not be found
from aem-eclipse-developer-tools.
The improvement has been added in the Sling IDE Tooling project ( see SLING-4000: Add error marker on the project when content sync root does not exist ) and will be incorporated in the next AEM Developer Tools public release.
If you'd like to build a fix yourself, please follow the instructions from Sling IDE Tooling - building from source.
from aem-eclipse-developer-tools.
Related Issues (20)
- OSGi bundle not getting uninstalled in case un-installation is done after new version installation of AEM package HOT 7
- Problems encountered while setting project description. HOT 6
- New project wizard doesn't lists all archetypes for project creation HOT 2
- AEM Eclipse Plugin: AEM Bundle(core module) not getting published HOT 10
- Error creating new project - Failed while installing Sightly 1.1 HOT 11
- Core module in not getting added to server HOT 4
- /rep:policy node for the root node does not get imported HOT 4
- New projects are created in a broken state HOT 9
- Export ignores filter.xml HOT 4
- AEM-Eclipse plugin is not able to recognize the archetype11 projects.? HOT 5
- Project is creating in broken state HOT 11
- Support the new launchpad project types from the Sling IDE Tooling HOT 1
- JCR Properties not loading in eclipse Neon HOT 7
- JCR properties view: cq namespace not being added to .content.xml HOT 9
- Project creation fails with new archetype version
- Repo root is not detected in archetype 19 HOT 2
- Am facing issue in importing content from AEM in Maven Archetype 20
- Update plugin to support archetype version 24 HOT 2
- AEM content sync root directory keeps getting reset after Maven -> Update Project HOT 1
- Is this project still active? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aem-eclipse-developer-tools.