|
9 | 9 | <fail unless="couchbase.tmp.dir" message="Property couchbase.tmp.dir must be set"/>
|
10 | 10 | </target>
|
11 | 11 |
|
12 |
| - <target name="manual" depends="_init, update-libaries,update-assets,update-classpath,suggest-manifest"> |
| 12 | + <target name="manual" depends="_init, update-libaries,update-classpath,suggest-manifest"> |
13 | 13 |
|
14 | 14 | </target>
|
15 | 15 |
|
|
26 | 26 | </copy>
|
27 | 27 | </target>
|
28 | 28 |
|
29 |
| - <target name="update-assets"> |
30 |
| - <copy todir="${project.path}/assets"> |
31 |
| - <fileset dir="${couchbase.tmp.dir}"> |
32 |
| - <include name="Couchbase/assets/**/*"/> |
33 |
| - </fileset> |
34 |
| - <filtermapper> |
35 |
| - <replacestring from="Couchbase/assets/" to=""/> |
36 |
| - </filtermapper> |
37 |
| - </copy> |
38 |
| - </target> |
39 |
| - |
40 | 29 | <target name="check-classpath-otp">
|
41 | 30 | <condition property="otp.exists">
|
42 | 31 | <resourcecontains resource="${project.path}/.classpath" substring="libs/OtpErlang.jar"/>
|
|
45 | 34 |
|
46 | 35 | <target name="update-classpath-otp" depends="check-classpath-otp" unless="otp.exists">
|
47 | 36 | <!-- backup existing .classpath -->
|
48 |
| - <copy file="${project.path}/.classpath" tofile="${project.path}/.classpath.orig1"/> |
49 |
| - <xslt style="${couchbase.tmp.dir}/Couchbase/script/classpath.otp.xsl" in="${project.path}/.classpath.orig1" out="${project.path}/.classpath"/> |
| 37 | + <copy file="${project.path}/.classpath" tofile="${project.path}/.classpath.orig3"/> |
| 38 | + <xslt style="${couchbase.tmp.dir}/Couchbase/script/classpath.otp.xsl" in="${project.path}/.classpath.orig3" out="${project.path}/.classpath"/> |
50 | 39 | </target>
|
51 |
| - |
52 |
| - <target name="check-classpath-compress"> |
53 |
| - <condition property="commons.compress.exists"> |
54 |
| - <resourcecontains resource="${project.path}/.classpath" substring="libs/commons-compress-1.0.jar"/> |
55 |
| - </condition> |
56 |
| - </target> |
57 |
| - |
58 |
| - <target name="update-classpath-compress" depends="check-classpath-compress" unless="commons.compress.exists"> |
59 |
| - <!-- backup existing .classpath --> |
60 |
| - <copy file="${project.path}/.classpath" tofile="${project.path}/.classpath.orig1"/> |
61 |
| - <xslt style="${couchbase.tmp.dir}/Couchbase/script/classpath.compress.xsl" in="${project.path}/.classpath.orig1" out="${project.path}/.classpath"/> |
62 |
| - </target> |
63 | 40 |
|
64 | 41 | <target name="check-classpath-couchbase">
|
65 | 42 | <condition property="couchbase.exists">
|
|
73 | 50 | <xslt style="${couchbase.tmp.dir}/Couchbase/script/classpath.couchbase.xsl" in="${project.path}/.classpath.orig2" out="${project.path}/.classpath"/>
|
74 | 51 | </target>
|
75 | 52 |
|
76 |
| - <target name="update-classpath" depends="update-classpath-compress, update-classpath-couchbase, update-classpath-otp"> |
77 |
| - <delete file="${project.path}/.classpath.orig1"/> |
| 53 | + <target name="update-classpath" depends="update-classpath-couchbase, update-classpath-otp"> |
78 | 54 | <delete file="${project.path}/.classpath.orig2"/>
|
| 55 | + <delete file="${project.path}/.classpath.orig3"/> |
79 | 56 | </target>
|
80 | 57 |
|
81 | 58 | <!-- Permissions -->
|
|
0 commit comments