[izpack-users] Configuration file after installing.

dinh thi thu thao thuthao_d at yahoo.com
Tue Oct 3 04:04:48 CEST 2006


Thanks so much for your support.

Have nice day :D
Thach Thao.

----- Original Message ----
From: Dennis Reil <Dennis.Reil at reddot.de>
To: izpack-users at lists.berlios.de
Sent: Monday, October 2, 2006 9:07:15 PM
Subject: Re: [izpack-users] Configuration file after installing.

For example:

in install.xml:

<pack name="Tomcat" required="no" id="pack.appserver.tomcat">
      <description>Tomcat 5 Servlet/JSP container</description>
      <fileset dir="sources/tomcat"
targetdir="${INSTALL_PATH}/${TOMCAT_HOME}">
        <include name="**/*"/>
      </fileset>

      <parsable
targetfile="${INSTALL_PATH}/${TOMCAT_HOME}/conf/server.xml"
type="xml" />
</pack>


Then you can use every variable defined in the installer in server.xml.
E.g. the Install_PATH:

in server.xml:
${INSTALL_PATH}


Parsables will be parsed after installation and variables will be
replaced.


Am Montag, den 02.10.2006, 00:34 -0700 schrieb dinh thi thu thao:
> Thanks Dennis,
> 
> Can you give me an example about this task.
> 
> Thanks so much.
> 
> Thach Thao.
> 
> ----- Original Message ----
> From: Dennis Reil <Dennis.Reil at reddot.de>
> To: izpack-users at lists.berlios.de
> Sent: Monday, October 2, 2006 1:26:28 PM
> Subject: Re: [izpack-users] Configuration file after installing.
> 
> Hi,
> 
> rtfm ;-)
> 
> You just have to specify parsable files for that and use the variables
> you specified in your installer, e.g. in the userinputpanels.
> 
> > I'm a new comer with Izpack, sorry if my question is so easy.
> > 
> > I need to configure some information for my application after
> installing by
> > using infor from user input(such as java home, tomcat home, URL
> port, ..ect.).
> > There configurations stored in a file.
> > 
> > How i can do it during installing using izpack? Are there any tasks
> for
> > file-operation used in izpack?
> > 
> > Thanks all for your support.
> 
> Regard,
>    Dennis
> _______________________________________________
> izpack-users mailing list
> izpack-users at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/izpack-users
> 
> 
> 
> 
> _______________________________________________
> izpack-users mailing list
> izpack-users at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/izpack-users

Regards


        Dennis
_______________________________________________
izpack-users mailing list
izpack-users at lists.berlios.de
https://lists.berlios.de/mailman/listinfo/izpack-users






-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.berlios.de/pipermail/izpack-users/attachments/20061002/37836886/attachment.html 


More information about the izpack-users mailing list