forked from liferay/liferay-portal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.xml
44 lines (38 loc) · 1.03 KB
/
build.xml
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
<?xml version="1.0"?>
<project name="classes" basedir="." default="compile">
<import file="../build-common.xml" />
<target name="clean">
<delete>
<fileset dir="." includes="*.class" />
</delete>
</target>
<target name="compile">
<javac
classpathref="project.classpath"
compiler="${javac.compiler}"
debug="${javac.debug}"
deprecation="${javac.deprecation}"
encoding="${javac.encoding}"
includeAntRuntime="false"
includes="*.java"
nowarn="${javac.nowarn}"
srcdir="."
/>
</target>
<target name="Test" depends="compile">
<echo file="portal-ext.properties">liferay.home=${liferay.home}</echo>
<java
classname="Test"
classpathref="project.classpath"
fork="true"
>
<jvmarg value="-Dexternal-properties=com/liferay/portal/tools/dependencies/portal-tools.properties" />
<!--
<jvmarg value="-Duser.language=pt" />
<jvmarg value="-Duser.country=BR" />
<jvmarg value="-Duser.timezone=GMT" />
-->
</java>
<delete file="portal-ext.properties" quiet="true" />
</target>
</project>