[izpack-devel] Distrubuted install.xml files ...

Khadeer, Syed Khadeer.Syed at siemens.com
Sat Feb 17 11:18:57 CET 2007


Hello,

Please find below the documentation for the "Distributed install.xml
file" feature.
I have also attached the source patch for completeness.
 <<diff-CompilerConfig.txt>> 
Kindly let me know if you require any further details.

<refpack> - adding externally defined <pack>
The <refpack> tag allows a <packs> definition to be specified outside of
install.xml in separate XML files and refer to such <packs> definitions
in install.xml.
It takes only one parameter:
*	file : Location of the external XML file containing <packs>
definition

A <packs> tag can be defined with all its features in the external XML
file.  Refer "The Packs Element <packs>" for more information on <packs>
definition.
The external XML file must contain the standard IzPack XML header
followed by <packs> definition.
Example external file with a <packs> definition is as shown below.

	<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
	<installation version="1.0">
	<packs>
		<pack name="myExternalPack1" required="yes">
			<description>My first external
pack</description>
			<singlefile src="xxxxx" targer="yyyyy"
override="yes"/>
			....
			....
		</pack>
		...
		...
		...
	</packs>

In your install.xml file you need to add the following line in one of
your <packs> definition:
	<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
	<installation version="1.0">
	....
	....
	<packs>
		<pack name="myLocalPack1" required="yes">
			<description>My local pack</description>
			<singlefile src="xxxxx" targer="yyyyy"
override="yes"/>
			....
			....
		</pack>
		<refpack file="PathToExternalPackXMLFile" />
		...
		...
		...
	</packs>

This feature is very useful if you do not want to describe all your
installation in one single install.xml file.
If the project is huge and involves many developers, then it makes sense
to distribute the responsibility of describing component's installation
to the concerned developer.
For example: 
	In a project there are 10 components and 10 developers are
working on them.
	Instruct the component developers to describe installation of
their component in its own external XML file.
	Installation responsible can now write the central install.xml
file, add 10 <refpack> tags (one per component) in the install.xml.


Thank you.

Best Regards,

Syed Khadeer Ahmed
_____________________________________________________________
 	
SIEMENS		Siemens Public Communication Networks Ltd
 			Division: Siemens Communication Software
 			26-27, 10th Floor, Raheja Towers, MG Road,
 			Bangalore - 560 001. INDIA
 	
 			Phone:	+91 80 2559 4067 Extn: 2601
 			Fax: 	+91 80 2559 5538
			Res:	+91 80 2363 8478
Syed Khadeer Ahmed	<mailto:Khadeer.Syed at Siemens.com>
_____________________________________________________________


-----Original Message-----
From: izpack-devel-bounces at lists.berlios.de
[mailto:izpack-devel-bounces at lists.berlios.de] On Behalf Of Tino
Schwarze
Sent: Monday, January 29, 2007 4:01 PM
To: izpack-devel at lists.berlios.de
Subject: Re: [izpack-devel] Distrubuted install.xml files ...

Hi Syed,

On Mon, Jan 29, 2007 at 03:50:29PM +0530, Khadeer, Syed wrote:

> Please find attached a patch against version 3.10 to realize the 
> extension requested by me below.

Thank you for your patch. It looks good to me. If you also submit a
patch for the documentation, I'll gladly apply both to the 3.10 branch.

Best regards,

Tino.

--
www.quantenfeuerwerk.de
www.spiritualdesign-chemnitz.de
www.lebensraum11.de

Tino Schwarze * Wittenberger Str. 10 * 09126 Chemnitz
_______________________________________________
izpack-devel mailing list
izpack-devel at lists.berlios.de
https://lists.berlios.de/mailman/listinfo/izpack-devel


The new company Nokia Siemens Networks is expected to start operations in the first quarter of 2007, subject to customary regulatory approvals, the completion of standard closing conditions, and the agreement of a number of detailed implementation steps.

Disclaimer:
This e-mail may contain trade secrets or privileged, undisclosed or otherwise confidential information. If you have received this e-mail in error, you are hereby notified that any review, copying or distribution of it is strictly prohibited. Please inform us immediately and destroy the original transmittal. Thank you for your cooperation.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.berlios.de/pipermail/izpack-devel/attachments/20070217/217d31ec/attachment.html 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diff-CompilerConfig.txt
Url: https://lists.berlios.de/pipermail/izpack-devel/attachments/20070217/217d31ec/attachment.txt 


More information about the izpack-devel mailing list