~ubuntu-branches/ubuntu/quantal/netbeans/quantal

« back to all changes in this revision

Viewing changes to debian/patches/80-form-swingapp-build.patch

  • Committer: Bazaar Package Importer
  • Author(s): Marek Slama
  • Date: 2008-01-29 14:11:22 UTC
  • Revision ID: james.westby@ubuntu.com-20080129141122-ahcn3eqgl2iefhgh
Tags: 6.0.1-0ubuntu1
Initial version. (LP: #187708)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
diff -Nur -x '*.orig' -x '*~' netbeans-6.0.1/form/swingapp/build.xml netbeans-6.0.1.new/form/swingapp/build.xml
 
2
--- netbeans-6.0.1/form/swingapp/build.xml      2007-04-10 14:02:30.000000000 +0200
 
3
+++ netbeans-6.0.1.new/form/swingapp/build.xml  2008-02-12 18:39:05.000000000 +0100
 
4
@@ -3,6 +3,27 @@
 
5
     <description>Builds, tests, and runs the project org.netbeans.modules.swingapp</description>
 
6
     <import file="../../nbbuild/templates/projectized.xml"/>
 
7
 
 
8
+    <target name="shell-build">
 
9
+        <mkdir dir="appshells/${shellname}/test"/>
 
10
+        <delete file="src/org/netbeans/modules/swingapp/resources/${shellname}.zip" />
 
11
+        <zip destfile="src/org/netbeans/modules/swingapp/resources/${shellname}.zip" basedir="appshells/${shellname}"
 
12
+            excludes="build.xml, nbproject/build-impl.xml, nbproject/genfiles.properties, nbproject/private/**" />
 
13
+        <delete includeEmptyDirs="true">
 
14
+            <fileset dir="appshells/${shellname}/test"/>
 
15
+        </delete>
 
16
+    </target>
 
17
+
 
18
+    <target name="shells-build">
 
19
+        <antcall target="shell-build">
 
20
+            <param name="shellname" value="BasicShellApp" />
 
21
+        </antcall>
 
22
+        <antcall target="shell-build">
 
23
+            <param name="shellname" value="CRUDShellApp" />
 
24
+        </antcall>
 
25
+    </target>
 
26
+
 
27
+    <target name="compile" depends="shells-build,projectized-common.compile"/>
 
28
+
 
29
     <target name="netbeans-extra" depends="release"/>
 
30
 
 
31
     <target name="release" depends="init">