1.同步仓库文件
windows环境使用cwRsync
语法:
rsync -v -t -l -r --progress --exclude "*.zip" --exclude "*.gz" --exclude "*.war" --exclude "*.bz" --exclude "*.bz2" rsync://rsync.cica.es/maven2 /d:/temp
2.安装配置APACHE服务器
3.新增JAR到镜像
<!--Generate checksum file for jar and pom -->
<target name="checksum" description="Generate checksum file for jar and pom">
<checksum algorithm="SHA" fileext=".sha1">
<fileset dir="d:/javalib" id="id"> <!--—-jar和pom所在目录 -->
<include name="**/*.pom" />
<include name="**/*.jar" />
<include name="**/*.xml" />
<exclude name="**/*.sh1" />
<fileset>
<checksum>
<target>
posted on 2009-06-30 10:27
coolies 阅读(1401)
评论(0) 编辑 收藏 所属分类:
JAVA-Team研发环境