OLD | NEW |
1 <!-- | 1 <!-- |
2 Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 2 Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
3 for details. All rights reserved. Use of this source code is governed by a | 3 for details. All rights reserved. Use of this source code is governed by a |
4 BSD-style license that can be found in the LICENSE file. | 4 BSD-style license that can be found in the LICENSE file. |
5 --> | 5 --> |
6 <project default="dist"> | 6 <project default="dist"> |
7 <!-- | 7 <!-- |
8 EDIT DARTC.XML FIRST. This file is no longer used to build | 8 EDIT DARTC.XML FIRST. This file is no longer used to build |
9 dartc proper. It is only here to avoid breaking dartium.gyp | 9 dartc proper. It is only here to avoid breaking dartium.gyp |
10 short term. Change dartc.xml to get everything working, | 10 short term. Change dartc.xml to get everything working, |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 <!-- | 70 <!-- |
71 Ensure the necessary subdirectories exist. | 71 Ensure the necessary subdirectories exist. |
72 --> | 72 --> |
73 <mkdir dir="${build.classes.dir}"/> | 73 <mkdir dir="${build.classes.dir}"/> |
74 | 74 |
75 <javac destdir="${build.classes.dir}" | 75 <javac destdir="${build.classes.dir}" |
76 sourcepath="" | 76 sourcepath="" |
77 srcdir="java" | 77 srcdir="java" |
78 includes="${java_sources}" | 78 includes="${java_sources}" |
79 fork="true" | 79 fork="true" |
80 debug="true"> | 80 debug="true" |
| 81 source="1.6" |
| 82 target="1.6"> |
81 <classpath refid="classpath.compile"/> | 83 <classpath refid="classpath.compile"/> |
82 </javac> | 84 </javac> |
83 <!-- | 85 <!-- |
84 Copy all non-java resources. | 86 Copy all non-java resources. |
85 --> | 87 --> |
86 <copy todir="${build.classes.dir}"> | 88 <copy todir="${build.classes.dir}"> |
87 <filelist refid="java_resources"/> | 89 <filelist refid="java_resources"/> |
88 </copy> | 90 </copy> |
89 | 91 |
90 </target> | 92 </target> |
91 | 93 |
92 <target name="compile-tests" depends="compile" description="Compiles all of th
e java tests and copies the resources to the test classes directory." > | 94 <target name="compile-tests" depends="compile" description="Compiles all of th
e java tests and copies the resources to the test classes directory." > |
93 <mkdir dir="${build.test.classes.dir}"/> | 95 <mkdir dir="${build.test.classes.dir}"/> |
94 <javac destdir="${build.test.classes.dir}" | 96 <javac destdir="${build.test.classes.dir}" |
95 sourcepath="" | 97 sourcepath="" |
96 srcdir="javatests" | 98 srcdir="javatests" |
97 includes="${javatests_sources}" | 99 includes="${javatests_sources}" |
98 excludes="com/google/dart/compiler/vm/**" | 100 excludes="com/google/dart/compiler/vm/**" |
99 fork="true" | 101 fork="true" |
100 debug="true"> | 102 debug="true" |
| 103 source="1.6" |
| 104 target="1.6"> |
101 <classpath refid="classpath.compile.tests"/> | 105 <classpath refid="classpath.compile.tests"/> |
102 </javac> | 106 </javac> |
103 <!-- | 107 <!-- |
104 Copy the non-java resources. | 108 Copy the non-java resources. |
105 --> | 109 --> |
106 <copy todir="${build.test.classes.dir}"> | 110 <copy todir="${build.test.classes.dir}"> |
107 <filelist refid="javatests_resources"/> | 111 <filelist refid="javatests_resources"/> |
108 </copy> | 112 </copy> |
109 </target> | 113 </target> |
110 | 114 |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
170 | 174 |
171 <target name="clean" description="Deletes the build output directory."> | 175 <target name="clean" description="Deletes the build output directory."> |
172 <delete dir="${build.dir}"/> | 176 <delete dir="${build.dir}"/> |
173 <delete dir="${dist.dir}"/> | 177 <delete dir="${dist.dir}"/> |
174 </target> | 178 </target> |
175 | 179 |
176 <target name="tests.jar" depends="compile-tests"> | 180 <target name="tests.jar" depends="compile-tests"> |
177 <jar destfile="${build.dir}/tests.jar" basedir="${build.test.classes.dir}"/> | 181 <jar destfile="${build.dir}/tests.jar" basedir="${build.test.classes.dir}"/> |
178 </target> | 182 </target> |
179 </project> | 183 </project> |
OLD | NEW |