about summary refs log tree commit diff stats
path: root/update/plugin/subversion/trunk
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2008-08-21 14:26:16 +0000
committerKelly Rauchenberger <fefferburbia@gmail.com>2008-08-21 14:26:16 +0000
commitff063bc7eb37a6af42a75c216f647db15cb858fe (patch)
tree3642063b97b2fc69b68a0df2744525f28c2f828b /update/plugin/subversion/trunk
parent1ef9b232d50523f3dac49e225d560bb9da0eb9b4 (diff)
downloadinstadisc-ff063bc7eb37a6af42a75c216f647db15cb858fe.tar.gz
instadisc-ff063bc7eb37a6af42a75c216f647db15cb858fe.tar.bz2
instadisc-ff063bc7eb37a6af42a75c216f647db15cb858fe.zip
Update: Added VerID bounce to Subversion
Also imported classpath libraries, for some reason they weren't previously added. Fixes #44
Diffstat (limited to 'update/plugin/subversion/trunk')
-rw-r--r--update/plugin/subversion/trunk/lib/commons-logging-1.1.jarbin0 -> 52915 bytes
-rw-r--r--update/plugin/subversion/trunk/lib/ws-commons-util-1.0.2.jarbin0 -> 34407 bytes
-rw-r--r--update/plugin/subversion/trunk/lib/xmlrpc-client-3.1.jarbin0 -> 45124 bytes
-rw-r--r--update/plugin/subversion/trunk/lib/xmlrpc-common-3.1.jarbin0 -> 104038 bytes
-rw-r--r--update/plugin/subversion/trunk/lib/xmlrpc-server-3.1.jarbin0 -> 75310 bytes
-rw-r--r--update/plugin/subversion/trunk/nbproject/project.properties16
-rw-r--r--update/plugin/subversion/trunk/src/com/fourisland/instadisc/update/svn/Main.java9
7 files changed, 18 insertions, 7 deletions
diff --git a/update/plugin/subversion/trunk/lib/commons-logging-1.1.jar b/update/plugin/subversion/trunk/lib/commons-logging-1.1.jar new file mode 100644 index 0000000..2ff9bbd --- /dev/null +++ b/update/plugin/subversion/trunk/lib/commons-logging-1.1.jar
Binary files differ
diff --git a/update/plugin/subversion/trunk/lib/ws-commons-util-1.0.2.jar b/update/plugin/subversion/trunk/lib/ws-commons-util-1.0.2.jar new file mode 100644 index 0000000..3fc364e --- /dev/null +++ b/update/plugin/subversion/trunk/lib/ws-commons-util-1.0.2.jar
Binary files differ
diff --git a/update/plugin/subversion/trunk/lib/xmlrpc-client-3.1.jar b/update/plugin/subversion/trunk/lib/xmlrpc-client-3.1.jar new file mode 100644 index 0000000..a76e6ec --- /dev/null +++ b/update/plugin/subversion/trunk/lib/xmlrpc-client-3.1.jar
Binary files differ
diff --git a/update/plugin/subversion/trunk/lib/xmlrpc-common-3.1.jar b/update/plugin/subversion/trunk/lib/xmlrpc-common-3.1.jar new file mode 100644 index 0000000..862098b --- /dev/null +++ b/update/plugin/subversion/trunk/lib/xmlrpc-common-3.1.jar
Binary files differ
diff --git a/update/plugin/subversion/trunk/lib/xmlrpc-server-3.1.jar b/update/plugin/subversion/trunk/lib/xmlrpc-server-3.1.jar new file mode 100644 index 0000000..bb64a50 --- /dev/null +++ b/update/plugin/subversion/trunk/lib/xmlrpc-server-3.1.jar
Binary files differ
diff --git a/update/plugin/subversion/trunk/nbproject/project.properties b/update/plugin/subversion/trunk/nbproject/project.properties index 97cccc2..5c1f30f 100644 --- a/update/plugin/subversion/trunk/nbproject/project.properties +++ b/update/plugin/subversion/trunk/nbproject/project.properties
@@ -18,10 +18,19 @@ dist.dir=dist
18dist.jar=${dist.dir}/InstaDiscUpdateSVN.jar 18dist.jar=${dist.dir}/InstaDiscUpdateSVN.jar
19dist.javadoc.dir=${dist.dir}/javadoc 19dist.javadoc.dir=${dist.dir}/javadoc
20excludes= 20excludes=
21file.reference.commons-logging-1.1.jar=lib/commons-logging-1.1.jar
22file.reference.ws-commons-util-1.0.2.jar=lib/ws-commons-util-1.0.2.jar
23file.reference.xmlrpc-client-3.1.jar=lib/xmlrpc-client-3.1.jar
24file.reference.xmlrpc-common-3.1.jar=lib/xmlrpc-common-3.1.jar
25file.reference.xmlrpc-server-3.1.jar=lib/xmlrpc-server-3.1.jar
21includes=** 26includes=**
22jar.compress=false 27jar.compress=false
23javac.classpath=\ 28javac.classpath=\
24 ${libs.XML-RPC2.classpath} 29 ${file.reference.commons-logging-1.1.jar}:\
30 ${file.reference.ws-commons-util-1.0.2.jar}:\
31 ${file.reference.xmlrpc-client-3.1.jar}:\
32 ${file.reference.xmlrpc-common-3.1.jar}:\
33 ${file.reference.xmlrpc-server-3.1.jar}
25# Space-separated list of extra javac options 34# Space-separated list of extra javac options
26javac.compilerargs= 35javac.compilerargs=
27javac.deprecation=false 36javac.deprecation=false
@@ -44,13 +53,10 @@ javadoc.use=true
44javadoc.version=false 53javadoc.version=false
45javadoc.windowtitle= 54javadoc.windowtitle=
46jnlp.codebase.type=local 55jnlp.codebase.type=local
47jnlp.codebase.url=file:/home/hatkirby/NetBeansProjects/InstaDiscUpdateSVN/dist/ 56jnlp.codebase.url=file:/home/hatkirby/NetBeansProjects/InstaDiscUpdateSVN/dist
48jnlp.enabled=false 57jnlp.enabled=false
49jnlp.offline-allowed=false 58jnlp.offline-allowed=false
50jnlp.signed=false 59jnlp.signed=false
51# Property libs.XML-RPC2.classpath is set here just to make sharing of project simpler.
52# The library definition has always preference over this property.
53libs.XML-RPC2.classpath=lib/commons-logging-1.1.jar:lib/ws-commons-util-1.0.2.jar:lib/xmlrpc-client-3.1.jar:lib/xmlrpc-common-3.1.jar:lib/xmlrpc-server-3.1.jar
54main.class=com.fourisland.instadisc.update.svn.Main 60main.class=com.fourisland.instadisc.update.svn.Main
55manifest.file=manifest.mf 61manifest.file=manifest.mf
56meta.inf.dir=${src.dir}/META-INF 62meta.inf.dir=${src.dir}/META-INF
diff --git a/update/plugin/subversion/trunk/src/com/fourisland/instadisc/update/svn/Main.java b/update/plugin/subversion/trunk/src/com/fourisland/instadisc/update/svn/Main.java index 1bc9a07..16e2dd1 100644 --- a/update/plugin/subversion/trunk/src/com/fourisland/instadisc/update/svn/Main.java +++ b/update/plugin/subversion/trunk/src/com/fourisland/instadisc/update/svn/Main.java
@@ -53,7 +53,7 @@ public class Main {
53 config.setServerURL(new URL(centralServer)); 53 config.setServerURL(new URL(centralServer));
54 XmlRpcClient client = new XmlRpcClient(); 54 XmlRpcClient client = new XmlRpcClient();
55 client.setConfig(config); 55 client.setConfig(config);
56 client.execute("InstaDisc.sendFromUpdate", new Object[]{username, 56 Integer resp = (Integer) client.execute("InstaDisc.sendFromUpdate", new Object[]{username,
57 (new MD5(username + ":" + (new MD5(password)).hash() + ":" + verID)).hash(), 57 (new MD5(username + ":" + (new MD5(password)).hash() + ":" + verID)).hash(),
58 verID, 58 verID,
59 subscription, 59 subscription,
@@ -62,6 +62,11 @@ public class Main {
62 path, 62 path,
63 "a:0:{}" 63 "a:0:{}"
64 }); 64 });
65
66 if (resp == 2)
67 {
68 main(args);
69 }
65 } catch (XmlRpcException ex) 70 } catch (XmlRpcException ex)
66 { 71 {
67 Logger.getLogger(Main.class.getName()).log(Level.SEVERE, null, ex); 72 Logger.getLogger(Main.class.getName()).log(Level.SEVERE, null, ex);
@@ -72,7 +77,7 @@ public class Main {
72 } 77 }
73 78
74 public static String getArg(int arg, String[] args) { 79 public static String getArg(int arg, String[] args) {
75 if (args.length < (arg+1)) 80 if (args.length < (arg + 1))
76 { 81 {
77 System.out.println("Program requires 7 arguments and you only provided " + arg); 82 System.out.println("Program requires 7 arguments and you only provided " + arg);
78 System.exit(1); 83 System.exit(1);