Index: trunk/tools/commonist-java/build.xml |
— | — | @@ -0,0 +1,196 @@ |
| 2 | +<?xml version="1.0" encoding="ISO-8859-1"?> |
| 3 | +<project name="commonist" default="dist" basedir="."> |
| 4 | + <!-- ==== configuration ==== --> |
| 5 | + |
| 6 | + <!-- environment --> |
| 7 | + <property environment="env"/> |
| 8 | + <property file="${user.home}/.build.properties"/> <!-- these override the project local version --> |
| 9 | + <property file="build.properties"/> |
| 10 | + |
| 11 | + <!-- project specifics --> |
| 12 | + <property name="source.jars" value="lib-util-src.jar,mwapi-src.jar,minibpp-src.jar"/> |
| 13 | + <property name="binary.jars" value="lib-util.jar,mwapi.jar,minibpp.jar,bsh-2.0b2-fixed.jar,jericho-html-3.1.jar,commons-httpclient-3.1.jar,commons-codec-1.3.jar,commons-logging-1.1.jar"/> |
| 14 | + |
| 15 | + <!-- ==== main ==== --> |
| 16 | + |
| 17 | + <target name="clean" description="delete everything that can be rebuilt"> |
| 18 | + <delete dir="build"/> |
| 19 | + </target> |
| 20 | + |
| 21 | + <!-- ==== compile ==== --> |
| 22 | + |
| 23 | + <target name="compile" description="compile java classes"> |
| 24 | + <mkdir dir="build/classes"/> |
| 25 | + <javac |
| 26 | + srcdir="src" |
| 27 | + destdir="build/classes" |
| 28 | + source="${java.source}" |
| 29 | + target="${java.target}" |
| 30 | + encoding="${java.encoding}" |
| 31 | + deprecation="true" |
| 32 | + extdirs="lib" |
| 33 | + debug="true" |
| 34 | + /> |
| 35 | + </target> |
| 36 | + |
| 37 | + <target name="jar" depends="compile" description="create the binary jar file"> |
| 38 | + <mkdir dir="build/jar"/> |
| 39 | + <jar jarfile="build/jar/${project}.jar"> |
| 40 | + <zipfileset dir="build/classes"/> |
| 41 | + <zipfileset dir="."> |
| 42 | + <include name="image/${ws.icon}"/> |
| 43 | + <include name="image/${ws.splash}"/> |
| 44 | + <include name="etc/startup.bsh"/> |
| 45 | + <include name="etc/licenses.txt"/> |
| 46 | + <include name="etc/messages.properties"/> |
| 47 | + <include name="etc/messages_*.properties"/> |
| 48 | + <include name="etc/image_*.bpp"/> |
| 49 | + <include name="etc/gallery_*.bpp"/> |
| 50 | + </zipfileset> |
| 51 | + <manifest> |
| 52 | + <attribute name="Application" value="${description}" /> |
| 53 | + <attribute name="Version" value="${version}" /> |
| 54 | + <attribute name="Creator" value="${author}"/> |
| 55 | + <attribute name="License" value="${license}"/> |
| 56 | + |
| 57 | + <!-- |
| 58 | + TODO: use a property, add binary.jars to classpath (manifestclasspath from ant 1.7.0) |
| 59 | + <attribute name="Main-Class" value="net.psammead.commonist.Commonist"/> |
| 60 | + --> |
| 61 | + </manifest> |
| 62 | + </jar> |
| 63 | + </target> |
| 64 | + |
| 65 | + <target name="doc" description="prepare documentation files"> |
| 66 | + <mkdir dir="build/doc"/> |
| 67 | + <fixcrlf srcDir="doc" destDir="build/doc" includes="changes.txt,index.html" |
| 68 | + tab="remove" tablength="4" eol="crlf" eof="remove" encoding="ISO-8859-1" fixlast="true" /> |
| 69 | + <replace file="build/doc/index.html" token="$(project)" value="${project}"/> |
| 70 | + <replace file="build/doc/index.html" token="$(version)" value="${version}"/> |
| 71 | + </target> |
| 72 | + |
| 73 | + <!-- ==== full dist ==== --> |
| 74 | + |
| 75 | + <target name="dist" depends="compile" description="create a distribution zip"> |
| 76 | + <mkdir dir="build"/> |
| 77 | + <zip destfile="build/${project}-${version}.zip"> |
| 78 | + <zipfileset dir="." prefix="${project}-${version}" filemode="770"> |
| 79 | + <include name="bin/*"/> |
| 80 | + </zipfileset> |
| 81 | + <zipfileset dir="." prefix="${project}-${version}"> |
| 82 | + <include name="doc/index.html"/> |
| 83 | + <include name="doc/changes.txt"/> |
| 84 | + <include name="build.*"/> |
| 85 | + <include name="src/**"/> |
| 86 | + <include name="etc/**"/> |
| 87 | + <exclude name="${sign.keystore}"/> |
| 88 | + <include name="image/**"/> |
| 89 | + <include name="lib/**"/> |
| 90 | + <include name="build/classes/**"/> |
| 91 | + </zipfileset> |
| 92 | + </zip> |
| 93 | + </target> |
| 94 | + |
| 95 | + <!-- ==== macintosh app ==== --> |
| 96 | + |
| 97 | + <target name="mac-dist" depends="jar" description="create a macintosh .app"> |
| 98 | + <mkdir dir="build/etc"/> |
| 99 | + <copy file="etc/Info.plist" toDir="build/etc"/> |
| 100 | + <replace file="build/etc/Info.plist" value="###"> |
| 101 | + <replacefilter token="@bundleName@" value="${mac.bundle.name}"/> |
| 102 | + <replacefilter token="@bundleIdentifier@" value="${mac.bundle.identifier}"/> |
| 103 | + <replacefilter token="@bundleIcons@" value="${mac.bundle.icons}"/> |
| 104 | + <replacefilter token="@bundleInfoString@" value="${version}"/> |
| 105 | + <replacefilter token="@bundleVersion@" value="${version}"/> |
| 106 | + <replacefilter token="@bundleShortVersion@" value="${version}"/> |
| 107 | + </replace> |
| 108 | + |
| 109 | + <mkdir dir="build"/> |
| 110 | + <zip destfile="build/${mac.app}.zip"> |
| 111 | + <zipfileset dir="/System/Library/Frameworks/JavaVM.framework/Versions/Current/Resources/MacOS" |
| 112 | + includes="JavaApplicationStub" prefix="${mac.app}/Contents/MacOS" filemode="777"/> |
| 113 | + <zipfileset dir="etc" includes="PkgInfo" prefix="${mac.app}/Contents"/> |
| 114 | + <zipfileset dir="build/etc" includes="Info.plist" prefix="${mac.app}/Contents"/> |
| 115 | + <zipfileset dir="image" includes="${mac.bundle.icons}" prefix="${mac.app}/Contents/Resources"/> |
| 116 | + <zipfileset dir="lib" includes="${binary.jars}" prefix="${mac.app}/Contents/Resources/Java"/> |
| 117 | + <zipfileset dir="build/jar" includes="${project}.jar" prefix="${mac.app}/Contents/Resources/Java"/> |
| 118 | + </zip> |
| 119 | + </target> |
| 120 | + |
| 121 | + <!-- ==== webstart app ==== --> |
| 122 | + |
| 123 | + <target name="ws-genkey" description="generates a keyStore for signing our jars"> |
| 124 | + <genkey alias="${sign.alias}" storepass="${sign.storepass}" |
| 125 | + keystore="${sign.keystore}" keypass="${sign.keypass}" |
| 126 | + dname="${sign.dname}"/> |
| 127 | + </target> |
| 128 | + |
| 129 | + <target name="ws-sign" depends="jar" description="create signed versions of all jars for webstart"> |
| 130 | + <mkdir dir="build/ws"/> |
| 131 | + <copy toDir="build/ws"> |
| 132 | + <fileset dir="build/jar"/> |
| 133 | + <fileset dir="lib" includes="${binary.jars}"/> |
| 134 | + </copy> |
| 135 | + <signjar |
| 136 | + alias="${sign.alias}" |
| 137 | + storepass="${sign.storepass}" |
| 138 | + keystore="${sign.keystore}" |
| 139 | + keypass="${sign.keypass}" |
| 140 | + > |
| 141 | + <!-- jar="build/signed-jar/${project}.jar" --> |
| 142 | + <fileset dir="build/ws" includes="*.jar"/> |
| 143 | + </signjar> |
| 144 | + </target> |
| 145 | + |
| 146 | + <target name="ws-dist" depends="ws-sign" description="create a zipfile containing everything needed for webstart"> |
| 147 | + <copy file="etc/${ws.jnlp}" toDir="build/ws"/> |
| 148 | + <replace file="build/ws/${ws.jnlp}" value="###"> |
| 149 | + <replacefilter token="@jnlp@" value="${ws.jnlp}"/> |
| 150 | + <replacefilter token="@title@" value="${ws.title}"/> |
| 151 | + <replacefilter token="@vendor@" value="${ws.vendor}"/> |
| 152 | + <replacefilter token="@icon@" value="${ws.icon}"/> |
| 153 | + <replacefilter token="@splash@" value="${ws.splash}"/> |
| 154 | + <replacefilter token="@codebase@" value="${ws.codebase}"/> |
| 155 | + <replacefilter token="@mainclass@" value="${ws.mainclass}"/> |
| 156 | + <replacefilter token="@homepage@" value="${ws.homepage}"/> |
| 157 | + <replacefilter token="@description@" value="${ws.description}"/> |
| 158 | + <replacefilter token="@shortdesc@" value="${ws.shortdesc}"/> |
| 159 | + </replace> |
| 160 | + <zip destfile="build/${project}-${version}-ws.zip"> |
| 161 | + <zipfileset dir="build/ws"> |
| 162 | + <include name="${ws.jnlp}"/> |
| 163 | + <include name="*.jar"/> |
| 164 | + </zipfileset> |
| 165 | + <zipfileset dir="image"> |
| 166 | + <include name="${ws.icon}"/> |
| 167 | + <include name="${ws.splash}"/> |
| 168 | + </zipfileset> |
| 169 | + </zip> |
| 170 | + </target> |
| 171 | + |
| 172 | + <!-- ==== export ==== --> |
| 173 | + |
| 174 | + <target name="import" description="import artefacts from other projects"> |
| 175 | + <ant dir="../mwapi" antfile="build.xml" target="export" inheritAll="false"/> |
| 176 | + <copy toDir="lib"> |
| 177 | + <fileset dir="../mwapi/build/export" includes="lib-util.jar,lib-util-src.jar"/> |
| 178 | + <fileset dir="../mwapi/build/export" includes="mwapi.jar,mwapi-src.jar"/> |
| 179 | + <fileset dir="../mwapi/build/export" includes="jericho-html-3.1.jar,commons-httpclient-3.1.jar,commons-codec-1.3.jar,commons-logging-1.1.jar"/> |
| 180 | + </copy> |
| 181 | + |
| 182 | + <ant dir="../minibpp" antfile="build.xml" target="export" inheritAll="false"/> |
| 183 | + <copy toDir="lib"> |
| 184 | + <fileset dir="../minibpp/build/export" includes="minibpp.jar,minibpp-src.jar"/> |
| 185 | + </copy> |
| 186 | + </target> |
| 187 | + |
| 188 | + <target name="export" depends="doc,dist,ws-dist" description="create artefacts"> |
| 189 | + <property name="export.dir" value="build/export"/> |
| 190 | + <mkdir dir="${export.dir}"/> |
| 191 | + <copy todir="${export.dir}"> |
| 192 | + <fileset dir="build/doc" includes="changes.txt,index.html"/> |
| 193 | + <fileset dir="build" includes="${project}-${version}.zip"/> |
| 194 | + </copy> |
| 195 | + <unzip src="build/${project}-${version}-ws.zip" dest="${export.dir}/ws" overwrite="true"/> |
| 196 | + </target> |
| 197 | +</project> |
Property changes on: trunk/tools/commonist-java/build.xml |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 198 | + native |
Added: svn:mime-type |
2 | 199 | + text/xml |
Index: trunk/tools/commonist-java/image/commonist-128.png |
Cannot display: file marked as a binary type. |
svn:mime-type = image/png |
Property changes on: trunk/tools/commonist-java/image/commonist-128.png |
___________________________________________________________________ |
Added: svn:mime-type |
3 | 200 | + image/png |
Index: trunk/tools/commonist-java/image/commonist.icns |
Cannot display: file marked as a binary type. |
svn:mime-type = image/x-icns |
Property changes on: trunk/tools/commonist-java/image/commonist.icns |
___________________________________________________________________ |
Added: svn:mime-type |
4 | 201 | + image/x-icns |
Index: trunk/tools/commonist-java/image/commonist-32.png |
Cannot display: file marked as a binary type. |
svn:mime-type = image/png |
Property changes on: trunk/tools/commonist-java/image/commonist-32.png |
___________________________________________________________________ |
Added: svn:mime-type |
5 | 202 | + image/png |
Index: trunk/tools/commonist-java/doc/changes.txt |
— | — | @@ -0,0 +1,461 @@ |
| 2 | +0.3.43 |
| 3 | + bugfix templates used TextUtil which had been renamed to TextUtil2 |
| 4 | + |
| 5 | +0.3.42 |
| 6 | + change updated jarfiles signature |
| 7 | + change not choosing any license is no longer possible |
| 8 | + bugfix opening images in full size via mouse-click on the |
| 9 | + thumbnail did not work any more |
| 10 | + |
| 11 | +0.3.41 |
| 12 | + change updated etc/licenses.txt from |
| 13 | + [[Commons:Tools/Commonist/licenses.txt]] |
| 14 | + change updated to mwapi-0.7.30 containing updated sitefiles for |
| 15 | + a lot of wikimedia wikis |
| 16 | + |
| 17 | +0.3.40 |
| 18 | + change updated to mwapi-0.7.29 containing an updated sitefile |
| 19 | + for fotowiki |
| 20 | + |
| 21 | +0.3.39 |
| 22 | + change updated to mwapi-0.7.28 containing updated sitefiles for |
| 23 | + wikibooks:fr, wikibooks:pl, wikinews:fr, wikipedia:da, |
| 24 | + wikipedia:fr, wikipedia:zh, wikiquote:fr, wikisource:fr, |
| 25 | + wiktionary:es and wiktionary:fr and adding support for |
| 26 | + wikia's fotowiki |
| 27 | + |
| 28 | +0.3.38 |
| 29 | + change updated localization from translatewiki.net |
| 30 | + |
| 31 | +0.3.37 |
| 32 | + change updated to mwapi-0.7.27 containing updated sitefiles for all |
| 33 | + wikimedia sites and a workaround for |
| 34 | + http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6746185 |
| 35 | + |
| 36 | +0.3.36 |
| 37 | + bugfix added fallback to messages.properties for incomplete |
| 38 | + translations |
| 39 | + |
| 40 | +0.3.35 |
| 41 | + change added message_*.properties from betawiki, see |
| 42 | + http://translatewiki.net/wiki/Translating:Commonist |
| 43 | + change fullscreen images are opened on LMB klick in the thumbnail only |
| 44 | + |
| 45 | +0.3.34 |
| 46 | + change updated to mwapi-0.7.26 containing a workaround for |
| 47 | + http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6746185 |
| 48 | + |
| 49 | +0.3.33 |
| 50 | + feature added a script using retroweaver to make a commonist version |
| 51 | + working with JDK 1.4 |
| 52 | + change updated to mwapi-0.7.25 which renamed the Image-namespace to File |
| 53 | + and contains new sitefiles for most wikimedia projects |
| 54 | + |
| 55 | +0.3.32 |
| 56 | + feature better layout for big displays, made the thumbnail size |
| 57 | + configurable in the settings.properties as property |
| 58 | + thumbnails.maxSize |
| 59 | + change updated to mwapi-0.7.24 containing updated sitefiles for all |
| 60 | + wikimedia sites and additionally supporting wikipedia:hu |
| 61 | + |
| 62 | +0.3.31 |
| 63 | + change updated to mwapi-0.7.23 containing updated sitefiles for all |
| 64 | + wikimedia sites |
| 65 | + |
| 66 | +0.3.30 |
| 67 | + change created a new snakeoil certificate for webstart |
| 68 | + change updated to mwapi-0.7.22 containing updated sitefiles for all |
| 69 | + wikimedia sites and uncyclopedia |
| 70 | + bugfix updated the Info.plist for the mac-dist target |
| 71 | + |
| 72 | +0.3.29 |
| 73 | + change updated to mwapi-0.7.21 using jericho-html-2.6 and containing |
| 74 | + new sitefiles for all wikimedia |
| 75 | + |
| 76 | +0.3.28 |
| 77 | + change does no longer log out after upload. this sucked with SUL. |
| 78 | + |
| 79 | +0.3.27 |
| 80 | + change updated to mwapi-0.7.20 fixing login problems |
| 81 | + |
| 82 | +0.3.26 |
| 83 | + change updated to mwapi-0.7.19 fixing login problems |
| 84 | + |
| 85 | +0.3.25 |
| 86 | + change updated to mwapi-0.7.18 with new sitefiles for all wikimedia |
| 87 | + wikis |
| 88 | + |
| 89 | +0.3.24 |
| 90 | + change updated to mwapi-0.7.17 with new sitefiles for all wikimedia |
| 91 | + wikis and uncyclopedia |
| 92 | + |
| 93 | +0.3.23 |
| 94 | + change updated to mwapi-0.7.16 with new sitefiles for all wikimedia |
| 95 | + wikis and a bugfix for overwriting images |
| 96 | + change tries a logout after uploading files |
| 97 | + |
| 98 | +0.3.22 |
| 99 | + change updated to mwapi-0.7.15 with new sitefiles for all wikimedia |
| 100 | + wikis |
| 101 | + |
| 102 | +0.3.21 |
| 103 | + change added the number of errors to the edit summary for the gallery |
| 104 | + page |
| 105 | + change updated to mwapi-0.7.14 with new sitefiles for uncyclopedia |
| 106 | + and all wikimedia wikis |
| 107 | + |
| 108 | +0.3.20 |
| 109 | + change updated to mwapi-0.7.13 with new sitefiles for all wikimedia |
| 110 | + sites |
| 111 | + change added predefined licenses {{cc-by-sa-3.0}} and {{cc-by-3.0}} |
| 112 | + |
| 113 | +0.3.19 |
| 114 | + change updated to mwapi-0.7.12 with new sitefiles for all wikimedia |
| 115 | + sites |
| 116 | + |
| 117 | +0.3.18 |
| 118 | + change updated to mwapi-0.7.11 with new sitefiles for all wikimedia |
| 119 | + sites |
| 120 | + |
| 121 | +0.3.17 |
| 122 | + change added a hack uppercasing the first letter of every file name |
| 123 | + change updated to mwapi-0.7.10 with new sitefiles for all wikimedia |
| 124 | + sites |
| 125 | + |
| 126 | +0.3.16 |
| 127 | + change updated to mwapi-0.7.9 with new sitefiles for all wikimedia |
| 128 | + sites |
| 129 | + |
| 130 | +0.3.15 |
| 131 | + change updated to mwapi-0.7.8 with new namespaces for wikisource:sv |
| 132 | + |
| 133 | +0.3.14 |
| 134 | + change updated to mwapi-0.7.7 using jericho-html-2.5.jar and |
| 135 | + commons-httpclient-3.1.jar |
| 136 | +0.3.13 |
| 137 | + change updated to mwapi-0.7.6 with new sitefiles for all wikimedia |
| 138 | + sites |
| 139 | + |
| 140 | +0.3.12 |
| 141 | + change updated to mwapi-0.7.5. if you have own sitefiles you should |
| 142 | + add the messages uploadcorrupt and uploaddisabled. |
| 143 | + change improved javadoc comments on classes |
| 144 | + |
| 145 | +0.3.11 |
| 146 | + change updated to mwapi-0.7.4 with new sitefiles |
| 147 | + change klicking the upload button without any images selected |
| 148 | + will no longer create a gallery page on the server |
| 149 | + |
| 150 | +0.3.10 |
| 151 | + bugfix unexpected HTML is no longer put on the gallery page |
| 152 | + change updated to mwapi-0.7.3 with new sitefiles |
| 153 | + |
| 154 | +0.3.9 |
| 155 | + change updated to mwapi-0.7.1 with more core reworks |
| 156 | + |
| 157 | +0.3.8 |
| 158 | + change removed the borders around file and image |
| 159 | + change updated to mwapi-0.7.0 with new sitefiles and major code |
| 160 | + reworks |
| 161 | + |
| 162 | +0.3.7 |
| 163 | + change updated to mwapi-0.6.7 with new sitefiles for wikibooks:sv, |
| 164 | + wikinews:sv, wikipedia:sv, wikiquote:de, wikiquote:sv, |
| 165 | + wikisource:sv, wiktionary:it and wiktionary:sv |
| 166 | + |
| 167 | +0.3.6 |
| 168 | + feature updated to mwapi-0.6.6 which adds support for wikipedia:no |
| 169 | + and has updated sitefiles for wikibooks:nl and wikisource:sv |
| 170 | + |
| 171 | +0.3.5 |
| 172 | + change updated to mwapi-0.6.5 with support for mediawiki |
| 173 | + (www.mediawiki.org) and new sitefiles for wikipedia:da and |
| 174 | + wikipedia:pl |
| 175 | + |
| 176 | +0.3.4 |
| 177 | + change updated to mwapi-0.6.4 with new sitefiles for wikibooks:en, |
| 178 | + wikinews:ja, wikipedia:da, wikipedia:es, wikipedia:fi and |
| 179 | + wiktionary:sv |
| 180 | + |
| 181 | +0.3.3 |
| 182 | + change updated to mwapi-0.6.3 with new sitefiles for wikibooks:nl, |
| 183 | + wikinews:nl, wikipedia:nl, wikiquote:nl wikisource:nl and |
| 184 | + wiktionary:nl |
| 185 | + |
| 186 | +0.3.2 |
| 187 | + change updated to mwapi-0.6.2 with new sitefiles for all wikimedia |
| 188 | + sites |
| 189 | + |
| 190 | +0.3.1 |
| 191 | + change updated to mwapi-0.6.1 fixing the problem that the badfiletype |
| 192 | + message no longer exists. contains extended sitefiles |
| 193 | + |
| 194 | +0.3.0 |
| 195 | + bugfix the image description textarea no longer grows when the texts |
| 196 | + gets too long to be displayed completely |
| 197 | + change needs JDK 1.5 now |
| 198 | + change updated to mwapi-0.6.0 with new sitefiles |
| 199 | +-------------------------------------------------------------------------------- |
| 200 | +0.2.16 |
| 201 | + change hacked gallery_commons.bpp and image_commons.bpp to avoid |
| 202 | + problems when a user uses an information-template as |
| 203 | + image description |
| 204 | + change split gallery-template gallery.bpp into gallery_commons.bpp |
| 205 | + and gallery_default.bpp |
| 206 | + |
| 207 | +0.2.15 |
| 208 | + change updated to mwapi-0.5.1 with new sitefiles |
| 209 | + feature added slovak localization made by commons:User:Helix84 (thanks!) |
| 210 | + |
| 211 | +0.2.14 |
| 212 | + change updated to mwapi-0.5.0 with specialPage-names in the sitefiles. |
| 213 | + please update all your hand-written ones. in case you don't |
| 214 | + have the newest mediawiki, copying the specialPage-section |
| 215 | + from wikipedia_en.site should suffice. |
| 216 | + |
| 217 | +0.2.13 |
| 218 | + change updated to mwapi-0.4.5 with updated sitefiles for |
| 219 | + wikipedia:da, wikibooks:en, wikiversity:de, uncyclopedia, |
| 220 | + wikipedia:fi and wikiquote:fr |
| 221 | + |
| 222 | +0.2.12 |
| 223 | + change updated to mwapi-0.4.4 with updated sitefiles for wikibooks:sv, |
| 224 | + wikinews:sv, wikipedia:sv, wikiquote:sv, wikisource:sv and |
| 225 | + wiktionary:sv, wikipedia:pt and wikisource:pt, wikipedia:fr |
| 226 | + and wikinews:fr, wikpiedia:da and wikipedia:en. |
| 227 | + |
| 228 | +0.2.11 |
| 229 | + bugfix updated to mwapi-0.4.3, setupProxy did not work on JDK 1.4 |
| 230 | + |
| 231 | +0.2.10 |
| 232 | + feature with mwapi-0.4.2 the environment variable $http_proxy |
| 233 | + is honored when http.proxyHost and http.proxyPort are |
| 234 | + not set |
| 235 | + bugfix with mwapi-0.4.2 using a proxy should work again |
| 236 | + change updated to mwapi-0.4.2 with new sitefiles for wikibooks:fr, |
| 237 | + wikipedia:it, wikiquote:pl, wikisource:pl and wikisource:pt |
| 238 | + change updated sitefiles for wikibooks:fr, wikipedia:it, wikiquote:pl, |
| 239 | + wikisource:pl and wikisource:pt |
| 240 | + bugfix typo in the german locale (arnomane) |
| 241 | + change removes spaces from the ends of filenames (arnomane) |
| 242 | + |
| 243 | +0.2.9 |
| 244 | + change updated to mwapi-0.4.1 which includes support for |
| 245 | + wikiversity:en and wikiversity:de and has changed sitefiles |
| 246 | + for wikisource:fr, meta, wikinews:it and wikinews:pt |
| 247 | + |
| 248 | +0.2.8 |
| 249 | + change updated to mwapi-0.4.0 which includes support for |
| 250 | + many more language-versions of wikimedia projects |
| 251 | + |
| 252 | +0.2.7 |
| 253 | + change changed the template logic so everything about |
| 254 | + an upload is contained in a single object now |
| 255 | + change the image description templates can now access |
| 256 | + the previous and next upload |
| 257 | + change updated to mwapi-0.3.6 with new block parameters |
| 258 | + which depends on jericho-html-2.2 |
| 259 | + |
| 260 | +0.2.6 |
| 261 | + change failed uploads are now added to the gallery, too |
| 262 | + |
| 263 | +0.2.5 |
| 264 | + change updated to mwapi-0.3.5 with updated languagefiles for all |
| 265 | + wikimedia projects |
| 266 | + |
| 267 | +0.2.4 |
| 268 | + change uses minibpp-templated for image description pages now |
| 269 | + feature Jo�l Brogniart provided a french localization, thanks! |
| 270 | + feature can load additional family descriptors from |
| 271 | + $HOME/.commonist/family |
| 272 | + change gets lib-util from mwapi now |
| 273 | + change updated to mwapi-0.3.1 with updated languagefiles for |
| 274 | + wikipedia:ia, wikipedia:sl and uncyclopedia |
| 275 | + |
| 276 | +0.2.3 |
| 277 | + change licenses are configured in licenses.txt instead of startup.bsh |
| 278 | + change updated to mwapi-0.3.3 with a new languagefile for wikipedia:he |
| 279 | + change the commonist is completely written in java now |
| 280 | + bugfix the system properties http.proxyHost, http.proxyPort and |
| 281 | + http.nonProxyHosts were not read as the should |
| 282 | + |
| 283 | +0.2.2 |
| 284 | + workaround removed window icons to stuff the memleak described in |
| 285 | + http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6317336 |
| 286 | + change thumbnail rendering is quite a bit faster now |
| 287 | + bugfix renders thumbs for more types of image now |
| 288 | + change doesn't ask for A:\ at startup on windows any more, i hope |
| 289 | + change ported much of the code to java to shorten the startup time |
| 290 | + change updated to mwapi-0.3.2 with another little bit different |
| 291 | + *.site-file format and languagefile for wikipedia:ca and |
| 292 | + wikipedia:zh. if you have custom *.site-files, copy the new |
| 293 | + lines from commons.site |
| 294 | + |
| 295 | +0.2.1 |
| 296 | + change switched to mwapi-0.3.1 with different config files, |
| 297 | + if you have configured own wikis, you'll have to |
| 298 | + write new *.family and *.site files |
| 299 | + change renamed configuration.bsh to startup.bsh |
| 300 | + change renamed locale_xxx.properties to messages_xxx.properties |
| 301 | + |
| 302 | +0.2.0 |
| 303 | + bugfix errors in the gallery lacked the image-namespace prefix |
| 304 | + feature honors the JDK system properties for proxy settings |
| 305 | + feature added a german translation of all UI texts |
| 306 | + feature added a confirmation dialog so existing and previously |
| 307 | + deleted files can be uploaded after the user acknowledged |
| 308 | + change configuration takes place in etc/configuration.bsh now. |
| 309 | + this file contains license-templates and example code for |
| 310 | + using a proxy, http basic authentication untrusted SSL-servers |
| 311 | + change switched to mwapi-0.3.0 implemented in pure java and uses |
| 312 | + commons-httpclient-3.0 |
| 313 | +-------------------------------------------------------------------------------- |
| 314 | +0.1.18 |
| 315 | + change replaced the permission template in [[Template:Information]] |
| 316 | + with its textual representation; the permission template itself |
| 317 | + is now appended after [[Template:Information]]. |
| 318 | + thanks to [[commons:User:JVinocur]] for the patch. |
| 319 | + |
| 320 | +0.1.17 |
| 321 | + change updated to mwapi-0.2.17 with new languagefiles for wikibooks:de |
| 322 | + and wikipedia:he |
| 323 | + |
| 324 | +0.1.16 |
| 325 | + bugfix updated to mwapi-0.2.16: failed uploads did not work correctly |
| 326 | + |
| 327 | +0.1.15 |
| 328 | + change [[Template:Information]] is used on commons only now, |
| 329 | + other wikis use the handmade template again |
| 330 | + feature uploaded images are added to the watchlist now |
| 331 | + change updated to mwapi-0.2.15 |
| 332 | + |
| 333 | +0.1.14 |
| 334 | + change better textes |
| 335 | + change removed global versions field which was useless and did not work |
| 336 | + bugfix image textfields were not cleared when changing the directory |
| 337 | + |
| 338 | +0.1.13 |
| 339 | + feature added textfield for source, date and other versions |
| 340 | + feature uses [[commons:Template:Information]] now |
| 341 | + |
| 342 | +0.1.12 |
| 343 | + change updated to mwapi-0.2.14 with new languagefiles for |
| 344 | + wikipedia:sv, wikipedia:sl, wikipedia:ro, wikipedia:ja, |
| 345 | + wikipedia:hr and uncyclopedia |
| 346 | +0.1.11 |
| 347 | + feature the format of the image page is more readable now |
| 348 | + bugfix removes linefeeds from galleries which broke the display |
| 349 | + |
| 350 | +0.1.10 |
| 351 | + change updated to mwapi-0.2.13 with updated languagefiles for |
| 352 | + wiktionary:de, wikipedia:nl, wikipedia:ar and uncyclopedia |
| 353 | + |
| 354 | +0.1.9 |
| 355 | + change updated to mwapi-0.2.10: |
| 356 | + [[MediaWiki:page]] does work now, [[Commons:Test]] (the namespace) |
| 357 | + however does not. includes updated languagefiles. |
| 358 | + |
| 359 | +0.1.8 |
| 360 | + change updated to mwapi-0.2.8: fresh languagefiles |
| 361 | + |
| 362 | +0.1.7 |
| 363 | + feature provides all categories from [[commons:Mediawiki:Licenses]] |
| 364 | + feature additionally, an empty license is possible |
| 365 | + change swapped author and description |
| 366 | + |
| 367 | +0.1.6 |
| 368 | + change updated to mwapi-0.2.7: loading fresh pages works again |
| 369 | + change updated to mwapi-0.2.6: smushTitle bugfix |
| 370 | + |
| 371 | +0.1.5 |
| 372 | + change updated to mwapi-0.2.5 |
| 373 | + |
| 374 | +0.1.4 |
| 375 | + change common description is now multiline |
| 376 | + change updated to mwapi-0.2.4 |
| 377 | + |
| 378 | +0.1.3 |
| 379 | + change updated to mwapi-0.2.3 |
| 380 | + |
| 381 | +0.1.2 |
| 382 | + bugfix full size image view did not work on java 1.4 |
| 383 | + change updated to mwapi-0.2.3 |
| 384 | + |
| 385 | +0.1.1 |
| 386 | + change the imageList scrolls to whole images now |
| 387 | + change converted more classes to java |
| 388 | + |
| 389 | +0.1.0 |
| 390 | + feature the GUI is and feels a lot faster now |
| 391 | + feature caches all thumbnails in $HOME/.commonist/cache now |
| 392 | + change settings are stored in $HOME/.commonist/settings.properties now |
| 393 | + change updated to mwapi-0.2.2 |
| 394 | + feature clicking on a thumbnail opens the image in its original size now |
| 395 | +-------------------------------------------------------------------------------- |
| 396 | +0.0.15 |
| 397 | + change updated to mwapi-0.2.1 |
| 398 | + |
| 399 | +0.0.14 |
| 400 | + change removed support for wikidev |
| 401 | + bugfix updated to mwapi-0.2.0 so you can change the UI language now |
| 402 | + without breaking the program |
| 403 | + |
| 404 | +0.0.13 |
| 405 | + bugfix recognizes forbidden file types in the upload |
| 406 | + change updated to mwapi-0.1.8 with new languagefiles and bugfixes |
| 407 | + |
| 408 | +0.0.12 |
| 409 | + bugfix did not work with java 1.4 any more |
| 410 | + feature caches its thumbnails in a directory names .commonist-thumbs |
| 411 | + change updated to mwapi-0.1.7 |
| 412 | + |
| 413 | +0.0.11 |
| 414 | + change more code cleanups, faster updates on directory changes |
| 415 | + change updated to mwapi-0.1.6 with language-split wikisource |
| 416 | + |
| 417 | +0.0.10 |
| 418 | + change updated to mwapi-0.1.5 which has support the uncyclopedia |
| 419 | + |
| 420 | +0.0.9 |
| 421 | + feature compiling a mac os x application with ant app works now (on a mac) |
| 422 | + change new galleries are added at the top now instead of the bottom |
| 423 | + change more code cleanups |
| 424 | + |
| 425 | +0.0.8 |
| 426 | + change code cleanups |
| 427 | + change added a icon |
| 428 | + change uses a gallery tag now |
| 429 | + bugfix inserted unnamed category tags before |
| 430 | + |
| 431 | +0.0.7 |
| 432 | + feature the last visited directory is persistent now |
| 433 | + change updated to mwapi-0.1.4 |
| 434 | + |
| 435 | +0.0.6 |
| 436 | + change updated to mwapi-0.1.3 |
| 437 | + feature common data fields are persisted now |
| 438 | + feature adds all images uploaded on a /gallery page |
| 439 | + feature added a categories field for every file |
| 440 | + change features are now separated with '|' instead of ',' (comma) |
| 441 | + |
| 442 | +0.0.5 |
| 443 | + feature upload progress is now displayed in the progress bar |
| 444 | + change updated to mwapi-0.1.2 to enable upload progress measuring |
| 445 | + feature access to all a lot of mediawiki sites instead of just commons |
| 446 | + change better text formatting |
| 447 | + |
| 448 | +0.0.4 |
| 449 | + change updated to mwapi-0.1.1 to fix character encoding problems in |
| 450 | + filenames |
| 451 | + |
| 452 | +0.0.3 |
| 453 | + bugfix thumbs are no longer stretched when only a few are displayed |
| 454 | + change updated to mwapi-0.1.0 which loads pages quite a bit faster |
| 455 | + and contains bugfixes for mediawiki 1.6alpha support |
| 456 | + |
| 457 | +0.0.2 |
| 458 | + change mediawiki 1.6alpha is supported now wie mwapi-0.0.10 |
| 459 | + change multi-rooted systems like windows are properly supported now |
| 460 | + |
| 461 | +0.0.1 |
| 462 | + initial release |
\ No newline at end of file |
Property changes on: trunk/tools/commonist-java/doc/changes.txt |
___________________________________________________________________ |
Added: svn:mime-type |
1 | 463 | + text/plain |
Added: svn:eol-style |
2 | 464 | + native |
Index: trunk/tools/commonist-java/doc/index.html |
— | — | @@ -0,0 +1,181 @@ |
| 2 | +<h2>abstract</h2> |
| 3 | +<p> |
| 4 | +the commonist is a simple upload clients for wikimedia commons and a number of other mediawiki sites. |
| 5 | +it is written in java and <a href="http://www.beanshell.org/">BeanShell</a>. |
| 6 | +</p> |
| 7 | +<p> |
| 8 | +this software is in beta state, so don't complain if it's broken ;) |
| 9 | +</p> |
| 10 | + |
| 11 | +<h2>contact</h2> |
| 12 | +<p> |
| 13 | +the dot gray at gmx dot net (write in english or german) |
| 14 | +</p> |
| 15 | + |
| 16 | +<h2>license</h2> |
| 17 | +<p> |
| 18 | +the commonist is released under the <a href="http://www.gnu.org/copyleft/gpl.html">GPL</a>. |
| 19 | +</p> |
| 20 | + |
| 21 | +<h2>requirements</h2> |
| 22 | +<table> |
| 23 | +<tr><td>JDK 1.5.0 or newer</td><td><a href="http://java.sun.com/javase/">http://java.sun.com/javase/</a></td></tr> |
| 24 | +</table> |
| 25 | + |
| 26 | +<h2>download</h2> |
| 27 | +<p> |
| 28 | +<a href="$(project)-$(version).zip">$(project)-$(version).zip</a> (sources included) |
| 29 | +</p> |
| 30 | +<p> |
| 31 | +see <a href="changes.txt">changes.txt</a> for changes in version $(version). |
| 32 | +</p> |
| 33 | + |
| 34 | +<h2>usage</h2> |
| 35 | +<ol> |
| 36 | +<li>click <a href="ws/commonist.jnlp">this link</a> to start the commonist if you have webstart installed. |
| 37 | + the webstart files of the commonist are signed with a snake oil certificate, so an ugly warning will pop up.</li> |
| 38 | +<li>alternatively, you can download <code>$(project)-$(version).zip</code> and unpack it. this will create a new directory |
| 39 | + <code>$(project)-$(version)</code>. |
| 40 | + cd into this directory and start the commonist with <code>bin/commonist</code> (on linux or mac os x), |
| 41 | + or <code>$ bin\commonist.bat</code> (on windows).<br /> |
| 42 | + note: on windows, you may have to click away a requester at program startup with <code>continue</code>.</li> |
| 43 | +</ol> |
| 44 | + |
| 45 | +<h2>customization</h2> |
| 46 | + |
| 47 | +<h3>license templates</h3> |
| 48 | +<p><small>this works with the webstart version and the zipfile version.</small></p> |
| 49 | +<ol> |
| 50 | +<li>copy <code>etc/licenses.txt</code> to <code>$HOME/.commonist/licenses.txt</code>.</li> |
| 51 | +<li>change <code>$HOME/.commonist/licenses.txt</code> as you like.</li> |
| 52 | +<li>if <code>$HOME/.commonist/licenses.txt</code> exists, |
| 53 | + it overrides settings in <code>etc/licenses.txt</code>.</li> |
| 54 | +</ol> |
| 55 | + |
| 56 | +<h3>gallery templates</h3> |
| 57 | +<p><small>this works with the webstart version and the zipfile version.</small></p> |
| 58 | +<ol> |
| 59 | +<li>the gallery is built from template files. the templates contain wiki markup, lines starting with a <code>#</code> are |
| 60 | + beanshell code toi be executed, <code>$()</code> encloses beanshell code to be printed.</li> |
| 61 | +<li><code>etc/gallery_commons.bpp</code> and <code>etc/image_commons.bpp</code> are used for commons, |
| 62 | + <code>etc/gallery_default.bpp</code> and <code>etc/image_default.bpp</code> for other wikis.</li> |
| 63 | +<li>copy one or more of these files to <code>$HOME/.commonist/</code></li> |
| 64 | +<li>change them as you like.</li> |
| 65 | +</ol> |
| 66 | + |
| 67 | +<h3>adding an UI-language</h3> |
| 68 | +<p><small>this works with the zipfile version, but not with the webstart version.</small></p> |
| 69 | +<ol> |
| 70 | +<li>copy <code>etc/messages_en.properties</code> to <code>$HOME/.commonist/messages_xxx.properties</code>, |
| 71 | + xxx is the user language printed out on startup.</li> |
| 72 | +<li>translate <code>$HOME/.commonist/messages_xxx.properties</code></li> |
| 73 | +</ol> |
| 74 | + |
| 75 | +<h3>adding a wiki</h3> |
| 76 | +<p><small>this works with the webstart version and the zipfile version.</small></p> |
| 77 | +<ol> |
| 78 | +<li>unpack <code>lib/mwapi.jar</code> from the unpacked binary zip into a new directory</li> |
| 79 | +<li>look for <code>commons.family</code> and <code>commons.site</code> in this directory</li> |
| 80 | +<li>create a directory <code>$HOME/.commonist/family</code></li> |
| 81 | +<li>copy <code>commons.family</code> to <code>$HOME/.commonist/family/NAME.family</code></li> |
| 82 | +<li>copy <code>commons.site</code> to <code>$HOME/.commonist/family/NAME.site</code></li> |
| 83 | +<li>adapt these two files.</li> |
| 84 | +</ol> |
| 85 | + |
| 86 | +<h3>running code on startup</h3> |
| 87 | +<p><small>this works with the webstart version and the zipfile version.</small></p> |
| 88 | +<p>you can create a file <code>$HOME/.commonist/startup.bsh</code> which is executed on startup. |
| 89 | + this can be used for automatic login, to provide passwords for htaccess-protected servers |
| 90 | + and to allow untrusted SSL-certificates. |
| 91 | + have a look at <code>etc/startup.bsh</code> for examples.</p> |
| 92 | + |
| 93 | +<h2>supported sites</h2> |
| 94 | +<table> |
| 95 | +<tr><td>commons</td><td>-</td><td>c</td><td><a href="http://meta.wikimedia.org">http://commons.wikimedia.org</a></td></tr> |
| 96 | +<tr><td>meta</td><td>-</td><td>m</td><td><a href="http://meta.wikimedia.org">http://meta.wikimedia.org</a></td></tr> |
| 97 | +<tr><td>mediawiki</td><td>-</td><td>mw</td><td><a href="http://www.mediawiki.org">http://www.mediawiki.org</a></td></tr> |
| 98 | +<tr><td> </td></tr> |
| 99 | +<tr><td>wikipedia</td><td>arabic</td><td>w:ar</td><td><a href="http://ar.wikipedia.org">http://ar.wikipedia.org</a></td></tr> |
| 100 | +<tr><td>wikipedia</td><td>catalan</td><td>w:ca</td><td><a href="http://ca.wikipedia.org">http://ca.wikipedia.org</a></td></tr> |
| 101 | +<tr><td>wikipedia</td><td>danish</td><td>w:da</td><td><a href="http://da.wikipedia.org">http://da.wikipedia.org</a></td></tr> |
| 102 | +<tr><td>wikipedia</td><td>german</td><td>w:de</td><td><a href="http://de.wikipedia.org">http://de.wikipedia.org</a></td></tr> |
| 103 | +<tr><td>wikipedia</td><td>english</td><td>w:en</td><td><a href="http://en.wikipedia.org">http://en.wikipedia.org</a></td></tr> |
| 104 | +<tr><td>wikipedia</td><td>esperanto</td><td>w:eo</td><td><a href="http://eo.wikipedia.org">http://eo.wikipedia.org</a></td></tr> |
| 105 | +<tr><td>wikipedia</td><td>spanish</td><td>w:es</td><td><a href="http://es.wikipedia.org">http://es.wikipedia.org</a></td></tr> |
| 106 | +<tr><td>wikipedia</td><td>estonian</td><td>w:et</td><td><a href="http://et.wikipedia.org">http://et.wikipedia.org</a></td></tr> |
| 107 | +<tr><td>wikipedia</td><td>finnish</td><td>w:fi</td><td><a href="http://fi.wikipedia.org">http://fi.wikipedia.org</a></td></tr> |
| 108 | +<tr><td>wikipedia</td><td>french</td><td>w:fr</td><td><a href="http://fr.wikipedia.org">http://fr.wikipedia.org</a></td></tr> |
| 109 | +<tr><td>wikipedia</td><td>hebrew</td><td>w:he</td><td><a href="http://he.wikipedia.org">http://he.wikipedia.org</a></td></tr> |
| 110 | +<tr><td>wikipedia</td><td>croatian</td><td>w:hr</td><td><a href="http://hr.wikipedia.org">http://hr.wikipedia.org</a></td></tr> |
| 111 | +<tr><td>wikipedia</td><td>interlingua</td><td>w:ia</td><td><a href="http://ia.wikipedia.org">http://ia.wikipedia.org</a></td></tr> |
| 112 | +<tr><td>wikipedia</td><td>italian</td><td>w:it</td><td><a href="http://it.wikipedia.org">http://it.wikipedia.org</a></td></tr> |
| 113 | +<tr><td>wikipedia</td><td>japanese</td><td>w:ja</td><td><a href="http://ja.wikipedia.org">http://ja.wikipedia.org</a></td></tr> |
| 114 | +<tr><td>wikipedia</td><td>dutch</td><td>w:nl</td><td><a href="http://nl.wikipedia.org">http://nl.wikipedia.org</a></td></tr> |
| 115 | +<tr><td>wikipedia</td><td>norwegian</td><td>w:no</td><td><a href="http://no.wikipedia.org">http://no.wikipedia.org</a></td></tr> |
| 116 | +<tr><td>wikipedia</td><td>polish</td><td>w:pl</td><td><a href="http://pl.wikipedia.org">http://pl.wikipedia.org</a></td></tr> |
| 117 | +<tr><td>wikipedia</td><td>portuguese</td><td>w:pt</td><td><a href="http://pt.wikipedia.org">http://pt.wikipedia.org</a></td></tr> |
| 118 | +<tr><td>wikipedia</td><td>romanian</td><td>w:ro</td><td><a href="http://ro.wikipedia.org">http://ro.wikipedia.org</a></td></tr> |
| 119 | +<tr><td>wikipedia</td><td>slovenian</td><td>w:sl</td><td><a href="http://sl.wikipedia.org">http://sl.wikipedia.org</a></td></tr> |
| 120 | +<tr><td>wikipedia</td><td>swedish</td><td>w:sv</td><td><a href="http://sv.wikipedia.org">http://sv.wikipedia.org</a></td></tr> |
| 121 | +<tr><td>wikipedia</td><td>chinese</td><td>w:zh</td><td><a href="http://zh.wikipedia.org">http://zh.wikipedia.org</a></td></tr> |
| 122 | +<tr><td> </td></tr> |
| 123 | +<tr><td>wikisource</td><td>english</td><td>s:en</td><td><a href="http://en.wikisource.org">http://en.wikisource.org</a></td></tr> |
| 124 | +<tr><td>wikisource</td><td>german</td><td>s:de</td><td><a href="http://de.wikisource.org">http://de.wikisource.org</a></td></tr> |
| 125 | +<tr><td>wikisource</td><td>french</td><td>s:fr</td><td><a href="http://fr.wikisource.org">http://fr.wikisource.org</a></td></tr> |
| 126 | +<tr><td>wikisource</td><td>japanese</td><td>s:ja</td><td><a href="http://ja.wikisource.org">http://ja.wikisource.org</a></td></tr> |
| 127 | +<tr><td>wikisource</td><td>dutch</td><td>s:nl</td><td><a href="http://nl.wikisource.org">http://nl.wikisource.org</a></td></tr> |
| 128 | +<tr><td>wikisource</td><td>italian</td><td>s:it</td><td><a href="http://it.wikisource.org">http://it.wikisource.org</a></td></tr> |
| 129 | +<tr><td>wikisource</td><td>swedish</td><td>s:sv</td><td><a href="http://sv.wikisource.org">http://sv.wikisource.org</a></td></tr> |
| 130 | +<tr><td>wikisource</td><td>polish</td><td>s:pl</td><td><a href="http://pl.wikisource.org">http://pl.wikisource.org</a></td></tr> |
| 131 | +<tr><td>wikisource</td><td>portuguese</td><td>s:pt</td><td><a href="http://pt.wikisource.org">http://pt.wikisource.org</a></td></tr> |
| 132 | +<tr><td>wikisource</td><td>spanish</td><td>s:es</td><td><a href="http://es.wikisource.org">http://es.wikisource.org</a></td></tr> |
| 133 | +<tr><td> </td></tr> |
| 134 | +<tr><td>wikibooks</td><td>german</td><td>b:de</td><td><a href="http://de.wikibooks.org">http://de.wikibooks.org</a></td></tr> |
| 135 | +<tr><td>wikibooks</td><td>english</td><td>b:en</td><td><a href="http://en.wikibooks.org">http://en.wikibooks.org</a></td></tr> |
| 136 | +<tr><td>wikibooks</td><td>french</td><td>b:fr</td><td><a href="http://fr.wikibooks.org">http://fr.wikibooks.org</a></td></tr> |
| 137 | +<tr><td>wikibooks</td><td>japanese</td><td>b:ja</td><td><a href="http://ja.wikibooks.org">http://ja.wikibooks.org</a></td></tr> |
| 138 | +<tr><td>wikibooks</td><td>dutch</td><td>b:nl</td><td><a href="http://nl.wikibooks.org">http://nl.wikibooks.org</a></td></tr> |
| 139 | +<tr><td>wikibooks</td><td>italian</td><td>b:it</td><td><a href="http://it.wikibooks.org">http://it.wikibooks.org</a></td></tr> |
| 140 | +<tr><td>wikibooks</td><td>swedish</td><td>b:sv</td><td><a href="http://sv.wikibooks.org">http://sv.wikibooks.org</a></td></tr> |
| 141 | +<tr><td>wikibooks</td><td>polish</td><td>s:pl</td><td><a href="http://pl.wikibooks.org">http://pl.wikibooks.org</a></td></tr> |
| 142 | +<tr><td>wikibooks</td><td>portuguese</td><td>b:pt</td><td><a href="http://pt.wikibooks.org">http://pt.wikibooks.org</a></td></tr> |
| 143 | +<tr><td>wikibooks</td><td>spanish</td><td>b:es</td><td><a href="http://es.wikibooks.org">http://es.wikibooks.org</a></td></tr> |
| 144 | +<tr><td> </td></tr> |
| 145 | +<tr><td>wiktionary</td><td>german</td><td>wikt:de</td><td><a href="http://de.wiktionary.org">http://de.wiktionary.org</a></td></tr> |
| 146 | +<tr><td>wiktionary</td><td>english</td><td>wikt:en</td><td><a href="http://en.wiktionary.org">http://en.wiktionary.org</a></td></tr> |
| 147 | +<tr><td>wiktionary</td><td>french</td><td>wikt:fr</td><td><a href="http://fr.wiktionary.org">http://fr.wiktionary.org</a></td></tr> |
| 148 | +<tr><td>wiktionary</td><td>japanese</td><td>wikt:ja</td><td><a href="http://ja.wiktionary.org">http://ja.wiktionary.org</a></td></tr> |
| 149 | +<tr><td>wiktionary</td><td>dutch</td><td>wikt:nl</td><td><a href="http://nl.wiktionary.org">http://nl.wiktionary.org</a></td></tr> |
| 150 | +<tr><td>wiktionary</td><td>italian</td><td>wikt:it</td><td><a href="http://it.wiktionary.org">http://it.wiktionary.org</a></td></tr> |
| 151 | +<tr><td>wiktionary</td><td>swedish</td><td>wikt:sv</td><td><a href="http://sv.wiktionary.org">http://sv.wiktionary.org</a></td></tr> |
| 152 | +<tr><td>wiktionary</td><td>polish</td><td>s:pl</td><td><a href="http://pl.wiktionary.org">http://pl.wiktionary.org</a></td></tr> |
| 153 | +<tr><td>wiktionary</td><td>portuguese</td><td>wikt:pt</td><td><a href="http://pt.wiktionary.org">http://pt.wiktionary.org</a></td></tr> |
| 154 | +<tr><td>wiktionary</td><td>spanish</td><td>wikt:es</td><td><a href="http://es.wiktionary.org">http://es.wiktionary.org</a></td></tr> |
| 155 | +<tr><td> </td></tr> |
| 156 | +<tr><td>wikiquote</td><td>german</td><td>q:de</td><td><a href="http://de.wikiquote.org">http://de.wikiquote.org</a></td></tr> |
| 157 | +<tr><td>wikiquote</td><td>english</td><td>q:en</td><td><a href="http://en.wikiquote.org">http://en.wikiquote.org</a></td></tr> |
| 158 | +<tr><td>wikiquote</td><td>japanese</td><td>q:ja</td><td><a href="http://ja.wikiquote.org">http://ja.wikiquote.org</a></td></tr> |
| 159 | +<tr><td>wikiquote</td><td>dutch</td><td>q:nl</td><td><a href="http://nl.wikiquote.org">http://nl.wikiquote.org</a></td></tr> |
| 160 | +<tr><td>wikiquote</td><td>italian</td><td>q:it</td><td><a href="http://it.wikiquote.org">http://it.wikiquote.org</a></td></tr> |
| 161 | +<tr><td>wikiquote</td><td>swedish</td><td>q:sv</td><td><a href="http://sv.wikiquote.org">http://sv.wikiquote.org</a></td></tr> |
| 162 | +<tr><td>wikiquote</td><td>polish</td><td>s:pl</td><td><a href="http://pl.wikiquote.org">http://pl.wikiquote.org</a></td></tr> |
| 163 | +<tr><td>wikiquote</td><td>portuguese</td><td>q:pt</td><td><a href="http://pt.wikiquote.org">http://pt.wikiquote.org</a></td></tr> |
| 164 | +<tr><td>wikiquote</td><td>spanish</td><td>q:es</td><td><a href="http://es.wikiquote.org">http://es.wikiquote.org</a></td></tr> |
| 165 | +<tr><td> </td></tr> |
| 166 | +<tr><td>wikinews</td><td>german</td><td>n:de</td><td><a href="http://de.wikinews.org">http://de.wikinews.org</a></td></tr> |
| 167 | +<tr><td>wikinews</td><td>english</td><td>n:en</td><td><a href="http://en.wikinews.org">http://en.wikinews.org</a></td></tr> |
| 168 | +<tr><td>wikinews</td><td>japanese</td><td>n:ja</td><td><a href="http://ja.wikinews.org">http://ja.wikinews.org</a></td></tr> |
| 169 | +<tr><td>wikinews</td><td>dutch</td><td>n:nl</td><td><a href="http://nl.wikinews.org">http://nl.wikinews.org</a></td></tr> |
| 170 | +<tr><td>wikinews</td><td>italian</td><td>n:it</td><td><a href="http://it.wikinews.org">http://it.wikinews.org</a></td></tr> |
| 171 | +<tr><td>wikinews</td><td>swedish</td><td>n:sv</td><td><a href="http://sv.wikinews.org">http://sv.wikinews.org</a></td></tr> |
| 172 | +<tr><td>wikinews</td><td>polish</td><td>s:pl</td><td><a href="http://pl.wikinews.org">http://pl.wikinews.org</a></td></tr> |
| 173 | +<tr><td>wikinews</td><td>portuguese</td><td>n:pt</td><td><a href="http://pt.wikinews.org">http://pt.wikinews.org</a></td></tr> |
| 174 | +<tr><td>wikinews</td><td>spanish</td><td>n:es</td><td><a href="http://es.wikinews.org">http://es.wikinews.org</a></td></tr> |
| 175 | +<tr><td> </td></tr> |
| 176 | +<tr><td>wikiversity</td><td>german</td><td>v:de</td><td><a href="http://de.wikiversity.org">http://de.wikiversity.org</a></td></tr> |
| 177 | +<tr><td>wikiversity</td><td>english</td><td>v:en</td><td><a href="http://en.wikiversity.org">http://en.wikiversity.org</a></td></tr> |
| 178 | +<tr><td> </td></tr> |
| 179 | +<tr><td>fotowiki</td><td>-</td><td>foto</td><td><a href="http://foto.wikia.com">http://foto.wikia.com</a></td></tr> |
| 180 | +<tr><td>kamelopedia</td><td>-</td><td>kamelo</td><td><a href="http://kamelopedia.mormo.org">http://kamelopedia.mormo.org</a></td></tr> |
| 181 | +<tr><td>uncyclopedia</td><td>-</td><td>unc</td><td><a href="http://uncyclopedia.org">http://uncyclopedia.org</a></td></tr> |
| 182 | +</table> |
Property changes on: trunk/tools/commonist-java/doc/index.html |
___________________________________________________________________ |
Added: svn:mime-type |
1 | 183 | + text/html |
Added: svn:eol-style |
2 | 184 | + native |
Property changes on: trunk/tools/commonist-java/lib/lib-util.jar |
___________________________________________________________________ |
Modified: svn:mime-type |
3 | 185 | - application/octet-stream |
4 | 186 | + application/java-archive |
Property changes on: trunk/tools/commonist-java/lib/mwapi-src.jar |
___________________________________________________________________ |
Modified: svn:mime-type |
5 | 187 | - application/octet-stream |
6 | 188 | + application/java-archive |
Property changes on: trunk/tools/commonist-java/lib/minibpp-src.jar |
___________________________________________________________________ |
Modified: svn:mime-type |
7 | 189 | - application/octet-stream |
8 | 190 | + application/java-archive |
Property changes on: trunk/tools/commonist-java/lib/jericho-html-3.1.jar |
___________________________________________________________________ |
Modified: svn:mime-type |
9 | 191 | - application/octet-stream |
10 | 192 | + application/java-archive |
Property changes on: trunk/tools/commonist-java/lib/commons-codec-1.3.jar |
___________________________________________________________________ |
Modified: svn:mime-type |
11 | 193 | - application/octet-stream |
12 | 194 | + application/java-archive |
Property changes on: trunk/tools/commonist-java/lib/commons-httpclient-3.1.jar |
___________________________________________________________________ |
Modified: svn:mime-type |
13 | 195 | - application/octet-stream |
14 | 196 | + application/java-archive |
Property changes on: trunk/tools/commonist-java/lib/lib-util-src.jar |
___________________________________________________________________ |
Modified: svn:mime-type |
15 | 197 | - application/octet-stream |
16 | 198 | + application/java-archive |
Property changes on: trunk/tools/commonist-java/lib/bsh-2.0b2-fixed.jar |
___________________________________________________________________ |
Modified: svn:mime-type |
17 | 199 | - application/octet-stream |
18 | 200 | + application/java-archive |
Property changes on: trunk/tools/commonist-java/lib/commons-logging-1.1.jar |
___________________________________________________________________ |
Modified: svn:mime-type |
19 | 201 | - application/octet-stream |
20 | 202 | + application/java-archive |
Property changes on: trunk/tools/commonist-java/lib/mwapi.jar |
___________________________________________________________________ |
Modified: svn:mime-type |
21 | 203 | - application/octet-stream |
22 | 204 | + application/java-archive |
Property changes on: trunk/tools/commonist-java/lib/minibpp.jar |
___________________________________________________________________ |
Modified: svn:mime-type |
23 | 205 | - application/octet-stream |
24 | 206 | + application/java-archive |
Index: trunk/tools/commonist-java/bin/commonist.bat |
— | — | @@ -0,0 +1,6 @@ |
| 2 | +rem change into the project directory
|
| 3 | +cd /d %~dp0%
|
| 4 | +cd ..
|
| 5 | +
|
| 6 | +rem remove the -Xmx option if your VM does not understand it
|
| 7 | +java -Xmx192m -cp build\classes;lib\bsh-2.0b2-fixed.jar;lib\lib-util.jar;lib\mwapi.jar;lib\minibpp.jar;lib\commons-httpclient-3.1.jar;lib\commons-logging-1.1.jar;lib\commons-codec-1.3.jar;lib\jericho-html-3.1.jar net.psammead.commonist.Commonist
|
Property changes on: trunk/tools/commonist-java/bin/commonist.bat |
___________________________________________________________________ |
Added: svn:mime-type |
1 | 8 | + text/plain |
Added: svn:eol-style |
2 | 9 | + CRLF |
Added: svn:executable |
3 | 10 | + * |
Index: trunk/tools/commonist-java/bin/retro_weave |
— | — | @@ -0,0 +1,28 @@ |
| 2 | +#!/bin/bash |
| 3 | + |
| 4 | +# change into the project directory |
| 5 | +cd "$(dirname "$0")/.." |
| 6 | + |
| 7 | +[ -z "$RETROWEAVER_HOME" ] && { |
| 8 | + echo >&2 "error: RETROWEAVER_HOME is not set" |
| 9 | + exit 1 |
| 10 | +} |
| 11 | + |
| 12 | +retro() { |
| 13 | + java -cp $RETROWEAVER_HOME/release/retroweaver-all-2.0.7.jar:$RETROWEAVER_HOME/lib/asm-2.2.jar:$RETROWEAVER_HOME/lib/asm-commons-2.2.jar net.sourceforge.retroweaver.Weaver "$@" |
| 14 | +} |
| 15 | + |
| 16 | +### HACK |
| 17 | +[ ! -d "build/classes" ] && ant compile |
| 18 | + |
| 19 | +rm -rf build/retro |
| 20 | +mkdir build/retro |
| 21 | + |
| 22 | +mkdir build/retro/lib |
| 23 | +cp $RETROWEAVER_HOME/release/retroweaver-rt-2.0.7.jar build/retro/lib |
| 24 | +for f in lib/*; do |
| 25 | + retro -jar "$f" "build/retro/lib/$(basename "$f")" |
| 26 | +done |
| 27 | + |
| 28 | +cp -r build/classes build/retro/classes |
| 29 | +retro -source build/retro/classes |
Property changes on: trunk/tools/commonist-java/bin/retro_weave |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 30 | + native |
Added: svn:executable |
2 | 31 | + * |
Index: trunk/tools/commonist-java/bin/retro_commonist |
— | — | @@ -0,0 +1,27 @@ |
| 2 | +#!/bin/bash |
| 3 | + |
| 4 | +# change into the project directory |
| 5 | +cd "$(dirname "$0")/.." |
| 6 | + |
| 7 | +# change these if you want to use a specific JDK |
| 8 | +#export JAVA_HOME=/usr/local/java/j2sdk1.4.2_13 |
| 9 | +#export JAVA_HOME=/usr/local/java/jdk1.5.0_12 |
| 10 | +#export JAVA_HOME=/usr/local/java/jdk1.6.0_02 |
| 11 | +#export PATH=$JAVA_HOME/bin:$PATH |
| 12 | + |
| 13 | +# apple look |
| 14 | +#options="-Dapple.awt.brushMetalLook=true" |
| 15 | + |
| 16 | +# for debugging purposes only |
| 17 | +#options="-Xmx64m -verbosegc -Xrunhprof:heap=all,depth=10,thread=y,doe=y" |
| 18 | +#options="-Xmx64m -Dcom.sun.management.jmxremote" |
| 19 | + |
| 20 | +# tuning, remove the options your VM does not understand |
| 21 | +options=-Xmx192m |
| 22 | + |
| 23 | +# classpath |
| 24 | +classes=build/retro/classes |
| 25 | +lib=build/retro/lib |
| 26 | +classpath=$lib/retroweaver-rt-2.0.7.jar:$classes:$lib/bsh-2.0b2-fixed.jar:$lib/lib-util.jar:$lib/mwapi.jar:$lib/minibpp.jar:$lib/commons-httpclient-3.1.jar:$lib/commons-logging-1.1.jar:$lib/commons-codec-1.3.jar:$lib/jericho-html-3.1.jar |
| 27 | + |
| 28 | +exec java $options -cp $classpath net.psammead.commonist.Commonist "$@" |
Property changes on: trunk/tools/commonist-java/bin/retro_commonist |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 29 | + native |
Added: svn:executable |
2 | 30 | + * |
Index: trunk/tools/commonist-java/bin/commonist |
— | — | @@ -0,0 +1,28 @@ |
| 2 | +#!/bin/bash |
| 3 | + |
| 4 | +# change into the project directory |
| 5 | +cd "$(dirname "$0")/.." |
| 6 | + |
| 7 | +# change these if you want to use a specific JDK |
| 8 | +#export JAVA_HOME=/usr/local/java/j2sdk1.4.2_13 |
| 9 | +#export JAVA_HOME=/usr/local/java/jdk1.5.0_12 |
| 10 | +#export JAVA_HOME=/usr/local/java/jdk1.6.0_02 |
| 11 | +#export PATH=$JAVA_HOME/bin:$PATH |
| 12 | + |
| 13 | +# apple look |
| 14 | +#options="-Dapple.awt.brushMetalLook=true" |
| 15 | + |
| 16 | +# for debugging purposes only |
| 17 | +#options="-Xmx64m -verbosegc -Xrunhprof:heap=all,depth=10,thread=y,doe=y" |
| 18 | +#options="-Xmx64m -Dcom.sun.management.jmxremote" |
| 19 | + |
| 20 | +# tuning, remove the options your VM does not understand |
| 21 | +options=-Xmx192m |
| 22 | + |
| 23 | +# classpath |
| 24 | +classes=build/classes |
| 25 | +[ ! -d "$classes" ] && ant compile |
| 26 | +lib=lib |
| 27 | +classpath=$classes:$lib/bsh-2.0b2-fixed.jar:$lib/lib-util.jar:$lib/mwapi.jar:$lib/minibpp.jar:$lib/commons-httpclient-3.1.jar:$lib/commons-logging-1.1.jar:$lib/commons-codec-1.3.jar:$lib/jericho-html-3.1.jar |
| 28 | + |
| 29 | +exec java $options -cp $classpath net.psammead.commonist.Commonist "$@" |
Property changes on: trunk/tools/commonist-java/bin/commonist |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 30 | + native |
Added: svn:executable |
2 | 31 | + * |
Index: trunk/tools/commonist-java/build.properties |
— | — | @@ -0,0 +1,56 @@ |
| 2 | +#------------------------------------------------------------------------------- |
| 3 | +# project info |
| 4 | + |
| 5 | +project=commonist |
| 6 | +description=a MediaWiki file upload tool |
| 7 | +version=0.3.43 |
| 8 | + |
| 9 | +author=daniel wunsch |
| 10 | +license=GPL |
| 11 | + |
| 12 | +webTitle=commonist |
| 13 | +webDirectory=commonist |
| 14 | + |
| 15 | +kind=application-bsh |
| 16 | +#library= |
| 17 | + |
| 18 | +depends=mwapi,minibpp,util |
| 19 | + |
| 20 | +java.packages= |
| 21 | +java.source=1.5 |
| 22 | +java.target=1.5 |
| 23 | +java.encoding=ISO-8859-1 |
| 24 | + |
| 25 | +#------------------------------------------------------------------------------- |
| 26 | +# build |
| 27 | + |
| 28 | +build.compiler=modern |
| 29 | + |
| 30 | +# apple |
| 31 | +mac.app=TheCommonist.app |
| 32 | +mac.bundle.name=TheCommonist |
| 33 | +mac.bundle.icons=commonist.icns |
| 34 | +mac.bundle.identifier=net.psammead.commonist |
| 35 | + |
| 36 | +# webstart |
| 37 | +ws.jnlp=commonist.jnlp |
| 38 | +ws.codebase=http://djini.de/software/commonist/ws/ |
| 39 | +ws.mainclass=net.psammead.commonist.Commonist |
| 40 | +ws.homepage=http://djini.de/software/commonist/index.html |
| 41 | +ws.title=The Commonist |
| 42 | +ws.description=a MediaWiki file upload tool |
| 43 | +ws.shortdesc=a MediaWiki file upload tool |
| 44 | +ws.vendor=FNORD! Inc. |
| 45 | +ws.icon=commonist-32.png |
| 46 | +ws.splash=commonist-128.png |
| 47 | + |
| 48 | +# dname |
| 49 | +sign.dname=CN=Snake Oil, OU=Hacking Unit, O=FNORD! Inc., L=Bielefeld, ST=33641, C=DE |
| 50 | + |
| 51 | +# keystore |
| 52 | +sign.keystore=etc/keyStore |
| 53 | +sign.keypass=0xDEADBEEF |
| 54 | + |
| 55 | +# signing key |
| 56 | +sign.alias=signFiles |
| 57 | +sign.storepass=0xDEADBEEF |
Property changes on: trunk/tools/commonist-java/build.properties |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 58 | + native |
Added: svn:mime-type |
2 | 59 | + text/plain |