-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjheat.java
More file actions
63 lines (57 loc) · 2.01 KB
/
Copy pathjheat.java
File metadata and controls
63 lines (57 loc) · 2.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
package javaforce.utils;
/**
*
* Heat for JavaForce.
*
* Builds Wix files like heat does.
*
* Work in progress, not complete.
*
*
*
* @author pquiring
*/
public class jheat {
public static void main(String args[]) {
System.out.println("jheat : work in progress");
}
}
/*
prior ant work:
<target name="jvm" description="package jvm for deployment (work in progress)">
<zip destfile="jvm.zip">
<fileset dir="${java.home}" includes="** /*.dll"/> <!--refine-->
<fileset dir="${java.home}" includes="** /*.jar"/> <!--refine-->
<fileset dir="${java.home}" includes="bin/keytool.exe"/>
<fileset dir="${java.home}" includes="lib/fonts/*"/>
<fileset dir="${java.home}" includes="lib/images/** /*"/>
<fileset dir="${java.home}" includes="lib/security/*"/>
<fileset dir="${java.home}" includes="lib/*.bfc"/>
<fileset dir="${java.home}" includes="lib/*.dat"/>
<fileset dir="${java.home}" includes="lib/*.data"/>
<fileset dir="${java.home}" includes="lib/classlist"/>
<fileset dir="${java.home}" includes="lib/meta-index"/>
<fileset dir="${java.home}" includes="lib/tzmappings"/>
<fileset dir="${java.home}" includes="lib/*.ja"/>
<fileset dir="${java.home}" includes="lib/*.src"/>
<fileset dir="${java.home}" includes="lib/*.properties"/>
</zip>
</target>
sample wsx file generated by heat:
<?xml version="1.0" encoding="utf-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<Fragment>
<DirectoryRef Id="TARGETDIR">
<Directory Id="dir853124626DE90E9A0C0EEFC3BC5EA0AC" Name="classes" />
</DirectoryRef>
</Fragment>
<Fragment>
<DirectoryRef Id="dir853124626DE90E9A0C0EEFC3BC5EA0AC">
<Component Id="cmp13F09F66085977892ACB89DCF1566C62" Guid="PUT-GUID-HERE">
<File Id="filB8AC2FF645FA4A0C1DA780CC89F96A59" KeyPath="yes" Source="SourceDir\EditSettings.class" />
</Component>
</DirectoryRef>
</Fragment>
...etc...
</Wix>
*/