[prev in list] [next in list] [prev in thread] [next in thread] 

List:       groovy-scm
Subject:    [groovy-scm]  [7040] trunk/groovy/modules/installers/windows/NSIS-Groovy: Added page for additional
From:       jbaumann () codehaus ! org
Date:       2007-07-28 20:38:13
Message-ID: 20070728203813.3797.qmail () mail ! codehaus ! org
[Download RAW message or body]

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><style type="text/css"><!--
#msg DL { border : 1px #006 solid; background-color : #369; padding : 6px; color : \
#fff; } #msg DT { float : left; width : 6em; font-weight : bold; }
#msg DL, #msg DT, #msg UL, #msg LI { font-family : arial,helvetica,sans-serif; \
font-size : 10pt;  } h3 { font-family : arial,helvetica,sans-serif; font-size : 10pt; \
font-weight : bold; } #msg PRE { overflow : auto; white-space : normal; \
background-color : #ffc; border : 1px #fc0 solid; padding : 6px; } #msg UL, PRE, \
.diff { overflow : auto; } #patch h4 { font-family : arial,helvetica,sans-serif; \
font-size : 10pt; } #patch h4 { padding: 8px; background : #369; color : #fff; margin \
: 0; } #patch .propset h4, #patch .binary h4 {margin: 0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {background:#eeeeee;padding: 0 0 10px 0;}
#patch .propset .diff, #patch .binary .diff  {padding: 10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, \
#patch .copfile {border:1px solid #ccc;margin:10px 0;} #patch .add \
{background:#ddffdd;} #patch .rem {background:#ffdddd;}
#patch .lines, .info {color:#888888;background:#ffffff;}
.diff { width : 100%; }
#msg DL { border : 1px #006 solid; background-color : #369; padding : 6px; color : \
#fff; } #msg DT { float : left; width : 6em; font-weight : bold; }
#msg DL, #msg DT, #msg UL, #msg LI { font-family : arial,helvetica,sans-serif; \
font-size : 10pt;  } h3 { font-family : arial,helvetica,sans-serif; font-size : 10pt; \
font-weight : bold; } #msg PRE { overflow : auto; white-space : normal; \
background-color : #ffc; border : 1px #fc0 solid; padding : 6px; } #msg UL, PRE, \
.diff { overflow : auto; } #patch h4 { font-family : arial,helvetica,sans-serif; \
font-size : 10pt; } #patch h4 { padding: 8px; background : #369; color : #fff; margin \
: 0; } #patch .propset h4, #patch .binary h4 {margin: 0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {background:#eeeeee;padding: 0 0 10px 0;}
#patch .propset .diff, #patch .binary .diff  {padding: 10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, \
#patch .copfile {border:1px solid #ccc;margin:10px 0;} #patch .add \
{background:#ddffdd;} #patch .rem {background:#ffdddd;}
#patch .lines, .info {color:#888888;background:#ffffff;}
.diff { width : 100%; }
--></style>
<title> [7040] trunk/groovy/modules/installers/windows/NSIS-Groovy: Added page for \
additional modules</title> </head>
<body>

<div id="msg">
<dl>
<dt>Revision</dt> <dd><a \
href="http://fisheye.codehaus.org/changelog/groovy/?cs=7040">7040</a></dd> \
<dt>Author</dt> <dd>jbaumann</dd> <dt>Date</dt> <dd>2007-07-28 15:38:12 -0500 (Sat, \
28 Jul 2007)</dd> </dl>

<h3>Log Message</h3>
<pre>Added page for additional modules
Currently contains gant and scriptom</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkgroovymodulesinstallerswindowsNSISGroovyGroovy10launch">trunk/groovy/modules/installers/windows/NSIS-Groovy/Groovy-1.0.launch</a></li>
 <li><a href="#trunkgroovymodulesinstallerswindowsNSISGroovyGroovy11Beta2launch">trunk/groovy/modules/installers/windows/NSIS-Groovy/Groovy-1.1-Beta2.launch</a></li>
 <li><a href="#trunkgroovymodulesinstallerswindowsNSISGroovyGroovy11Beta3launch">trunk/groovy/modules/installers/windows/NSIS-Groovy/Groovy-1.1-Beta3.launch</a></li>
 <li><a href="#trunkgroovymodulesinstallerswindowsNSISGroovysetupnsi">trunk/groovy/modules/installers/windows/NSIS-Groovy/setup.nsi</a></li>
 </ul>

<h3>Added Paths</h3>
<ul>
<li><a href="#trunkgroovymodulesinstallerswindowsNSISGroovyadditionalpackagesini">trunk/groovy/modules/installers/windows/NSIS-Groovy/additionalpackages.ini</a></li>
 </ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkgroovymodulesinstallerswindowsNSISGroovyGroovy10launch"></a>
<div class="modfile"><h4>Modified: \
trunk/groovy/modules/installers/windows/NSIS-Groovy/Groovy-1.0.launch (7039 => \
7040)</h4> <pre class="diff">
<span class="info">--- \
trunk/groovy/modules/installers/windows/NSIS-Groovy/Groovy-1.0.launch	2007-07-28 \
                08:33:26 UTC (rev 7039)
+++ trunk/groovy/modules/installers/windows/NSIS-Groovy/Groovy-1.0.launch	2007-07-28 \
20:38:12 UTC (rev 7040) </span><span class="lines">@@ -11,9 +11,11 @@
</span><span class="cx"> &lt;booleanAttribute key=&quot;hdrInfo&quot; \
value=&quot;false&quot;/&gt;  &lt;intAttribute key=&quot;processPriority&quot; \
value=&quot;-1&quot;/&gt;  &lt;listAttribute key=&quot;symbols&quot;&gt;
</span><span class="rem">-&lt;listEntry \
value=&quot;SOURCE_DIR&Acirc;&shy;C:\Programme\Groovy\outofthebox\groovy-1.0&quot;/&gt;
 </span><span class="add">+&lt;listEntry \
value=&quot;SOURCE_DIR&Acirc;&shy;D:\NSIS\NSIS-Groovy\Data\1.0\groovy-1.0&quot;/&gt; \
</span><span class="cx"> &lt;listEntry \
value=&quot;SOURCE_VERSION&Acirc;&shy;1.0&quot;/&gt; </span><span \
class="rem">-&lt;listEntry \
value=&quot;NATIVE_DIR&Acirc;&shy;C:\Programme\Groovy\outofthebox\native\1.1&quot;/&gt;
 </span><span class="add">+&lt;listEntry \
value=&quot;NATIVE_DIR&Acirc;&shy;D:\NSIS\NSIS-Groovy\Data\native&quot;/&gt; \
+&lt;listEntry value=&quot;SCRIPTOM_DIR&Acirc;&shy;D:\NSIS\NSIS-Groovy\Data\Scriptom-1.2&quot;/&gt;
 +&lt;listEntry value=&quot;GANT_DIR&Acirc;&shy;D:\NSIS\NSIS-Groovy\Data\1.0\gant-0.3.1_groovy-1.0&quot;/&gt;
 </span><span class="cx"> &lt;/listAttribute&gt;
 &lt;booleanAttribute key=&quot;solidCompression&quot; value=&quot;false&quot;/&gt;
 &lt;stringAttribute key=&quot;pluginVersion&quot; value=&quot;0.9.5.1&quot;/&gt;
</span></pre></div>
<a id="trunkgroovymodulesinstallerswindowsNSISGroovyGroovy11Beta2launch"></a>
<div class="modfile"><h4>Modified: \
trunk/groovy/modules/installers/windows/NSIS-Groovy/Groovy-1.1-Beta2.launch (7039 => \
7040)</h4> <pre class="diff">
<span class="info">--- \
trunk/groovy/modules/installers/windows/NSIS-Groovy/Groovy-1.1-Beta2.launch	2007-07-28 \
                08:33:26 UTC (rev 7039)
+++ trunk/groovy/modules/installers/windows/NSIS-Groovy/Groovy-1.1-Beta2.launch	2007-07-28 \
20:38:12 UTC (rev 7040) </span><span class="lines">@@ -11,9 +11,11 @@
</span><span class="cx"> &lt;booleanAttribute key=&quot;hdrInfo&quot; \
value=&quot;false&quot;/&gt;  &lt;intAttribute key=&quot;processPriority&quot; \
value=&quot;-1&quot;/&gt;  &lt;listAttribute key=&quot;symbols&quot;&gt;
</span><span class="rem">-&lt;listEntry \
value=&quot;SOURCE_DIR&Acirc;&shy;C:\Programme\Groovy\outofthebox\groovy-1.1-BETA-2&quot;/&gt;
 </span><span class="add">+&lt;listEntry \
value=&quot;SOURCE_DIR&Acirc;&shy;D:\NSIS\NSIS-Groovy\Data\1.1\groovy-1.1-BETA-2&quot;/&gt;
 </span><span class="cx"> &lt;listEntry \
value=&quot;SOURCE_VERSION&Acirc;&shy;1.1-Beta2&quot;/&gt; </span><span \
class="rem">-&lt;listEntry \
value=&quot;NATIVE_DIR&Acirc;&shy;C:\Programme\Groovy\outofthebox\native\1.1&quot;/&gt;
 </span><span class="add">+&lt;listEntry \
value=&quot;NATIVE_DIR&Acirc;&shy;D:\NSIS\NSIS-Groovy\Data\native&quot;/&gt; \
+&lt;listEntry value=&quot;SCRIPTOM_DIR&Acirc;&shy;D:\NSIS\NSIS-Groovy\Data\Scriptom-1.2&quot;/&gt;
 +&lt;listEntry value=&quot;GANT_DIR&Acirc;&shy;D:\NSIS\NSIS-Groovy\Data\1.1\gant-0.3.1_head&quot;/&gt;
 </span><span class="cx"> &lt;/listAttribute&gt;
 &lt;booleanAttribute key=&quot;solidCompression&quot; value=&quot;false&quot;/&gt;
 &lt;stringAttribute key=&quot;pluginVersion&quot; value=&quot;0.9.5.1&quot;/&gt;
</span></pre></div>
<a id="trunkgroovymodulesinstallerswindowsNSISGroovyGroovy11Beta3launch"></a>
<div class="modfile"><h4>Modified: \
trunk/groovy/modules/installers/windows/NSIS-Groovy/Groovy-1.1-Beta3.launch (7039 => \
7040)</h4> <pre class="diff">
<span class="info">--- \
trunk/groovy/modules/installers/windows/NSIS-Groovy/Groovy-1.1-Beta3.launch	2007-07-28 \
                08:33:26 UTC (rev 7039)
+++ trunk/groovy/modules/installers/windows/NSIS-Groovy/Groovy-1.1-Beta3.launch	2007-07-28 \
20:38:12 UTC (rev 7040) </span><span class="lines">@@ -11,9 +11,11 @@
</span><span class="cx"> &lt;booleanAttribute key=&quot;hdrInfo&quot; \
value=&quot;false&quot;/&gt;  &lt;intAttribute key=&quot;processPriority&quot; \
value=&quot;-1&quot;/&gt;  &lt;listAttribute key=&quot;symbols&quot;&gt;
</span><span class="rem">-&lt;listEntry \
value=&quot;SOURCE_DIR&Acirc;&shy;C:\Programme\Groovy\groovy-1.1-BETA-3&quot;/&gt; \
</span><span class="add">+&lt;listEntry \
value=&quot;SOURCE_DIR&Acirc;&shy;D:\NSIS\NSIS-Groovy\Data\1.1\groovy-1.1-BETA-2&quot;/&gt;
 </span><span class="cx"> &lt;listEntry \
value=&quot;SOURCE_VERSION&Acirc;&shy;1.1-Beta3&quot;/&gt; </span><span \
class="rem">-&lt;listEntry \
value=&quot;NATIVE_DIR&Acirc;&shy;C:\Programme\Groovy\outofthebox\1.1&quot;/&gt; \
</span><span class="add">+&lt;listEntry \
value=&quot;NATIVE_DIR&Acirc;&shy;D:\NSIS\NSIS-Groovy\Data\native&quot;/&gt; \
+&lt;listEntry value=&quot;SCRIPTOM_DIR&Acirc;&shy;D:\NSIS\NSIS-Groovy\Data\Scriptom-1.2&quot;/&gt;
 +&lt;listEntry value=&quot;GANT_DIR&Acirc;&shy;D:\NSIS\NSIS-Groovy\Data\1.1\gant-0.3.1_head&quot;/&gt;
 </span><span class="cx"> &lt;/listAttribute&gt;
 &lt;booleanAttribute key=&quot;solidCompression&quot; value=&quot;false&quot;/&gt;
 &lt;stringAttribute key=&quot;pluginVersion&quot; value=&quot;0.9.5.1&quot;/&gt;
</span></pre></div>
<a id="trunkgroovymodulesinstallerswindowsNSISGroovyadditionalpackagesini"></a>
<div class="addfile"><h4>Added: \
trunk/groovy/modules/installers/windows/NSIS-Groovy/additionalpackages.ini (0 => \
7040)</h4> <pre class="diff">
<span class="info">--- \
trunk/groovy/modules/installers/windows/NSIS-Groovy/additionalpackages.ini	           \
                (rev 0)
+++ trunk/groovy/modules/installers/windows/NSIS-Groovy/additionalpackages.ini	2007-07-28 \
20:38:12 UTC (rev 7040) </span><span class="lines">@@ -0,0 +1,31 @@
</span><span class="add">+; Auto-generated by EclipseNSIS InstallOptions Script \
Wizard +; 28.07.2007 22:00:24
+[Settings]
+NumFields=3
+Title=Additional Modules
+
+[Field 1]
+Type=Label
+Left=15
+Top=15
+Right=284
+Bottom=52
+Text=Additional Modules are not necessary, but we recommend installing them anyway.
+
+[Field 2]
+Type=CheckBox
+Left=15
+Top=52
+Right=284
+Bottom=62
+Text=Gant - a build tool for scripting Ant tasks with Groovy
+State=1
+
+[Field 3]
+Type=CheckBox
+Left=15
+Top=71
+Right=284
+Bottom=81
+Text=Scriptom - script ActiveX or COM components with Groovy
+State=1
</span></pre></div>
<a id="trunkgroovymodulesinstallerswindowsNSISGroovysetupnsi"></a>
<div class="modfile"><h4>Modified: \
trunk/groovy/modules/installers/windows/NSIS-Groovy/setup.nsi (7039 => 7040)</h4> \
<pre class="diff"> <span class="info">--- \
trunk/groovy/modules/installers/windows/NSIS-Groovy/setup.nsi	2007-07-28 08:33:26 UTC \
                (rev 7039)
+++ trunk/groovy/modules/installers/windows/NSIS-Groovy/setup.nsi	2007-07-28 20:38:12 \
UTC (rev 7040) </span><span class="lines">@@ -2,6 +2,8 @@
</span><span class="cx"> # SOURCE_VERSION defines the version of the release
 # SOURCE_DIR     is the full path to the groovy install directory
 # NATIVE_DIR     is the full path to the native launcher
</span><span class="add">+# SCRIPTOM_DIR   is the full path to the scriptom module
+# GANT_DIR       is the full path to the gant module
</span><span class="cx"> 
 Name Groovy
 
</span><span class="lines">@@ -64,6 +66,7 @@
</span><span class="cx"> !insertmacro MUI_PAGE_INSTFILES
 Page custom ReadVariables SetVariables
 Page custom ReadNativeLauncher InstallNativeLauncher
</span><span class="add">+Page custom ReadAdditionalPackages \
InstallAdditionalPackages </span><span class="cx"> Page custom ReadFileAssociation \
                SetFileAssociation
 !insertmacro MUI_PAGE_FINISH
 !insertmacro MUI_UNPAGE_CONFIRM
</span><span class="lines">@@ -162,6 +165,7 @@
</span><span class="cx">     File /oname=$PLUGINSDIR\variables.ini variables.ini
     File /oname=$PLUGINSDIR\nativelauncher.ini nativelauncher.ini
     File /oname=$PLUGINSDIR\fileassociation.ini fileassociation.ini
</span><span class="add">+    File /oname=$PLUGINSDIR\additionalpackages.ini \
additionalpackages.ini </span><span class="cx">       
     Push $CMDLINE
     Push &quot;-russel&quot;
</span><span class="lines">@@ -533,7 +537,101 @@
</span><span class="cx"> 
 
 
</span><span class="add">+#################################################################################################
 </span><span class="cx"> 
</span><span class="add">+### Additional Packages
+
+#################################################################################################
 +
+# APField 01
+LangString APField01 ${LANG_ENGLISH} &quot;Additional Modules are not strictly \
necessary, \ +but we recommend installing them anyway.&quot;
+LangString APField01 ${LANG_GERMAN}  &quot;Zus&auml;tzliche Module sind nicht \
unbedingt notwendig, \ +wir empfehlen aber, sie trotzdem zu installieren.&quot;
+
+LangString APField01 ${LANG_SPANISH} &quot;Additional Modules are not strictly \
necessary, \ +but we recommend installing them anyway.&quot;
+LangString APField01 ${LANG_FRENCH}  &quot;Additional Modules are not strictly \
necessary, \ +but we recommend installing them anyway.&quot;
+
+# APField 02
+LangString APField02 ${LANG_ENGLISH} &quot;Gant - a build tool for scripting Ant \
tasks \ +with Groovy&quot;
+LangString APField02 ${LANG_GERMAN}  &quot;Gant - Ein Werkzeug, um Ant Tasks mit \
Groovy \ +zu programmieren&quot;
+LangString APField02 ${LANG_SPANISH} &quot;Gant - a build tool for scripting Ant \
tasks \ +with Groovy&quot;
+LangString APField02 ${LANG_FRENCH}  &quot;Gant - a build tool for scripting Ant \
tasks \ +with Groovy&quot;
+
+# APField 03
+LangString APField03 ${LANG_ENGLISH} &quot;Scriptom - script ActiveX or COM \
components \ +with Groovy&quot;
+LangString APField03 ${LANG_GERMAN}  &quot;Scriptom - Programmieren von ActiveX und \
COM-\ +Komponenten mit Groovy&quot;
+LangString APField03 ${LANG_SPANISH} &quot;Scriptom - script ActiveX or COM \
components \ +with Groovy&quot;
+LangString APField03 ${LANG_FRENCH}  &quot;Scriptom - script ActiveX or COM \
components \ +with Groovy&quot;
+
+
+Function ReadAdditionalPackages
+  Push $R0
+
+  # Localization
+  WriteINIStr $PLUGINSDIR\additionalpackages.ini &quot;Field 1&quot; \
&quot;Text&quot; $(APField01) +  WriteINIStr $PLUGINSDIR\additionalpackages.ini \
&quot;Field 2&quot; &quot;Text&quot; $(APField02) +  WriteINIStr \
$PLUGINSDIR\additionalpackages.ini &quot;Field 2&quot; &quot;Text&quot; $(APField03) \
+     +  InstallOptions::dialog $PLUGINSDIR\additionalpackages.ini
+
+  Pop $R0
+FunctionEnd
+
+Function InstallAdditionalPackages
+  Push $R0
+
+  # If set, then install Gant
+  ReadINIStr $R0 &quot;$PLUGINSDIR\additionalpackages.ini&quot; &quot;Field 2&quot; \
&quot;State&quot; +  ${If} $R0 == &#39;1&#39;
+    SetOutPath $INSTDIR\bin
+    File  /r ${GANT_DIR}\bin\gant*
+
+    SetOutPath $INSTDIR\lib
+    File  /r ${GANT_DIR}\lib\gant*.jar
+    File  /nonfatal /r ${GANT_DIR}\lib\ivy*.jar
+    File  /nonfatal /r ${GANT_DIR}\lib\maven*.jar
+  ${EndIf}
+
+  # If set, then install Scriptom
+  ReadINIStr $R0 &quot;$PLUGINSDIR\additionalpackages.ini&quot; &quot;Field 2&quot; \
&quot;State&quot; +  ${If} $R0 == &#39;1&#39;
+    SetOutPath $INSTDIR
+    File  /r ${SCRIPTOM_DIR}\*
+  ${EndIf}
+
+  Pop $R0
+
+FunctionEnd
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
</span><span class="cx"> # Installer Language Strings
 # TODO Update the Language Strings with the appropriate translations.
 
</span>
</pre>
</div>
</div>

</body>
</html>

<hr/>
<p>
To unsubscribe from this list please visit:
</p>
<p>
    <a href="http://xircles.codehaus.org/manage_email">http://xircles.codehaus.org/manage_email</a>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic