Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 213 lines (193 sloc) 11.115 kb
6476ff5 @mbastian First commit of the Netbeans Platform Development. Default window and Pr...
mbastian authored
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- You may freely edit this file. See harness/README in the NetBeans platform -->
3 <!-- for some information on what you could do (e.g. targets to override). -->
4 <!-- If you delete this file and reopen the project it will be recreated. -->
5 <project name="0.7" basedir=".">
6 <description>Builds the module suite 0.7.</description>
7 <import file="nbproject/build-impl.xml"/>
8e9d16b @mbastian Branding settings.
mbastian authored
8
9 <condition property="isWindows">
10 <os family="windows" />
11 </condition>
12
13 <target name="build-launchers" depends="suite.build-launchers">
a92b17b @mbastian Javadoc task. Fill project overview.
mbastian authored
14 <!-- Replace the icon for the Windows launcher exe. -->
8e9d16b @mbastian Branding settings.
mbastian authored
15 <antcall target="replaceWindowsLauncherIcon"/>
16 </target>
17
a92b17b @mbastian Javadoc task. Fill project overview.
mbastian authored
18 <!-- Windows-only target that replaces the icon for the launcher exe with our own icon. -->
8e9d16b @mbastian Branding settings.
mbastian authored
19 <target name="replaceWindowsLauncherIcon" if="isWindows" description="Replace the icon for the Windows launcher exe">
20 <echo message="Replacing icon of Windows launcher executable."/>
21 <exec executable="ReplaceVistaIcon.exe" resolveexecutable="true">
b5e5f17 @mbastian Add gephi file icon.
mbastian authored
22 <arg line="build/launcher/bin/${app.name}.exe ${app.name}.ico 0"/>
23 </exec>
24 <exec executable="ReplaceVistaIcon.exe" resolveexecutable="true">
25 <arg line="build/launcher/bin/${app.name}.exe gephifile.ico 1"/>
8e9d16b @mbastian Branding settings.
mbastian authored
26 </exec>
27 </target>
28
a92b17b @mbastian Javadoc task. Fill project overview.
mbastian authored
29 <!-- Override to change Mac application icon. -->
8e9d16b @mbastian Branding settings.
mbastian authored
30 <target name="build-mac" depends="suite.build-mac" description="Build Mac OS X Application">
31 <property name="nbdist-contents.dir" value="${dist.dir}/${app.name}.app/Contents"/>
32 <property name="nbdist-resources.dir" value="${nbdist-contents.dir}/Resources"/>
33
a92b17b @mbastian Javadoc task. Fill project overview.
mbastian authored
34 <!-- Replace the icns file. -->
8e9d16b @mbastian Branding settings.
mbastian authored
35 <delete file="${nbdist-resources.dir}/${app.name}.icns"/>
36 <copy tofile="${nbdist-resources.dir}/${app.name}.icns" file="${app.name}.icns" />
37 </target>
38
5784114 @mbastian Add Javadoc task for project suite. Creates API Index.
mbastian authored
39 <target name="javadoc">
72cd470 @mbastian Javadoc encoding.
mbastian authored
40 <javadoc destdir="dist/apiindex" windowtitle="Gephi API Index" encoding="UTF-8" charset="UTF-8" stylesheetfile="stylesheet.css" packagenames="org.gephi.**.api,org.gephi.**.spi,org.gephi.data.*,org.gephi.utils.progress" overview="overview.html">
5784114 @mbastian Add Javadoc task for project suite. Creates API Index.
mbastian authored
41 <sourcepath>
42 <pathelement path="AttributesAPI/src"/>
a92b17b @mbastian Javadoc task. Fill project overview.
mbastian authored
43 <pathelement path="ClusteringAPI/src"/>
5784114 @mbastian Add Javadoc task for project suite. Creates API Index.
mbastian authored
44 <pathelement path="ExportAPI/src"/>
a92b17b @mbastian Javadoc task. Fill project overview.
mbastian authored
45 <pathelement path="FiltersAPI/src"/>
46 <pathelement path="GeneratorAPI/src"/>
47 <pathelement path="GraphAPi/src"/>
5784114 @mbastian Add Javadoc task for project suite. Creates API Index.
mbastian authored
48 <pathelement path="ImportAPI/src"/>
49 <pathelement path="LayoutAPI/src"/>
50 <pathelement path="LongTaskAPI/src"/>
a92b17b @mbastian Javadoc task. Fill project overview.
mbastian authored
51 <pathelement path="PartitionAPI/src"/>
52 <pathelement path="PreviewAPI/src"/>
53 <pathelement path="ProjectAPI/src"/>
54 <pathelement path="RankingAPI/src"/>
5784114 @mbastian Add Javadoc task for project suite. Creates API Index.
mbastian authored
55 <pathelement path="StatisticsAPI/src"/>
a92b17b @mbastian Javadoc task. Fill project overview.
mbastian authored
56 <pathelement path="TimelineAPI/src"/>
5784114 @mbastian Add Javadoc task for project suite. Creates API Index.
mbastian authored
57 <pathelement path="ToolsAPI/src"/>
58 </sourcepath>
93cd241 @mbastian Alpha4 branding and Javadoc.
mbastian authored
59 <doctitle>Gephi 0.7alpha4 API Index</doctitle>
60 <header>Gephi 0.7alpha4 Javadoc</header>
5784114 @mbastian Add Javadoc task for project suite. Creates API Index.
mbastian authored
61 </javadoc>
62 </target>
0a11d82 @mbastian Add experimental Gephi Toolkit Ant Task, make a single JAR.
mbastian authored
63
64 <target name="clean-toolkit" description="Clean Toolkit dir">
65 <delete failonerror="false" includeemptydirs="true">
66 <fileset dir="toolkit"/>
67 </delete>
68 </target>
69
70 <target name="toolkit" depends="clean-toolkit,build,build-launchers" description="Build Gephi Toolkit JAR">
71
72 <property name="build.dir" value="${basedir}/build/cluster/modules"/>
73 <property name="libs.dir" value="${basedir}/build/cluster/modules/ext"/>
74 <property name="toolkit.jar.name" value="gephi-toolkit"/>
75 <property name="toolkit.dir" value="${basedir}/toolkit"/>
76 <property name="toolkit.jar" value="${toolkit.dir}/${toolkit.jar.name}.jar"/>
057cdb8 @mbastian Add Preview to toolkit Ant Task.
mbastian authored
77 <property name="platform.dir" value="${toolkit.dir}/platform"/>
0a11d82 @mbastian Add experimental Gephi Toolkit Ant Task, make a single JAR.
mbastian authored
78 <mkdir dir="${toolkit.dir}"/>
79
80 <echo message="Packaging ${app.name} into a single JAR at ${toolkit.jar}"/>
81
82 <subant genericantfile="${harness.dir}/suite.xml" target="copy-cluster" inheritrefs="true">
83 <property name="dest.dir" value="${toolkit.dir}"/>
84 <property name="nbexec.dir" value="${toolkit.dir}"/>
85 <property name="build.dir" value="${toolkit.dir}"/>
86 <resources refid="zip.platform.clusters"/>
87 </subant>
88
89 <property name="toolkit.tempdir" value="${toolkit.dir}/${toolkit.jar.name}"/>
90 <mkdir dir="${toolkit.tempdir}"/>
91 <property name="toolkit.platformdir" value="${platform.dir}"/>
92 <copy file="${toolkit.platformdir}/core/org-openide-filesystems.jar" todir="${toolkit.tempdir}"/>
93 <copy file="${toolkit.platformdir}/lib/org-openide-util.jar" todir="${toolkit.tempdir}"/>
057cdb8 @mbastian Add Preview to toolkit Ant Task.
mbastian authored
94 <copy file="${toolkit.platformdir}/lib/org-openide-util-lookup.jar" todir="${toolkit.tempdir}"/>
0a11d82 @mbastian Add experimental Gephi Toolkit Ant Task, make a single JAR.
mbastian authored
95 <copy todir="${toolkit.tempdir}">
96 <fileset dir="${toolkit.platformdir}/modules">
bd95786 @mbastian Fix the tooklkit ANT task for Netbeans FileSystem implementation. Change...
mbastian authored
97 <include name="org-openide-nodes.jar"/>
98 <include name="org-netbeans-modules-masterfs.jar"/>
0a11d82 @mbastian Add experimental Gephi Toolkit Ant Task, make a single JAR.
mbastian authored
99 </fileset>
100 </copy>
101 <copy todir="${toolkit.tempdir}">
102 <fileset dir="${build.dir}">
103 <include name="org-gephi-algorithms.jar"/>
104 <include name="org-gephi-data-attributes.jar"/>
105 <include name="org-gephi-data-attributes-api.jar"/>
057cdb8 @mbastian Add Preview to toolkit Ant Task.
mbastian authored
106 <include name="org-gephi-io-exporter-preview.jar"/>
0a11d82 @mbastian Add experimental Gephi Toolkit Ant Task, make a single JAR.
mbastian authored
107 <include name="org-gephi-filters.jar"/>
108 <include name="org-gephi-filters-api.jar"/>
109 <include name="org-gephi-filters-plugin.jar"/>
110 <include name="org-gephi-graph-api.jar"/>
111 <include name="org-gephi-graph-dhns.jar"/>
112 <include name="org-gephi-io-database-drivers.jar"/>
dddccb4 @mbastian Add Export APIs in toolkit ANT task.
mbastian authored
113 <include name="org-gephi-utils-collection.jar"/>
114 <include name="org-gephi-io-exporter-api.jar"/>
115 <include name="org-gephi-io-exporter-plugin.jar"/>
0a11d82 @mbastian Add experimental Gephi Toolkit Ant Task, make a single JAR.
mbastian authored
116 <include name="org-gephi-io-importer-api.jar"/>
117 <include name="org-gephi-io-importer-plugin.jar"/>
118 <include name="org-gephi-io-processor-plugin.jar"/>
119 <include name="org-gephi-layout-api.jar"/>
120 <include name="org-gephi-layout-plugin.jar"/>
057cdb8 @mbastian Add Preview to toolkit Ant Task.
mbastian authored
121 <include name="org-gephi-preview-api.jar"/>
122 <include name="org-gephi-preview.jar"/>
0a11d82 @mbastian Add experimental Gephi Toolkit Ant Task, make a single JAR.
mbastian authored
123 <include name="org-gephi-project-api.jar"/>
124 <include name="org-gephi-statistics-api.jar"/>
125 <include name="org-gephi-statistics-plugin.jar"/>
fc05aa9 @mbastian Minor improvements on toolkit task.
mbastian authored
126 <include name="org-gephi-timeline.jar"/>
0a11d82 @mbastian Add experimental Gephi Toolkit Ant Task, make a single JAR.
mbastian authored
127 <include name="org-gephi-utils.jar"/>
fc05aa9 @mbastian Minor improvements on toolkit task.
mbastian authored
128 <include name="org-gephi-utils-longtask.jar" />
259a271 @mbastian Fix toolkit ANT task.
mbastian authored
129 <include name="org-gephi-ranking-api.jar"/>
1c8d6c5 @mbastian Add Ranking and Partition to toolkit ANT task.
mbastian authored
130 <include name="org-gephi-partition-api.jar"/>
131 <include name="org-gephi-partition-plugin.jar"/>
a6513cf @mbastian Include Generator in Toolkit.
mbastian authored
132 <include name="org-gephi-io-generator-api.jar"/>
133 <include name="org-gephi-io-generator-plugin.jar"/>
0a11d82 @mbastian Add experimental Gephi Toolkit Ant Task, make a single JAR.
mbastian authored
134 </fileset>
135 </copy>
136 <copy todir="${toolkit.tempdir}">
137 <fileset dir="${libs.dir}">
138 <include name="batik*.jar"/>
139 <include name="core.jar"/><!-- Processing -->
140 <include name="iText*.jar"/>
141 <include name="jcommon*.jar"/>
142 <include name="jfreechart*.jar"/>
143 <include name="joda-time*.jar"/>
144 <include name="mysql-connector*.jar"/>
145 <include name="postgresql*.jar"/>
146 <include name="sqljdbc*.jar"/>
147 <include name="google-collect*.jar"/>
148 <include name="trove*.jar"/>
149 <include name="xml-apis-ext*.jar"/>
150 </fileset>
151 </copy>
152
bd95786 @mbastian Fix the tooklkit ANT task for Netbeans FileSystem implementation. Change...
mbastian authored
153 <jar destfile="${toolkit.dir}/temp_final.jar" filesetmanifest="merge" duplicate="preserve">
0a11d82 @mbastian Add experimental Gephi Toolkit Ant Task, make a single JAR.
mbastian authored
154 <zipgroupfileset dir="${toolkit.tempdir}" includes="*.jar"/>
155
156 <manifest>
157
158 </manifest>
159 </jar>
160
161 <zip destfile="${toolkit.jar}">
162 <zipfileset src="${toolkit.dir}/temp_final.jar"
163 excludes="META-INF/*.SF, META-INF/*.DSA, META-INF/*.RSA"/>
164 </zip>
165
166 <delete file="${toolkit.dir}/temp_final.jar"/>
167 <delete dir="${platform.dir}"/>
168
169 </target>
9afb87f @mbastian Add toolkit-javadoc ANT task.
mbastian authored
170
171 <target name="toolkit-javadoc">
172 <javadoc destdir="${basedir}/toolkit/doc" windowtitle="Gephi Toolkit API Index" encoding="UTF-8" charset="UTF-8" stylesheetfile="stylesheet.css" packagenames="org.gephi.*" overview="overview.html" classpath="build/public-package-jars/org-openide-util-lookup.jar">
173 <sourcepath>
174 <pathelement path="Algorithms/src"/>
175 <pathelement path="AttributesAPI/src"/>
176 <pathelement path="AttributesImpl/src"/>
177 <pathelement path="PreviewExport/src"/>
178 <pathelement path="FiltersAPI/src"/>
179 <pathelement path="FiltersImpl/src"/>
180 <pathelement path="FiltersPlugin/src"/>
181 <pathelement path="GraphAPI/src"/>
182 <pathelement path="DHNSGraph/src"/>
183 <pathelement path="DBDrivers/src"/>
184 <pathelement path="CollectionUtils/src"/>
185 <pathelement path="ExportAPI/src"/>
186 <pathelement path="ExportPlugin/src"/>
187 <pathelement path="ImportAPI/src"/>
188 <pathelement path="ImportPlugin/src"/>
189 <pathelement path="ProcessorPlugin/src"/>
190 <pathelement path="LayoutAPI/src"/>
191 <pathelement path="LayoutPlugin/src"/>
192 <pathelement path="PreviewAPI/src"/>
193 <pathelement path="PreviewImpl/src"/>
194 <pathelement path="ProjectAPI/src"/>
195 <pathelement path="StatisticsAPI/src"/>
196 <pathelement path="StatisticsPlugin/src"/>
197 <pathelement path="TimelineAPI/src"/>
198 <pathelement path="Utils/src"/>
199 <pathelement path="LongTaskAPI/src"/>
200 <pathelement path="RankingAPI/src"/>
201 <pathelement path="PartitionAPI/src"/>
202 <pathelement path="PartitionPlugin/src"/>
203 <pathelement path="GeneratorAPI/src"/>
204 <pathelement path="GeneratorPlugin/src"/>
205 </sourcepath>
206 <doctitle>Gephi Toolkit Javadoc</doctitle>
207 <header>Gephi Toolkit 0.7.1 Javadoc</header>
208 </javadoc>
48ebdae @mbastian Zip toolkit Javadoc.
mbastian authored
209 <zip destfile="${basedir}/toolkit/toolkit-javadoc.zip" basedir="${basedir}/toolkit/doc">
210 </zip>
9afb87f @mbastian Add toolkit-javadoc ANT task.
mbastian authored
211 </target>
6476ff5 @mbastian First commit of the Netbeans Platform Development. Default window and Pr...
mbastian authored
212 </project>
Something went wrong with that request. Please try again.