[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"> <booleanAttribute key="hdrInfo" \
value="false"/> <intAttribute key="processPriority" \
value="-1"/> <listAttribute key="symbols">
</span><span class="rem">-<listEntry \
value="SOURCE_DIR­C:\Programme\Groovy\outofthebox\groovy-1.0"/>
</span><span class="add">+<listEntry \
value="SOURCE_DIR­D:\NSIS\NSIS-Groovy\Data\1.0\groovy-1.0"/> \
</span><span class="cx"> <listEntry \
value="SOURCE_VERSION­1.0"/> </span><span \
class="rem">-<listEntry \
value="NATIVE_DIR­C:\Programme\Groovy\outofthebox\native\1.1"/>
</span><span class="add">+<listEntry \
value="NATIVE_DIR­D:\NSIS\NSIS-Groovy\Data\native"/> \
+<listEntry value="SCRIPTOM_DIR­D:\NSIS\NSIS-Groovy\Data\Scriptom-1.2"/>
+<listEntry value="GANT_DIR­D:\NSIS\NSIS-Groovy\Data\1.0\gant-0.3.1_groovy-1.0"/>
</span><span class="cx"> </listAttribute>
<booleanAttribute key="solidCompression" value="false"/>
<stringAttribute key="pluginVersion" value="0.9.5.1"/>
</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"> <booleanAttribute key="hdrInfo" \
value="false"/> <intAttribute key="processPriority" \
value="-1"/> <listAttribute key="symbols">
</span><span class="rem">-<listEntry \
value="SOURCE_DIR­C:\Programme\Groovy\outofthebox\groovy-1.1-BETA-2"/>
</span><span class="add">+<listEntry \
value="SOURCE_DIR­D:\NSIS\NSIS-Groovy\Data\1.1\groovy-1.1-BETA-2"/>
</span><span class="cx"> <listEntry \
value="SOURCE_VERSION­1.1-Beta2"/> </span><span \
class="rem">-<listEntry \
value="NATIVE_DIR­C:\Programme\Groovy\outofthebox\native\1.1"/>
</span><span class="add">+<listEntry \
value="NATIVE_DIR­D:\NSIS\NSIS-Groovy\Data\native"/> \
+<listEntry value="SCRIPTOM_DIR­D:\NSIS\NSIS-Groovy\Data\Scriptom-1.2"/>
+<listEntry value="GANT_DIR­D:\NSIS\NSIS-Groovy\Data\1.1\gant-0.3.1_head"/>
</span><span class="cx"> </listAttribute>
<booleanAttribute key="solidCompression" value="false"/>
<stringAttribute key="pluginVersion" value="0.9.5.1"/>
</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"> <booleanAttribute key="hdrInfo" \
value="false"/> <intAttribute key="processPriority" \
value="-1"/> <listAttribute key="symbols">
</span><span class="rem">-<listEntry \
value="SOURCE_DIR­C:\Programme\Groovy\groovy-1.1-BETA-3"/> \
</span><span class="add">+<listEntry \
value="SOURCE_DIR­D:\NSIS\NSIS-Groovy\Data\1.1\groovy-1.1-BETA-2"/>
</span><span class="cx"> <listEntry \
value="SOURCE_VERSION­1.1-Beta3"/> </span><span \
class="rem">-<listEntry \
value="NATIVE_DIR­C:\Programme\Groovy\outofthebox\1.1"/> \
</span><span class="add">+<listEntry \
value="NATIVE_DIR­D:\NSIS\NSIS-Groovy\Data\native"/> \
+<listEntry value="SCRIPTOM_DIR­D:\NSIS\NSIS-Groovy\Data\Scriptom-1.2"/>
+<listEntry value="GANT_DIR­D:\NSIS\NSIS-Groovy\Data\1.1\gant-0.3.1_head"/>
</span><span class="cx"> </listAttribute>
<booleanAttribute key="solidCompression" value="false"/>
<stringAttribute key="pluginVersion" value="0.9.5.1"/>
</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 "-russel"
</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} "Additional Modules are not strictly \
necessary, \ +but we recommend installing them anyway."
+LangString APField01 ${LANG_GERMAN} "Zusätzliche Module sind nicht \
unbedingt notwendig, \ +wir empfehlen aber, sie trotzdem zu installieren."
+
+LangString APField01 ${LANG_SPANISH} "Additional Modules are not strictly \
necessary, \ +but we recommend installing them anyway."
+LangString APField01 ${LANG_FRENCH} "Additional Modules are not strictly \
necessary, \ +but we recommend installing them anyway."
+
+# APField 02
+LangString APField02 ${LANG_ENGLISH} "Gant - a build tool for scripting Ant \
tasks \ +with Groovy"
+LangString APField02 ${LANG_GERMAN} "Gant - Ein Werkzeug, um Ant Tasks mit \
Groovy \ +zu programmieren"
+LangString APField02 ${LANG_SPANISH} "Gant - a build tool for scripting Ant \
tasks \ +with Groovy"
+LangString APField02 ${LANG_FRENCH} "Gant - a build tool for scripting Ant \
tasks \ +with Groovy"
+
+# APField 03
+LangString APField03 ${LANG_ENGLISH} "Scriptom - script ActiveX or COM \
components \ +with Groovy"
+LangString APField03 ${LANG_GERMAN} "Scriptom - Programmieren von ActiveX und \
COM-\ +Komponenten mit Groovy"
+LangString APField03 ${LANG_SPANISH} "Scriptom - script ActiveX or COM \
components \ +with Groovy"
+LangString APField03 ${LANG_FRENCH} "Scriptom - script ActiveX or COM \
components \ +with Groovy"
+
+
+Function ReadAdditionalPackages
+ Push $R0
+
+ # Localization
+ WriteINIStr $PLUGINSDIR\additionalpackages.ini "Field 1" \
"Text" $(APField01) + WriteINIStr $PLUGINSDIR\additionalpackages.ini \
"Field 2" "Text" $(APField02) + WriteINIStr \
$PLUGINSDIR\additionalpackages.ini "Field 2" "Text" $(APField03) \
+ + InstallOptions::dialog $PLUGINSDIR\additionalpackages.ini
+
+ Pop $R0
+FunctionEnd
+
+Function InstallAdditionalPackages
+ Push $R0
+
+ # If set, then install Gant
+ ReadINIStr $R0 "$PLUGINSDIR\additionalpackages.ini" "Field 2" \
"State" + ${If} $R0 == '1'
+ 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 "$PLUGINSDIR\additionalpackages.ini" "Field 2" \
"State" + ${If} $R0 == '1'
+ 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