[izpack-changes] r1624 - izpack-src/trunk/src/doc-ng/XHTML

noreply at berlios.de noreply at berlios.de
Sat Sep 30 02:43:07 CEST 2006


Author: miraodb
Date: 2006-09-30 02:43:03 +0200 (Sat, 30 Sep 2006)
New Revision: 1624

Modified:
   izpack-src/trunk/src/doc-ng/XHTML/izpack-doc.html
   izpack-src/trunk/src/doc-ng/XHTML/node4.html
   izpack-src/trunk/src/doc-ng/XHTML/node8.html
Log:
Added docu: executeForPack, executeclass,logfiledir  for ProcessPanel 
Added docu: createForUnselectedPack for UserInputPanel
FM

Modified: izpack-src/trunk/src/doc-ng/XHTML/izpack-doc.html
===================================================================
--- izpack-src/trunk/src/doc-ng/XHTML/izpack-doc.html	2006-09-29 15:31:46 UTC (rev 1623)
+++ izpack-src/trunk/src/doc-ng/XHTML/izpack-doc.html	2006-09-30 00:43:03 UTC (rev 1624)
@@ -235,6 +235,9 @@
                   </li>
                   <li>
                     <a name="tex2html74" href="node4.html#SECTION00438600000000000000"><tt>&lt;file&gt;</tt>- add files or directories</a>
+                    <ul>
+										<li><a name="tex2html741" href="node4.html#SECTION00438610000000000000"><tt>&lt;additionaldata&gt;</tt></a></li>
+										</ul>
                   </li>
                   <li>
                     <a name="tex2html75" href="node4.html#SECTION00438700000000000000"><tt>&lt;singlefile&gt;</tt>- add a single file</a>
@@ -310,6 +313,11 @@
               </li>
               <li>
                 <a name="tex2html97" href="node4.html#SECTION004414000000000000000">ProcessPanel</a>
+                <ul>
+									<li><a name="tex2html971" href="node4.html#SECTION004414100000000000000"><tt>&lt;executeclass&gt;</tt> - Execute Java Classes</a></li>
+									<li><a name="tex2html972" href="node4.html#SECTION004414200000000000000"><tt>&lt;executeForPack&gt;</tt> - Only execute the job for certain packs</a></li>
+									<li><a name="tex2html973" href="node4.html#SECTION004414300000000000000"><tt>&lt;logfiledir&gt;</tt> - Output of the processPanel saved to a log</a></li>
+								</ul>
               </li>
               <li>
                 <a name="tex2html98" href="node4.html#SECTION004415000000000000000">JDKPathPanel</a>

Modified: izpack-src/trunk/src/doc-ng/XHTML/node4.html
===================================================================
--- izpack-src/trunk/src/doc-ng/XHTML/node4.html	2006-09-29 15:31:46 UTC (rev 1623)
+++ izpack-src/trunk/src/doc-ng/XHTML/node4.html	2006-09-30 00:43:03 UTC (rev 1624)
@@ -153,7 +153,13 @@
 
 <li><a name="tex2html412" href="node4.html#SECTION004413000000000000000">CompilePanel</a></li>
 
-<li><a name="tex2html413" href="node4.html#SECTION004414000000000000000">ProcessPanel</a></li>
+<li><a name="tex2html413" href="node4.html#SECTION004414000000000000000">ProcessPanel</a>
+	<ul>
+		<li><a name="tex2html397" href="node4.html#SECTION004414100000000000000"><tt>&lt;executeclass&gt;</tt> - Execute Java Classes</a></li>
+		<li><a name="tex2html397" href="node4.html#SECTION004414200000000000000"><tt>&lt;executeForPack&gt;</tt> - Only execute the job for certain packs</a></li>
+		<li><a name="tex2html397" href="node4.html#SECTION004414300000000000000"><tt>&lt;logfiledir&gt;</tt> - Output of the processPanel saved to a log</a></li>
+	</ul>
+</li>
 
 <li><a name="tex2html414" href="node4.html#SECTION004415000000000000000">JDKPathPanel</a></li>
 
@@ -1189,6 +1195,7 @@
 <p>Each job may have an <tt>&lt;os&gt;</tt> attribute - see <a href="#tag:os">2.3.8</a> for details.<br />
 </p>
 
+<a name="SECTION004414100000000000000"><h3><tt>&lt;executeclass&gt;</tt> - Execute Java Classes</h3></a>
 <p>It is also possible to execute Java classes from this panel. Here's what this feature author (Alex Bradley) says:</p>
 
 <blockquote><p>i've been able to work around my requirements by extending the <tt>ProcessPanelWorker</tt> functionality to run user-specified classes. i've extended the DTD of the <tt>
@@ -1210,6 +1217,27 @@
 <blockquote><p>It can do everything i need and more. In particular, it allows me to write a process extension and still be able to provide feedback to the user through the feedback panel, and to add new
 functionality to the installer, after its been built.</p></blockquote>
 
+<p>To use the executeclass facility, you will need to create a jar file
+with your class and then add it to the installer with the
+<a href="node4.html#SECTION004310000000000000000">The Jar Merging Element</a>.</p>
+
+<a name="SECTION004414200000000000000"><h3><tt>&lt;executeForPack&gt;</tt> - Only execute the job for certain packs</h3></a>
+
+<p>This can be be used to run the job only if the pack is enabled.
+For example, the batch file will if either the <code>Sources</code>
+or <code>Executables</code> packs are selected at install time.</p>
+<pre>
+&lt;processing&gt;
+ &lt;job name="List files"&gt;
+  &lt;executeForPack name="Sources"/&gt;
+  &lt;executeForPack name="Executables"/&gt;
+  &lt;os family="windows" /&gt;
+  &lt;executefile name="$INSTALL_PATH\batch\ListFiles.bat" /&gt;
+ &lt;/job&gt;
+&lt;/processing&gt; 
+</pre>
+
+<a name="SECTION004414300000000000000"><h3><tt>&lt;logfiledir&gt;</tt> - Output of the processPanel saved to a log</h3></a>
 <p><a name="ProcessPanelLogFile"></a>New with version 3.7 is the possibility to tee output that is written to the ProcessPanel's textarea into an optional logfile. Using this feature is pretty much straightforward, you only have to
 add a line in <tt>ProcessPanel.Spec.xml</tt> that will tell IzPack the location, where the logfile should be stored.</p>
 

Modified: izpack-src/trunk/src/doc-ng/XHTML/node8.html
===================================================================
--- izpack-src/trunk/src/doc-ng/XHTML/node8.html	2006-09-29 15:31:46 UTC (rev 1623)
+++ izpack-src/trunk/src/doc-ng/XHTML/node8.html	2006-09-30 00:43:03 UTC (rev 1624)
@@ -267,6 +267,10 @@
       a section, the entity is always created. However, if the tag exists, the entity is only created if one or more of the listed packs are selected for installation. As mentioned before, if you are
       using this feature, make sure the user input panel shows up after the packs panel.<br />
     </p>
+    <p>
+      Also, any number of <tt>&lt;createForUnselectedPack name=''a pack name'' /&gt;</tt> tags can be added to the <tt>&lt;panel&gt;</tt> and <tt>&lt;field&gt;</tt> sections. This tag has only one attribute and no
+      data. It works exactly like createForPack except that once added userinputpanel will appear for only NOT Selected packs. As mentioned earlier, you need to make sure that the user input panel shows up after the packs panel for this feature to work.<br />
+    </p>
     <h1>
       <a name="SECTION00830000000000000000">Internationalization</a>
     </h1>




More information about the izpack-changes mailing list