sling-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Munteanu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SLING-4045) Lack of support for multi-facet (content and bundle) projects
Date Wed, 17 Jan 2018 21:37:03 GMT

     [ https://issues.apache.org/jira/browse/SLING-4045?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Robert Munteanu updated SLING-4045:
-----------------------------------
    Fix Version/s:     (was: Sling Eclipse IDE 1.2.0)
                   Sling Eclipse IDE 1.2.2

> Lack of support for multi-facet (content and bundle) projects
> -------------------------------------------------------------
>
>                 Key: SLING-4045
>                 URL: https://issues.apache.org/jira/browse/SLING-4045
>             Project: Sling
>          Issue Type: Bug
>          Components: IDE
>    Affects Versions: Sling Eclipse IDE 1.0.2
>            Reporter: Kamil Ciecierski
>            Priority: Major
>             Fix For: Sling Eclipse IDE 1.2.2
>
>         Attachments: aemtools.zip
>
>
> I am working on the project which is +not based+ on com.adobe.granite.archetype: sample-project-archetype.
My project also contains multiple module projects, but some of them contain both java and
jsp files under paths:
> * java files: _<module-name>/src/main/java/<groupName>/..._
> * jsp files: _<module-name>/src/main/aem/<jcr_root>/<apps or etc>/<app-name>..._
> Basically it looks like merged _core_ module and _ui.apps_ module from _AEM Sample Multi-Module
Project_/
> When I configure my module as "Content Project" the *jsp* files are uploaded to the server
automatically, but the plugin does not respond on *java* files changes.
> When I configure my module as "Bundle Project" the *java* files are uploaded to the server
automatically, but the plugin does not respond on *jsp* files changes.
> I've also tested converting project to Faceted Form by doing:
> * Right click on module project and choosing _Configure/Convert to Faceted Form_
> * Choosing _Content module_ and _Bundle module_ from _Project facet list_
> * Clicking Apply and OK.
> After this _org.eclipse.wst.common.project.facet.core.xml_ is generated under the path:
_<module-name>/.settings_ which looks like this:
> {code}
> <?xml version="1.0" encoding="UTF-8"?>
> <faceted-project>
>    <installed facet="sling.bundle" version="1.0"/>
>    <installed facet="sling.content" version="1.0"/>
> </faceted-project>
> {code}
> After this if I start editing *jsp* files at first then the content files are uploaded
to server but *java* uploading isn't working - I see _ JcrResult[ success:true]_ in Sling
logs.
> If I start editing *java* files at first then the java files are uploaded to server,
but *jsp* uploading isn't working - I see logs that _target\classes_ is uploaded_.
> I conclusion, I can't make plugin to work correctly with the modules containing both
jsp and java files. I also don't know if you planned the support for this kind of projects
or not.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message