[izpack-users] condition by Fileset tag
Dennis Reil
Dennis.Reil at reddot.de
Thu Dec 7 11:13:03 CET 2006
> Per Newgro and Klaus Bartz, thanks! your solutions work fine.
>
> And now I have a new problem. Hopefully can i get help soon from you guys.
>
> Is that possible to build a condition in fileset tag. Like I let user input something in a userpanel and if the input is empty this fileset should not be launched? something like
>
> if(${input.value} is not empty) then
> <fileset dir="bin" targetdir="${input.value}">
>
> is this idea possible?
I don't think, that this is possible at the moment easily, 'cause the fileset information will be lost after the compile-process.
One way to solve your problem, is to define a custom action with custom configuration, which checks your condition and skips files.
Regards,
Dennis
More information about the izpack-users
mailing list