[izpack-users] grouping Shortcuts happens multiple times

mika mika.works at gentlemansclub.de
Mon Sep 25 13:05:48 CEST 2006


Hello,

I found a way of getting the shortcuts created like intended.
It was a bit tricky in contrast to release 3.8.1, but hey, now it runs perfect.
Thanks again to all developers and helpers for this program!!!

Thanks,
mika

-------- Original-Nachricht --------
Datum: Mon, 25 Sep 2006 10:43:44 +0200
Von: mika.works at gentlemansclub.de
An: izpack-users at lists.berlios.de
Betreff: Re: [izpack-users] grouping Shortcuts happens multiple times

> I think I've found the solution of the problem!
> 
> It is nested in the ShortcutPanel.java at position of the method 'public
> void createShortcuts()'.
> There the groupname is extended every call of this method by:
> > groupName = groupName + data.subgroup;
> 
> In the release 3.8.1 is used a temporarly variable therefor.
> > tmpgn = groupName + data.subgroup;
> 
> If you could fix it, it would be fantastic :-)!
> 
> Thanks,
> mika
> 
> -------- Original-Nachricht --------
> Datum: Mon, 25 Sep 2006 10:22:06 +0200
> Von: "mika" <mika.works at gentlemansclub.de>
> An: izpack-users at lists.berlios.de
> Betreff: [izpack-users] grouping Shortcuts happens multiple times
> 
> > Hello and good morning,
> > 
> > I've some problems grouping shortcuts using IzPack v3.9!
> > As the shortcuts were created the following structure appears in the
> > startmenu:
> > 
> > start/programs/
> >  + Application/
> >    + Administration/
> >      + Administration/
> >        + Service Create
> >        + Administration/
> >          + Administration/
> >            + Service Remove
> >            + Administration/
> >              + Administration/
> >                + Start Some Service
> > 
> > the desired structure looks like:
> > start/programs/
> >  + Application/
> >    + Administration/
> >      + Service Create
> >      + Service Remove
> >      + Start Some Service
> >      
> > =============================== Source Code
> =============================
> >   <shortcut name="Service Create"
> > 		target="$INSTALL_PATH\server\service_create.bat"
> > 		workingDirectory="$INSTALL_PATH\server"
> > 		description=""
> > 		subgroup="/Administration"
> > 		iconFile="$INSTALL_PATH\server\service_on.ico"
> > 		initialState="normal"
> > 		programGroup="yes"
> > 		desktop="yes">
> >     <createForPack name="APS" />
> >   </shortcut>
> >   <shortcut name="Service Remove"
> > 		target="$INSTALL_PATH\server\service_remove.bat"
> > 		workingDirectory="$INSTALL_PATH\server"
> > 		description=""
> > 		subgroup="/Administration"
> > 		iconFile="$INSTALL_PATH\server\service_off.ico"
> > 		initialState="normal"
> > 		programGroup="yes"
> > 		desktop="yes">
> >     <createForPack name="APS" />
> >   </shortcut>
> >   <shortcut name="Start Some Service"
> > 		target="$INSTALL_PATH\server\start_service.bat"
> > 		workingDirectory="$INSTALL_PATH\server"
> > 		description=""
> > 		subgroup="/Administration"
> > 		iconFile="$INSTALL_PATH\server\start.ico"
> > 		initialState="normal"
> > 		programGroup="yes"
> > 		desktop="yes">
> >     <createForPack name="APS" />
> >   </shortcut>
> > ========================== End Of Source Code
> ===========================
> > 
> > What is the reason for this curious structure?
> > 
> > Thanks,
> > mika
> > -- 
> > NEU: GMX DSL Sofort-Start-Set - blitzschnell ins Internet!
> > Echte DSL-Flatrate ab 0,- Euro* http://www.gmx.net/de/go/dsl
> > _______________________________________________
> > izpack-users mailing list
> > izpack-users at lists.berlios.de
> > https://lists.berlios.de/mailman/listinfo/izpack-users
> 
> -- 
> stay cool !
> 
> mikaNEU: GMX DSL Sofort-Start-Set - blitzschnell ins Internet!
> Echte DSL-Flatrate ab 0,- Euro* http://www.gmx.net/de/go/dsl
> _______________________________________________
> izpack-users mailing list
> izpack-users at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/izpack-users

-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer



More information about the izpack-users mailing list