forked from orientechnologies/orientdb
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.xml
More file actions
29 lines (25 loc) · 1.26 KB
/
build.xml
File metadata and controls
29 lines (25 loc) · 1.26 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
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Copyright (c) 1999-2010 Luca Garulli - LICENSE: Apache 2.0 -->
<project basedir="." default="compile" name="orient-commons">
<property name="project.jar-classpath" value="orient-commons-${version}.jar" />
<import file="../_base/base-build.xml" />
<target name="javaCheck" depends="init">
<echo message="ant.java.version=${ant.java.version}"/>
<condition property="isNotJava7">
<not>
<equals arg1="${ant.java.version}" arg2="1.7"/>
</not>
</condition>
</target>
<target name="compile" depends="javaCheck">
<javac destdir="${project.build}" debug="${project.is-debug}" debuglevel="${project.debug-level}" target="${project.target-comp}" source="${project.source-comp}">
<src path="${project.src}" />
<classpath refid="project.classpath" />
<exclude name="com/orientechnologies/common/directmemory/OUnsafeMemoryJava7.java" if="isNotJava7"/>
</javac>
<javac destdir="${project.build}" debug="${project.is-debug}" debuglevel="${project.debug-level}" target="${project.target-comp}" source="${project.source-comp}">
<src path="src/test/java" />
<classpath refid="project.classpath" />
</javac>
</target>
</project>