File: common-ant-tasks-clean.ant-inc.xml

package info (click to toggle)
libgroboutils-java 5-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 9,396 kB
  • ctags: 11,186
  • sloc: java: 59,748; xml: 12,762; sh: 377; perl: 104; makefile: 20
file content (30 lines) | stat: -rw-r--r-- 1,217 bytes parent folder | download | duplicates (3)
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
<!-- Common properties/tasks that are shared by all projects

However, for possible overrides, these are all prefixed by
"_shared.common."

 @version: $Date: 2003/05/05 05:45:27 $
 -->
    
    <!-- the goal for the clean target is to fix the sub-project directory
         such that it looks identical to the CVS version of the directory.
         Bascially, that means remove any created files or directories. -->
    <target name="_shared.common.clean"
            description="Clean all generated files" >
        <delete dir="${dirs.work}" failonerror="no" />
        <delete dir="${dirs.deploy-base}" failonerror="no" />
        <delete>
            <fileset dir="${basedir}">
                <!-- on a version change, there are some remnants left
                     over, unless you are careful.  This will help to clean
                     up those remnants. -->
                <include name="${product}-*-*.jar" />
                
                <!-- JUnit tests that were killed before the task finishes can
                     leave behind some property files in this name format. -->
                <include name="junit*.properties" />
            </fileset>
        </delete>
    </target>