GithubHelp home page GithubHelp logo

Comments (13)

rombert avatar rombert commented on June 12, 2024

Thanks for the report, I'll have a look

from aem-eclipse-developer-tools.

rombert avatar rombert commented on June 12, 2024

Importing the cq:dialog created in CRXDE Lite from AEM instead of creating them in eclipse doesn't work. Doesn't appear in folder. Not sure if it's relevant or not, however, looking at the project files within the eclipse project folder, you can see the cq:dialog being imported as "_cq_dialog/.content.xml" whereas "_cq_dialog.xml" seems to work better and is more consistent with the dialog node (dialog.xml).

That's consistent to how FileVault does it so there's nothing to change there. What is to change though is the fact that the content navigator does not properly display the nodes.

from aem-eclipse-developer-tools.

rombert avatar rombert commented on June 12, 2024

What is to change though is the fact that the content navigator does not properly display the nodes.

You've already opened #18 for that, so this task will track the rest of the problems.

from aem-eclipse-developer-tools.

rombert avatar rombert commented on June 12, 2024

The dev tools won't allow the creation of a cq:Widget or cq:TabPanel underneath a cq:WidgetCollection.

The error that I get is 'Cannot create child of cq:WidgetCollection with type cq:Widget (yet?)' . There's at least one unimplemented code path in JcrNode.createChild, so that's my next stop.

from aem-eclipse-developer-tools.

rombert avatar rombert commented on June 12, 2024

The node creation issue has been fixed in the Sling IDE Tooling project ( see SLING-3989: Content Navigator can't create full coverage nodes under partial coverage nodes ) 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.

I still have to look into

Creating a node with name of "cq:dialog" (type=cq:Dialog)

from aem-eclipse-developer-tools.

rombert avatar rombert commented on June 12, 2024

I've also fixed the error with creating nodes with ':' in their names ( see SLING-3990: Content Navigator does not correctly escape os names for nodes with special characters ).

To my knowledge, this fixes all the issues listed in this bug so I'm going to close it. It would be great if you could build an SNAPSHOT version of the Sling IDE Tooling and validate that all works fine.

from aem-eclipse-developer-tools.

djessup avatar djessup commented on June 12, 2024

I've just built the Sling IDE Tools (r1630284) and then the AEM tools (0a8f6df) using that snapshot but I'm still getting errors relating to the ":" encoding.

Are there any logs or debug info I could provide that would help track down where the issue is?

from aem-eclipse-developer-tools.

rombert avatar rombert commented on June 12, 2024

Can you give me the steps to reproduce and what the error log contains?

from aem-eclipse-developer-tools.

djessup avatar djessup commented on June 12, 2024

Sure, steps to reproduce:

  1. Create new project in Eclipse using the AEM Sample Multi-module Project w/ sample-project-archetype-7. All default options, server is a standard AEM6 SP1 instance
  2. In the ui.apps module create a new node in one of the components (e.g. /project.ui.apps/src/main/content/jcr_root/apps/project/components/content/servicecomponent)
  3. Set the name to cq:dialog and type to nt:unstructured
  4. Let the node auto-sync (or push it manually to the AEM server)

Results in this error:
screen-shot-2014-10-09-at-7 09 54-pm

from aem-eclipse-developer-tools.

djessup avatar djessup commented on June 12, 2024

Also, for reference these are the plugin version I have - as mentioned the Sling IDE Tooling is from the SVN trunk and AEM Tools from the master branch of this repo
screen-shot-2014-10-09-at-7 14 24-pm

Edit: As I posted this I realised I must have linked the wrong version of the Sling IDE Tooling, attempting to rebuild using 1.0.3-SNAPSHOT to see if that fixes it. Will post an update shortly.

from aem-eclipse-developer-tools.

rombert avatar rombert commented on June 12, 2024

Looks like you're using old versions of the Sling tooling. You have the release version ( 1.0.2 ) , but the version from trunk should have 1.0.3.xxxx . Can you try installing the Sling IDE Tooling again from a local build and validating that you have a 1.0.3.xxxx version ?

from aem-eclipse-developer-tools.

djessup avatar djessup commented on June 12, 2024

Confirmed this is indeed fixed with the latest Sling IDE Tools - apologies for my confusion!

One question, as I'm unfamiliar with Eclipse plugin development - to get my local build of the Sling IDE Tools to package into the AEM plugin artefact I had to modify the AEM reactor pom.xml to reference version 1.0.3-SNAPSHOT of the org.apache.sling.ide (one in <dependencies> and another in the Tycho target-platform-configuration) and

Then I had to modify the p2update category.xml as follows:

<feature url="features/org.apache.sling.ide.feature_0.0.0.qualifier.jar" id="org.apache.sling.ide.feature" version="0.0.0">
   <category name="sling"/>
</feature>
<feature url="features/org.apache.sling.ide.m2e-feature_0.0.0.qualifier.jar" id="org.apache.sling.ide.m2e-feature" version="0.0.0">
   <category name="sling"/>
</feature>

Is this the correct approach or is there a better way?

from aem-eclipse-developer-tools.

rombert avatar rombert commented on June 12, 2024

Thanks for confirming that it works.

As for pulling in new versions, I don't think that there's a better way, and the AEM Developer Tools will be tied to a release version of the Sling IDE Tooling. Once the next version of the Sling IDE Tooling is released, I'll reference it from the AEM Developer tooling.

However, you can install the Sling IDE Tooling from its own update site that you've built, there will be no conflicts.

from aem-eclipse-developer-tools.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.