You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Federico Paparoni (JIRA)" <ji...@apache.org> on 2010/07/16 11:44:52 UTC
[jira] Created: (SLING-1602) Different bundles in David Mini CMS
Different bundles in David Mini CMS
-----------------------------------
Key: SLING-1602
URL: https://issues.apache.org/jira/browse/SLING-1602
Project: Sling
Issue Type: Improvement
Reporter: Federico Paparoni
There should be different bundles for David Mini CMS.
For example a bundle for Sling-related scripts/classes, another for CKEditor and another for the UI.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (SLING-1602) Different bundles in David Mini CMS
Posted by "Federico Paparoni (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-1602?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Federico Paparoni closed SLING-1602.
------------------------------------
> Different bundles in David Mini CMS
> -----------------------------------
>
> Key: SLING-1602
> URL: https://issues.apache.org/jira/browse/SLING-1602
> Project: Sling
> Issue Type: Improvement
> Reporter: Federico Paparoni
> Assignee: Federico Paparoni
>
> There should be different bundles for David Mini CMS.
> For example a bundle for Sling-related scripts/classes, another for CKEditor and another for the UI.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (SLING-1602) Different bundles in David Mini CMS
Posted by "Federico Paparoni (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-1602?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12893966#action_12893966 ]
Federico Paparoni commented on SLING-1602:
------------------------------------------
The poms are these:
http://code.google.com/p/davidgsoc2010/source/browse/trunk/core/pom.xml
http://code.google.com/p/davidgsoc2010/source/browse/trunk/libraries/pom.xml
If you build one than the other, the first will be removed from the repository so I think that there is something wrong in the deployment.
> Different bundles in David Mini CMS
> -----------------------------------
>
> Key: SLING-1602
> URL: https://issues.apache.org/jira/browse/SLING-1602
> Project: Sling
> Issue Type: Improvement
> Reporter: Federico Paparoni
> Assignee: Federico Paparoni
>
> There should be different bundles for David Mini CMS.
> For example a bundle for Sling-related scripts/classes, another for CKEditor and another for the UI.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (SLING-1602) Different bundles in David Mini CMS
Posted by "Federico Paparoni (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-1602?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12889111#action_12889111 ]
Federico Paparoni commented on SLING-1602:
------------------------------------------
Yes, I understand it. I have only doubts about the way to plug other UI to David.
Probably I have to focus on the layout of the cms, but I think that it could be an expensive task.
> Different bundles in David Mini CMS
> -----------------------------------
>
> Key: SLING-1602
> URL: https://issues.apache.org/jira/browse/SLING-1602
> Project: Sling
> Issue Type: Improvement
> Reporter: Federico Paparoni
>
> There should be different bundles for David Mini CMS.
> For example a bundle for Sling-related scripts/classes, another for CKEditor and another for the UI.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (SLING-1602) Different bundles in David Mini CMS
Posted by "Federico Paparoni (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-1602?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Federico Paparoni reassigned SLING-1602:
----------------------------------------
Assignee: Federico Paparoni
> Different bundles in David Mini CMS
> -----------------------------------
>
> Key: SLING-1602
> URL: https://issues.apache.org/jira/browse/SLING-1602
> Project: Sling
> Issue Type: Improvement
> Reporter: Federico Paparoni
> Assignee: Federico Paparoni
>
> There should be different bundles for David Mini CMS.
> For example a bundle for Sling-related scripts/classes, another for CKEditor and another for the UI.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (SLING-1602) Different bundles in David Mini CMS
Posted by "Bertrand Delacretaz (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-1602?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12893949#action_12893949 ]
Bertrand Delacretaz commented on SLING-1602:
--------------------------------------------
Which poms, URLs?
What's the scenario that allows us to reproduce the problem?
> Different bundles in David Mini CMS
> -----------------------------------
>
> Key: SLING-1602
> URL: https://issues.apache.org/jira/browse/SLING-1602
> Project: Sling
> Issue Type: Improvement
> Reporter: Federico Paparoni
> Assignee: Federico Paparoni
>
> There should be different bundles for David Mini CMS.
> For example a bundle for Sling-related scripts/classes, another for CKEditor and another for the UI.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (SLING-1602) Different bundles in David Mini CMS
Posted by "Federico Paparoni (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-1602?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Federico Paparoni resolved SLING-1602.
--------------------------------------
Resolution: Fixed
If I create the bundle using not /apps but a different folder (i.e. /libraries) there isn't any problems.
I think it's a Sling bug.
Anyway two bundles now work.
> Different bundles in David Mini CMS
> -----------------------------------
>
> Key: SLING-1602
> URL: https://issues.apache.org/jira/browse/SLING-1602
> Project: Sling
> Issue Type: Improvement
> Reporter: Federico Paparoni
> Assignee: Federico Paparoni
>
> There should be different bundles for David Mini CMS.
> For example a bundle for Sling-related scripts/classes, another for CKEditor and another for the UI.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (SLING-1602) Different bundles in David Mini CMS
Posted by "Bertrand Delacretaz (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-1602?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12894533#action_12894533 ]
Bertrand Delacretaz commented on SLING-1602:
--------------------------------------------
As a workaround, setting overwrite:=false in the Sling-Initial-Content settings of each pom avoids
overwriting each other bundle's content.
I'm not sure why the apps/david content is overwritten when installing the libraries bundle with this option set to true - might be a bug in the content loading, I'd need to debug more to find out.
For now, I suggest going with overwrite:=false and leaving this issue open.
> Different bundles in David Mini CMS
> -----------------------------------
>
> Key: SLING-1602
> URL: https://issues.apache.org/jira/browse/SLING-1602
> Project: Sling
> Issue Type: Improvement
> Reporter: Federico Paparoni
> Assignee: Federico Paparoni
>
> There should be different bundles for David Mini CMS.
> For example a bundle for Sling-related scripts/classes, another for CKEditor and another for the UI.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (SLING-1602) Different bundles in David Mini CMS
Posted by "Bertrand Delacretaz (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-1602?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12889119#action_12889119 ]
Bertrand Delacretaz commented on SLING-1602:
--------------------------------------------
We discussed plugging in a different rich text editor, but I don't think that's in the scope of this issue.
At this point I would just take the ckeditor (and other infrastructure code if there's any) out of the current bundle, nothing more. Making the editor pluggable is a different problem.
> Different bundles in David Mini CMS
> -----------------------------------
>
> Key: SLING-1602
> URL: https://issues.apache.org/jira/browse/SLING-1602
> Project: Sling
> Issue Type: Improvement
> Reporter: Federico Paparoni
>
> There should be different bundles for David Mini CMS.
> For example a bundle for Sling-related scripts/classes, another for CKEditor and another for the UI.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (SLING-1602) Different bundles in David Mini CMS
Posted by "Bertrand Delacretaz (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-1602?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12889105#action_12889105 ]
Bertrand Delacretaz commented on SLING-1602:
--------------------------------------------
> ...a bundle for Sling-related scripts/classes...
Yes, I think it's important to have a bundle that only contains your application code.
This is the bundle that will need to be fully documented and that people will study - the other bundles are just infrastructure.
> Different bundles in David Mini CMS
> -----------------------------------
>
> Key: SLING-1602
> URL: https://issues.apache.org/jira/browse/SLING-1602
> Project: Sling
> Issue Type: Improvement
> Reporter: Federico Paparoni
>
> There should be different bundles for David Mini CMS.
> For example a bundle for Sling-related scripts/classes, another for CKEditor and another for the UI.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (SLING-1602) Different bundles in David Mini CMS
Posted by "Federico Paparoni (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-1602?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12893733#action_12893733 ]
Federico Paparoni commented on SLING-1602:
------------------------------------------
I created two different bundles, but when I try to deploy one, the other is undeployed...anything wrong in the pom.xml of these bundles?
> Different bundles in David Mini CMS
> -----------------------------------
>
> Key: SLING-1602
> URL: https://issues.apache.org/jira/browse/SLING-1602
> Project: Sling
> Issue Type: Improvement
> Reporter: Federico Paparoni
> Assignee: Federico Paparoni
>
> There should be different bundles for David Mini CMS.
> For example a bundle for Sling-related scripts/classes, another for CKEditor and another for the UI.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (SLING-1602) Different bundles in David Mini CMS
Posted by "Bertrand Delacretaz (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-1602?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12893969#action_12893969 ]
Bertrand Delacretaz commented on SLING-1602:
--------------------------------------------
Can you clarify the exact scenario, what mvn commands do you use and what you mean by "removed from the repository". What do you expect, and what do you see.
> Different bundles in David Mini CMS
> -----------------------------------
>
> Key: SLING-1602
> URL: https://issues.apache.org/jira/browse/SLING-1602
> Project: Sling
> Issue Type: Improvement
> Reporter: Federico Paparoni
> Assignee: Federico Paparoni
>
> There should be different bundles for David Mini CMS.
> For example a bundle for Sling-related scripts/classes, another for CKEditor and another for the UI.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (SLING-1602) Different bundles in David Mini CMS
Posted by "Federico Paparoni (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-1602?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12893972#action_12893972 ]
Federico Paparoni commented on SLING-1602:
------------------------------------------
I simply launch
mvn -P autoInstallBundle clean install -Dsling.url=http://localhost:8080/system/console
I expect to have two different folder under /apps folder, david and david-libraries.
But when I deploy the second bundle (no matter the order) the first is removed.
Firstly I thought that the problem was the two bundles share the same folder, so I defined two different folder for the scripts. But the problem wasn't this.
> Different bundles in David Mini CMS
> -----------------------------------
>
> Key: SLING-1602
> URL: https://issues.apache.org/jira/browse/SLING-1602
> Project: Sling
> Issue Type: Improvement
> Reporter: Federico Paparoni
> Assignee: Federico Paparoni
>
> There should be different bundles for David Mini CMS.
> For example a bundle for Sling-related scripts/classes, another for CKEditor and another for the UI.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.