Skip to content

TagSpaces is an offline, open source, document manager with tagging support

- changes in the builds scripts

uggrockbb6ff30f44e3
diff --git a/build.number b/build.number
index a30f7f032..6d7468d95 100644
--- a/build.number
+++ b/build.number
@@ -1,3 +1,3 @@
#Build Number for ANT. Do not edit!
-#Wed Nov 28 10:12:00 CET 2012
-build.number=1115
+#Wed Nov 28 21:55:45 CET 2012
+build.number=1137
diff --git a/build.properties b/build.properties
index f0bba147a..d352cd36f 100644
--- a/build.properties
+++ b/build.properties
@@ -1,7 +1,7 @@
addonsdk.dir = ../addonsdk[1.11]
backup.dir = ../backups
builds.dir = ../builds
+buildFirefoxExt.dir = ../builds/firefox
buildChrome.dir = ../builds/chrome
-buildMozilla.dir = ../builds/mozilla
cordovaDev.dir = ../cordova/assets/www
cordovaJSLib.file = ../cordova/assets/cordova-2.0.0.js
\ No newline at end of file
diff --git a/build.xml b/build.xml
index 70d685992..e756b25f3 100644
--- a/build.xml
+++ b/build.xml
@@ -14,10 +14,11 @@ found in the LICENSE file.
<tstamp/><!--tstamp><format property="touch.time" pattern="MM/dd/yyyy hh:mm aa" /></tstamp-->
- <target name="prepare-mozilla-extension" depends="clean" description="copy all files for the chrome app to the build directory">
+ <target name="prepare-mozilla-extension" description="copy all files for the chrome app to the build directory">
<buildnumber file="build.number"/>
- <echo>Creating... ${buildMozilla.dir}</echo>
- <mkdir dir="${buildMozilla.dir}" />
+ <echo>Mozilla directory: ${buildFirefoxExt.dir}</echo>
+ <delete dir="${buildFirefoxExt.dir}"/>
+ <mkdir dir="${buildFirefoxExt.dir}" />
<copy file="mozilla.package.tmpl.json" overwrite="true" tofile="package.json" />
<replace file="package.json" >
<replacefilter token="@VERSION@" value="${version}" />
@@ -32,30 +33,30 @@ found in the LICENSE file.
<replacefilter token="@APPNAME@" value="${appname}" />
<replacefilter token="@BUILD@" value="${build.number}" />
</replace>
- <copy file="package.json" todir="${buildMozilla.dir}" />
- <copy file="LICENSE" tofile="${buildMozilla.dir}/data/LICENSE.txt" />
- <copy file="data/index.html" todir="${buildMozilla.dir}/data" />
- <copy file="data/about.html" todir="${buildMozilla.dir}/data" />
- <copy file="data/loader.js" todir="${buildMozilla.dir}/data" />
- <copy todir="${buildMozilla.dir}/lib" >
+ <copy file="package.json" todir="${buildFirefoxExt.dir}" />
+ <copy file="LICENSE" tofile="${buildFirefoxExt.dir}/data/LICENSE.txt" />
+ <copy file="data/index.html" todir="${buildFirefoxExt.dir}/data" />
+ <copy file="data/about.html" todir="${buildFirefoxExt.dir}/data" />
+ <copy file="data/loader.js" todir="${buildFirefoxExt.dir}/data" />
+ <copy todir="${buildFirefoxExt.dir}/lib" >
<fileset dir="lib" includes="**/*"/>
</copy>
- <copy todir="${buildMozilla.dir}/data/libs" >
+ <copy todir="${buildFirefoxExt.dir}/data/libs" >
<fileset dir="data/libs">
<include name="**/*"/>
<exclude name="ckeditor/**"/>
</fileset>
</copy>
- <copy todir="${buildMozilla.dir}/data/css" >
+ <copy todir="${buildFirefoxExt.dir}/data/css" >
<fileset dir="data/css" includes="**/*"/>
</copy>
- <copy todir="${buildMozilla.dir}/data/js" >
+ <copy todir="${buildFirefoxExt.dir}/data/js" >
<fileset dir="data/js" includes="**/*"/>
</copy>
- <copy todir="${buildMozilla.dir}/data/icons" >
+ <copy todir="${buildFirefoxExt.dir}/data/icons" >
<fileset dir="data/icons" includes="**/*"/>
</copy>
- <replace file="${buildMozilla.dir}/data/js/${defaultSettings.file}" >
+ <replace file="${buildFirefoxExt.dir}/data/js/${defaultSettings.file}" >
<replacefilter token="@VERSION@" value="${version}" />
<replacefilter token="@APPNAME@" value="${appname}" />
<replacefilter token="@BUILD@" value="${build.number}" />
@@ -64,12 +65,14 @@ found in the LICENSE file.
<target name="build-mozilla-extension" depends="prepare-mozilla-extension" description="Creates a simple zip(not xpi) of the mozilla extension">
<zip destfile="${builds.dir}/${appname} [v${version}.${build.number} ${DSTAMP}${TSTAMP} mozilla].zip">
- <fileset dir="${buildMozilla.dir}" includes="**/*" />
+ <fileset dir="${buildFirefoxExt.dir}" includes="**/*" />
</zip>
</target>
- <target name="prepare-chrome-extension" depends="clean" description="copy all files for the chrome app to the build directory">
+ <target name="prepare-chrome-extension" description="copy all files for the chrome app to the build directory">
<buildnumber file="build.number"/>
+ <echo>Chrome directory: ${buildChrome.dir}</echo>
+ <delete dir="${buildChrome.dir}"/>
<mkdir dir="${buildChrome.dir}" />
<copy file="chrome.manifest.tmpl.json" overwrite="true" tofile="data/manifest.json" />
<replace file="data/manifest.json" >
@@ -142,8 +145,8 @@ found in the LICENSE file.
<zip destfile="${backup.dir}/${appname}-Backup [v${version}.${build.number} ${DSTAMP}${TSTAMP}].zip" defaultexcludes="no" basedir="." />
</target>
- <target name="clean">
- <delete dir="${buildMozilla.dir}"/>
+ <target name="clean-all">
+ <delete dir="${buildFirefoxExt.dir}"/>
<delete dir="${buildChrome.dir}"/>
</target>
diff --git a/package.json b/package.json
index 1a4001390..ed9fc9b37 100644
--- a/package.json
+++ b/package.json
@@ -2,12 +2,12 @@
"name": "tagspaces",
"license": "AGPL 3.0",
"author": "Ugg Rock",
- "version": "1.1.1071",
+ "version": "1.1.1133",
"fullName": "TagSpaces",
"id": "jid1-FBaMKxTifTSahQ",
"description": "TagSpaces is a firefox extension, which allows you to browse your local file system and add tags to your files.",
"dependencies": ["menuitems", "addon-kit", "api-utils"],
"icon": "data/icons/icon48.png",
"icon64": "data/icons/icon64.png",
- "homepage": "http://tagspaces.com"
+ "homepage": "http://tagspaces.org"
}
diff --git a/update.rdf b/update.rdf
index 7817b15c9..e5a732a22 100644
--- a/update.rdf
+++ b/update.rdf
@@ -7,13 +7,13 @@
<r:Seq>
<r:li>
<r:Description>
- <version>1.1.1071</version>
+ <version>1.1.1133</version>
<targetApplication>
<r:Description>
<id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</id>
<minVersion>15.0</minVersion>
<maxVersion>*</maxVersion>
- <updateLink>http://tagspaces.com/releases/1.1/tagspaces.1.1.1071.xpi</updateLink>
+ <updateLink>http://tagspaces.com/releases/1.1/tagspaces.1.1.1133.xpi</updateLink>
<updateInfoURL>http://tagspaces.com/releases/1.1/updateInfo.xml</updateInfoURL>
</r:Description>
</targetApplication>