[izpack-users] Can't execute scripts sequentially
Bartz, Klaus
Klaus.Bartz at coi.de
Mon May 29 12:21:02 CEST 2006
Hi Keith,
the sequence will be:
For each package which should be installed
unpack all files with the declared path
parse all files which are declared for it
execute all files which are declared for it
Most panels (like the ProcessPanel) are singletons;
you can only use once.
That's what you have seen, but not needed.
I have had an equal problem and solved it with the
AntActionInstallerListener. There you can declare multiple
tasks which has dependencies. The basic features
like jar, unjar or replace are present.
There are some lines in the docu for it.
Cheers
Klaus
>-----Original Message-----
>From: izpack-users-admin at berlios.de
>[mailto:izpack-users-admin at berlios.de]On Behalf Of Roberts, Keith (EDS)
>Sent: Thursday, May 25, 2006 7:22 PM
>To: izpack-users at lists.berlios.de
>Subject: [izpack-users] Can't execute scripts sequentially
>
>
>
>I'm trying to implement an installation that performs user input
>substitution to a file contained in an ear file.
>
>I assumed that the executable and parsable entries are executed in the
>sequence that they are defined in the pack tag; but that
>doesn't seem to
>be the case.
>
>In order for this to work, the executable must run to extract the
>contents of the ear and ejb jar files. This works fine. The parsable
>must execute after the completion of the executable so that the
>variables in the ejb descriptor can be substituted by user input. Then
>the final executable should run to repackage the ear file.
>
>This approach doesn't work because the parsable runs before the first
>executable completes.
>I tried using the ProcessPanel to perform the jar extraction; but that
>doesn't work either. I placed it before and after the pack panel.
>
>How should this problem be solved?
>
>Thanks in advance
>Keith...
>
>_______________________________________________
>izpack-users mailing list
>izpack-users at lists.berlios.de
>http://lists.berlios.de/mailman/listinfo/izpack-users
>
More information about the izpack-users
mailing list