You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2010/07/08 10:35:50 UTC

[jira] Created: (KARAF-106) Provide a more minimal / static disitrbution of karaf

Provide a more minimal / static disitrbution of karaf
-----------------------------------------------------

                 Key: KARAF-106
                 URL: https://issues.apache.org/jira/browse/KARAF-106
             Project: Karaf
          Issue Type: Improvement
            Reporter: Guillaume Nodet


Servers that are mostly static (thinking about activemq, directory, james, etc...) usually don't require the deploy folder, the admin stuff and all.
I think we should provide a slightly more lightweight distribution without the added bits.  For example, ssh could be added through a feature, but not included by default, etc...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (KARAF-106) Provide a more minimal / static disitrbution of karaf

Posted by "Ioannis Canellos (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-106?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ioannis Canellos updated KARAF-106:
-----------------------------------

    Attachment: assembly-patch.txt

This supplement does the following:

a) Removes demos folder from minimal distributions
b) Removes manuals from minimal distributions (by excluding *.pdf & *.html from target/dependencies fileset).
c) Literal minimal appeared twice inside the minimal distribution artifacts. 

> Provide a more minimal / static disitrbution of karaf
> -----------------------------------------------------
>
>                 Key: KARAF-106
>                 URL: https://issues.apache.org/jira/browse/KARAF-106
>             Project: Karaf
>          Issue Type: Improvement
>            Reporter: Guillaume Nodet
>         Attachments: assembly-patch.txt, karaf-assembly-patch.txt, patchfile.txt
>
>
> Servers that are mostly static (thinking about activemq, directory, james, etc...) usually don't require the deploy folder, the admin stuff and all.
> I think we should provide a slightly more lightweight distribution without the added bits.  For example, ssh could be added through a feature, but not included by default, etc...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (KARAF-106) Provide a more minimal / static disitrbution of karaf

Posted by "Ioannis Canellos (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-106?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12909754#action_12909754 ] 

Ioannis Canellos commented on KARAF-106:
----------------------------------------

Supplemental patch committed. 
I'm leaving this issue open for further discussion.

> Provide a more minimal / static disitrbution of karaf
> -----------------------------------------------------
>
>                 Key: KARAF-106
>                 URL: https://issues.apache.org/jira/browse/KARAF-106
>             Project: Karaf
>          Issue Type: Improvement
>            Reporter: Guillaume Nodet
>         Attachments: assembly-patch.txt, karaf-assembly-patch.txt, patchfile.txt
>
>
> Servers that are mostly static (thinking about activemq, directory, james, etc...) usually don't require the deploy folder, the admin stuff and all.
> I think we should provide a slightly more lightweight distribution without the added bits.  For example, ssh could be added through a feature, but not included by default, etc...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (KARAF-106) Provide a more minimal / static disitrbution of karaf

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-106?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12899686#action_12899686 ] 

Guillaume Nodet commented on KARAF-106:
---------------------------------------

Committing to https://svn.apache.org/repos/asf/karaf/trunk ...
	C	assembly/src/main/descriptors/unix-bin.xml => assembly/src/main/descriptors/unix-minimal-bin.xml
	C	assembly/src/main/descriptors/windows-bin.xml => assembly/src/main/descriptors/windows-minimal-bin.xml
	C	assembly/src/main/filtered-resources/etc/startup.properties => assembly/src/main/filtered-resources/minimal/startup.properties
	M	assembly/pom.xml
	M	assembly/src/main/descriptors/unix-bin.xml
	M	assembly/src/main/descriptors/windows-bin.xml
	M	assembly/src/main/filtered-resources/etc/startup.properties
	M	assembly/src/main/filtered-resources/features.xml
	A	assembly/src/main/filtered-resources/minimal/org.apache.karaf.features.cfg
	M	pom.xml
	M	shell/config/pom.xml
Committed r986546


Patch commited. To reduce size further, we may want to remove equinox / karaf manual and some other bits.
Discussion opened.

> Provide a more minimal / static disitrbution of karaf
> -----------------------------------------------------
>
>                 Key: KARAF-106
>                 URL: https://issues.apache.org/jira/browse/KARAF-106
>             Project: Karaf
>          Issue Type: Improvement
>            Reporter: Guillaume Nodet
>         Attachments: karaf-assembly-patch.txt, patchfile.txt
>
>
> Servers that are mostly static (thinking about activemq, directory, james, etc...) usually don't require the deploy folder, the admin stuff and all.
> I think we should provide a slightly more lightweight distribution without the added bits.  For example, ssh could be added through a feature, but not included by default, etc...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (KARAF-106) Provide a more minimal / static disitrbution of karaf

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-106?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guillaume Nodet updated KARAF-106:
----------------------------------

    Fix Version/s: 2.1.0

> Provide a more minimal / static disitrbution of karaf
> -----------------------------------------------------
>
>                 Key: KARAF-106
>                 URL: https://issues.apache.org/jira/browse/KARAF-106
>             Project: Karaf
>          Issue Type: Improvement
>            Reporter: Guillaume Nodet
>            Assignee: Ioannis Canellos
>             Fix For: 2.1.0
>
>         Attachments: assembly-patch.txt, karaf-assembly-patch.txt, patchfile.txt
>
>
> Servers that are mostly static (thinking about activemq, directory, james, etc...) usually don't require the deploy folder, the admin stuff and all.
> I think we should provide a slightly more lightweight distribution without the added bits.  For example, ssh could be added through a feature, but not included by default, etc...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (KARAF-106) Provide a more minimal / static disitrbution of karaf

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-106?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guillaume Nodet resolved KARAF-106.
-----------------------------------

    Resolution: Fixed

