Skip to content

I miss the fileset/@dir attribute #8

Description

@DavidPerezIngeniero

I need to specify a base directory for reading resources.

e.g.:
From directory /home/d/project/a/b, I need to copy the folder "c" to $INSTALL_PATH/d/, except the c/e.
In IzPack XML it's very easy to do so:

<fileset dir='/home/d/project/a/b' includes='c' targetdir='$INSTALL_PATH/d/'>
   <include name='c/**'/>
   <exclude name="e"/>
</fileset>

A need a base directory for referencing nested excludes and includes.
The provided syntax can be clumsy, when you have to specify a lot of includes and excludes.

fileset:
   includes: /home/d/project/a/b/**
   excludes:  /home/d/project/a/b/e/**

instead of:

fileset:
   dir:  /home/d/project/a
   includes: b/**
   excludes:  e/**

How can I do it with sbt-izpack?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions