-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.xml
More file actions
62 lines (56 loc) · 2.08 KB
/
build.xml
File metadata and controls
62 lines (56 loc) · 2.08 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
<?xml version="1.0"?>
<project name="FileSyncr" basedir="." default="less">
<!-- Classpaths used by Javac and GWT compile -->
<path id="project.classpath">
<pathelement location="war/WEB-INF/classes"/>
<fileset dir="war/WEB-INF/lib" includes="**/*.jar"/>
<!-- Needed by GWT compile -->
<fileset dir="lib/gwt/">
<include name="gwt-dev.jar"/>
<include name="gwt-user.jar"/>
</fileset>
</path>
<target name="less">
<java jar="less/js.jar" fork="true" output="war/gen.css">
<arg path="less/less-rhino-1.3.3.js"/>
<arg path="less/less.css"/>
</java>
</target>
<target name="clean">
<delete dir="war/WEB-INF/appengine-generated" />
<delete dir="war/WEB-INF/deploy" />
<delete dir="war/mainmodule" />
<delete dir="gwt-unitCache" />
</target>
<target name="devmode" description="Run development mode">
<java failonerror="true" fork="true" classname="com.google.gwt.dev.DevMode">
<classpath>
<pathelement location="src" />
<pathelement location="${gwt.sdk}/validation-api-1.0.0.GA.jar" />
<pathelement location="${gwt.sdk}/validation-api-1.0.0.GA-sources.jar" />
</classpath>
<jvmarg value="-Xmx1280M" />
<arg value="-startupUrl" />
<arg value="HL7Poll.html" />
<arg line="-war" />
<arg value="war" />
<!-- Additional arguments like -style PRETTY or -logLevel DEBUG -->
<arg line="${gwt.args}" />
<arg value="churro.HL7Poll" />
</java>
</target>
<!-- Invoke the GWT compiler to create the Javascript -->
<target name="gwt-compile">
<java failonerror="true" fork="true" classname="com.google.gwt.dev.Compiler">
<classpath>
<!-- src dir is added to ensure the module.xml file(s) are on the classpath -->
<pathelement location="src"/>
<path refid="project.classpath"/>
</classpath>
<jvmarg value="-Xmx1024M"/>
<arg value="com.summit.emr.eyeexam.EyeExamEMR"/>
<arg value="com.doctorsoft.ehr.refresh.Refresh"/>
<arg value="com.doctorsoft.ehr.portal.Portal"/>
</java>
</target>
</project>