[izpack-users] Overriding built-in variables

Bartz, Klaus Klaus.Bartz at coi.de
Mon Jun 25 13:24:34 CEST 2007


Hi Vasil,
sorry, but I am the one which never used the UserInputPanel...
 
Cheers
 
Klaus
 

	-----Original Message-----
	From: izpack-users-bounces at lists.berlios.de
[mailto:izpack-users-bounces at lists.berlios.de] On Behalf Of Vasil Benov
	Sent: Monday, June 25, 2007 11:31 AM
	To: izpack-users at lists.berlios.de
	Subject: Re: [izpack-users] Overriding built-in variables
	
	
	Hi Klaus,
	
	You seem to be quite knowledgeable so I would like to ask you
one more thing. I have defined a user input panel and I have a search
field, defined the following way: 
	
	       <field type="search" variable="webapp_directory"> 
	         <spec txt="Application server web applications
directory:" type="directory"
	               result="directory" id="input-webapp-dir">
	           <choice value="${ENV[CATALINA_HOME]}/webapps"/> 
	         </spec>
	       </field>
	
	IzPack does not pick the CATALINA_HOME environment.
	
	Regards, Vasil
	
	
	On 6/25/07, Bartz, Klaus <Klaus.Bartz at coi.de> wrote: 

		Hi Vasil,
		sorry, $INSTALL_PATH is a very special variable which
will be modified a secound time after loading variables (in opposite to
all others). Therefore changing via <variable> will not work. But if you
would use as root the default you can change the subpath with:
		<info>
		    ...
		    <appsubpath>My App/$APP_NAME $APP_VER</appsubpath>
		</info>
		 
		In opposite to the "normal" variable setting this
approach uses variable substitution.
		 
		Hope it will be work now
		 
		Klaus

		  

			-----Original Message-----
			From: izpack-users-bounces at lists.berlios.de
[mailto:izpack-users-bounces at lists.berlios.de] On Behalf Of Vasil Benov
			Sent: Monday, June 25, 2007 10:19 AM
			To: izpack-users at lists.berlios.de
			
			Subject: Re: [izpack-users] Overriding built-in
variables
			
			
			Forgot to mention that I am using IzPack 3.10.2 
			
			Regards, Vasil
			
			
			On 6/25/07, Bartz, Klaus <Klaus.Bartz at coi.de >
wrote: 

				Hi Vasil,
				you can change the contents of any
variable in a custom action or custom panel or with <variable> in the
installation description file (often named install.xml) because
variables are not write protected and built-in variables are resolved at
starting installation before resolving values given by <variable>.
				Build-in variables are created to get
special information about the current system. If you override this,
these information are away.
				 
				Cheers
				
				 
				Klaus
				

				-----Original Message-----
				From:
izpack-users-bounces at lists.berlios.de [mailto:
izpack-users-bounces at lists.berlios.de
<mailto:izpack-users-bounces at lists.berlios.de> ] On Behalf Of Vasil
Benov
				Sent: Monday, June 25, 2007 9:49 AM
				To: izpack-users at lists.berlios.de
				Subject: [izpack-users] Overriding
built-in variables
				
				
				Hi all,
				
				I want to ask if it is possible to
override a built-in variable (e.g. $INSTALL_PATH). I need to customize
my installation but I do not want to
				specify anoter variable for the install
path since it is referenced in many places in my configuration files. 
				
				Thannks in advance
				
				Regards, Vasil
				
				-- 
				Vasil Benov, 
				Mobile: +359(0)889/202682 
				@-mail: benovv at gmail dot com
				ICQ: 140269988
				
				GPG Fingerprint: 2CDC 5DA0 4C0A 7C06
5259  DE12 ACF3 177C 8906 0908 
				Public Key URL:
				    *)
http://random.sks.keyserver.penguin.de/ 


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




			-- 
			Vasil Benov, 
			Mobile: +359(0)889/202682 
			@-mail: benovv at gmail dot com
			ICQ: 140269988
			
			GPG Fingerprint: 2CDC 5DA0 4C0A 7C06 5259  DE12
ACF3 177C 8906 0908
			Public Key URL: 
			    *) http://random.sks.keyserver.penguin.de/ 


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




	-- 
	Vasil Benov, 
	Mobile: +359(0)889/202682 
	@-mail: benovv at gmail dot com
	ICQ: 140269988
	
	GPG Fingerprint: 2CDC 5DA0 4C0A 7C06 5259  DE12 ACF3 177C 8906
0908
	Public Key URL: 
	    *) http://random.sks.keyserver.penguin.de/ 

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


More information about the izpack-users mailing list