diff options
Diffstat (limited to 'update')
-rw-r--r-- | update/plugin/subversion/trunk/src/com/fourisland/instadisc/update/svn/Main.java | 18 |
1 files changed, 7 insertions, 11 deletions
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 45c7485..bc80376 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 | |||
@@ -24,13 +24,11 @@ public class Main { | |||
24 | public static void main(String[] args) { | 24 | public static void main(String[] args) { |
25 | try | 25 | try |
26 | { | 26 | { |
27 | String username = getArg(0, args); | 27 | String pathScheme = getArg(1, args); |
28 | String password = getArg(1, args); | 28 | String author = getArg(2, args); |
29 | String centralServer = getArg(2, args); | 29 | String seriesURL = getArg(3, args); |
30 | String pathScheme = getArg(3, args); | 30 | String subscriptionID = getArg(4, args); |
31 | String author = getArg(4, args); | 31 | String revision = getArg(5, args); |
32 | String subscription = getArg(5, args); | ||
33 | String revision = getArg(6, args); | ||
34 | 32 | ||
35 | StringBuilder messBuilder = new StringBuilder(); | 33 | StringBuilder messBuilder = new StringBuilder(); |
36 | byte rs = 0; | 34 | byte rs = 0; |
@@ -101,10 +99,8 @@ public class Main { | |||
101 | config.setServerURL(new URL(centralServer)); | 99 | config.setServerURL(new URL(centralServer)); |
102 | XmlRpcClient client = new XmlRpcClient(); | 100 | XmlRpcClient client = new XmlRpcClient(); |
103 | client.setConfig(config); | 101 | client.setConfig(config); |
104 | Integer resp = (Integer) client.execute("InstaDisc.sendFromUpdate", new Object[]{username, | 102 | Integer resp = (Integer) client.execute("InstaDisc.sendFromUpdate", new Object[]{seriesURL, |
105 | (new MD5(username + ":" + (new MD5(password)).hash() + ":" + verID)).hash(), | 103 | subscriptionID, |
106 | verID, | ||
107 | subscription, | ||
108 | message, | 104 | message, |
109 | author, | 105 | author, |
110 | path, | 106 | path, |