Project

General

Profile

Bug #5558 ยป kepler_tasks_target.diff

dhogan dhogan, 11/30/2011 07:52 AM

View differences:

kepler-tasks.xml (working copy)
1 1
<?xml version="1.0" encoding="ISO-8859-1"?>
2

  
3
<!-- Builds the target/kepler-tasks.jar
4
  Use the "kepler-tasks" target in build.xml instead of this file directly
5
-->
6

  
2 7
<project name="kepler-tasks" default="rejar">
3 8
    
4
	<target name="clean">
9
    <target name="clean">
5 10
        <delete dir="target/classes"/>
6 11
        <delete file="target/kepler-tasks.jar"/>
7 12
    </target>
8 13

  
9
    <target name="rejar" depends="clean, jar"/>
14
    <target name="rejar" depends="jar"/>
10 15

  
11 16
    <target name="compile">
12 17
        <mkdir dir="target/classes"/>
18

  
19
        <!-- Delete any *.class files that refer to out of date source code -->
20
        <depend srcdir="src" destdir="target/classes" cache="depcache/tasks">
21
            <classpath>
22
                <fileset dir="lib" />
23
            </classpath>
24
        </depend>
25

  
13 26
        <javac srcdir="src" destdir="target/classes" debug="true" includeantruntime="false">
14 27
            <classpath>
15 28
                <fileset dir="lib"/>
build.xml (working copy)
291 291
	<target name="update-ptolemy" description="Usage: update-ptolemy -Drev={head|stable}. Updated ptolemy to the head or to the latest stable version.">
292 292
		<update-ptolemy revision="${rev}" />
293 293
	</target>
294

  
295
	<target name="kepler-tasks" description="Update target/kepler-tasks.jar">
296
		<ant dir="build-area" antfile="kepler-tasks.xml" target="jar" />
297
	</target>
294 298
	
295
	<target name="upgrade-kepler-tasks" description="Upgrade the kepler-tasks.jar used by the module-manager module. To update lib/kepler-tasks.jar, run ant -f kepler-tasks.xml.">
299
	<target name="upgrade-kepler-tasks" description="Upgrade the kepler-tasks.jar used by the module-manager module. To update lib/kepler-tasks.jar, run ant kepler-tasks.">
296 300
		<upgrade-kepler-tasks/>
297 301
	</target>
298 302
	
    (1-1/1)