オープンソース・ソフトウェアの開発とダウンロード

Subversion リポジトリの参照

Annotation of /trunk/Pleiades/build.xml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 903 - (hide annotations) (download)
Tue Sep 30 15:23:00 2014 UTC (9 years, 7 months ago) by cypher256
File MIME type: text/plain
File size: 19468 byte(s)


1 cypher256 241 <?xml version="1.0" encoding="UTF-8"?>
2 cypher256 2 <!--
3     ###############################################################################
4     #
5     # Copyright (c) 2005- Shinji Kashihara. All rights reserved.
6     # This program and the accompanying materials except for /lib directory are
7     # made available under the terms of the Eclipse Public License v1.0 which
8     # accompanies this distribution, and is available at /epl-v10.html.
9     #
10     ###############################################################################
11     #
12 cypher256 241 # Pleiades Ant ビルド・ファイル
13 cypher256 2 #
14     ###############################################################################
15     -->
16 cypher256 770 <project name="Pleiades" default="build.nightly">
17 cypher256 2
18 cypher256 769 <!--
19     ================================================================================
20     プロパティー定義
21     ================================================================================
22     -->
23 cypher256 811
24 cypher256 817 <!-- 現在の Eclipse バージョン -->
25 cypher256 903 <property name="current.eclipse.version" value="4.4.1" />
26 cypher256 817
27     <!-- DIST バージョン置換 -->
28     <property name="dist.eclipse.version" value="x.x" />
29     <script language="javascript"><![CDATA[
30     var version = project.getProperty("current.eclipse.version");
31     project.setProperty("dist.eclipse.version", version.replaceAll("..$", ""));
32     ]]></script>
33    
34 cypher256 573 <!-- コピー先ディレクトリー -->
35 cypher256 644 <property name="bit" value="" />
36 cypher256 817 <property name="dist.dir" location="/dev/dist/e${dist.eclipse.version}${bit}" />
37 cypher256 669 <property name="tools.dir" value="/dev/tools" />
38     <property name="eclipse.dir" value="${tools.dir}/eclipse" />
39 cypher256 817 <property name="this.eclipse.dir" location="${eclipse.dir}/${current.eclipse.version}/dropins/MergeDoc/eclipse" />
40 cypher256 573
41 cypher256 241 <!-- プロダクト定数定義 -->
42 cypher256 626 <property name="project.name" value="pleiades" />
43     <property name="project.id" value="jp.sourceforge.mergedoc.${project.name}" />
44     <property name="agent.jar.name" value="${project.name}.jar" />
45 cypher256 2
46 cypher256 241 <!-- ディレクトリー・ファイル定義 -->
47 cypher256 626 <property name="bin.dir" value="bin" />
48     <property name="build.dir" value="build" />
49 cypher256 679 <property name="pleiades.zip.dir" value="${build.dir}/nightly" />
50 cypher256 769 <property name="pleiades.zip.file" location="${pleiades.zip.dir}/${project.name}.zip" />
51     <property name="pleiades.src.zip.file" location="${pleiades.zip.dir}/${project.name}-src.zip" />
52 cypher256 2
53 cypher256 241 <!-- プロジェクト・クラスパス -->
54 cypher256 2 <path id="project.classpath">
55 cypher256 626 <pathelement location="bin" />
56     <pathelement location="bintest" />
57     <pathelement location="srctest" />
58     <pathelement location="conf" />
59     <fileset dir="lib">
60     <include name="**/*.jar" />
61     </fileset>
62 cypher256 2 </path>
63    
64 cypher256 813 <!-- Windows の場合は true -->
65     <condition property="is_win">
66     <os family="windows" />
67     </condition>
68    
69 cypher256 769 <!--
70     ================================================================================
71 cypher256 770 ビルド
72 cypher256 769 ================================================================================
73     -->
74    
75 cypher256 241 <!-- 翻訳プロパティーの生成(各プロパティーのマージ) -->
76 cypher256 267 <target name="generate" description="">
77 cypher256 626 <java classname="jp.sourceforge.mergedoc.pleiades.generator.Generator" failonerror="true" fork="yes" maxmemory="256m">
78 cypher256 769 <sysproperty key="file.encoding" value="UTF-8" />
79 cypher256 626 <classpath refid="project.classpath" />
80 cypher256 2 </java>
81     </target>
82    
83 cypher256 626 <!-- 翻訳プロパティーの生成、ビルド、この Eclipse に zip ファイルをコピー -->
84 cypher256 770 <target name="generate.build.nightly" depends="generate, build.nightly" description="">
85 cypher256 622 </target>
86    
87 cypher256 593 <!--
88     翻訳プロパティーの生成(各プロパティーのマージ)既存訳を再最適化
89     nls-ui-customized.properties を修正した場合は、実行が必要
90     -->
91 cypher256 622 <target name="generate.clean" description="">
92 cypher256 626 <java classname="jp.sourceforge.mergedoc.pleiades.generator.Generator" failonerror="true" fork="yes" maxmemory="256m">
93 cypher256 769 <sysproperty key="file.encoding" value="UTF-8" />
94 cypher256 626 <classpath refid="project.classpath" />
95     <arg value="-clean" />
96 cypher256 389 </java>
97     </target>
98    
99 cypher256 501 <!-- ヘルプ翻訳プロパティーの生成、翻訳プロパティーの生成 -->
100 cypher256 553 <!-- 再生成はもうしない。FIX する。
101 cypher256 501 <target name="generate-clean-help" description="">
102 cypher256 469 <java
103     classname="jp.sourceforge.mergedoc.pleiades.generator.nls.HelpExtractor"
104     failonerror="true"
105     fork="yes"
106     maxmemory="256m">
107     <classpath refid="project.classpath"/>
108     </java>
109 cypher256 501 <antcall target="generate-clean"/>
110 cypher256 469 </target>
111 cypher256 553 -->
112 cypher256 469
113 cypher256 443 <!-- ビルド (SVN 管理) -->
114 cypher256 770 <target name="build" depends="">
115 cypher256 2
116 cypher256 241 <!-- Agent jar ファイル作成 -->
117 cypher256 2 <jar destfile="${agent.jar.name}">
118 cypher256 564 <fileset dir="${bin.dir}">
119 cypher256 626 <include name="**/${project.name}/**/*.class" />
120 cypher256 2 </fileset>
121     <manifest>
122 cypher256 626 <attribute name="Premain-Class" value="${project.id}.Pleiades" />
123     <attribute name="Boot-Class-Path" value="./${agent.jar.name} ./conf ./lib/javassist/javassist.jar ./lib/apache/commons-io.jar ./lib/apache/commons-lang.jar" />
124 cypher256 2 </manifest>
125     </jar>
126    
127 cypher256 241 <!-- Agent jar を含んだリリース用作業フォルダー作成 -->
128 cypher256 626 <copy tofile="META-INF/MANIFEST.MF" file="META-INF/MANIFEST.MF.template" overwrite="true" />
129 cypher256 2 <copy todir="plugins/${project.id}">
130     <fileset dir="${basedir}">
131 cypher256 626 <exclude name="debian/" />
132     <exclude name=".settings/*" />
133     <exclude name="about/" />
134     <exclude name="bin/" />
135     <exclude name="bintest/" />
136     <exclude name="nls/" />
137     <exclude name="report/" />
138     <exclude name="conf/props/additions/" />
139     <exclude name="conf/props/history/" />
140     <exclude name="conf/props/temp/" />
141 cypher256 661 <exclude name="conf/props/nls-ui-customized/" />
142 cypher256 626 <exclude name="conf/props/no-*.properties" />
143     <exclude name="conf/props/nls-*.properties" />
144     <exclude name="conf/props/temp-*.properties" />
145     <exclude name="conf/props/validation-help-*.properties" />
146     <exclude name="conf/props/.*" />
147 cypher256 644 <exclude name="conf/splash*.*.png" />
148 cypher256 626 <exclude name="lib/**/*-src.zip" />
149     <exclude name="lib/build/" />
150     <exclude name="META-INF/MANIFEST.MF.template" />
151     <exclude name="src/" />
152     <exclude name="srctest/" />
153     <exclude name="readme/" />
154     <exclude name="build/" />
155     <exclude name=".*" />
156     <exclude name="build.xml" />
157     <exclude name="eclipse.*" />
158     <exclude name="pleiades_*.zip" />
159 cypher256 2 </fileset>
160     </copy>
161     <copy todir="plugins/${project.id}">
162     <fileset dir="${basedir}/about/plugins">
163 cypher256 626 <include name="**/*" />
164 cypher256 2 </fileset>
165     </copy>
166     <copy todir="features/${project.id}">
167     <fileset dir="${basedir}/about/features">
168 cypher256 626 <include name="**/*" />
169 cypher256 2 </fileset>
170     </copy>
171    
172 cypher256 564 <!-- Agent jar ファイルの削除 -->
173 cypher256 626 <delete file="${agent.jar.name}" />
174 cypher256 2
175 cypher256 769 <!-- Pleiades バージョンを readme から取得 -->
176     <loadfile property="pleiades.version" srcFile="readme/readme_pleiades_changes.txt">
177     <filterchain>
178 cypher256 859 <linecontainsregexp><regexp pattern="^\d+\.\d+\.\d+.+" /></linecontainsregexp>
179 cypher256 769 <headfilter lines="1"/>
180     <striplinebreaks/>
181     <replaceregex pattern="\s.+" replace=""/>
182     </filterchain>
183     </loadfile>
184     <echo>pleiades.version = ${pleiades.version}</echo>
185    
186 cypher256 770 <!-- Pleiades バージョン日付を readme から取得し、ビルド・タイムスタンプ・ファイルを作成 -->
187     <loadfile property="date" srcFile="readme/readme_pleiades_changes.txt">
188     <filterchain>
189 cypher256 859 <linecontainsregexp><regexp pattern="^\d+\.\d+\.\d+.+" /></linecontainsregexp>
190 cypher256 770 <headfilter lines="1"/>
191     <striplinebreaks/>
192 cypher256 781 <replaceregex pattern=".+\s(\d+)\.?(\w+?)\.?(\w+?)$" replace="\1\2\3"/>
193 cypher256 770 </filterchain>
194     </loadfile>
195     <echo>date = ${date}</echo>
196     <touch file="pleiades-${pleiades.version}.I${date}" />
197    
198 cypher256 241 <!-- バージョンを設定 -->
199 cypher256 794 <replace summary="true" file="plugins/${project.id}/META-INF/MANIFEST.MF"
200     token="@pleiades.version" value="${pleiades.version}" />
201     <replace summary="true" file="plugins/${project.id}/about.properties"
202     token="@pleiades.version" value="${pleiades.version}" />
203     <replace summary="true" file="plugins/${project.id}/plugin.xml"
204     token="@pleiades.version" value="${pleiades.version}" />
205     <replace summary="true" file="features/${project.id}/feature.xml"
206     token="@pleiades.version" value="${pleiades.version}" />
207 cypher256 2
208 cypher256 794 <!-- JAR 署名 -->
209     <jar destfile="plugins/${project.id}.jar" basedir="./plugins/${project.id}"
210     manifest="plugins/${project.id}/META-INF/MANIFEST.MF"/>
211 cypher256 626 <jar destfile="features/${project.id}.jar" basedir="./features/${project.id}" />
212 cypher256 2 <signjar keystore=".keystore" alias="MergeDoc" storepass="mergedoc">
213 cypher256 769 <sysproperty key="file.encoding" value="UTF-8" />
214 cypher256 2 <fileset dir=".">
215 cypher256 626 <include name="*/${project.id}.jar" />
216 cypher256 2 </fileset>
217     </signjar>
218     <unjar src="plugins/${project.id}.jar" dest="./plugins/${project.id}">
219     <patternset>
220 cypher256 626 <include name="META-INF/*" />
221 cypher256 2 </patternset>
222     </unjar>
223     <unjar src="features/${project.id}.jar" dest="./features/${project.id}">
224     <patternset>
225 cypher256 626 <include name="META-INF/*" />
226 cypher256 2 </patternset>
227     </unjar>
228    
229 cypher256 377 <!-- Pleiades zip ファイルの作成 -->
230 cypher256 679 <mkdir dir="${pleiades.zip.dir}" />
231 cypher256 626 <delete file="${pleiades.zip.file}" />
232 cypher256 512 <zip destfile="${pleiades.zip.file}">
233 cypher256 2 <fileset dir="${basedir}">
234 cypher256 626 <include name="plugins/${project.id}/**" />
235     <include name="features/${project.id}/**" />
236     <include name="eclipse.*" />
237     <include name="readme/*" />
238 cypher256 658 <include name="pleiades-*" />
239 cypher256 2 </fileset>
240     </zip>
241 cypher256 626 <delete dir="plugins" />
242     <delete dir="features" />
243 cypher256 564
244 cypher256 377 <!-- Pleiades zip ソース・ファイルの作成 -->
245 cypher256 626 <delete file="${pleiades.src.zip.file}" />
246 cypher256 564 <zip destfile="${pleiades.src.zip.file}">
247 cypher256 562 <fileset dir="${basedir}">
248 cypher256 564 <!-- コマンド・ラインからビルド可能とするため class を含めておく
249 cypher256 562 <exclude name="bin/**/*"/>
250 cypher256 564 -->
251 cypher256 626 <exclude name="bintest/**/*" />
252     <exclude name="conf/props/history/" />
253     <exclude name="conf/props/temp/" />
254 cypher256 661 <exclude name="conf/props/**/.*" />
255 cypher256 626 <exclude name="nls/" />
256     <exclude name="report/" />
257     <exclude name="build/" />
258 cypher256 563 <!-- コマンドでエラーになるため追加 -->
259 cypher256 626 <exclude name="features/" />
260     <exclude name="plugins/" />
261 cypher256 564 </fileset>
262     </zip>
263 cypher256 658 <delete>
264     <fileset dir=".">
265     <include name="pleiades-*" />
266     </fileset>
267     </delete>
268 cypher256 3
269     </target>
270    
271 cypher256 813 <!-- signjar で使用する keystore 作成 -->
272     <target name="keystore" if="is_win">
273     <exec dir="." executable="cmd.exe">
274     <arg line="/c .keystore.cmd" />
275     <redirector inputencoding="MS932" outputencoding="MS932" />
276     </exec>
277     </target>
278    
279 cypher256 770 <!-- リリース・ビルド (手動アップロードしてリリース一覧で管理) -->
280 cypher256 772 <target name="build.release" depends="test.unit, build.integration" description="">
281 cypher256 770 <copy tofile="../pleiades_${pleiades.version}.zip" file="${pleiades.zip.file}" overwrite="true" />
282     <copy tofile="../pleiades_${pleiades.version}-src.zip" file="${pleiades.src.zip.file}" overwrite="true" />
283     </target>
284    
285 cypher256 813 <!-- 統合ビルド (~change.txt 記載、SVN コミット) -->
286     <target name="build.integration" depends="test.unit, keystore, build.nightly" description="">
287 cypher256 770 <copy todir="${build.dir}" file="${pleiades.zip.file}" overwrite="true" />
288     <copy todir="${build.dir}" file="${pleiades.src.zip.file}" overwrite="true" />
289     </target>
290    
291     <!-- ナイトリー・ビルド - この Eclipse に zip ファイルをコピー -->
292     <target name="build.nightly" depends="build, test.unit" description="">
293     <copy todir="${this.eclipse.dir}" file="${pleiades.zip.file}" overwrite="true" />
294     </target>
295    
296     <!--
297     ================================================================================
298     ビルド (コマンドライン用)
299     ================================================================================
300     -->
301    
302 cypher256 564 <!-- クリーン (コマンドライン用) -->
303 cypher256 770 <target name="clean" depends="">
304 cypher256 564
305     <delete dir="${bin.dir}" />
306     <mkdir dir="${bin.dir}" />
307    
308     <delete dir="${build.dir}" />
309     <mkdir dir="${build.dir}" />
310    
311     </target>
312    
313     <!-- ビルド (コマンドライン用) -->
314 cypher256 770 <target name="javac" depends="">
315 cypher256 563
316 cypher256 564 <mkdir dir="${bin.dir}" />
317 cypher256 626 <javac srcdir="src" destdir="${bin.dir}" classpathref="project.classpath" encoding="UTF-8" source="1.5" target="1.5" debug="on" />
318 cypher256 563
319     </target>
320    
321 cypher256 564 <!-- ビルド (コマンドライン用) -->
322 cypher256 770 <target name="build.full" depends="clean, javac, build.integration">
323 cypher256 563 </target>
324    
325 cypher256 770 <!--
326     ================================================================================
327     テスト
328     ================================================================================
329     -->
330 cypher256 379
331     <!-- ユニット・テスト -->
332     <target name="test.unit" description="">
333    
334 cypher256 626 <mkdir dir="report" />
335 cypher256 379
336 cypher256 464 <junit printsummary="yes" haltonfailure="yes" fork="yes" maxmemory="256m" showoutput="no">
337 cypher256 379 <formatter type="xml" />
338 cypher256 626 <classpath refid="project.classpath" />
339 cypher256 379 <batchtest fork="yes" todir="report">
340     <fileset dir="srctest">
341 cypher256 632 <include name="jp/**/*Test.java" />
342 cypher256 379 <exclude name="**/TestAll.java" />
343     </fileset>
344     </batchtest>
345     </junit>
346 cypher256 491
347 cypher256 379 </target>
348    
349     <!-- Eclipse 実行テスト -->
350 cypher256 817 <target name="test.4.x-64bit-generate" description="" depends="generate,build.nightly">
351 cypher256 669 <antcall target="test.run.dropins">
352 cypher256 817 <param name="test.target.dir" value="${eclipse.dir}/${current.eclipse.version}Test64bit" />
353 cypher256 669 <param name="test.target.exe" value="eclipse.exe" />
354 cypher256 626 </antcall>
355     </target>
356 cypher256 817 <target name="test.4.x-64bit" description="" depends="build.nightly">
357 cypher256 669 <antcall target="test.run.dropins">
358 cypher256 817 <param name="test.target.dir" value="${eclipse.dir}/${current.eclipse.version}Test64bit" />
359     <param name="test.target.exe" value="eclipse.exe" />
360     </antcall>
361     </target>
362     <target name="test.4.x-32bit" description="" depends="build.nightly">
363     <antcall target="test.run.dropins">
364     <param name="test.target.dir" value="${eclipse.dir}/${current.eclipse.version}Test32bit" />
365     <param name="test.target.exe" value="eclipse.exe" />
366     </antcall>
367     </target>
368     <target name="test.3.x-64bit" description="" depends="build.nightly">
369     <antcall target="test.run.dropins">
370 cypher256 810 <param name="test.target.dir" value="${eclipse.dir}/3.7.2Test64bit" />
371 cypher256 669 <param name="test.target.exe" value="eclipse.exe" />
372 cypher256 648 </antcall>
373     </target>
374 cypher256 817 <target name="test.3.x-32bit" description="" depends="build.nightly">
375 cypher256 669 <antcall target="test.run.dropins">
376 cypher256 810 <param name="test.target.dir" value="${eclipse.dir}/3.7.2Test32bit" />
377 cypher256 669 <param name="test.target.exe" value="eclipse.exe" />
378 cypher256 653 </antcall>
379     </target>
380 cypher256 776 <target name="test.adt" description="" depends="build.nightly">
381 cypher256 669 <antcall target="test.run">
382 cypher256 776 <param name="test.target.dir" value="${eclipse.dir}/adt/eclipse" />
383     <param name="test.target.exe" value="eclipse.exe" />
384 cypher256 379 </antcall>
385     </target>
386 cypher256 770 <target name="test.ultimate" description="" depends="build.nightly">
387 cypher256 669 <antcall target="test.run.dropins">
388     <param name="test.target.dir" value="${dist.dir}/ultimate${bit}/eclipse" />
389     <param name="test.target.exe" value="eclipse.exe" />
390 cypher256 379 </antcall>
391     </target>
392 cypher256 770 <target name="test.platform" description="" depends="build.nightly">
393 cypher256 669 <antcall target="test.run.dropins">
394     <param name="test.target.dir" value="${dist.dir}/platform${bit}/eclipse" />
395     <param name="test.target.exe" value="eclipse.exe" />
396 cypher256 379 </antcall>
397     </target>
398 cypher256 770 <target name="test.java-generate" description="" depends="generate,build.nightly">
399 cypher256 735 <antcall target="test.run.dropins">
400     <param name="test.target.dir" value="${dist.dir}/java${bit}/eclipse" />
401     <param name="test.target.exe" value="eclipse.exe" />
402     </antcall>
403     </target>
404 cypher256 770 <target name="test.java" description="" depends="build.nightly">
405 cypher256 669 <antcall target="test.run.dropins">
406     <param name="test.target.dir" value="${dist.dir}/java${bit}/eclipse" />
407     <param name="test.target.exe" value="eclipse.exe" />
408 cypher256 551 </antcall>
409     </target>
410 cypher256 770 <target name="test.cpp" description="" depends="build.nightly">
411 cypher256 669 <antcall target="test.run.dropins">
412     <param name="test.target.dir" value="${dist.dir}/cpp${bit}/eclipse" />
413     <param name="test.target.exe" value="eclipse.exe" />
414 cypher256 601 </antcall>
415     </target>
416 cypher256 770 <target name="test.php" description="" depends="build.nightly">
417 cypher256 669 <antcall target="test.run.dropins">
418     <param name="test.target.dir" value="${dist.dir}/php${bit}/eclipse" />
419     <param name="test.target.exe" value="eclipse.exe" />
420 cypher256 618 </antcall>
421     </target>
422 cypher256 770 <target name="test.python" description="" depends="build.nightly">
423 cypher256 686 <antcall target="test.run.dropins">
424     <param name="test.target.dir" value="${dist.dir}/python${bit}/eclipse" />
425     <param name="test.target.exe" value="eclipse.exe" />
426     </antcall>
427     </target>
428 cypher256 620
429 cypher256 796 <!-- Eclipse 実行テスト (全バージョン) -->
430 cypher256 626 <target name="test.all.version" description="" depends="
431 cypher256 770 build.nightly,
432 cypher256 644 test.cpp,
433     test.java,
434     test.php,
435     test.platform,
436     test.ultimate
437 cypher256 620 ">
438 cypher256 379 </target>
439    
440 cypher256 393 <!-- ビルドして Eclipse 実行(テスト環境を一旦削除してからコピー) -->
441 cypher256 669 <target name="test.run">
442 cypher256 54
443 cypher256 267 <delete includeemptydirs="true">
444 cypher256 669 <fileset dir="${test.target.dir}">
445 cypher256 626 <include name="plugins/${project.id}/" />
446     <include name="features/${project.id}/" />
447     <include name="configuration/${project.id}/" />
448 cypher256 267 </fileset>
449     </delete>
450 cypher256 669 <unzip src="${pleiades.zip.file}" dest="${test.target.dir}" />
451 cypher256 54
452 cypher256 785 <exec executable="${test.target.dir}/${test.target.exe}" dir="${test.target.dir}" spawn="true">
453     <arg line="-clean" />
454     </exec>
455 cypher256 54
456 cypher256 2 </target>
457 cypher256 379
458 cypher256 393 <!-- ビルドして Eclipse 実行(テスト環境を一旦削除してからコピー) -->
459 cypher256 669 <target name="test.run.dropins">
460 cypher256 379
461 cypher256 267 <delete includeemptydirs="true">
462 cypher256 669 <fileset dir="${test.target.dir}/dropins">
463 cypher256 626 <include name="MergeDoc/eclipse/plugins/${project.id}/" />
464     <include name="MergeDoc/eclipse/features/${project.id}/" />
465 cypher256 267 </fileset>
466 cypher256 669 <fileset dir="${test.target.dir}">
467 cypher256 626 <include name="configuration/${project.id}/" />
468 cypher256 267 </fileset>
469     </delete>
470 cypher256 669 <unzip src="${pleiades.zip.file}" dest="${test.target.dir}/dropins/MergeDoc/eclipse">
471 cypher256 267 <patternset>
472     <exclude name="readme/" />
473     <exclude name="*.cmd" />
474     </patternset>
475     </unzip>
476 cypher256 669 <copy todir="${test.target.dir}/readme">
477 cypher256 267 <fileset dir="${basedir}/readme">
478 cypher256 626 <include name="**/*" />
479 cypher256 267 </fileset>
480     </copy>
481    
482 cypher256 785 <exec executable="${test.target.dir}/${test.target.exe}" dir="${test.target.dir}" spawn="true">
483     <arg line="-clean" />
484     </exec>
485 cypher256 2
486 cypher256 321 </target>
487    
488 cypher256 669 <!-- IDEA 実行 -->
489 cypher256 770 <target name="test.idea" description="" depends="build.nightly">
490 cypher256 669
491 cypher256 769 <property name="app.dir" value="${tools.dir}/idea" />
492 cypher256 669
493     <delete includeemptydirs="true">
494     <fileset dir="${app.dir}">
495     <include name="plugins/${project.id}/" />
496     <include name="bin/configuration/${project.id}/" />
497     </fileset>
498     </delete>
499    
500     <unzip src="${pleiades.zip.file}" dest="${app.dir}">
501     <patternset>
502     <include name="plugins/" />
503     </patternset>
504     </unzip>
505    
506 cypher256 769 <exec executable="${app.dir}/bin/idea.exe" dir="${app.dir}" spawn="true" />
507 cypher256 669
508     </target>
509    
510 cypher256 443 <!--
511 cypher256 770 ================================================================================
512     ツール
513     ================================================================================
514     -->
515    
516     <!--
517 cypher256 443 nls フォルダーのバックアップ時の長すぎるパスを回避するために不要な
518     ファイルとディレクトリーを削除
519    
520     必要なファイルは下記のみ
521     *.jar
522     *.properties
523     MANIFEST.MF
524     fragment.xml
525     -->
526     <target name="clean.nls.dir" description="">
527     <delete includeemptydirs="true">
528     <fileset dir="${basedir}/nls">
529 cypher256 626 <exclude name="**/*.jar" />
530     <exclude name="**/*.properties" />
531     <exclude name="**/MANIFEST.MF" />
532     <exclude name="**/fragment.xml" />
533 cypher256 443 </fileset>
534     </delete>
535     </target>
536    
537 cypher256 2 </project>

Properties

Name Value
svn:mime-type text/plain

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26