Skip to content

Commit

Permalink
Last version for 1.1 Beta2 (native installer, gant, scriptom)
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.codehaus.org/groovy/tags/GROOVY_1_1_BETA_2@8213 a5544e8c-8a19-0410-ba12-f9af4593a198
  • Loading branch information
jbaumann committed Sep 23, 2007
1 parent 1c610d9 commit 4d58e8b
Show file tree
Hide file tree
Showing 12 changed files with 1,260 additions and 0 deletions.
17 changes: 17 additions & 0 deletions groovy/modules/installers/windows/NSIS-Groovy/.project
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>NSIS-Groovy</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>net.sf.eclipsensis.installoptions.InstallOptionsBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>net.sf.eclipsensis.installoptions.InstallOptionsNature</nature>
</natures>
</projectDescription>
28 changes: 28 additions & 0 deletions groovy/modules/installers/windows/NSIS-Groovy/Groovy-1.0.launch
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<launchConfiguration type="net.sf.eclipsensis.launch.nsisLaunchConfigType">
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
<listEntry value="/NSIS-Groovy/setup.nsi"/>
</listAttribute>
<booleanAttribute key="noCD" value="false"/>
<listAttribute key="instructions"/>
<booleanAttribute key="noConfig" value="false"/>
<booleanAttribute key="runInstaller" value="false"/>
<stringAttribute key="script" value="${workspace_loc:/NSIS-Groovy/setup.nsi}"/>
<booleanAttribute key="hdrInfo" value="false"/>
<intAttribute key="processPriority" value="-1"/>
<listAttribute key="symbols">
<listEntry value="SOURCE_DIR­D:\NSIS\NSIS-Groovy\Data\1.0\groovy-1.0"/>
<listEntry value="SOURCE_VERSION­1.0"/>
<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"/>
</listAttribute>
<booleanAttribute key="solidCompression" value="false"/>
<stringAttribute key="pluginVersion" value="0.9.5.1"/>
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
<listEntry value="1"/>
</listAttribute>
<intAttribute key="compressor" value="0"/>
<booleanAttribute key="license" value="false"/>
<intAttribute key="verbosity" value="-1"/>
</launchConfiguration>
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<launchConfiguration type="net.sf.eclipsensis.launch.nsisLaunchConfigType">
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
<listEntry value="/NSIS-Groovy/setup.nsi"/>
</listAttribute>
<booleanAttribute key="noCD" value="false"/>
<listAttribute key="instructions"/>
<booleanAttribute key="noConfig" value="false"/>
<booleanAttribute key="runInstaller" value="false"/>
<stringAttribute key="script" value="${workspace_loc:/NSIS-Groovy/setup.nsi}"/>
<booleanAttribute key="hdrInfo" value="false"/>
<intAttribute key="processPriority" value="-1"/>
<listAttribute key="symbols">
<listEntry value="SOURCE_DIR­D:\NSIS\NSIS-Groovy\Data\1.1\groovy-1.1-BETA-2"/>
<listEntry value="SOURCE_VERSION­1.1-Beta2"/>
<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"/>
</listAttribute>
<booleanAttribute key="solidCompression" value="false"/>
<stringAttribute key="pluginVersion" value="0.9.5.1"/>
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
<listEntry value="1"/>
</listAttribute>
<intAttribute key="compressor" value="0"/>
<booleanAttribute key="license" value="false"/>
<intAttribute key="verbosity" value="-1"/>
</launchConfiguration>
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<launchConfiguration type="net.sf.eclipsensis.launch.nsisLaunchConfigType">
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
<listEntry value="/NSIS-Groovy/setup.nsi"/>
</listAttribute>
<booleanAttribute key="noCD" value="false"/>
<listAttribute key="instructions"/>
<booleanAttribute key="noConfig" value="false"/>
<booleanAttribute key="runInstaller" value="false"/>
<stringAttribute key="script" value="${workspace_loc:/NSIS-Groovy/setup.nsi}"/>
<booleanAttribute key="hdrInfo" value="false"/>
<intAttribute key="processPriority" value="-1"/>
<listAttribute key="symbols">
<listEntry value="SOURCE_DIR­D:\NSIS\NSIS-Groovy\Data\1.1\groovy-1.1-BETA-2"/>
<listEntry value="SOURCE_VERSION­1.1-Beta3"/>
<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"/>
</listAttribute>
<booleanAttribute key="solidCompression" value="false"/>
<stringAttribute key="pluginVersion" value="0.9.5.1"/>
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
<listEntry value="1"/>
</listAttribute>
<intAttribute key="compressor" value="0"/>
<booleanAttribute key="license" value="false"/>
<intAttribute key="verbosity" value="-1"/>
</launchConfiguration>
37 changes: 37 additions & 0 deletions groovy/modules/installers/windows/NSIS-Groovy/ReadmeFirst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
NSIS Groovy
-----------

