dion 2002/10/26 08:14:46 Added: src/admin deploy-jar.bat deploy-dist.bat Log: UNTESTED batch file versions of the scripts Revision Changes Path 1.1 jakarta-turbine-maven/src/admin/deploy-jar.bat Index: deploy-jar.bat =================================================================== @Echo off Rem Deploy JAR to the repository Rem %1 : artifact to copy Rem %2 : project id Rem %3 : user id Set ARTIFACT=%1 Set ID=%2 Set User=%3 Set ARTIFACT_TYPE=jars Set REPO=login.ibiblio.org Set DIR=/public/html/maven/%ID%/%ARTIFACT_TYPE% echo %DIR% Rem Make sure the target directory is present. ssh %USER%@%REPO% "mkdir -p %DIR%" Rem Copy the artifact to the repository. scp %ARTIFACT% %USER%@%REPO%:%DIR% Rem Make sure the perms are correct. Just in case ssh %USER%@%REPO% "chmod 664 %DIR%/%ARTIFACT%; chgrp maven %DIR%/%ARTIFACT%; cd %DIR%; md5sum %ARTIFACT% > %ARTIFACT%.md5" 1.1 jakarta-turbine-maven/src/admin/deploy-dist.bat Index: deploy-dist.bat =================================================================== @Echo off Rem Copy DIST to the repository Rem %1 : artifact to copy Rem %2 : project id Set ARTIFACT=%1 Set ID=%2 Set User=%3 Set ARTIFACT_TYPE=distributions Set REPO=login.ibiblio.org Set DIR=/public/html/maven/%ID%/%ARTIFACT_TYPE% echo %DIR% Rem Make sure the target directory is present. ssh %User%@%REPO% "mkdir -p %DIR%" Rem Copy the artifact to the repository. scp %ARTIFACT% %User%@%REPO%:%DIR% Rem Make sure the perms are correct. Just in case ssh %User%@%REPO% "chmod 664 %DIR%/%ARTIFACT%; chgrp maven %DIR%/%ARTIFACT%; cd %DIR%; md5sum %ARTIFACT% > %ARTIFACT%.md5"
-- To unsubscribe, e-mail: <mailto:turbine-maven-dev-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:turbine-maven-dev-help@;jakarta.apache.org>
