Author: veithen
Date: Sun Jul 11 07:29:44 2010
New Revision: 963004

URL: http://svn.apache.org/viewvc?rev=963004&view=rev
Log:
Added a Python script to prepare the files for www.apache.org/dist.

Added:
    webservices/commons/trunk/modules/axiom/etc/dist.py

Added: webservices/commons/trunk/modules/axiom/etc/dist.py
URL: 
http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/etc/dist.py?rev=963004&view=auto
==============================================================================
--- webservices/commons/trunk/modules/axiom/etc/dist.py (added)
+++ webservices/commons/trunk/modules/axiom/etc/dist.py Sun Jul 11 07:29:44 2010
@@ -0,0 +1,14 @@
+from sys import *
+from os import *
+from os.path import *
+from urllib import *
+
+release = argv[1]
+dir = release.replace(".", "_")
+mkdir(dir)
+
+for classifier in [ "bin", "source-release" ]:
+       for suffix in [ "zip", "zip.asc", "zip.md5"]:
+               file = "axiom-" + release + "-" + classifier + "." + suffix
+               
urlretrieve("http://repository.apache.org/content/repositories/releases/org/apache/ws/commons/axiom/axiom/";
 + release + "/" + file, join(dir, file))
+


Reply via email to