This directory contains the NSIS installer for Groovy as a project for Eclipse.

To use it, simply check it out into an Eclipse workspace. Additionally you might
want to install the NSISEclipse-Plugin, it helps when developing NSIS stuff.

If you have worked with NSIS-scripts already there should be no big problem understanding
what is done.

The main script is the file setup.nsi, where you can find the installer program.
Three additional pages are defined, Variables, NativeLauncher and FileAssociation,
and for each you can find the respective .ini file containing the screen placement.
Simply open them in the design editor provided by the Eclipse-Plugin, and you can
see what they look like.

Two bmp-images contain the Groovy logo in different resolutions, one for the welcome
page and one as header image for the other pages. The name is the game ...

F�nally you have the launch scripts. These actually start the compiler with different
settings for the groovy version, the groovy location (on your hard disk) and the
location of the native launcher. The groovy version influences the final name of the
installer.

The launch scripts are setting the following variables:

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


Most probably you only have to set these variables and you are happy to go.

Have fun, Joachim

Contact: joachim.baumann@xinaris.de
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
; 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
39 changes: 39 additions & 0 deletions groovy/modules/installers/windows/NSIS-Groovy/fileassociation.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
; Auto-generated by EclipseNSIS InstallOptions Script Wizard
; 26.07.2007 13:42:05
[Settings]
NumFields=4
Title=File Associations

[Field 1]
Type=Label
Left=50
Top=1
Right=249
Bottom=70
Text=File Association allows us to define a program (in our case groovy) to execute upon double click on a file. This means that you can execute your groovy programs directly from the explorer.\r\n\r\nAn added benefit is that the groovy icon is associated with groovy files.

[Field 2]
Type=CheckBox
Left=50
Top=70
Right=249
Bottom=80
Text=Add File Association
State=1

[Field 3]
Type=Label
Left=50
Top=90
Right=249
Bottom=130
Text=PATHEXT is an environment variable telling cmd.exe which files are executable. If Groovy-Files are already referenced, this checkbox is unchecked. If you know better, please set the checkbox to checked.

[Field 4]
Type=CheckBox
Left=50
Top=130
Right=249
Bottom=140
Text=Add to PATHEXT
State=1
Binary file not shown.
22 changes: 22 additions & 0 deletions groovy/modules/installers/windows/NSIS-Groovy/nativelauncher.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
; Auto-generated by EclipseNSIS InstallOptions Script Wizard
; 26.07.2007 12:57:18
[Settings]
NumFields=2
Title=Native Launcher

[Field 1]
Type=Label
Left=50
Top=20
Right=249
Bottom=89
Text=The Native Launcher is an executable, that in most cases is preferrable to the normal launching scripts. If you want file associations, than you have to install the native launcher.\r\n\r\nIf you don't know what this is about, then leave the checkbox in the checked state.
[Field 2]
Type=CheckBox
Left=50
Top=102
Right=249
Bottom=112
Text=Install Native Launcher
State=1
Loading

0 comments on commit 4d58e8b

Please sign in to comment.