File: build.xml

package info (click to toggle)
libswingx1-java 1:1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch, wheezy
  • size: 10,756 kB
  • ctags: 13,562
  • sloc: java: 94,110; xml: 12,022; makefile: 19; sh: 11
file content (119 lines) | stat: -rw-r--r-- 6,408 bytes parent folder | download
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
<?xml version="1.0" encoding="UTF-8"?>
<!-- You may freely edit this file. See commented blocks below for -->
<!-- some examples of how to customize the build. -->
<!-- (If you delete it and reopen the project it will be recreated.) -->
<project name="swingx" default="default" basedir=".">
    <description>Builds, tests, and runs the project swingx.</description>
    <import file="swinglabs-build-impl.xml"/>
    <import file="nbproject/build-impl.xml"/>

    <!-- This target builds a jar called swingx-bean.jar. This jar contains
         JavaBean class, as well as the basic support classes in the beaninfo
         source tree. It is intended to be small, and useable by other projects
         that want to build non visual beans
    -->
    <target name="swingx-bean" depends="init,jar">
        <delete dir="${build.dir}/swingx-bean" />
        <mkdir  dir="${build.dir}/swingx-bean" />
        <mkdir dir="${build.dir}/swingx-bean/org/jdesktop/swingx" />
        <copy todir="${build.dir}/swingx-bean/org/jdesktop/swingx">
            <fileset dir="${build.classes.dir}/org/jdesktop/swingx/" includes="BeanInfoSupport*.class,EnumerationValue*.class" />
        </copy>
        <mkdir dir="${build.dir}/swingx-bean/org/jdesktop/beans" />
        <copy todir="${build.dir}/swingx-bean/org/jdesktop/beans">
            <fileset dir="${build.classes.dir}/org/jdesktop/beans/" includes="AbstractBean*.class" />
        </copy>
        <jar basedir="${build.dir}/swingx-bean" jarfile="dist/swingx-bean.jar" />
    </target>

    <target name="nbm" description="Generate a NetBeans Module" depends="init,jar,javadoc">
        <taskdef classpath="lib/build-only/beans2nbm.jar" classname="beans2nbm.ant.GenNbmTask" name="nbm"/>

        <mkdir dir="${build.dir}" />
        <zip basedir="dist/javadoc" zipfile="${build.dir}/nbm-swingx-javadoc.zip" compress="0"/>
        <zip zipfile="${build.dir}/nbm-swingx-src.zip" compress="0">
            <fileset dir="src/java">
                <exclude name="**/CVS"/>
            </fileset>
        </zip>

        <nbm destfolder="${dist.bundles.dir}"
            destfilename="org-jdesktop-swingx.nbm"
            description="SwingX extension components are additional Swing
                         components that supplement the base set available
                         in the JDK."
            version="0.9.3"
            homepage="http://swinglabs.org"
            codename="org.jdesktop.swingx"
            jarfilename="${dist.dir}/swingx.jar"
            author="The SwingX Team"
            displayname="SwingX"
            license="lgpl"
            minjdk="1.5"
            sourcejar="${build.dir}/nbm-swingx-src.zip"
            docsjar="${build.dir}/nbm-swingx-javadoc.zip">
                <bean>org/jdesktop/swingx/JXCollapsiblePane.class</bean>
                <bean>org/jdesktop/swingx/JXDatePicker.class</bean>
                <bean>org/jdesktop/swingx/JXHyperlink.class</bean>
                <bean>org/jdesktop/swingx/JXGraph.class</bean>
                <bean>org/jdesktop/swingx/JXPanel.class</bean>
                <bean>org/jdesktop/swingx/JXTaskPaneContainer.class</bean>
                <bean>org/jdesktop/swingx/JXTreeTable.class</bean>
                <bean>org/jdesktop/swingx/JXTitledPanel.class</bean>
                <bean>org/jdesktop/swingx/JXEditorPane.class</bean>
                <bean>org/jdesktop/swingx/JXErrorPane.class</bean>
                <bean>org/jdesktop/swingx/JXList.class</bean>
                <bean>org/jdesktop/swingx/JXImagePanel.class</bean>
                <bean>org/jdesktop/swingx/JXHeader.class</bean>
                <bean>org/jdesktop/swingx/JXTable.class</bean>
                <bean>org/jdesktop/swingx/JXTree.class</bean>
                <bean>org/jdesktop/swingx/JXTipOfTheDay.class</bean>
                <bean>org/jdesktop/swingx/JXRadioGroup.class</bean>
                <bean>org/jdesktop/swingx/JXTitledSeparator.class</bean>
        	<bean>org/jdesktop/swingx/JXFindBar.class</bean>
        	<bean>org/jdesktop/swingx/JXFindPanel.class</bean>
        	<bean>org/jdesktop/swingx/JXFrame.class</bean>
        	<bean>org/jdesktop/swingx/JXGlassBox.class</bean>
        	<bean>org/jdesktop/swingx/JXGradientChooser.class</bean>
        	<bean>org/jdesktop/swingx/JXLoginDialog.class</bean>
        	<bean>org/jdesktop/swingx/JXLoginPane.class</bean>
        	<bean>org/jdesktop/swingx/JXMonthView.class</bean>
        	<bean>org/jdesktop/swingx/JXMultiSplitPane.class</bean>
        	<bean>org/jdesktop/swingx/JXMultiThumbSlider.class</bean>
        	<bean>org/jdesktop/swingx/JXRootPane.class</bean>
        	<bean>org/jdesktop/swingx/JXSearchPanel.class</bean>
        	<bean>org/jdesktop/swingx/JXStatusBar.class</bean>
        	<bean>org/jdesktop/swingx/JXTaskPane.class</bean>
        	<bean>org/jdesktop/swingx/auth/DefaultUserNameStore.class</bean>
        	<bean>org/jdesktop/swingx/auth/JAASLoginService.class</bean>
        	<bean>org/jdesktop/swingx/auth/JDBCLoginService.class</bean>
        	<bean>org/jdesktop/swingx/border/DropShadowBorder.class</bean>
        	<bean>org/jdesktop/swingx/painter/AlphaPainter.class</bean>
        	<bean>org/jdesktop/swingx/painter/CheckerboardPainter.class</bean>
        	<bean>org/jdesktop/swingx/painter/CompoundPainter.class</bean>
        	<bean>org/jdesktop/swingx/painter/GlossPainter.class</bean>
        	<bean>org/jdesktop/swingx/painter/ImagePainter.class</bean>
        	<bean>org/jdesktop/swingx/painter/MattePainter.class</bean>
        	<bean>org/jdesktop/swingx/painter/PinstripePainter.class</bean>
        	<bean>org/jdesktop/swingx/painter/RectanglePainter.class</bean>
        	<bean>org/jdesktop/swingx/painter/ShapePainter.class</bean>
        	<bean>org/jdesktop/swingx/painter/TextPainter.class</bean>
            </nbm>
    </target>
    <target name="test-report" if="have.tests" >
        <delete dir="build/test-report"/>
        <mkdir dir="build/test-report"/>
        <junitreport todir="build/test-report">
            <fileset dir="build/test/results">
                <include name="TEST-*.xml"/>
            </fileset>
            <report format="frames" todir="build/test-report"/>
        </junitreport>
    </target>

    <target name="-post-jar">
    	<jar destfile="${dist.dir}/swingx-beaninfo.jar">
    		<zipfileset dir="${build.beaninfo.classes.dir}" />
    	</jar>
    </target>
</project>