Changeset 11997
- Timestamp:
- 02/07/07 14:13:49 (2 years ago)
- Files:
-
- maven-repo/build-repo (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
maven-repo/build-repo
r8997 r11997 3 3 4 4 import os 5 import sys 5 6 6 7 JARS = [ … … 103 104 -Dfile=%(path)s \ 104 105 -DrepositoryId=Nuxeo \ 105 -Durl= file:///var/www/svn.nuxeo.org/maven/repo/106 -Durl=%(repo_url)s 106 107 """ 107 108 109 DEFAULT_REPO_URL = "file:///var/www/svn.nuxeo.org/maven/repo/" 110 108 111 def main(): 112 if len(sys.argv) > 1: 113 repo_url = sys.argv[1] 114 else: 115 repo_url = DEFAULT_REPO_URL 109 116 for path, groupId, artifactId, version in JARS: 110 117 print CMD % locals() 111 os.system(CMD % locals()) 118 return_code = os.system(CMD % locals()) 119 if return_code != 0: 120 sys.exit(return_code) 112 121 113 main() 122 if __name__ == "__main__": 123 main()
