[izpack-users] Messages for AntActions are not displayed

Bartz, Klaus Klaus.Bartz at coi.de
Tue Jun 20 14:08:36 CEST 2006


Hi Stefan,
are you only missing the text, or also the ant actions self?

Cheers

Klaus

>-----Original Message-----
>From: izpack-users-admin at berlios.de
>[mailto:izpack-users-admin at berlios.de]On Behalf Of Stefan Wachter
>Sent: Tuesday, June 20, 2006 1:46 PM
>To: izpack-users at berlios.de
>Subject: Re: [izpack-users] Messages for AntActions are not displayed
>
>
>Hi Klaus,
>
>setting quiet="yes" in each Ant call did not help either.
>
>--Stefan
>
>Stefan Wachter wrote:
>> Hi Klaus,
>>
>> I changed the panel to
>>
>>    <panel classname="ExtendedInstallPanel"/>
>>
>> but there are still no messages displayed. I attach the interesting 
>> files. Maybe you can have a short look on them.
>>
>> Thanks for your help,
>> --Stefan
>>
>>
>>
>>
>> Bartz, Klaus wrote:
>>> Hi Stefan,
>>> try with quiet="yes" Use
>>> <panel classname="ExtendedInstallPanel"/>
>>> instead of
>>> <panel classname="InstallPanel"/>
>>> Do not forget to write the <resources>
>>>   ...
>>>   <res id="CustomActionsLang.xml_deu" src="<your source path"/>
>>>   ...
>>> </resources>
>>>
>>> The messages are placed in the ExtendedInstallPanel, not in
>>> a separate message box.
>>> Hope it helps.
>>>
>>> Cheers
>>>
>>> Klaus
>>>
>>>  
>>>> -----Original Message-----
>>>> From: izpack-users-admin at berlios.de
>>>> [mailto:izpack-users-admin at berlios.de]On Behalf Of Stefan Wachter
>>>> Sent: Tuesday, June 20, 2006 12:19 PM
>>>> To: izpack-users at berlios.de
>>>> Subject: [izpack-users] Messages for AntActions are not displayed
>>>>
>>>>
>>>> Hi all,
>>>>
>>>> I have a setup with AntActions for various packs. There 
>are messages 
>>>> defined for the AntActions but they are not displayed. 
>This is what 
>>>> I have done (following the hints given in 
>>>> http://article.gmane.org/gmane.comp.java.izpack.user/269/match=
>>>> antaction+messageid):
>>>>
>>>> 1. Define a the resource:
>>>>
>>>>    <res id="CustomActionsLang.xml_deu" 
>>>> src="<somepath>/customActionsLang-deu.xml"/>
>>>>
>>>> with the content:
>>>>
>>>>    <langpack>
>>>>      <str id="AntAction.unpacking" txt="entpacke Daten 
>(kann einige 
>>>> Minuten dauern)"/>
>>>>    </langpack>
>>>>
>>>> 2. Refer to that message in the AntAction:
>>>>
>>>>            <antcall
>>>>              order="afterpack"
>>>>              verbose="no"
>>>>              buildfile="$INSTALL_PATH/izpack-buildfile.xml"
>>>>              logfile="$INSTALL_PATH/setup/ant-log.txt"
>>>>              messageid="AntAction.unpacking"
>>>>              >
>>>>              ...
>>>>            </antcall>
>>>>
>>>> Can someone help me?
>>>>
>>>> Regards,
>>>> --Stefan
>>>>
>>>> _______________________________________________
>>>> izpack-users mailing list
>>>> izpack-users at lists.berlios.de
>>>> http://lists.berlios.de/mailman/listinfo/izpack-users
>>>>
>>>>     
>>> _______________________________________________
>>> izpack-users mailing list
>>> izpack-users at lists.berlios.de
>>> http://lists.berlios.de/mailman/listinfo/izpack-users
>>>
>>>
>>>   
>>
>> 
>---------------------------------------------------------------
>---------
>>
>> <?xml version="1.0" encoding="ISO-8859-1"?>
>> <installation version="1.0">
>>    <info>
>>       <appname>PolFHa</appname>
>>       <appversion>1.0</appversion>
>>       <url>http://www.vdpolizei.de</url>
>>       <javaversion>1.4</javaversion>
>>    </info>
>>    <variables>
>>       <variable name="mischungen" value=""/>
>>       <variable name="mischung_bund" value=""/>
>>       <variable name="mischung_jumbo" value=""/>
>>       <variable name="mischung_land_bb" value=""/>
>>       <variable name="mischung_land_be" value=""/>
>>       <variable name="copy_stamm_bb" value=""/>
>>       <variable name="copy_stamm_be" value=""/>
>>       <variable name="copy_stamm_bpol" value=""/>
>>       <variable name="copy_stamm_bu" value=""/>
>>    </variables>
>>    <guiprefs height="480" width="600" resizable="yes"/>
>>    <locale>
>>       <langpack iso3="deu"/>
>>    </locale>
>>    <resources>
>>       <res id="LicencePanel.licence"
>>            
>src="/home/swachter/projekte/infotakt/build/setup/server/navbar
>-top/bb-be-bpol-bu/izPack/tmp/lizenz.txt"/>
>>       <res id="userInputSpec.xml"
>>            
>src="/home/swachter/projekte/infotakt/build/setup/server/navbar
>-top/bb-be-bpol-bu/izPack/tmp/userInputSpec.xml"/>
>>       <res id="shortcutSpec.xml"
>>            
>src="/home/swachter/projekte/infotakt/build/setup/server/navbar
>-top/bb-be-bpol-bu/izPack/tmp/shortcutSpec.xml"/>
>>       <res id="Unix_shortcutSpec.xml"
>>            
>src="/home/swachter/projekte/infotakt/build/setup/server/navbar
>-top/bb-be-bpol-bu/izPack/tmp/unix_shortcutSpec.xml"/>
>>       <res id="AntActionsSpec.xml"
>>            
>src="/home/swachter/projekte/infotakt/build/setup/server/navbar
>-top/bb-be-bpol-bu/izPack/tmp/antActionsSpec.xml"/>
>>       <res id="Installer.image"
>>            
>src="/home/swachter/projekte/infotakt/vdp/src/server/img/buecher.png"/>
>>       <res id="packsLang.xml_deu"
>>            
>src="/home/swachter/projekte/infotakt/build/setup/server/navbar
>-top/bb-be-bpol-bu/izPack/tmp/packsLang-deu.xml"/>
>>       <res id="CustomActionsLang.xml_deu"
>>            
>src="/home/swachter/projekte/infotakt/build/setup/server/navbar
>-top/bb-be-bpol-bu/izPack/tmp/customActionsLang-deu.xml"/>
>>    </resources>
>>    <panels>
>>       <panel classname="HelloPanel"/>
>>       <panel classname="LicencePanel"/>
>>       <panel classname="PacksPanel"/>
>>       <panel classname="TargetPanel"/>
>>       <panel classname="UserInputPanel"/>
>>       <panel classname="UserInputPanel"/>
>>       <panel classname="SummaryPanel"/>
>>       <panel classname="ExtendedInstallPanel"/>
>>       <panel classname="SimpleFinishPanel"/>
>>    </panels>
>>    <listeners>
>>       <listener installer="IzPackSetMischungen"/>
>>       <listener installer="AntActionInstallerListener"
>>                 uninstaller="AntActionUninstallerListener"/>
>>    </listeners>
>>    <packs>
>>       <pack name="core" id="core" required="yes">
>>          <description>Enthält die PolFHa-Applikation.</description>
>>          <fileset 
>dir="/home/swachter/projekte/infotakt/vdp/offlineApp/tomcat"
>>                   targetdir="$INSTALL_PATH"/>
>>          <file 
>src="/home/swachter/projekte/infotakt/build/setup/server/navbar
>-top/bb-be-bpol-bu/izPack/tmp/izpack-buildfile.xml"
>>                targetdir="$INSTALL_PATH"/>
>>          <file 
>src="/home/swachter/projekte/infotakt/vdp/src/server/img/vdp.ico"
>>                targetdir="$INSTALL_PATH"/>
>>          <parsable 
>targetfile="$INSTALL_PATH/conf/server.xml" type="xml"/>
>>          <executable 
>targetfile="$INSTALL_PATH/bin/startup.sh" stage="never"/>
>>          <executable 
>targetfile="$INSTALL_PATH/bin/shutdown.sh" stage="never"/>
>>          <executable 
>targetfile="$INSTALL_PATH/bin/catalina.sh" stage="never"/>
>>          <executable 
>targetfile="$INSTALL_PATH/bin/setclasspath.sh" stage="never"/>
>>          <fileset 
>dir="/home/swachter/projekte/infotakt/vdp/offlineApp/tomcat-compat"
>>                   targetdir="$INSTALL_PATH"/>
>>          <fileset 
>dir="/home/swachter/projekte/infotakt/vdp/offlineApp"
>>                   includes="lizenz.txt, readme.txt"
>>                   targetdir="$INSTALL_PATH"/>
>>          <fileset dir="mainApp" 
>targetdir="$INSTALL_PATH/webapps/polfha"
>>                   includes="META-INF/**, WEB-INF/*, 
>WEB-INF/classes/**, WEB-INF/lib/**, WEB-INF/suche/*.txt, 
>css/**, hilfe/**, img/**, js/**"/>
>>          <fileset dir="setup" 
>targetdir="$INSTALL_PATH/setup" includes="**/*"/>
>>       </pack>
>>       <pack name="bundesstamm_bu+bpol" id="bubpol" 
>preselected="yes" required="no">
>>          <description>Enthält die Leitziffern, die für alle 
>Bundesländern Gültigkeit haben (inkl. Bundespolizei).</description>
>>          <fileset dir="mainApp/WEB-INF/suche" 
>includes="bu/**, bpol/**"
>>                   
>targetdir="$INSTALL_PATH/webapps/polfha/WEB-INF/suche"/>
>>          <fileset 
>dir="/home/swachter/projekte/infotakt/build/inhalt/server/bb-be
>-bpol-bu/stamm"
>>                   includes="bu.xml"
>>                   targetdir="$INSTALL_PATH/setup/inhalt"/>
>>          <fileset 
>dir="/home/swachter/projekte/infotakt/build/inhalt/server/bb-be
>-bpol-bu/stamm"
>>                   includes="bpol.xml"
>>                   targetdir="$INSTALL_PATH/setup/inhalt"/>
>>       </pack>
>>       <pack name="landesstamm_be" id="be" preselected="no" 
>required="no">
>>          <description>Enthält die Leitziffern, die für 
>Berlin Gültigkeit haben.</description>
>>          <fileset dir="mainApp/WEB-INF/suche" includes="be/**"
>>                   
>targetdir="$INSTALL_PATH/webapps/polfha/WEB-INF/suche"/>
>>          <fileset 
>dir="/home/swachter/projekte/infotakt/build/inhalt/server/bb-be
>-bpol-bu/stamm"
>>                   includes="be.xml"
>>                   targetdir="$INSTALL_PATH/setup/inhalt"/>
>>       </pack>
>>       <pack name="landesstamm_bb" id="bb" preselected="no" 
>required="no">
>>          <description>Enthält die Leitziffern, die für 
>Brandenburg Gültigkeit haben.</description>
>>          <fileset dir="mainApp/WEB-INF/suche" includes="bb/**"
>>                   
>targetdir="$INSTALL_PATH/webapps/polfha/WEB-INF/suche"/>
>>          <fileset 
>dir="/home/swachter/projekte/infotakt/build/inhalt/server/bb-be
>-bpol-bu/stamm"
>>                   includes="bb.xml"
>>                   targetdir="$INSTALL_PATH/setup/inhalt"/>
>>       </pack>
>>    </packs>
>>    <jar 
>src="/home/swachter/projekte/infotakt/vdp/lib/setup/ant.jar" 
>stage="both"/>
>>    <jar 
>src="/home/swachter/projekte/infotakt/vdp/lib/setup/ant-launcher.jar"
>>         stage="both"/>
>>    <jar 
>src="/home/swachter/projekte/infotakt/vdp/lib/setup/orangevolt-
>ant-tasks-1.3.3.jar"
>>         stage="both"/>
>>    <jar 
>src="/home/swachter/projekte/infotakt/vdp/lib/setup/roxes-win32
>forjava-1.0.3.jar"
>>         stage="both"/>
>>    <jar 
>src="/home/swachter/projekte/infotakt/build/setup/server/navbar
>-top/bb-be-bpol-bu/izPack/tmp/izpack-util.jar"/>
>>    <jar src="/home/swachter/projekte/infotakt/vdp/lib/saxon8.jar"/>
>> </installation>
>> 
>---------------------------------------------------------------
>---------
>>
>> <?xml version="1.0" encoding="ISO-8859-1"?>
>> <antactions>
>>    <pack name="bundesstamm_bu+bpol">
>>       <antcall order="afterpack" verbose="no" 
>buildfile="$INSTALL_PATH/izpack-buildfile.xml"
>>                logfile="$INSTALL_PATH/setup/ant-log.txt"
>>                messageid="AntAction.unpacking">
>>          <property name="targetDir" value="$INSTALL_PATH"/>
>>          <property name="copy_stamm_" value="$copy_stamm_bu"/>
>>          <target name="copy_bu"/>
>>       </antcall>
>>       <antcall order="afterpack" verbose="no" 
>buildfile="$INSTALL_PATH/izpack-buildfile.xml"
>>                logfile="$INSTALL_PATH/setup/ant-log.txt"
>>                messageid="AntAction.unpacking">
>>          <property name="targetDir" value="$INSTALL_PATH"/>
>>          <property name="copy_stamm_" value="$copy_stamm_bpol"/>
>>          <target name="copy_bpol"/>
>>       </antcall>
>>    </pack>
>>    <pack name="landesstamm_bb">
>>       <antcall order="afterpack" verbose="no" 
>buildfile="$INSTALL_PATH/izpack-buildfile.xml"
>>                logfile="$INSTALL_PATH/setup/ant-log.txt"
>>                messageid="AntAction.unpacking">
>>          <property name="targetDir" value="$INSTALL_PATH"/>
>>          <property name="copy_stamm_bb" value="$copy_stamm_bb"/>
>>          <target name="copy_bb"/>
>>       </antcall>
>>    </pack>
>>    <pack name="landesstamm_be">
>>       <antcall order="afterpack" verbose="no" 
>buildfile="$INSTALL_PATH/izpack-buildfile.xml"
>>                logfile="$INSTALL_PATH/setup/ant-log.txt"
>>                messageid="AntAction.unpacking">
>>          <property name="targetDir" value="$INSTALL_PATH"/>
>>          <property name="copy_stamm_be" value="$copy_stamm_be"/>
>>          <target name="copy_be"/>
>>       </antcall>
>>    </pack>
>>    <pack name="core">
>>       <antcall order="afterpacks" 
>uninstall_order="afterdeletion" verbose="no"
>>                buildfile="$INSTALL_PATH/izpack-buildfile.xml"
>>                logfile="$INSTALL_PATH/setup/ant-log.txt"
>>                messageid="vdpAntActionMessage">
>>          <property name="targetDir" value="$INSTALL_PATH"/>
>>          <property name="port" value="$PORT"/>
>>          <property name="imStartmenue" value="$imStartmenue"/>
>>          <property name="aufDesktop" value="$aufDesktop"/>
>>          <property name="imAutostart" value="$imAutostart"/>
>>          <property name="mischungen" value="$mischungen"/>
>>          <property name="mischung_bund" value="$mischung_bund"/>
>>          <property name="mischung_jumbo" value="$mischung_jumbo"/>
>>          <property name="mischung_land_bb" 
>value="$mischung_land_bb"/>
>>          <property name="mischung_land_be" 
>value="$mischung_land_be"/>
>>          <property name="copy_stamm_bb" value="$copy_stamm_bb"/>
>>          <property name="copy_stamm_be" value="$copy_stamm_be"/>
>>          <property name="copy_stamm_bpol" value="$copy_stamm_bpol"/>
>>          <property name="copy_stamm_bu" value="$copy_stamm_bu"/>
>>          <target name="install"/>
>>          <uninstall_target name="uninstall"/>
>>       </antcall>
>>    </pack>
>> </antactions>
>> 
>---------------------------------------------------------------
>---------
>>
>> <?xml version="1.0" encoding="ISO-8859-1"?>
>> <langpack>
>>    <str id="AntAction.unpacking" txt="entpacke Daten (kann 
>einige Minuten dauern)"/>
>> </langpack>
>
>_______________________________________________
>izpack-users mailing list
>izpack-users at lists.berlios.de
>http://lists.berlios.de/mailman/listinfo/izpack-users
>



More information about the izpack-users mailing list