AW: [izpack-users] WebApplication Installer
Klaus
klaus at vommond.de
Wed Mar 8 10:05:16 CET 2006
Ok, thanks,
but how do I call the scripts? As afr as I know I can only copy files, or am
I wrong?
_____
Von: izpack-users-admin at berlios.de [mailto:izpack-users-admin at berlios.de] Im
Auftrag von miraodb
Gesendet: Dienstag, 7. März 2006 23:17
An: izpack-users at berlios.de
Betreff: Re: [izpack-users] WebApplication Installer
Hi,
i'm not sure i understand what you mean by "call".
Do you want to run tomcat or do you assume tomcat is running and you would
have to deploy your app under this running tomcat ?
In any case, it's fairly easy. Tomcat have a bunch of scripts or batch files
depending your os which allows you to start, restart or stop the service.
What you would have to do would probably be to use a combination of
userinput and processpanel to achieve your goal.
Let's say you ask the user where tomcat home is located using a
userinputpanel. Put it into a variable called $tomcat_home, then you could
have a batch file doing as follows:
1. $tomcat_home/stop_tomcat.sh or bat
2. do your deployment, i don't remember exactly how that works
3. $tomcat_home/start_tomcat.sh or bat
Obviously, at installation time, when arriving at the stage of the
processpanel, the variable will be substituted with the user inputs.
Hope that helps,
fabrice
----- Original Message -----
From: Klaus <mailto:klaus at vommond.de>
To: izpack-users at lists.berlios.de
Sent: Tuesday, March 07, 2006 8:25 PM
Subject: [izpack-users] WebApplication Installer
Hi folks,
I need an installer for an web application. I would like to delploy the war
file via an manager application, like tomcat manager. How do I call such an
application from IzPack?
Thx,
Klaus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.berlios.de/pipermail/izpack-users/attachments/20060308/8f08aa7e/attachment.html
More information about the izpack-users
mailing list