[jira] [Commented] (SLING-3687) The selected project is not configured with/added to any Sling server during Sling Import or Export
[ https://issues.apache.org/jira/browse/SLING-3687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14043539#comment-14043539 ] Robert Munteanu commented on SLING-3687: Sorry, the fix version was incorrect. Since the 1.0.0 release vote was cancelled this will end up in the first public release, whether it will be called 1.0.0 or 1.0.2 . The selected project is not configured with/added to any Sling server during Sling Import or Export - Key: SLING-3687 URL: https://issues.apache.org/jira/browse/SLING-3687 Project: Sling Issue Type: Bug Components: IDE Affects Versions: Sling Eclipse IDE 1.0.0 Reporter: Konrad Windszus Assignee: Robert Munteanu Fix For: Sling Eclipse IDE 1.0.2 Attachments: SLING-3687.png Although the module was already added to the Sling Server (and was even synchronized and therefore obviously has the right facets), I can neither user Export nor Import because both wizards fail with the message {code} The selected project is not configured with/added to any Sling server {code} Please compare with the attached screenshot. Enabling the tracing does not reveal any other log statements related to that. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (SLING-3687) The selected project is not configured with/added to any Sling server during Sling Import or Export
[ https://issues.apache.org/jira/browse/SLING-3687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14040729#comment-14040729 ] Konrad Windszus commented on SLING-3687: Maybe this is related to the multimodule structure. The structure is as following nc-website (pom packaging) - nc-website-components (pom packaging, module of nc-website) -- nc-website-components-package (content-package packaging, module of nc-website-components. All projects are real Eclipse Projects in the workspace (compare with the attached screen). Although I triggered the Sling Export from the Project nc-website-components-package the pathname in the errormessage nc-website-components/nc-website-components-package/... leads to the assumption that simply the wrong project is taken into account (nc-website-components instead of nc-website-components-package). The selected project is not configured with/added to any Sling server during Sling Import or Export - Key: SLING-3687 URL: https://issues.apache.org/jira/browse/SLING-3687 Project: Sling Issue Type: Bug Affects Versions: Sling Eclipse IDE 1.0.0 Reporter: Konrad Windszus Attachments: SLING-3687.png Although the module was already added to the Sling Server (and was even synchronized and therefore obviously has the right facets), I can neither user Export nor Import because both wizards fail with the message {code} The selected project is not configured with/added to any Sling server {code} Please compare with the attached screenshot. Enabling the tracing does not reveal any other log statements related to that. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (SLING-3687) The selected project is not configured with/added to any Sling server during Sling Import or Export
[ https://issues.apache.org/jira/browse/SLING-3687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14040768#comment-14040768 ] Konrad Windszus commented on SLING-3687: I could definitely reproduce with importing an existing maven project (packaging content-package), which is outside the workspace folder, converting it to a sling content project and adding it as a server module. The selected project is not configured with/added to any Sling server during Sling Import or Export - Key: SLING-3687 URL: https://issues.apache.org/jira/browse/SLING-3687 Project: Sling Issue Type: Bug Affects Versions: Sling Eclipse IDE 1.0.0 Reporter: Konrad Windszus Fix For: Sling Eclipse IDE 1.0.2 Attachments: SLING-3687.png Although the module was already added to the Sling Server (and was even synchronized and therefore obviously has the right facets), I can neither user Export nor Import because both wizards fail with the message {code} The selected project is not configured with/added to any Sling server {code} Please compare with the attached screenshot. Enabling the tracing does not reveal any other log statements related to that. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (SLING-3687) The selected project is not configured with/added to any Sling server during Sling Import or Export
[ https://issues.apache.org/jira/browse/SLING-3687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14040776#comment-14040776 ] Konrad Windszus commented on SLING-3687: The problem is in SelectionUtils line 56 (https://github.com/apache/sling/blob/trunk/tooling/ide/eclipse-ui/src/org/apache/sling/ide/eclipse/ui/internal/SelectionUtils.java#L56). The ServerUtil.getModule returns only the module {code} Module[nc-website-components-package,org.eclipse.jst.jee.server:nc-website-components-package] {code} whereas ServerUtil.getModules would return two items {code} [Module[nc-website-components-package,org.eclipse.jst.jee.server:nc-website-components-package], Module[nc-website-components-package,org.apache.sling.ide.contentModuleFactory:nc-website-components-package]] {code} Only the second one is relevant. Therefore please replace the call of ServerUtil.getModule with ServerUtil.getModules and evaluate all returned modules. The selected project is not configured with/added to any Sling server during Sling Import or Export - Key: SLING-3687 URL: https://issues.apache.org/jira/browse/SLING-3687 Project: Sling Issue Type: Bug Affects Versions: Sling Eclipse IDE 1.0.0 Reporter: Konrad Windszus Fix For: Sling Eclipse IDE 1.0.2 Attachments: SLING-3687.png Although the module was already added to the Sling Server (and was even synchronized and therefore obviously has the right facets), I can neither user Export nor Import because both wizards fail with the message {code} The selected project is not configured with/added to any Sling server {code} Please compare with the attached screenshot. Enabling the tracing does not reveal any other log statements related to that. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (SLING-3687) The selected project is not configured with/added to any Sling server during Sling Import or Export
[ https://issues.apache.org/jira/browse/SLING-3687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14040780#comment-14040780 ] Konrad Windszus commented on SLING-3687: This is related to SLING-3100 which also installs the facet Dynamic Web Module for packaging content-package projects automatically. In any case to be compatible with other plugins it would be good to always evaluate all possible modules of a project (to support other facets as well). The selected project is not configured with/added to any Sling server during Sling Import or Export - Key: SLING-3687 URL: https://issues.apache.org/jira/browse/SLING-3687 Project: Sling Issue Type: Bug Affects Versions: Sling Eclipse IDE 1.0.0 Reporter: Konrad Windszus Fix For: Sling Eclipse IDE 1.0.2 Attachments: SLING-3687.png Although the module was already added to the Sling Server (and was even synchronized and therefore obviously has the right facets), I can neither user Export nor Import because both wizards fail with the message {code} The selected project is not configured with/added to any Sling server {code} Please compare with the attached screenshot. Enabling the tracing does not reveal any other log statements related to that. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (SLING-3687) The selected project is not configured with/added to any Sling server during Sling Import or Export
[ https://issues.apache.org/jira/browse/SLING-3687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14040787#comment-14040787 ] ASF GitHub Bot commented on SLING-3687: --- GitHub user kwin opened a pull request: https://github.com/apache/sling/pull/20 SLING-3687, support multiple facets by evaluating all possible modules Support multiple facets by always evaluating all possible modules per project. You can merge this pull request into a Git repository by running: $ git pull https://github.com/kwin/sling SLING-3687-support-multiple-facets Alternatively you can review and apply these changes as the patch at: https://github.com/apache/sling/pull/20.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #20 commit f7b6434e0ef6d1b582bf1891a1746da6c3949333 Author: Konrad Windszus konrad.winds...@netcentric.biz Date: 2014-06-23T14:17:05Z SLING-3687, support multiple facets by evaluating all possible modules The selected project is not configured with/added to any Sling server during Sling Import or Export - Key: SLING-3687 URL: https://issues.apache.org/jira/browse/SLING-3687 Project: Sling Issue Type: Bug Components: IDE Affects Versions: Sling Eclipse IDE 1.0.0 Reporter: Konrad Windszus Fix For: Sling Eclipse IDE 1.0.2 Attachments: SLING-3687.png Although the module was already added to the Sling Server (and was even synchronized and therefore obviously has the right facets), I can neither user Export nor Import because both wizards fail with the message {code} The selected project is not configured with/added to any Sling server {code} Please compare with the attached screenshot. Enabling the tracing does not reveal any other log statements related to that. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (SLING-3687) The selected project is not configured with/added to any Sling server during Sling Import or Export
[ https://issues.apache.org/jira/browse/SLING-3687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14040807#comment-14040807 ] ASF GitHub Bot commented on SLING-3687: --- Github user kwin closed the pull request at: https://github.com/apache/sling/pull/20 The selected project is not configured with/added to any Sling server during Sling Import or Export - Key: SLING-3687 URL: https://issues.apache.org/jira/browse/SLING-3687 Project: Sling Issue Type: Bug Components: IDE Affects Versions: Sling Eclipse IDE 1.0.0 Reporter: Konrad Windszus Assignee: Robert Munteanu Fix For: Sling Eclipse IDE 1.0.2 Attachments: SLING-3687.png Although the module was already added to the Sling Server (and was even synchronized and therefore obviously has the right facets), I can neither user Export nor Import because both wizards fail with the message {code} The selected project is not configured with/added to any Sling server {code} Please compare with the attached screenshot. Enabling the tracing does not reveal any other log statements related to that. -- This message was sent by Atlassian JIRA (v6.2#6252)