Hi Markus,

for the deploy folder, just remove etc/org.apache.felix.fileinstall-deploy.cfg file and the deploy folder: deploy will be disable. I also advise to not deploy the deployer bundles (as it's no more used).

For the distribution layout, starting for the framework kar, it's not really possible as the kar already have the layout. I will create Jira to improve that and allow the plugin to change the target locations.

The purpose of the current variables is more to be able to adapt to your machine/administrator constraint: put KARAF_ETC in /etc/karaf, put KARAF_BASE in /var/karaf and KARAF_HOME in /home/karaf for instance (by moving the directories).

Regards
JB

On 09/18/2015 07:44 PM, Markus Rathgeb wrote:
Hello,
I would like to change the directory layout of my custom distribution.

Changing "etc/org.apache.felix.fileinstall-deploy.cfg" I could set
another felix.fileinstall.dir.
But how can I remove the "deploy" directory?

Using bin/setsenv[.bat] I can change KARAF_BASE, KARAF_HOME and KARAF_ETC.
But how can I change the assembly so e.g. etc is changed to something_etc,
the stuff for KARAF_HOME is packed to something_home and
the stuff for KARAF_BASE is packed to something_base.

How can I change the directory name in the created archives (.tar.gz
and zip) or instruct the plugin to not create a sub directory at all?

Thanks in advance,
Markus


--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to