[izpack-users] PathSelectionPanel without using TargetPanel in 3.9 Show full header

Bartz, Klaus Klaus.Bartz at coi.de
Tue Oct 10 18:02:22 CEST 2006


Oops,
this is a bug, not a feature made by my changes related
to the layout.

Unfortunately I cannot checkin a bugfix in the moment.
If you can build IzPack you can simple add

<include name="com/izforge/izpack/panels/PathSelectionPanel.java" />
to target compile.installer ( ~ line 363) and
<include name="com/izforge/izpack/panels/PathSelectionPanel.class" />

to target build.installer ( ~ line 382) of build.xml in %IZ_HOME%\src

Else you have to wait until my local problems are resolved and I can
check in.

Cheers

Klaus


>-----Original Message-----
>From: izpack-users-bounces at lists.berlios.de
>[mailto:izpack-users-bounces at lists.berlios.de]On Behalf Of Lars Fischer
>Sent: Tuesday, October 10, 2006 5:23 PM
>To: izpack-users at lists.berlios.de
>Subject: [izpack-users] PathSelectionPanel without using TargetPanel in
>3.9 Show full header
>
>
>Hello,
>
>I want to create an installer which uses an not changable install-path.
>With Izpack 3.8 this setting has worked:
>
><panels>
>        <panel classname="HelloPanel"/>
>        <panel classname="InstallPanel"/>
>        <panel classname="ShortcutPanel"/>
>        <panel classname="SimpleFinishPanel"/>
></panels>
>
>After updating to 3.9 the created install.jar shows an exception, if I
>try to install my application:
>
>java.lang.reflect.InvocationTargetException
>        at 
>sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
>        Method)
>        at 
>sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown
>        Source)
>        at
>        
>sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
>        Source)
>        at java.lang.reflect.Constructor.newInstance(Unknown Source)
>        at
>        
>com.izforge.izpack.installer.InstallerFrame.loadPanels(Installe
>rFrame.java:243)
>        at
>        
>com.izforge.izpack.installer.InstallerFrame.<init>(InstallerFra
>me.java:198)
>        at
>        
>com.izforge.izpack.installer.GUIInstaller.loadGUI(GUIInstaller.
>java:427)
>        at
>        
>com.izforge.izpack.installer.GUIInstaller.access$100(GUIInstall
>er.java:79)
>        at
>        
>com.izforge.izpack.installer.GUIInstaller$2.run(GUIInstaller.java:148)
>        at java.awt.event.InvocationEvent.dispatch(Unknown Source)
>        at java.awt.EventQueue.dispatchEvent(Unknown Source)
>        at 
>java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown
>        Source)
>        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
>        Source)
>        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>        at java.awt.EventDispatchThread.run(Unknown Source)
>Caused by: java.lang.NoClassDefFoundError
>        at
>        
>com.izforge.izpack.gui.IzPanelLayout.class$(IzPanelLayout.java:175)
>        at
>        
>com.izforge.izpack.gui.IzPanelLayout.getIntermediarId(IzPanelLa
>yout.java:217)
>        at
>        
>com.izforge.izpack.gui.IzPanelLayout.addLayoutComponent(IzPanel
>Layout.java:1007)
>        at java.awt.Container.addImpl(Unknown Source)
>        at java.awt.Container.add(Unknown Source)
>        at
>        com.izforge.izpack.panels.HelloPanel.<init>(HelloPanel.java:88)
>        at
>        com.izforge.izpack.panels.HelloPanel.<init>(HelloPanel.java:58)
>        ... 16 more
>Caused by: java.lang.ClassNotFoundException:
>com.izforge.izpack.panels.PathSelectionPanel
>        at java.net.URLClassLoader$1.run(Unknown Source)
>        at java.security.AccessController.doPrivileged(Native Method)
>        at java.net.URLClassLoader.findClass(Unknown Source)
>        at java.lang.ClassLoader.loadClass(Unknown Source)
>        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
>        at java.lang.ClassLoader.loadClass(Unknown Source)
>        at java.lang.ClassLoader.loadClassInternal(Unknown Source)
>        at java.lang.Class.forName0(Native Method)
>        at java.lang.Class.forName(Unknown Source)
>        ... 23 more
>
>The missing PathSelectionPanel is in the package "TargetPanel" and not
>included in the install.jar, because I dont use the TargetPanel.
>
>Can I import the TargetPanel without showing it to the user or can I
>disable it in the installation-process?
>
>regards,
>Lars Fischer
>-- 
>ottrich at gmx.net
>
>_______________________________________________
>izpack-users mailing list
>izpack-users at lists.berlios.de
>https://lists.berlios.de/mailman/listinfo/izpack-users
>



More information about the izpack-users mailing list