Revision 27437
tags/v2_0_0_Build_2004/build/build.xml | ||
---|---|---|
1 |
<project name="Complete_build_system" basedir="." default="prepare-eclipse-workspace"> |
|
2 |
<description> |
|
3 |
Builds and prepare folders to work with eclipse using maven. |
|
4 |
Also is able to generate a release of all system with binaries distribution |
|
5 |
and sources distribution. |
|
6 |
</description> |
|
7 |
<!-- set global properties for this build --> |
|
8 |
<dirname file="${ant.file.Complete_build_system}" property="ant.file.Complete_build_system.dir"/> |
|
9 |
<dirname file="${ant.file.Complete_build_system.dir}" property="workspace_loc"/> |
|
10 |
<property name="mavendir" location="${ant.file.Complete_build_system.dir}/maven" /> |
|
11 |
<property environment="environment"/> |
|
12 |
|
|
13 |
<condition property="mvn.executable" value="${mavendir}/bin/mvn.bat" else="${mavendir}/bin/mvn"> |
|
14 |
<os family="windows" /> |
|
15 |
</condition> |
|
16 |
|
|
17 |
<condition property="isLinux"> |
|
18 |
<and> |
|
19 |
<os family="unix" /> |
|
20 |
<not> |
|
21 |
<os family="mac" /> |
|
22 |
</not> |
|
23 |
</and> |
|
24 |
</condition> |
|
25 |
<condition property="isWindows"> |
|
26 |
<or> |
|
27 |
<os family="windows" /> |
|
28 |
<os family="win9x" /> |
|
29 |
<os name="Windows Vista" /> |
|
30 |
</or> |
|
31 |
</condition> |
|
32 |
<condition property="isMac"> |
|
33 |
<os family="mac" /> |
|
34 |
</condition> |
|
35 |
|
|
36 |
<condition property="gvsig.os" value="w32"> |
|
37 |
<os family="windows" /> |
|
38 |
</condition> |
|
39 |
<condition property="gvsig.os" value="linux"> |
|
40 |
<and> |
|
41 |
<os family="unix" /> |
|
42 |
<not> |
|
43 |
<os family="mac" /> |
|
44 |
</not> |
|
45 |
</and> |
|
46 |
</condition> |
|
47 |
<condition property="gvsig.os" value="mac"> |
|
48 |
<os family="mac" /> |
|
49 |
</condition> |
|
50 |
|
|
51 |
<property name="native-binaries-dir" value="${workspace_loc}/binaries" /> |
|
52 |
|
|
53 |
<presetdef name="maven"> |
|
54 |
<exec executable="${mvn.executable}"> |
|
55 |
<env key="JAVA_HOME" value="${java.home}"/> |
|
56 |
</exec> |
|
57 |
</presetdef> |
|
58 |
|
|
59 |
<target name="prepare-eclipse-workspace" depends="mvn-clean,mvn-install-without-tests"> |
|
60 |
<maven> |
|
61 |
<arg value="-Declipse.workspace='${workspace_loc}'" /> |
|
62 |
<arg value="eclipse:add-maven-repo" /> |
|
63 |
</maven> |
|
64 |
<maven> |
|
65 |
<arg value="eclipse:eclipse" /> |
|
66 |
</maven> |
|
67 |
|
|
68 |
</target> |
|
69 |
<target name="mvn-clean"> |
|
70 |
<maven> |
|
71 |
<arg value="clean" /> |
|
72 |
</maven> |
|
73 |
</target> |
|
74 |
<target name="mvn-install-without-tests"> |
|
75 |
<maven> |
|
76 |
<arg value="install" /> |
|
77 |
<arg value="-Dmaven.test.skip=true" /> |
|
78 |
</maven> |
|
79 |
</target> |
|
80 |
|
|
81 |
<target name="install-gvsig-base" depends="mvn-clean,mvn-install-extensions,mvn-eclipse-clean"> |
|
82 |
<maven> |
|
83 |
<arg value="eclipse:eclipse" /> |
|
84 |
</maven> |
|
85 |
</target> |
|
86 |
|
|
87 |
<target name="mvn-install-extensions"> |
|
88 |
<maven> |
|
89 |
<arg value="install" /> |
|
90 |
<arg value="-Dmaven.test.skip=true" /> |
|
91 |
<arg value="-Dinstall-extension" /> |
|
92 |
</maven> |
|
93 |
</target> |
|
94 |
|
|
95 |
<target name="mvn-install"> |
|
96 |
<maven> |
|
97 |
<arg value="install" /> |
|
98 |
</maven> |
|
99 |
</target> |
|
100 |
|
|
101 |
<target name="mvn-eclipse-clean"> |
|
102 |
<maven> |
|
103 |
<arg value="eclipse:clean" /> |
|
104 |
</maven> |
|
105 |
</target> |
|
106 |
|
|
107 |
<target name="mvn-eclipse-eclipse"> |
|
108 |
<maven> |
|
109 |
<arg value="eclipse:eclipse" /> |
|
110 |
</maven> |
|
111 |
</target> |
|
112 |
|
|
113 |
<!-- TODO: Target for make complete building of gvSIG, calling all enabled projects by default --> |
|
114 |
|
|
115 |
<!-- target name="work" description="prepares system to begin working with eclipse" depends="prepare-eclipse-workspace" / --> |
|
116 |
|
|
117 |
</project> |
|
118 |
|
tags/v2_0_0_Build_2004/build/distribution/example-distribution/win-distribution/build.xml | ||
---|---|---|
1 |
<project name="instalador-gvSIG" default="init" basedir="."> |
|
2 |
<!-- |
|
3 |
<property name="dir_inst" location="C:\Archivos de programa"/> |
|
4 |
<property name="base_dir" location="./"/> |
|
5 |
<property name="dir_libs" location="C:\Archivos de programa\IzPack\lib"/> |
|
6 |
<property name="vers" location="0.6"/> |
|
7 |
<property name="izpack_dir" location="C:\Archivos de programa\IzPack"/> |
|
8 |
--> |
|
9 |
|
|
10 |
<property name="dir_inst" location="/usr/local"/> |
|
11 |
<property name="base_dir" location="./"/> |
|
12 |
<!--property name="base_dir" location="D:\java\workspaces\osg_2_2_1-snapshot\ext3Dgui\target\ext3Dgui-1.0-SNAPSHOT-distribution\ext3Dgui-1.0-SNAPSHOT\win\ "/--> |
|
13 |
<property name="izpack_dir" location="../../../build/distribution/IzPack/"/> |
|
14 |
<property name="dir_libs" location="${izpack_dir}/lib"/> |
|
15 |
<property name="INSTALL_FILE" location="install_15.xml"/> |
|
16 |
<property name="JARNAME" location="default_name_installer-WIN"/> |
|
17 |
|
|
18 |
<taskdef name="izpack" classpath="${dir_libs}/compiler.jar" classname="com.izforge.izpack.ant.IzPackTask"/> |
|
19 |
|
|
20 |
<target name="init"> |
|
21 |
<izpack input="${INSTALL_FILE}" |
|
22 |
output="${JARNAME}" |
|
23 |
installerType="standard" |
|
24 |
basedir="${base_dir}" |
|
25 |
izPackDir="${izpack_dir}/"/> |
|
26 |
</target> |
|
27 |
|
|
28 |
<target name="clean"> |
|
29 |
<delete> |
|
30 |
<fileset dir="."> |
|
31 |
<include name="**.zip"/> |
|
32 |
</fileset> |
|
33 |
</delete> |
|
34 |
<delete dir="bin" /> |
|
35 |
<delete dir="extensions" /> |
|
36 |
</target> |
|
37 |
|
|
38 |
</project> |
|
0 | 39 |
tags/v2_0_0_Build_2004/build/distribution/example-distribution/win-distribution/distribution-win32.xml | ||
---|---|---|
1 |
<assembly> |
|
2 |
<id>distribution</id> |
|
3 |
<formats> |
|
4 |
<format>dir</format> |
|
5 |
</formats> |
|
6 |
<includeBaseDirectory>true</includeBaseDirectory> |
|
7 |
<!-- baseDirectory>d:/java/distri</baseDirectory--> |
|
8 |
<fileSets> |
|
9 |
<!-- Extructure for the extension --> |
|
10 |
<fileSet> |
|
11 |
<directory>/config</directory> |
|
12 |
<outputDirectory>/win/bin/${extension-distribution}</outputDirectory> |
|
13 |
</fileSet> |
|
14 |
<fileSet> |
|
15 |
<directory>/images</directory> |
|
16 |
<outputDirectory>/win/bin/${extension-distribution}/images</outputDirectory> |
|
17 |
</fileSet> |
|
18 |
<!-- Extructure for the native libraries --> |
|
19 |
<fileSet> |
|
20 |
<directory>${basedir}/../binaries/w32/3D/</directory> |
|
21 |
<outputDirectory>/win/lib</outputDirectory> |
|
22 |
</fileSet> |
|
23 |
</fileSets> |
|
24 |
<files> |
|
25 |
<file> |
|
26 |
<source>build.number</source> |
|
27 |
<outputDirectory>/win/bin/${extension-distribution}</outputDirectory> |
|
28 |
</file> |
|
29 |
</files> |
|
30 |
<!-- *********************************************************************** --> |
|
31 |
<!-- * *--> |
|
32 |
<!-- ***********************************************************************--> |
|
33 |
<dependencySets> |
|
34 |
<dependencySet> |
|
35 |
<outputDirectory>/win/bin/${extension-distribution}/lib/</outputDirectory> |
|
36 |
<includes> |
|
37 |
<include>org.gvsig.osgvp.libosgvp:*</include> |
|
38 |
<include>jogl:*</include> |
|
39 |
<include>org.gvsig:lib3DMap</include> |
|
40 |
<include>org.gvsig:libCacheService</include> |
|
41 |
<include>org.gvsig:ext3Dgui</include> |
|
42 |
</includes> |
|
43 |
</dependencySet> |
|
44 |
<dependencySet> |
|
45 |
<outputDirectory>/win/bin/${gvsig-extension-distribution}/lib</outputDirectory> |
|
46 |
<includes> |
|
47 |
<include>org.gvsig:lib3DMap-share</include> |
|
48 |
</includes> |
|
49 |
</dependencySet> |
|
50 |
</dependencySets> |
|
51 |
</assembly> |
|
0 | 52 |
tags/v2_0_0_Build_2004/build/distribution/example-distribution/win-distribution/installer_files/README.txt | ||
---|---|---|
1 |
gvSIG v1.0 RC1 |
|
2 |
|
|
3 |
|
|
4 |
Application Requirements: |
|
5 |
|
|
6 |
? ? - System |
|
7 |
|
|
8 |
? ? ? ? ? At least: Pentium III / 256 MB RAM. |
|
9 |
|
|
10 |
? ? ? ? ? Recommended: Pentium 4 / 512 MB RAM. |
|
11 |
|
|
12 |
????????? OSes: platforms Windows and Linux. |
|
13 |
????????Tested in Win98/XP, Linux Suse 8.2/9.0/9.2 and Linux Debian(Lliurex). |
|
14 |
|
|
15 |
|
|
16 |
? ? - Installed Software (available in http://www.gvsig.gva.es or in http://java.sun.com) |
|
17 |
|
|
18 |
????????? Java VM 1.4.2 (06 or above). |
|
19 |
|
|
20 |
????????? JAI (Java Advanced Imaging). |
|
21 |
|
|
22 |
????????? JAI Image I/O. |
|
23 |
|
|
24 |
Note: The JAI and JAI Image I/O must be installed into the same Java VM that runs gvSIG. |
|
25 |
|
|
26 |
|
|
27 |
Further information and support: |
|
28 |
|
|
29 |
? ? Official web site: |
|
30 |
|
|
31 |
? ? ? ? http://www.gvsig.gva.es |
|
32 |
|
|
33 |
? ? Mailing lists: |
|
34 |
|
|
35 |
? ? ? ? http://runas.cap.gva.es/mailman/listinfo/gvsig_usuarios (users). |
|
36 |
|
|
37 |
? ? ? ? http://runas.cap.gva.es/mailman/listinfo/gvsig_desarrolladores (developers). |
|
38 |
|
|
39 |
? ? ? ? http://runas.cap.gva.es/mailman/listinfo/gvsig_internacional (non-spanish users and developers). |
|
0 | 40 |
tags/v2_0_0_Build_2004/build/distribution/example-distribution/win-distribution/installer_files/install.bat | ||
---|---|---|
1 |
java -jar JARNAME |
tags/v2_0_0_Build_2004/build/distribution/example-distribution/win-distribution/installer_files/LLIG-ME.txt | ||
---|---|---|
1 |
gvSIG v1.0 RC1 |
|
2 |
|
|
3 |
|
|
4 |
Requisits de l'aplicaci?: |
|
5 |
|
|
6 |
? ? - Sistema |
|
7 |
|
|
8 |
? ? ? ? ? M?nims: Pentium III / 256 MB RAM. |
|
9 |
|
|
10 |
? ? ? ? ? Recomanables: Pentium 4 / 512 MB RAM. |
|
11 |
|
|
12 |
? ? ? ? ? Sistemes operatius: plataformes Windows i Linux. |
|
13 |
? ? ? ? Provat en Win98/XP, Linux Suse 8.2/9.0/9.2 i Linux Debian(Lliurex). |
|
14 |
|
|
15 |
|
|
16 |
? ? - Programari instal?lat (disponible en http://www.gvsig.gva.es o en http://java.sun.com) |
|
17 |
|
|
18 |
? ? ? ? ? M?quina Virtual Java 1.4.2 (06 o superior). |
|
19 |
|
|
20 |
? ? ? ? ? JAI (Java Advanced Imaging). |
|
21 |
|
|
22 |
? ? ? ? ? JAI Image I/O. |
|
23 |
|
|
24 |
|
|
25 |
Nota: les libreries JAI i JAI Image I/O han d'estar instal?lades sobre la M?quina Virtual Java que gvSIG utilitze en l'execuci?. |
|
26 |
|
|
27 |
|
|
28 |
M?s informaci? ? suport: |
|
29 |
|
|
30 |
? ? Web oficial del projecte: |
|
31 |
|
|
32 |
? ? ? ? http://www.gvsig.gva.es |
|
33 |
|
|
34 |
? ? Llistes de distribuci?: |
|
35 |
|
|
36 |
? ? ? ? http://runas.cap.gva.es/mailman/listinfo/gvsig_usuarios (suport per a usuaris). |
|
37 |
|
|
38 |
? ? ? ? http://runas.cap.gva.es/mailman/listinfo/gvsig_desarrolladores (suport per a desenvolupadors). |
|
39 |
|
|
40 |
? ? ? ? http://runas.cap.gva.es/mailman/listinfo/gvsig_internacional (suport per a usuaris o desenvolupadors de parla no-hispana). |
|
41 |
|
|
42 |
|
|
0 | 43 |
tags/v2_0_0_Build_2004/build/distribution/example-distribution/win-distribution/installer_files/LEEME.txt | ||
---|---|---|
1 |
gvSIG v1.0 RC1 |
|
2 |
|
|
3 |
Requisitos de la aplicaci?n: |
|
4 |
|
|
5 |
? ? - Sistema |
|
6 |
|
|
7 |
? ? ? ? ? M?nimos: Pentium III / 256 MB RAM. |
|
8 |
|
|
9 |
? ? ? ? ? Recomendables: Pentium 4 / 512 MB RAM. |
|
10 |
|
|
11 |
? ? ? ? ? Sistemas operativos: plataformas Windows y Linux. |
|
12 |
? ? ? ? Probado en Win98/XP, Linux Suse 8.2/9.0/9.2 y Linux Debian(Lliurex). |
|
13 |
|
|
14 |
|
|
15 |
? ? - Software instalado (diponible en http://www.gvsig.gva.es o en http://java.sun.com) |
|
16 |
|
|
17 |
? ? ? ? ? M?quina Virtual Java 1.4.2 (06 o superior). |
|
18 |
|
|
19 |
? ? ? ? ? JAI (Java Advanced Imaging). |
|
20 |
|
|
21 |
? ? ? ? ? JAI Image I/O. |
|
22 |
|
|
23 |
|
|
24 |
Nota: Las librer?as JAI y JAI Image I/O deben estar instaladas sobre la M?quina Virtual Java que gvSIG utilice en su ejecuci?n. |
|
25 |
|
|
26 |
|
|
27 |
M?s informaci?n y soporte: |
|
28 |
|
|
29 |
? ? Web oficial del proyecto: |
|
30 |
|
|
31 |
? ? ? ? http://www.gvsig.gva.es |
|
32 |
|
|
33 |
? ? Listas de distribuci?n: |
|
34 |
|
|
35 |
? ? ? ? http://runas.cap.gva.es/mailman/listinfo/gvsig_usuarios (soporte para usuarios). |
|
36 |
|
|
37 |
? ? ? ? http://runas.cap.gva.es/mailman/listinfo/gvsig_desarrolladores (soporte para desarrolladores). |
|
38 |
|
|
39 |
? ? ? ? http://runas.cap.gva.es/mailman/listinfo/gvsig_internacional (soporte para usuarios o desarrolladores de habla no hispana). |
|
0 | 40 |
tags/v2_0_0_Build_2004/build/distribution/example-distribution/win-distribution/Notas_asociaciacion_archivos.txt | ||
---|---|---|
1 |
|
|
2 |
Pareceser que hay que a?adir unas claves al registro... |
|
3 |
puede hacerse generando un fichero .reg |
|
4 |
con las claves preparadas y usando el regedit en modo silencioso |
|
5 |
|
|
6 |
el comando es: |
|
7 |
regedit /s fichero.reg |
|
8 |
|
|
9 |
|
|
10 |
la claves son: |
|
11 |
HKCR\{ext} = {typeAbr} |
|
12 |
HKCR\{typeAbr}\ = {typeName} |
|
13 |
HKCR\{typeAbr}\DefaultIcon = {FileIcon} |
|
14 |
HKCR\{typeAbr}\shell\open\command = {exeCommand} |
|
15 |
|
|
16 |
|
|
17 |
estas no parecen necesarias: |
|
18 |
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\{ext}\Application = {exeName} |
|
19 |
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\{ext}\OpenWithList\a = {exeName} |
|
20 |
|
|
21 |
donde: |
|
22 |
{ext} = ".gvp" |
|
23 |
{typeAbr} ="gvSIGProject" |
|
24 |
{typeName} ="gvSIG Project file" |
|
25 |
{FileIcon} = "gvSIG.ico" || "gvSIG.exe" |
|
26 |
{exeCommand} = "gvSIG.exe %L" |
|
27 |
{exeName} = "gvSIG.exe" |
|
28 |
|
|
29 |
|
|
30 |
Ejeplo de fichero .reg: |
|
31 |
REGEDIT4 |
|
32 |
|
|
33 |
[HKEY_CLASSES_ROOT\.gvp] |
|
34 |
@="gvSIGProject" |
|
35 |
|
|
36 |
[HKEY_CLASSES_ROOT\gvSIGProject] |
|
37 |
@="gvSIG Project file" |
|
38 |
|
|
39 |
[HKEY_CLASSES_ROOT\gvSIGProject\DefaultIcon] |
|
40 |
@="C:\\Archivos de programas\\gvSIG_1.0\\bin\\ico-gvSIG.ico,0" |
|
41 |
|
|
42 |
|
|
43 |
[HKEY_CLASSES_ROOT\gvSIGProject\shell\open] |
|
44 |
@="Abrir" |
|
45 |
|
|
46 |
[HKEY_CLASSES_ROOT\gvSIGProject\shell\open\command] |
|
47 |
@="C:\\Archivos de programas\\gvSIG_1.0\\bin\\gvSIG.exe \"%1\"" |
|
48 |
|
|
49 |
|
|
50 |
|
|
51 |
|
|
52 |
|
|
53 |
|
|
54 |
|
|
55 |
|
|
56 |
|
|
57 |
|
|
58 |
|
|
59 |
|
|
60 |
|
|
61 |
******************************************************************* |
|
62 |
URL's y recortes: |
|
63 |
|
|
64 |
|
|
65 |
http://en.wikipedia.org/wiki/Windows_registry |
|
66 |
|
|
67 |
http://www.akadia.com/services/windows_registry_tutorial.html |
|
68 |
|
|
69 |
http://webtools.live2support.com/windows/ |
|
70 |
|
|
71 |
|
|
72 |
|
|
73 |
|
|
74 |
|
|
75 |
|
|
76 |
|
|
77 |
http://www.freevbcode.com/ShowCode.asp?ID=2799 |
|
78 |
****************** |
|
79 |
usando VB |
|
80 |
|
|
81 |
|
|
82 |
Public Sub associate(EXT As String, FileType As String, _ |
|
83 |
FileName As String) |
|
84 |
On Error Resume Next |
|
85 |
Dim b As Object |
|
86 |
Set b = CreateObject("wscript.shell") |
|
87 |
b.regwrite "HKCR\" & EXT & "\", FileType |
|
88 |
b.regwrite "HKCR\" & FileType & "\", "MY file" |
|
89 |
b.regwrite "HKCR\" & FileType & "\DefaultIcon\", FileName |
|
90 |
b.regwrite "HKCR\" & FileType & "\shell\open\command\", _ |
|
91 |
FileName & " %L" |
|
92 |
b.regdelete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\" & EXT & "\Application" |
|
93 |
b.regwrite "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\" & EXT & "\Application", FileName |
|
94 |
b.regdelete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\" & EXT & "\OpenWithList\" |
|
95 |
b.regwrite "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\" & EXT & "\OpenWithList\a", FileName |
|
96 |
|
|
97 |
End Sub |
|
98 |
|
|
99 |
'Sample Usage |
|
100 |
Private Sub Form_Load() |
|
101 |
associate ".jpg", "JPGFile", _ |
|
102 |
"C:\Program Files\Accessories\MSPAINT.EXE" |
|
103 |
Unload Me |
|
104 |
End Sub |
|
105 |
|
|
106 |
|
|
107 |
**************** |
|
108 |
|
|
109 |
|
|
110 |
http://www.ss64.com/nt/: |
|
111 |
http://www.ss64.com/nt/ftype.html |
|
112 |
************************************************************************** |
|
113 |
FTYPE |
|
114 |
|
|
115 |
Display or change the link between a FileType and an executable program |
|
116 |
|
|
117 |
Syntax |
|
118 |
FTYPE fileType=executable_path |
|
119 |
|
|
120 |
FTYPE |
|
121 |
|
|
122 |
FTYPE fileType |
|
123 |
|
|
124 |
FTYPE fileType= |
|
125 |
|
|
126 |
Key |
|
127 |
fileType : The type of file |
|
128 |
|
|
129 |
executable_path : The executable program including any command line parameters |
|
130 |
|
|
131 |
More than one file extension may be associated with the same File Type. |
|
132 |
e.g. both the extension .JPG and the extension .JPEG may be associated with the File Type "jpegfile" |
|
133 |
|
|
134 |
File Types can be displayed in the Windows Explorer GUI: [View, Options, File Types] however the spelling is usually different to that expected by the FTYPE command e.g. the File Type "txtfile" is displayed in the GUI as "Text Document"and "jpegfile" is displayed as "image/jpeg" |
|
135 |
|
|
136 |
Several FileTypes can be linked to the same executable application, but |
|
137 |
one FileType cannot be linked to more than one executable application. |
|
138 |
|
|
139 |
FTYPE file type will display the current executable program for that file type. |
|
140 |
|
|
141 |
FTYPE without any parameters will display all FileTypes and the executable program for each. |
|
142 |
|
|
143 |
Defining command line parameters |
|
144 |
|
|
145 |
It is almost always necessary to supply command line parameters so that when a document is opened not only is the relevant application loaded into memory but the document itself also loaded into the application. To make this happen the filename of the document must be passed back to the application. |
|
146 |
|
|
147 |
Command line parameters are exactly like batch file parameters, %0 is the executable program and %1 will reference the document filename |
|
148 |
|
|
149 |
so a simple command line might be: |
|
150 |
|
|
151 |
MyApplication.exe "%1" |
|
152 |
|
|
153 |
If any further parameters are required by the application they can be passed as %2, %3. To pass ALL parameters to an application use %*. To pass all the remaining parameters starting with the nth parameter, use %~n where n is between 2 and 9. |
|
154 |
|
|
155 |
The FileType should always be created before making a File Association |
|
156 |
|
|
157 |
For example: |
|
158 |
|
|
159 |
FTYPE htmlfile="C:\PROGRA~1\Plus!\MICROS~1\iexplore.exe" -nohome |
|
160 |
ASSOC .html=htmlfile |
|
161 |
|
|
162 |
FTYPE pagemill.html=C:\PROGRA~1\Adobe\PAGEMI~1.0\PageMill.exe "%1" |
|
163 |
ASSOC .html=pagemill.html |
|
164 |
|
|
165 |
FTYPE rtffile="C:\Program Files\Windows NT\Accessories\WORDPAD.EXE" "%1" |
|
166 |
ASSOC .rtf=rtffile |
|
167 |
|
|
168 |
FTYPE word.rtf.8="C:\Program Files\Microsoft Office\Office\winword.exe" /n |
|
169 |
ASSOC .rtf=word.rtf.8 |
|
170 |
|
|
171 |
Switching a File Association between multiple applications |
|
172 |
|
|
173 |
If you have multiple applications that use the same file extension, the ASSOC command can be used to switch the file extension between the different FileTypes. |
|
174 |
|
|
175 |
Deleting a FileType |
|
176 |
|
|
177 |
Specify executable_path=nothing and the FTYPE command will delete the executable_path for that FileType. |
|
178 |
For example: |
|
179 |
FTYPE htmlfile= |
|
180 |
|
|
181 |
Backing up your FileTypes |
|
182 |
|
|
183 |
FTYPE >backup_types.txt |
|
184 |
ASSOC >backup_ext.txt |
|
185 |
|
|
186 |
Restoring your FileTypes from a Backup |
|
187 |
|
|
188 |
FOR /F "tokens=* delims=" %G IN (backup_types.txt) DO FTYPE %G |
|
189 |
FOR /F "tokens=* delims=" %G IN (backup_ext.txt) DO ASSOC %G |
|
190 |
|
|
191 |
This will recreate the CLASS id's in the registry at HKey_Classes_Root\.<file extension> |
|
192 |
If you put the commands above in a batch file change the %G to be %%G |
|
193 |
|
|
194 |
Using File associations at the command line |
|
195 |
|
|
196 |
If you have a file association between .DOC and Word for Windows then at a command prompt you can open a document with any of the following commands: |
|
197 |
|
|
198 |
Start "My Document.doc" |
|
199 |
"Monthly Report.doc" |
|
200 |
JULY.DOC |
|
201 |
|
|
202 |
note that the file extension must be supplied for this to work |
|
203 |
|
|
204 |
"True to type - Of a plant, or group of plants, which matches the accepted description of the cultivar to which it is assumed to belong" |
|
205 |
|
|
206 |
Related Commands: |
|
207 |
|
|
208 |
ASSOC - Change file extension associations |
|
209 |
Batch file to list the application associated with a file extension |
|
210 |
ASSOCIAT - One step file association (Resource Kit) |
|
211 |
|
|
212 |
************************************************************************** |
|
213 |
|
|
214 |
http://www.ss64.com/nt/assoc.html |
|
215 |
************************************************************************* |
|
216 |
|
|
217 |
ASSOC |
|
218 |
|
|
219 |
Display or change the association between a file extension and a fileType |
|
220 |
|
|
221 |
Syntax |
|
222 |
ASSOC .ext = [fileType] |
|
223 |
ASSOC |
|
224 |
ASSOC .ext |
|
225 |
ASSOC .ext = |
|
226 |
|
|
227 |
Key |
|
228 |
.ext : The file extension |
|
229 |
fileType : The type of file |
|
230 |
|
|
231 |
A file extension is the last few characters in a FileName after the period. |
|
232 |
So a file called JANUARY.HTML has the file extension .HTML |
|
233 |
|
|
234 |
The File extension is used by Windows NT to determine the type of information stored in the file and therefore which application(s) will be able to display the information in the file. File extensions are not case sensitive and are not limited to 3 characters. |
|
235 |
|
|
236 |
More than one file extension may be associated with the same File Type. |
|
237 |
e.g. both the extension .JPG and the extension .JPEG may be associated with the File Type "jpegfile" |
|
238 |
|
|
239 |
At any one time a given file extension may only be associated with one File Type. |
|
240 |
e.g. If you change the extension .JPG so it is associated with the File Type "txtfile" then it's normal association with "jpegfile" will disappear. Removing the association to "txtfile" does not restore the association to "jpegfile" |
|
241 |
|
|
242 |
File Types can be displayed in the Windows Explorer GUI: [View, Options, File Types] however the spelling is usually different to that expected by the ASSOC command e.g. the File Type "txtfile" is displayed in the GUI as "Text Document"and "jpegfile" is displayed as "image/jpeg" |
|
243 |
|
|
244 |
The command ASSOC followed by just a file extension will display the current File Type for that extension. |
|
245 |
|
|
246 |
ASSOC without any parameters will display all the current file associations. |
|
247 |
|
|
248 |
ASSOC with ".ext=" will delete the association for that file extension. |
|
249 |
|
|
250 |
Did you leave the Always Use This Program To Open This File option turned on? |
|
251 |
To change it back so it prompts you to specify a program each time, just delete the association for that file type |
|
252 |
ASSOC .ext= |
|
253 |
[where .ext is the file extension]. |
|
254 |
Now when you double-click on a file of that type, the system will ask you what program you want to use. |
|
255 |
|
|
256 |
Using the ASSOC command will edit values stored in the registry at HKey_Classes_Root\.<file extension> |
|
257 |
Therefore it's possible to use registry permissions to protect a file extension and prevent any file association changes. |
|
258 |
|
|
259 |
Examples: |
|
260 |
|
|
261 |
Viewing file associations: |
|
262 |
|
|
263 |
ASSOC .txt |
|
264 |
ASSOC .doc |
|
265 |
ASSOC >backup.txt |
|
266 |
|
|
267 |
Editing file associations: |
|
268 |
|
|
269 |
ASSOC .txt=txtfile |
|
270 |
ASSOC .DIC=txtfile |
|
271 |
ASSOC .html=Htmlfile |
|
272 |
|
|
273 |
Deleting a file association: |
|
274 |
|
|
275 |
ASSOC .html= |
|
276 |
|
|
277 |
Repair .REG and .EXE file associations: |
|
278 |
|
|
279 |
ASSOC .EXE=exefile |
|
280 |
ASSOC .REG=regfile |
|
281 |
|
|
282 |
Digging through CLASSES_ROOT entries often reveals more than one shell for the same application, for example the Apple Quick Time player has two entries, one to "open" (which gives an annoying nag screen) and one to just "play" the QT file: |
|
283 |
[HKEY_CLASSES_ROOT\MOVFile\shell\open] and [play] |
|
284 |
|
|
285 |
In cases like this you can change the default action e.g. |
|
286 |
[HKEY_CLASSES_ROOT\MOVFile\shell] |
|
287 |
@="play" |
|
288 |
|
|
289 |
"Of all forms of caution, caution in love is perhaps the most fatal to true happiness" - Bertrand Russell |
|
290 |
|
|
291 |
Related: |
|
292 |
|
|
293 |
FTYPE - Edit file types (used in file extension associations) |
|
294 |
Batch file to list the application associated with a file extension |
|
295 |
ASSOCIAT - One step file association (Resource Kit) |
|
296 |
Q162059 - Associate Internet Explorer with MS Office files |
|
297 |
JSIFAQ - Tip 9715 - List File Types with executable path |
|
298 |
|
|
299 |
**************************************************************** |
|
300 |
|
|
301 |
|
|
302 |
http://www.ss64.com/nt/associate.html |
|
303 |
********************************************************************** |
|
304 |
ASSOCIATE.exe (Resource Kit) |
|
305 |
|
|
306 |
One step file association. |
|
307 |
|
|
308 |
This utility does the job of both ASSOC and FTYPE, in one step. ASSOCIATE assigns an extension directly with an executable application. This is done by automatically adding a new FileType to the system registry. |
|
309 |
|
|
310 |
Syntax |
|
311 |
ASSOCIATE .ext filename [/q /d /f] |
|
312 |
|
|
313 |
Key |
|
314 |
.ext : Extension to be associated. |
|
315 |
filename : Executable program to associate .ext with. |
|
316 |
/q : Quiet - Suppress interactive prompts. |
|
317 |
/f : Force - Force overwrite or delete without questions. |
|
318 |
/d : Delete - Delete the association. |
|
319 |
|
|
320 |
A file extension is the last few characters in a FileName after the period. |
|
321 |
So a file called JANUARY.HTML has the file extension .HTML |
|
322 |
|
|
323 |
The File extension is used by Windows NT to determine the type of information stored in the file and therefore which application(s) will be able to display the information in the file. File extensions are not case sensitive and are not limited to 3 characters. |
|
324 |
|
|
325 |
Example: adding a File Association |
|
326 |
|
|
327 |
To add the File Type "SQLfile"=Notepad.exe and also set the File Association of .SQL="SQLfile" run this command: |
|
328 |
|
|
329 |
ASSOCIATE .SQL Notepad.exe |
|
330 |
|
|
331 |
Example: Removing a File Association |
|
332 |
|
|
333 |
ASSOCIATE .SQL /d |
|
334 |
|
|
335 |
Note that /d will delete the File Association but will NOT delete the File Type. |
|
336 |
|
|
337 |
File types created by Associate.exe are always given a name in the form xxxfile, where xxx is the file extension. |
|
338 |
|
|
339 |
"There are three roads to ruin; women, gambling and technicians. The most pleasant is with women, the quickest is with gambling, but the surest is with technicians" - Georges Pompidou |
|
340 |
|
|
341 |
Related Commands: |
|
342 |
|
|
343 |
ASSOC Change file extension associations |
|
344 |
FTYPE Display or modify file types used in file extension associations |
|
345 |
********************************************************************** |
|
346 |
|
|
347 |
|
|
348 |
|
|
349 |
|
|
350 |
WINDOWS 98 |
|
351 |
|
|
352 |
|
|
353 |
http://groups.google.com/group/alt.msdos.batch/browse_thread/thread/556321da29c9ca2e/e60e3330cd284b99?lnk=gst&q=file+association&rnum=2#e60e3330cd284b99 |
|
354 |
*************************************************************************** |
|
355 |
|
|
356 |
|
|
357 |
De: William Allen - ver perfil |
|
358 |
Fecha: Mi? 26 mar 2003 14:28 |
|
359 |
Correo electr?nico: "William Allen" <_inval...@mayfly13.fsnet.co.uk> |
|
360 |
Grupos: alt.msdos.batch |
|
361 |
Sin calificar |
|
362 |
Valoraci?n: |
|
363 |
mostrar opciones |
|
364 |
Responder | Responder al autor | Reenviar | Imprimir | Mensaje individual | Mostrar mensaje original | Notificar abuso | Buscar mensajes de este autor |
|
365 |
|
|
366 |
"Robert Mark Bram" wrote in message |
|
367 |
> I recently asked this question in alt.msdos.batch.nt -- but I need an answer |
|
368 |
> for Win 98.. |
|
369 |
|
|
370 |
> Can use a batch file to create a windows file association? |
|
371 |
|
|
372 |
Yes. Windows 95/98/ME users can use the Windows 98 Resource Kit |
|
373 |
utility ASSOCIAT.EXE (cloned from the NT4 Resource Kit), which will |
|
374 |
operate with the Windows 95/98/ME registries to create file associations |
|
375 |
very easily. ASSOCIAT.EXE provides an informative ERRORLEVEL and |
|
376 |
is designed for use in Batch files. Downloadable free from the Microsoft FTP site: |
|
377 |
ftp://ftp.microsoft.com/Services/TechNet/samples/ps/win98/Reskit/FILE/ |
|
378 |
|
|
379 |
and click on file: ASSOCIAT.EXE |
|
380 |
|
|
381 |
For syntax help with using ASSOCIAT.EXE, use the /? switch |
|
382 |
associat /? |
|
383 |
|
|
384 |
Full documentation, usage instructions, and syntax examples for Batch |
|
385 |
usage of all the Windows 98 Resource Kit Batch tools (which you can |
|
386 |
use in Windows 95 and ME, too): |
|
387 |
ftp://ftp.microsoft.com/Services/TechNet/samples/ps/win98/reskit/help... |
|
388 |
This is a fully indexed and searchable compiled help file. Although |
|
389 |
each utility responds to the usual /? for brief help, this main file has |
|
390 |
huge detail. When you have the file, look in the Contents section |
|
391 |
under "Scripting Tools". |
|
392 |
|
|
393 |
|
|
394 |
************************************************************************* |
|
395 |
|
|
396 |
PARA TODOS LOS WINDOWS |
|
397 |
|
|
398 |
http://www.robvanderwoude.com/index.html |
|
399 |
http://www.robvanderwoude.com/files/defopen.txt |
|
400 |
|
|
401 |
defopen.bat |
|
402 |
|
|
403 |
Create a default file association to Notepad and add "Open with Notepad", "Print with Notepad" and "Command Prompt Here" options to popup menus |
|
404 |
|
|
405 |
************************************************************************ |
|
406 |
@ECHO OFF |
|
407 |
:: No parameters required |
|
408 |
IF NOT [%1]==[] GOTO Syntax |
|
409 |
|
|
410 |
:: Choose the correct command processor for the current operating system |
|
411 |
SET _cmd= |
|
412 |
:: Variable to add shortcut to menu entry (NT only, |
|
413 |
:: since COMMAND.COM cannot echo an ampersand) |
|
414 |
SET _= |
|
415 |
ECHO.%COMSPEC% | FIND /I "command.com" >NUL |
|
416 |
IF NOT ERRORLEVEL 1 SET _cmd=command.com /e:4096 |
|
417 |
ECHO.%COMSPEC% | FIND /I "cmd.exe" >NUL |
|
418 |
IF NOT ERRORLEVEL 1 SET _cmd=cmd.exe |
|
419 |
IF [%_cmd%]==[cmd.exe] SET _=^& |
|
420 |
|
|
421 |
:: Create a temporary .REG file |
|
422 |
> "%Temp%.\DefOpen.reg" ECHO REGEDIT4 |
|
423 |
>>"%Temp%.\DefOpen.reg" ECHO. |
|
424 |
ECHO Adding "Open with Notepad" entry |
|
425 |
>>"%Temp%.\DefOpen.reg" ECHO [HKEY_CLASSES_ROOT\*\shell\open] |
|
426 |
>>"%Temp%.\DefOpen.reg" ECHO @="%_%Open with Notepad" |
|
427 |
>>"%Temp%.\DefOpen.reg" ECHO. |
|
428 |
>>"%Temp%.\DefOpen.reg" ECHO [HKEY_CLASSES_ROOT\*\shell\open\command] |
|
429 |
>>"%Temp%.\DefOpen.reg" ECHO @="notepad.exe \"%%1\"" |
|
430 |
>>"%Temp%.\DefOpen.reg" ECHO. |
|
431 |
ECHO Adding "Print with Notepad" entry |
|
432 |
>>"%Temp%.\DefOpen.reg" ECHO [HKEY_CLASSES_ROOT\*\shell\print] |
|
433 |
>>"%Temp%.\DefOpen.reg" ECHO @="%_%Print with Notepad" |
|
434 |
>>"%Temp%.\DefOpen.reg" ECHO. |
|
435 |
>>"%Temp%.\DefOpen.reg" ECHO [HKEY_CLASSES_ROOT\*\shell\print\command] |
|
436 |
>>"%Temp%.\DefOpen.reg" ECHO @="notepad.exe /p \"%%1\"" |
|
437 |
>>"%Temp%.\DefOpen.reg" ECHO. |
|
438 |
|
|
439 |
:: If neither COMMAND.COM nor CMD.EXE then skip this step |
|
440 |
IF [%_cmd%]==[] ECHO Skipping "Command Prompt Here" entry |
|
441 |
IF [%_cmd%]==[] GOTO Merge |
|
442 |
|
|
443 |
ECHO Adding "Command Prompt Here" entry |
|
444 |
:: Add Command Prompt Here for files |
|
445 |
>>"%Temp%.\DefOpen.reg" ECHO [HKEY_CLASSES_ROOT\*\shell\prompt] |
|
446 |
>>"%Temp%.\DefOpen.reg" ECHO @="Command Prompt Here" |
|
447 |
>>"%Temp%.\DefOpen.reg" ECHO. |
|
448 |
>>"%Temp%.\DefOpen.reg" ECHO [HKEY_CLASSES_ROOT\*\shell\prompt\command] |
|
449 |
>>"%Temp%.\DefOpen.reg" ECHO @="%_cmd% /k cd \"%%1\\..\"" |
|
450 |
>>"%Temp%.\DefOpen.reg" ECHO. |
|
451 |
:: Add Command Prompt Here for directories |
|
452 |
>>"%Temp%.\DefOpen.reg" ECHO [HKEY_CLASSES_ROOT\Directory\shell\prompt] |
|
453 |
>>"%Temp%.\DefOpen.reg" ECHO @="Command Prompt Here" |
|
454 |
>>"%Temp%.\DefOpen.reg" ECHO. |
|
455 |
>>"%Temp%.\DefOpen.reg" ECHO [HKEY_CLASSES_ROOT\Directory\shell\prompt\command] |
|
456 |
>>"%Temp%.\DefOpen.reg" ECHO @="%_cmd% /k cd \"%%1\"" |
|
457 |
>>"%Temp%.\DefOpen.reg" ECHO. |
|
458 |
:: Add Command Prompt Here for drives |
|
459 |
>>"%Temp%.\DefOpen.reg" ECHO [HKEY_CLASSES_ROOT\Drive\shell\prompt] |
|
460 |
>>"%Temp%.\DefOpen.reg" ECHO @="Command Prompt Here" |
|
461 |
>>"%Temp%.\DefOpen.reg" ECHO. |
|
462 |
>>"%Temp%.\DefOpen.reg" ECHO [HKEY_CLASSES_ROOT\Drive\shell\prompt\command] |
|
463 |
>>"%Temp%.\DefOpen.reg" ECHO @="%_cmd% /k cd \"%%1\"" |
|
464 |
>>"%Temp%.\DefOpen.reg" ECHO. |
|
465 |
|
|
466 |
:: Merge the temporary .REG file |
|
467 |
:Merge |
|
468 |
START /WAIT REGEDIT /S "%Temp%.\DefOpen.reg" |
|
469 |
|
|
470 |
:: Delete the temporary .REG file |
|
471 |
DEL "%Temp%.\DefOpen.reg" |
|
472 |
|
|
473 |
:: Ready |
|
474 |
GOTO End |
|
475 |
|
|
476 |
:Syntax |
|
477 |
ECHO. |
|
478 |
ECHO DefOpen.bat, Version 3.00 for Windows 95/98/NT 4/2000/XP |
|
479 |
ECHO Adds a default association: when a file without a file association |
|
480 |
ECHO is double-clicked, it will be opened with Notepad. |
|
481 |
ECHO Adds three new entries to the right mouse button menu as well: |
|
482 |
ECHO "Open with Notepad", "Print with Notepad" and "Command Prompt Here". |
|
483 |
ECHO. |
|
484 |
ECHO Usage: DEFOPEN |
|
485 |
ECHO. |
|
486 |
ECHO Written by Rob van der Woude |
|
487 |
ECHO http://www.robvanderwoude.com |
|
488 |
ECHO Notepad registry tip courtesy of Regedit.com |
|
489 |
ECHO http://www.regedit.com |
|
490 |
|
|
491 |
:: Clean up variables and quit |
|
492 |
:End |
|
493 |
SET _cmd= |
|
494 |
SET _= |
|
495 |
***************************** |
|
496 |
|
|
0 | 497 |
tags/v2_0_0_Build_2004/build/distribution/example-distribution/win-distribution/install.xml | ||
---|---|---|
1 |
<installation version="1.0"> |
|
2 |
<info> |
|
3 |
<appname>gvSIG_1.0 piloto 3D</appname> |
|
4 |
<appversion>1.0</appversion> |
|
5 |
<authors> |
|
6 |
<author |
|
7 |
name="Generalitat Valenciana. Conselleria d'Infraestructures i Transport" |
|
8 |
email="" /> |
|
9 |
<author name="Iver Tecnologías de la Información S.A." |
|
10 |
email="" /> |
|
11 |
</authors> |
|
12 |
<url>http://www.gvsig.gva.es/</url> |
|
13 |
<javaversion>1.4</javaversion> |
|
14 |
</info> |
|
15 |
|
|
16 |
<guiprefs height="600" resizable="yes" width="800"> |
|
17 |
<laf name="liquid"> |
|
18 |
<os family="windows" /> |
|
19 |
</laf> |
|
20 |
</guiprefs> |
|
21 |
|
|
22 |
<locale> |
|
23 |
<!-- only keep the languages which are also available in gvSIG --> |
|
24 |
<langpack iso3="spa" /> |
|
25 |
<langpack iso3="val" /> |
|
26 |
<langpack iso3="eng" /> |
|
27 |
<!-- <langpack iso3="cat"/> |
|
28 |
<langpack iso3="chn"/> --> |
|
29 |
<langpack iso3="cze" /> |
|
30 |
<!-- <langpack iso3="dan"/> --> |
|
31 |
<langpack iso3="deu" /> |
|
32 |
<!-- <langpack iso3="fin"/>--> |
|
33 |
<langpack iso3="fra" /> |
|
34 |
<langpack iso3="glg" /> |
|
35 |
<!-- <langpack iso3="hun"/> --> |
|
36 |
<langpack iso3="ita" /> |
|
37 |
<!-- <langpack iso3="jpn"/> |
|
38 |
<langpack iso3="mys"/> |
|
39 |
<langpack iso3="ned"/> |
|
40 |
<langpack iso3="nor"/> |
|
41 |
<langpack iso3="pol"/> --> |
|
42 |
<langpack iso3="por" /> |
|
43 |
<!-- <langpack iso3="rom"/> |
|
44 |
<langpack iso3="rus"/> |
|
45 |
<langpack iso3="scg"/> |
|
46 |
<langpack iso3="svk"/> |
|
47 |
<langpack iso3="swe"/> |
|
48 |
<langpack iso3="ukr"/> --> |
|
49 |
</locale> |
|
50 |
|
|
51 |
<native os="windows" type="izpack" name="ShellLink.dll" /> |
|
52 |
|
|
53 |
<resources> |
|
54 |
<res src="resources/gpl.txt" id="LicencePanel.licence" /> |
|
55 |
<res src="resources/LEEME.html" id="HTMLInfoPanel.info" /> |
|
56 |
<res src="resources/images/Logo_gvsig_gva.jpg" |
|
57 |
id="Installer.image" /> |
|
58 |
<res src="resources/userInputSpec.xml" id="userInputSpec.xml" /> |
|
59 |
<parsable os="windows" targetfile="resources/userInputSpec.xml" /> |
|
60 |
<res src="resources/userInputLang.xml_val" |
|
61 |
id="userInputLang.xml_val" /> |
|
62 |
<res src="resources/userInputLang.xml_spa" |
|
63 |
id="userInputLang.xml_spa" /> |
|
64 |
> |
|
65 |
</resources> |
|
66 |
|
|
67 |
<panels> |
|
68 |
<panel classname="HTMLInfoPanel" /> |
|
69 |
<panel classname="LicencePanel" /> |
|
70 |
<panel classname="PacksPanel" /> |
|
71 |
<panel classname="UserInputPanel" /> |
|
72 |
<panel classname="InstallPanel" /> |
|
73 |
<panel classname="SimpleFinishPanel" /> |
|
74 |
</panels> |
|
75 |
|
|
76 |
|
|
77 |
|
|
78 |
|
|
79 |
<packs> |
|
80 |
<!-- aki se ponen las cosas que ha que machacar --> |
|
81 |
<pack name="GvSIG UPDATES" required="yes"> |
|
82 |
<description>Extension piloto 3D</description> |
|
83 |
|
|
84 |
|
|
85 |
<!-- dll necesarias para la extension 3D --> |
|
86 |
<fileset targetdir="$INSTALL_PATH/lib" |
|
87 |
dir="../../ext3D/binaries/w32" override="true"> |
|
88 |
<include name="**/*" /> |
|
89 |
</fileset> |
|
90 |
|
|
91 |
<fileset targetdir="$JAVA_HOME/bin" |
|
92 |
dir="../../ext3D/binaries/w32" override="true"> |
|
93 |
<include name="**/*" /> |
|
94 |
</fileset> |
|
95 |
|
|
96 |
|
|
97 |
<!-- Copiando JDialogSkin --> |
|
98 |
<file |
|
99 |
targetdir="$INSTALL_PATH/bin/gvSIG/extensiones/com.iver.core/" |
|
100 |
src="/bin/gvSIG/extensiones/com.iver.core/com.iver.core.jar" |
|
101 |
override="true" /> |
|
102 |
|
|
103 |
<!-- Copiando la cache |
|
104 |
<file targetdir="$USER_HOME/gvSIG/.data/" |
|
105 |
src="/home/rgaitan/Desktop/cache" override="true" /> |
|
106 |
--> |
|
107 |
<!-- Sobreescribiendo el nuevo .ini --> |
|
108 |
<file os="windows" targetdir="$INSTALL_PATH/bin" |
|
109 |
src="resources/gvSIG.ini" override="true" /> |
|
110 |
<parsable os="windows" |
|
111 |
targetfile="$INSTALL_PATH/bin/gvSIG.ini" /> |
|
112 |
|
|
113 |
<file targetdir="$INSTALL_PATH/bin/" |
|
114 |
src="../../_fwAndami/theme" override="true" /> |
|
115 |
</pack> |
|
116 |
|
|
117 |
<!-- aki se ponen las cosas que ha que machacar --> |
|
118 |
<pack name="3D extensions" required="yes"> |
|
119 |
<description>Install 3D Extension</description> |
|
120 |
<file targetdir="$INSTALL_PATH/bin/gvSIG/extensiones/" |
|
121 |
src="/extensiones/com.iver.ai2.gvsig3d" |
|
122 |
override="true" /> |
|
123 |
</pack> |
|
124 |
|
|
125 |
<!-- aki se ponen las cosas que ha que machacar --> |
|
126 |
<pack name="Catalog client" required="yes"> |
|
127 |
<description>Install Catalog client</description> |
|
128 |
<file targetdir="$INSTALL_PATH/bin/gvSIG/extensiones/" |
|
129 |
src="/extensiones/es.gva.cit.gvsig.catalogClient" |
|
130 |
override="true" /> |
|
131 |
</pack> |
|
132 |
|
|
133 |
|
|
134 |
</packs> |
|
135 |
|
|
136 |
</installation> |
|
0 | 137 |
tags/v2_0_0_Build_2004/build/distribution/example-distribution/win-distribution/install_15.xml | ||
---|---|---|
1 |
<installation version="1.0"> |
|
2 |
<info> |
|
3 |
<appname>3D</appname> |
|
4 |
<appversion>1.2</appversion> |
|
5 |
<authors> |
|
6 |
<author |
|
7 |
name="Generalitat Valenciana. Conselleria d'Infraestructures i Transport" |
|
8 |
email="" /> |
|
9 |
<author name="Iver Tecnologías de la Información S.A." |
|
10 |
email="" /> |
|
11 |
</authors> |
|
12 |
<url>http://www.gvsig.gva.es/</url> |
|
13 |
<javaversion>1.5</javaversion> |
|
14 |
</info> |
|
15 |
|
|
16 |
<guiprefs height="600" resizable="yes" width="800"> |
|
17 |
<laf name="liquid"> |
|
18 |
<os family="windows" /> |
|
19 |
</laf> |
|
20 |
</guiprefs> |
|
21 |
|
|
22 |
<locale> |
|
23 |
<!-- only keep the languages which are also available in gvSIG --> |
|
24 |
<langpack iso3="spa" /> |
|
25 |
<langpack iso3="val" /> |
|
26 |
<langpack iso3="eng" /> |
|
27 |
<!-- <langpack iso3="cat"/> |
|
28 |
<langpack iso3="chn"/> --> |
|
29 |
<langpack iso3="cze" /> |
|
30 |
<!-- <langpack iso3="dan"/> --> |
|
31 |
<langpack iso3="deu" /> |
|
32 |
<!-- <langpack iso3="fin"/>--> |
|
33 |
<langpack iso3="fra" /> |
|
34 |
<langpack iso3="glg" /> |
|
35 |
<!-- <langpack iso3="hun"/> --> |
|
36 |
<langpack iso3="ita" /> |
|
37 |
<!-- <langpack iso3="jpn"/> |
|
38 |
<langpack iso3="mys"/> |
|
39 |
<langpack iso3="ned"/> |
|
40 |
<langpack iso3="nor"/> |
|
41 |
<langpack iso3="pol"/> --> |
|
42 |
<langpack iso3="por" /> |
|
43 |
<!-- <langpack iso3="rom"/> |
|
44 |
<langpack iso3="rus"/> |
|
45 |
<langpack iso3="scg"/> |
|
46 |
<langpack iso3="svk"/> |
|
47 |
<langpack iso3="swe"/> |
|
48 |
<langpack iso3="ukr"/> --> |
|
49 |
</locale> |
|
50 |
|
|
51 |
<native os="windows" type="izpack" name="ShellLink.dll" /> |
|
52 |
|
|
53 |
<resources> |
|
54 |
<res src="resources/gpl.txt" id="LicencePanel.licence" /> |
|
55 |
<res src="resources/LEEME.html" id="HTMLInfoPanel.info" /> |
|
56 |
<res src="resources/images/Logo_gvsig_gva.jpg" |
|
57 |
id="Installer.image" /> |
|
58 |
<res src="resources/userInputSpec.xml" id="userInputSpec.xml" /> |
|
59 |
<parsable os="windows" targetfile="resources/userInputSpec.xml" /> |
|
60 |
<res src="resources/userInputLang.xml_val" |
|
61 |
id="userInputLang.xml_val" /> |
|
62 |
<res src="resources/userInputLang.xml_spa" |
|
63 |
id="userInputLang.xml_spa" /> |
|
64 |
|
|
65 |
</resources> |
|
66 |
|
|
67 |
<panels> |
|
68 |
<panel classname="HTMLInfoPanel" /> |
|
69 |
<panel classname="LicencePanel" /> |
|
70 |
<panel classname="PacksPanel" /> |
|
71 |
<panel classname="UserInputPanel" /> |
|
72 |
<panel classname="InstallPanel" /> |
|
73 |
<panel classname="SimpleFinishPanel" /> |
|
74 |
</panels> |
|
75 |
|
|
76 |
<variables> |
|
77 |
<variable name="A" |
|
78 |
value="../../target/ext3D-distribution/ext3D/win" /> |
|
79 |
</variables> |
|
80 |
|
|
81 |
|
|
82 |
|
|
83 |
<packs> |
|
84 |
<!-- aki se ponen las cosas que ha que machacar --> |
|
85 |
<pack name="GvSIG UPDATES" required="yes"> |
|
86 |
<description>GvSIG updates</description> |
|
87 |
|
|
88 |
|
|
89 |
<!-- dll necesarias para la extension 3D --> |
|
90 |
<fileset targetdir="$INSTALL_PATH/lib" |
|
91 |
dir="../ext3D-distribution/ext3D/win/lib" override="true"> |
|
92 |
<include name="**/*" /> |
|
93 |
</fileset> |
|
94 |
|
|
95 |
<fileset targetdir="$JAVA_HOME/bin" |
|
96 |
dir="../ext3D-distribution/ext3D/win/lib" override="true"> |
|
97 |
<include name="**/*" /> |
|
98 |
</fileset> |
|
99 |
|
|
100 |
|
|
101 |
<fileset |
|
102 |
targetdir="$INSTALL_PATH/bin/gvSIG/extensiones/com.iver.cit.gvsig/lib/" |
|
103 |
dir="../ext3D-distribution/ext3D/linux/bin/gvSIG/extensiones/com.iver.cit.gvsig/lib/" |
|
104 |
override="true" os="windows"> |
|
105 |
<include name="**/lib3DMap-*.jar" /> |
|
106 |
</fileset> |
|
107 |
|
|
108 |
<!--file os="windows" |
|
109 |
targetdir="$INSTALL_PATH/bin/gvSIG/extensiones/com.iver.cit.gvsig/lib/" |
|
110 |
src="../ext3D-distribution/ext3D/win/bin/gvSIG/extensiones/com.iver.cit.gvsig/lib/lib3DMap-share-1.0-SNAPSHOT.jar" |
|
111 |
override="true" /--> |
|
112 |
|
|
113 |
<!-- Sobreescribiendo el nuevo .ini --> |
|
114 |
<!-- file os="windows" targetdir="$INSTALL_PATH/bin" |
|
115 |
src="resources/gvSIG.ini" override="true" /> |
|
116 |
<parsable os="windows" |
|
117 |
targetfile="$INSTALL_PATH/bin/gvSIG.ini" /--> |
|
118 |
|
|
119 |
</pack> |
|
120 |
<!-- aki se ponen las cosas que ha que machacar --> |
|
121 |
<pack name="3D extensions" required="yes"> |
|
122 |
<description>Install 3D Extension</description> |
|
123 |
<file targetdir="$INSTALL_PATH/bin/gvSIG/extensiones/" |
|
124 |
src="../ext3D-distribution/ext3D/win/bin/gvSIG/extensiones/org.gvsig.ext3Dgui" |
|
125 |
override="true" /> |
|
126 |
</pack> |
|
127 |
|
|
128 |
|
|
129 |
|
|
130 |
</packs> |
|
131 |
</installation> |
|
0 | 132 |
tags/v2_0_0_Build_2004/build/distribution/example-distribution/win-distribution/resources/gvSIG.bat | ||
---|---|---|
1 |
@echo off |
|
2 |
cd "$INSTALL_PATH\" |
|
3 |
|
|
4 |
IF OS_%os% == OS_Windows_NT GOTO wnt |
|
5 |
GOTO win |
|
6 |
|
|
7 |
:wnt |
|
8 |
SET PATH=$INSTALL_PATH\lib;%PATH% |
|
9 |
cd bin |
|
10 |
"$JAVA_HOME\bin\java.exe" -Djava.library.path="$INSTALL_PATH\lib" -cp andami.jar;./lib/gvsig-i18n.jar;./lib/beans.jar;./lib/log4j-1.2.8.jar;./lib/iver-utiles.jar;./lib/castor-0.9.5.3-xml.jar;./lib/crimson.jar;./lib/xerces_2_5_0.jar;./lib/javaws.jar;./lib/xml-apis.jar;lib/looks-2.0.2.jar;./lib/JWizardComponent.jar;./lib/kxml2.jar;./lib/jcalendar.jar -Xmx500M com.iver.andami.Launcher gvSIG gvSIG/extensiones %1 |
|
11 |
GOTO end |
|
12 |
|
|
13 |
:win |
|
14 |
SET PATH="$INSTALL_PATH\lib";%PATH% |
|
15 |
cd bin |
|
16 |
"$JAVA_HOME\bin\java.exe" -Djava.library.path="$INSTALL_PATH\lib" -cp andami.jar;./lib/gvsig-i18n.jar;./lib/beans.jar;./lib/log4j-1.2.8.jar;./lib/iver-utiles.jar;./lib/castor-0.9.5.3-xml.jar;./lib/crimson.jar;./lib/xerces_2_5_0.jar;./lib/javaws.jar;./lib/xml-apis.jar;lib/looks-2.0.2.jar;./lib/JWizardComponent.jar;./lib/kxml2.jar;./lib/jcalendar.jar -Xmx500M com.iver.andami.Launcher gvSIG gvSIG/extensiones %1 |
|
17 |
|
|
18 |
:end |
|
19 |
pause |
tags/v2_0_0_Build_2004/build/distribution/example-distribution/win-distribution/resources/userInputLang.xml_cat | ||
---|---|---|
1 |
<langpack> |
|
2 |
<str id="text.label" txt="Ruta a gvSIG:"/> |
|
3 |
</langpack> |
tags/v2_0_0_Build_2004/build/distribution/example-distribution/win-distribution/resources/userInputLang.xml_fra | ||
---|---|---|
1 |
<langpack> |
|
2 |
<str id="text.label" txt="Path to gvSIG:"/> |
|
3 |
</langpack> |
tags/v2_0_0_Build_2004/build/distribution/example-distribution/win-distribution/resources/userInputLang.xml_eng | ||
---|---|---|
1 |
<langpack> |
|
2 |
<str id="text.label" txt="Path to gvSIG:"/> |
|
3 |
</langpack> |
tags/v2_0_0_Build_2004/build/distribution/example-distribution/win-distribution/resources/LEEME.html | ||
---|---|---|
1 |
<html> |
|
2 |
<head> |
|
3 |
<style type="text/css"> |
|
4 |
html, body, h1, h2, h3, h4, div, p, ul, li, input { |
|
5 |
font-family: Arial, Helvetica, sans-serif; |
|
6 |
} |
|
7 |
|
|
8 |
h1 { |
|
9 |
font-size: large; |
|
10 |
} |
|
11 |
|
|
12 |
h2 { |
|
13 |
font-size: large; |
|
14 |
} |
|
15 |
|
|
16 |
h3 { |
|
17 |
font-size: medium; |
|
18 |
} |
|
19 |
</style> |
|
20 |
</head> |
|
21 |
<body> |
|
22 |
<h1>gvSIG, el SIG en software libre de la Generalitat Valenciana |
|
23 |
(http://www.gvsig.gva.es).</h1> |
|
24 |
|
|
25 |
<h2>Autores:</h2> |
|
26 |
<ul> |
|
27 |
<li>Generalitat Valenciana |
|
28 |
(Conselleria d'Infraestructures i Transport).</li> |
|
29 |
<li>Iver Tecnologías de la Información S.A.</li> |
|
30 |
</ul> |
|
31 |
|
|
32 |
<p>Software con licencia GNU/GPL |
|
33 |
(http://www.fsf.org/licensing/licenses/gpl.html)</p> |
|
34 |
|
|
35 |
<p>Contacto: |
|
36 |
gvsig@gva.es<p> |
|
37 |
|
|
38 |
<h2>Requisitos de la aplicación:</h2> |
|
39 |
<h3>Sistema</h3> |
|
40 |
<ul> |
|
41 |
<li>Mínimos: Pentium IV / 512 MB RAM / Targeta grafica compatible con OpenGL 1.5</li> |
|
42 |
<li>Recomendables: Pentium IV / 1 GB RAM / Targeta Grafica compatible con OpenGL 2.0</li> |
|
43 |
<li>Sistemas operativos: plataformas Windows y Linux. |
|
44 |
Probado en XP, Ubuntu Linux y Mac OS X.</li> |
|
45 |
</ul> |
|
46 |
|
|
47 |
<h3>Software instalado</h3> (disponible en http://www.gvsig.gva.es o en http://java.sun.com) |
|
48 |
<ul> |
|
49 |
<li>Máquina Virtual Java 1.5.</li> |
|
50 |
<li>JAI (Java Advanced Imaging).</li> |
|
51 |
<li>JAI Image I/O.</li> |
|
52 |
</ul> |
|
53 |
|
|
54 |
<p style="text-align:justify">Nota: Las librerías JAI y JAI Image I/O deben estar instaladas sobre la Máquina Virtual Java que gvSIG utilice en su ejecución. Si se instala una nueva JVM en el sistema y se usa para ejecutar gvSIG será indispensable instalar las librerías sobre ésta (gvSIG se ejecuta con la JVM que tenga por defecto el sistema operativo; para saber cuál es, ejecutar <span style="monospace">"java -version"</span> en un interfaz de comandos o consola).</p> |
|
55 |
|
|
56 |
<h2>Más información y soporte en:</h2> |
|
57 |
<h3> Web oficial del proyecto:</h3> |
|
58 |
http://www.gvsig.gva.es |
|
59 |
|
|
60 |
<h3>Listas de distribución:</h3> |
|
61 |
<span style="monospace"> http://runas.cap.gva.es/mailman/listinfo/gvsig_usuarios</span> (soporte para usuarios). |
|
62 |
<span style="monospace"> http://runas.cap.gva.es/mailman/listinfo/gvsig_desarrolladores</span> (soporte para desarrolladores). |
|
63 |
<span style="monospace"> http://runas.cap.gva.es/mailman/listinfo/gvsig_internacional</span> (soporte para desarrolladores o usuarios de habla no hispana). |
|
64 |
|
|
65 |
</body> |
|
66 |
</html> |
|
0 | 67 |
tags/v2_0_0_Build_2004/build/distribution/example-distribution/win-distribution/resources/andami-config.xml | ||
---|---|---|
1 |
<andami-config locale-language="$ISO3_LANG" pluginsDirectory="gvSIG/extensiones"> |
|
2 |
<andami update="yes"/> |
|
3 |
<plugin name="com.iver.cit.gvsig" update="yes"/> |
|
4 |
<plugin name="com.iver.core" update="no"/> |
|
5 |
</andami-config> |
|
0 | 6 |
tags/v2_0_0_Build_2004/build/distribution/example-distribution/win-distribution/resources/userInputLang.xml_deu | ||
---|---|---|
1 |
<langpack> |
|
2 |
<str id="text.label" txt="Path to gvSIG:"/> |
|
3 |
</langpack> |
tags/v2_0_0_Build_2004/build/distribution/example-distribution/win-distribution/resources/userInputLang.xml_ita | ||
---|---|---|
1 |
<langpack> |
|
2 |
<str id="text.label" txt="Path to gvSIG:"/> |
|
3 |
</langpack> |
tags/v2_0_0_Build_2004/build/distribution/example-distribution/win-distribution/resources/gvSIG.ini | ||
---|---|---|
1 |
[default] |
|
2 |
|
|
3 |
|
|
4 |
; Ruta al achivo Jar a lanzar |
|
5 |
jar = |
|
6 |
|
|
7 |
|
|
8 |
; Comando a ejecutar: |
|
9 |
; Admite remplazo de variable: |
|
10 |
; * #JAVA# ejecutable de java |
|
11 |
; * #JAVA_HOME# path del Java_home |
|
12 |
; * #JAR# el valor de la variable 'jar' de este fichero |
|
13 |
; * #ARGS# cadena con todos los argumentos con los que se ha llamado al lanzador |
|
14 |
; * #ARG1#, #ARG2#, ... #ARG9#: parametro recivido en 'n' lugar |
|
15 |
; * #ARG0#: Nombre del ejecutable del lanzador |
|
16 |
; * #CLASSPATH#: path declarados en la seccion classpath |
|
17 |
; Tambien admite los valores de la seccion 'Variables' encerrados entre |
|
18 |
; el caracter almuadilla '#' |
|
19 |
; * Nota: los nombres de las variables son case sensitive |
|
20 |
command = #JAVA# -Djava.library.path="#GVSIG_INSTALL_PATH#\lib" -cp #CLASSPATH# -Xmx500M com.iver.andami.Launcher gvSIG gvSIG/extensiones #ARGS# |
|
21 |
|
|
22 |
|
|
23 |
|
|
24 |
|
|
25 |
; Lanzar el Jar en ansincrono o no: |
|
26 |
; * si(se lanza el javaw.exe y finaliza el lanzador):S SI YES Y 1 |
|
27 |
; * si(el lanzado se espera a que termine la ejecucion del javaw.exe):{distinto de los anterirores} |
|
28 |
launchJarAsync = 0 |
|
29 |
|
|
30 |
; Modo: dice si se va a usar en modo lanzador de la instalacion o de la aplicacion |
|
31 |
; (De momento solo afecta al titulo) |
|
32 |
; * Instalacion: INSTALL |
|
33 |
; * Applicacion: APPLICATION |
|
34 |
launchMode = APPLICATION |
|
35 |
|
|
36 |
; Realizar la comprobaciones o no: |
|
37 |
; * si(por defecto):S SI YES Y 1 |
|
38 |
; * no(debera estar especificado el parametro'jre_home'):{distinto de los anterirores} |
|
39 |
doChecks = No |
|
40 |
|
|
41 |
; Ruta el Java_home a usar en caso de 'doChecks-->No' |
|
42 |
jre_home = $JAVA_HOME |
|
43 |
;ejemplo: jre_home = C:/Archivos de programa/Java/j2re1.4.2_11 |
|
44 |
|
|
45 |
|
|
46 |
; Habilita la pregunta al usuario de si hay que hacer las comprobaciones de JRE etc... |
|
47 |
; - por defecto se hace la pregunta |
|
48 |
; - Si la respuesta del usario es 'no' se solicita la usuario que indique el ejectuable de la JRE |
|
49 |
; * si(se pregunta al usario):S SI YES Y 1 |
|
50 |
; * no(no se pregunta y se realizan las comprobaciones):{distinto de los anterirores} |
|
51 |
askForCheckingProcess = No |
|
52 |
|
|
53 |
|
|
54 |
|
|
55 |
; Version de JRE requerida |
|
56 |
jre_version = 1.5.0 |
|
57 |
jre_version_prefered = 1.5.0_12 |
|
58 |
|
|
59 |
|
|
60 |
|
|
61 |
; Descarga remota |
|
62 |
; * los valores valido de downloadEnabled son: |
|
63 |
; - habilitado: S SI YES Y 1 |
|
64 |
; - deshabilitado: {distinto de los anteriores} |
|
65 |
downloadEnabled = 0 |
|
66 |
|
|
67 |
|
|
68 |
|
|
69 |
; Path del instalable del jre (si no existe y estan |
|
70 |
; habilitadas las descargas, lo dejara aqui) |
|
71 |
jre = |
|
72 |
downloadJre = |
|
73 |
|
|
74 |
|
|
75 |
|
|
76 |
; Path del instalable del jai (si no existe y estan |
|
77 |
; habilitadas las descargas, lo dejara aqui) |
|
78 |
jai = |
|
79 |
downloadJai = |
|
80 |
|
|
81 |
|
|
82 |
|
|
83 |
; Path del instalable del jai io (si no existe y estan |
|
84 |
; habilitadas las descargas, lo dejara aqui) |
|
85 |
jai_io = |
|
86 |
downloadJai_io = |
|
87 |
|
|
88 |
|
|
89 |
|
|
90 |
; Esta seccion indica una lista de fichero a |
|
91 |
; copiar antes de lanzar el comando. |
|
92 |
; Los ficheros se copiaran si no existen en el |
|
93 |
; destino. |
|
94 |
; Destino puede ser un directorio, pero debe finalizar |
|
95 |
; con '/' |
|
96 |
; Pueden usarse variables declaradas en la |
|
97 |
; seccion 'variables' colocadas entre '#' |
|
98 |
; * Nota: los nombres de las variables son case sensitive |
|
99 |
; Requiere los valores: |
|
100 |
; * source1: primer fichero origen |
|
101 |
; * target1: primer destino |
|
102 |
; * source2: segundo fichero origen |
|
103 |
; * target2: segundo destino |
|
104 |
; ... |
|
105 |
; * source{n}: 'n' fichero origen |
|
106 |
; * target{n}: 'n' destino |
|
107 |
[CopyRequiredFiles] |
|
108 |
source1 = #GVSIG_INSTALL_PATH#/lib/msvcp71.dll |
|
109 |
target1 = #JAVA_HOME#/bin/ |
|
110 |
|
|
111 |
source2 = #GVSIG_INSTALL_PATH#/lib/msvcr71.dll |
|
112 |
target2 = #JAVA_HOME#/bin/ |
|
113 |
|
|
114 |
source3 = #GVSIG_INSTALL_PATH#/lib/jmrsid.dll |
|
115 |
target3 = #JAVA_HOME#/bin/ |
|
116 |
|
|
117 |
source4 = #GVSIG_INSTALL_PATH#/lib/lti_dsdk_cdll.dll |
|
118 |
target4 = #JAVA_HOME#/bin/ |
|
119 |
|
|
120 |
source5 = #GVSIG_INSTALL_PATH#/lib/lti_dsdk_dll.dll |
|
121 |
target5 = #JAVA_HOME#/bin/ |
|
122 |
|
|
123 |
|
|
124 |
source6 = #GVSIG_INSTALL_PATH#/lib/jecwcompress.dll |
|
125 |
target6 = #JAVA_HOME#/bin/ |
|
126 |
|
|
127 |
source7 = #GVSIG_INSTALL_PATH#/lib/jecw.dll |
|
128 |
target7 = #JAVA_HOME#/bin/ |
|
129 |
|
|
130 |
source8 = #GVSIG_INSTALL_PATH#/lib/NCScnet.dll |
|
131 |
target8 = #JAVA_HOME#/bin/ |
|
132 |
|
|
133 |
source9 = #GVSIG_INSTALL_PATH#/lib/NCSEcwC.dll |
|
134 |
target9 = #JAVA_HOME#/bin/ |
|
135 |
|
|
136 |
source10 = #GVSIG_INSTALL_PATH#/lib/NCSEcw.dll |
|
137 |
target10 = #JAVA_HOME#/bin/ |
|
138 |
|
Also available in: Unified diff