Revision 13804
trunk/binaries/ant/utilities.xml | ||
---|---|---|
47 | 47 |
|
48 | 48 |
|
49 | 49 |
|
50 |
<!-- |
|
51 |
==================================== |
|
52 |
gvSIG ant utilities library load |
|
53 |
==================================== |
|
54 |
--> |
|
55 |
<taskdef name="javacLikeEclipse" classname="org.gvsig.utilities.ant.taskdefs.JavacLikeEclipse"> |
|
56 |
<classpath> |
|
57 |
<pathelement location="${ant.file.ant_libs.dir}/org.gvsig.utilities.ant.jar"/> |
|
58 |
</classpath> |
|
59 |
</taskdef> |
|
50 | 60 |
|
51 | 61 |
|
62 |
|
|
52 | 63 |
<!-- |
53 | 64 |
==================================== |
54 | 65 |
utilities tasks alias |
... | ... | |
108 | 119 |
|
109 | 120 |
--> |
110 | 121 |
<presetdef name="gvSIG-javac"> |
111 |
<javac srcdir="${src}" |
|
122 |
<javacLikeEclipse |
|
123 |
srcdir="${src}" |
|
112 | 124 |
destdir="${build}" |
113 | 125 |
source="${JavaSourceVersion}" |
114 | 126 |
target="${JavaTargetVersion}" |
... | ... | |
116 | 128 |
debuglevel="${debuglevel}" |
117 | 129 |
sourcepath="${eclipseClasspath}" |
118 | 130 |
encoding="${encoding}"> |
119 |
</javac> |
|
131 |
</javacLikeEclipse>
|
|
120 | 132 |
</presetdef> |
121 | 133 |
|
122 | 134 |
<!-- |
123 |
** gvSIG-javac Target **
|
|
135 |
** gvSIG-import-build-number Target **
|
|
124 | 136 |
|
125 | 137 |
Automate import of build.number gvSIG file |
126 | 138 |
|
... | ... | |
165 | 177 |
<pathelement location="${ant.file.ant_libs.dir}/gvsig-ant-junit.jar"/> |
166 | 178 |
</classpath> |
167 | 179 |
</taskdef> |
168 |
|
|
180 |
|
|
169 | 181 |
<target name="generic-run-tests"> |
170 | 182 |
<!-- |
171 | 183 |
=== Input Parameters === |
172 | 184 |
JUnitSummaryFile: File to log the success of the project |
173 | 185 |
JUnitProjectResults: File to log the details of the JUnit execution |
174 | 186 |
TestSuite.Name: Name of the TestSuite class to run |
175 |
|
|
187 |
|
|
176 | 188 |
=== Throws ==== |
177 | 189 |
JUnitTestFailed: If any of the tests failed |
178 | 190 |
--> |
... | ... | |
212 | 224 |
</else> |
213 | 225 |
</if> |
214 | 226 |
</target> |
215 |
|
|
227 |
|
|
216 | 228 |
<target name="concat-test-output"> |
217 | 229 |
<property name="target.project.dir" location="../${target.project.name}"/> |
218 | 230 |
<if> |
... | ... | |
229 | 241 |
</then> |
230 | 242 |
</if> |
231 | 243 |
</target> |
232 |
|
|
244 |
|
|
233 | 245 |
<target name="compile-tests"> |
234 | 246 |
<!-- Create the time stamp --> |
235 | 247 |
<tstamp/> |
... | ... | |
246 | 258 |
excludes="**/*.java"/> |
247 | 259 |
</copy> |
248 | 260 |
</target> |
249 |
|
|
261 |
|
|
250 | 262 |
</project> |
Also available in: Unified diff