> Provide a more minimal / static disitrbution of karaf
> -----------------------------------------------------
>
>                 Key: KARAF-106
>                 URL: https://issues.apache.org/jira/browse/KARAF-106
>             Project: Karaf
>          Issue Type: Improvement
>            Reporter: Guillaume Nodet
>            Assignee: Ioannis Canellos
>             Fix For: 2.1.0
>
>         Attachments: assembly-patch.txt, karaf-assembly-patch.txt, patchfile.txt
>
>
> Servers that are mostly static (thinking about activemq, directory, james, etc...) usually don't require the deploy folder, the admin stuff and all.
> I think we should provide a slightly more lightweight distribution without the added bits.  For example, ssh could be added through a feature, but not included by default, etc...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (KARAF-106) Provide a more minimal / static disitrbution of karaf

Posted by "Ioannis Canellos (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-106?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ioannis Canellos updated KARAF-106:
-----------------------------------

    Attachment: karaf-assembly-patch.txt

The issue I mentioned above has been dealt, by keeping the etc folder under filtered resources and adding a new folder that contains minimal distro specific files.


> Provide a more minimal / static disitrbution of karaf
> -----------------------------------------------------
>
>                 Key: KARAF-106
>                 URL: https://issues.apache.org/jira/browse/KARAF-106
>             Project: Karaf
>          Issue Type: Improvement
>            Reporter: Guillaume Nodet
>         Attachments: karaf-assembly-patch.txt, patchfile.txt
>
>
> Servers that are mostly static (thinking about activemq, directory, james, etc...) usually don't require the deploy folder, the admin stuff and all.
> I think we should provide a slightly more lightweight distribution without the added bits.  For example, ssh could be added through a feature, but not included by default, etc...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (KARAF-106) Provide a more minimal / static disitrbution of karaf

Posted by "Ioannis Canellos (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-106?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ioannis Canellos updated KARAF-106:
-----------------------------------

    Attachment: patchfile.txt

I am attaching a patch for this issue that provides 2 new distributions unix-minimal & windows-minimal.

Currently the minimal distributions exclude (SSH, Administrator & Deployer bundles from /system & startup). 
The changes this patch makes are:

1) Added 2 assembly executions (unix-minimal-bin & windows-minimal-bin).
2) For these executions added 2 new descriptors that exclude SSH, Administration & Deployer bundles under the /system repository & startup.properties.
3) Added 2 new features for Administration & Deployer bundles (SSH prexisted) for all distributions.  
4) Removed  SSH, Administration & Deployer from startup.properties (affects only minimal distributions)
5) Removed SSH from featuresBoot (affects only minimal distributions)
6) Under filtered resources folder folder etc split to etc, etc-normal & etc-minimal so that normal & minimal distributions can have different startup.properties & 

If you would like to exclude additional bundles, let me know.

> Provide a more minimal / static disitrbution of karaf
> -----------------------------------------------------
>
>                 Key: KARAF-106
>                 URL: https://issues.apache.org/jira/browse/KARAF-106
>             Project: Karaf
>          Issue Type: Improvement
>            Reporter: Guillaume Nodet
>         Attachments: patchfile.txt
>
>
> Servers that are mostly static (thinking about activemq, directory, james, etc...) usually don't require the deploy folder, the admin stuff and all.
> I think we should provide a slightly more lightweight distribution without the added bits.  For example, ssh could be added through a feature, but not included by default, etc...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (KARAF-106) Provide a more minimal / static disitrbution of karaf

Posted by "Ioannis Canellos (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-106?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12891545#action_12891545 ] 

Ioannis Canellos commented on KARAF-106:
----------------------------------------

As noted in bullet 6. The folder etc is split in two new folders: etc-normal and etc-minimal.

This will eventually break some unit tests, that copy resources from the assembly folder (e.g AdminServiceImplTest in the Admin Core module). 

That can be easily fixed, however I would need some feedback, on how acceptable is splitting etc folder and if the split is acceptable, then which of the 2 etc folders should be used for unit testing.



> Provide a more minimal / static disitrbution of karaf
> -----------------------------------------------------
>
>                 Key: KARAF-106
>                 URL: https://issues.apache.org/jira/browse/KARAF-106
>             Project: Karaf
>          Issue Type: Improvement
>            Reporter: Guillaume Nodet
>         Attachments: patchfile.txt
>
>
> Servers that are mostly static (thinking about activemq, directory, james, etc...) usually don't require the deploy folder, the admin stuff and all.
> I think we should provide a slightly more lightweight distribution without the added bits.  For example, ssh could be added through a feature, but not included by default, etc...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (KARAF-106) Provide a more minimal / static disitrbution of karaf

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-106?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guillaume Nodet reassigned KARAF-106:
-------------------------------------

    Assignee: Ioannis Canellos

> Provide a more minimal / static disitrbution of karaf
> -----------------------------------------------------
>
>                 Key: KARAF-106
>                 URL: https://issues.apache.org/jira/browse/KARAF-106
>             Project: Karaf
>          Issue Type: Improvement
>            Reporter: Guillaume Nodet
>            Assignee: Ioannis Canellos
>             Fix For: 2.1.0
>
>         Attachments: assembly-patch.txt, karaf-assembly-patch.txt, patchfile.txt
>
>
> Servers that are mostly static (thinking about activemq, directory, james, etc...) usually don't require the deploy folder, the admin stuff and all.
> I think we should provide a slightly more lightweight distribution without the added bits.  For example, ssh could be added through a feature, but not included by default, etc...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.