[izpack-users] excludes="..." does not work

Hans-Georg Michna hans-georg at michna.com
Tue Oct 10 10:38:13 CEST 2006


On Mon, 09 Oct 2006 15:29:49 +0200, Hans-Georg Michna wrote:

>As far as I can tell, the excludes="..." attribute does not
>work, and neither does the <exclude name="..."/> tag. Example:
>
><fileset dir="../../runtime" excludes="configuration"
>targetdir="$INSTALL_PATH"/>
>
>Can anybody confirm or deny this? The element I'm trying to
>exclude is a folder, and I'm trying to install on a Windows XP
>computer.
>
>I also tried excludes="../../runtime/configuration" and
>excludes="**/configuration". Nothing works for me.

Found a workaround, or maybe I hadn't understood how it works. I
now write excludes="configuration configuration/**/*", i.e. I
exclude the folder and then explicitly all its possible content.

Strikes me as nonsense, because, if I exclude a folder, then
it's pretty obvious that its content must be excluded as well.
But anyway, the workaround works.

If that's how it should be, then at least a remark belongs into
the documentation that excluding a folder doesn't automatically
exclude its content, because that's certainly not obvious to a
normal user.

I think it would be better if IzPack were intelligent enough to
know that excluding a folder also means to exclude its contents,
so maybe this could be taken as a wish for improvement.

Hans-Georg

-- 
No mail, please.




More information about the izpack-users mailing list