[izpack-devel] How can I get the installer's variables in my ownclass in the executeclass

Bartz, Klaus Klaus.Bartz at coi.de
Mon Jan 7 16:13:35 CET 2008


Hi  Lionel,

long time ago I have had also such a problem. Since them, a getInstance
method for the install data exist.

Vars you can access like

String javaPath =
AutomatedInstallData.getInstance().getVariable("MyVar");

Cheers

Klaus

	-----Original Message-----
	From: izpack-devel-bounces at lists.berlios.de
[mailto:izpack-devel-bounces at lists.berlios.de] On Behalf Of RAMOS lionel
	Sent: Monday, January 07, 2008 3:30 PM
	To: izpack-devel at lists.berlios.de
	Subject: [izpack-devel] How can I get the installer's variables
in my ownclass in the executeclass
	
	
	Hi guys,
	 
	I'm starting developping my own class who'll be called in
ProcessPanel with the <executeclass> tag.
	But I've no idea how can I have all the installer's variables in
my class ... 
	I've seen in the other panel that you give installData in
parameter but when you call with executeclass.
	The executeclass call a method run(AbstractUIProcessHandler
handler, String[] args) so I don't have the installData.
	 
	Any idea?
	 
	Thx in advance,
	 
	Regards
	 
	P.S. : Sorry for my bad english...
	 

	-- 
	Lionel 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.berlios.de/pipermail/izpack-devel/attachments/20080107/a8474b26/attachment.html 


More information about the izpack-devel mailing list