[ https://issues.apache.org/jira/browse/SLING-3100?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Munteanu updated SLING-3100: ----------------------------------- Attachment: 0001-WIP-do-not-push.patch [~henzlerg] - well, it's been two years so I thought I'd try this out :-) now that we've clarified that there are no legal issues with this contribution ( see dev@sling discussion -[ide] Adding a m2e project configurator for the 'content-package' packaging type ). I've tried to apply the patch, and tweaked it ( see attached patch ) . One line does not compile though {code}IDataModel webModelCfg = DataModelFactory.createDataModel(new WebFacetInstallDataModelProvider());{code} Can you try and re-apply the patch at your end and see what goes wrong? > Provide a m2e project configurator for packaging "content-package" > ------------------------------------------------------------------ > > Key: SLING-3100 > URL: https://issues.apache.org/jira/browse/SLING-3100 > Project: Sling > Issue Type: New Feature > Components: IDE > Affects Versions: Sling Eclipse IDE 1.0.0 > Reporter: Konrad Windszus > Assignee: Robert Munteanu > Fix For: Sling Eclipse IDE 1.1.0 > > Attachments: 0001-WIP-do-not-push.patch, > SLING-3100-m2e-integration.patch > > > To set up the appropriate project configuration just from the POM an > according m2e project configurator is needed > (http://wiki.eclipse.org/M2E_plugin_execution_not_covered#delegate_to_a_project_configurator_.28recommended.29) > The m2e-war-plugin comes with a project configurator which works also for > content-packages pretty well but it is currently hard to reuse for any other > packaging than "war" (due to the delegate pattern being used internally, > compare with https://bugs.eclipse.org/bugs/show_bug.cgi?id=412213). Only if > the project is having the dynamic web project facet the following features in > Eclipse are supported: > - JSP include directives (considered for validation and supports ctrl+click > to open linked file) > - Tag Library Support ( > http://wiki.eclipse.org/WTP_FAQ#Why_isn.27t_the_JSP_editor.2Fvalidator_finding_my_custom_tag_libraries.3F > ) > - probably other features as well. > Apart from that a feature like overlays should be supported ( > https://bugs.eclipse.org/bugs/show_bug.cgi?id=384154 ), as often > content-package projects are referencing JSPs from other projects, and the > IDE needs to know those, to complete the validation. -- This message was sent by Atlassian JIRA (v6.3.4#6332)