Return-Path: Delivered-To: apmail-ws-tuscany-commits-archive@locus.apache.org Received: (qmail 76653 invoked from network); 10 Oct 2006 10:54:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 10 Oct 2006 10:54:15 -0000 Received: (qmail 94766 invoked by uid 500); 10 Oct 2006 10:54:15 -0000 Delivered-To: apmail-ws-tuscany-commits-archive@ws.apache.org Received: (qmail 94747 invoked by uid 500); 10 Oct 2006 10:54:15 -0000 Mailing-List: contact tuscany-commits-help@ws.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: tuscany-dev@ws.apache.org Delivered-To: mailing list tuscany-commits@ws.apache.org Received: (qmail 94738 invoked by uid 99); 10 Oct 2006 10:54:15 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Oct 2006 03:54:15 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [140.211.166.113] (HELO eris.apache.org) (140.211.166.113) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Oct 2006 03:54:14 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id 41D171A981A; Tue, 10 Oct 2006 03:53:54 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r454692 - in /incubator/tuscany/cpp/sca/samples: PythonCalculator/deploy.cmd RubyBank/deploy.cmd RubyCalculator/deploy.cmd Date: Tue, 10 Oct 2006 10:53:54 -0000 To: tuscany-commits@ws.apache.org From: ajborley@apache.org X-Mailer: svnmailer-1.1.0 Message-Id: <20061010105354.41D171A981A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: ajborley Date: Tue Oct 10 03:53:53 2006 New Revision: 454692 URL: http://svn.apache.org/viewvc?view=rev&rev=454692 Log: Changed windows Python & Ruby sample deploy scripts to deploy to $TUSCANY_SCACPP/samples rather than the current dir Modified: incubator/tuscany/cpp/sca/samples/PythonCalculator/deploy.cmd incubator/tuscany/cpp/sca/samples/RubyBank/deploy.cmd incubator/tuscany/cpp/sca/samples/RubyCalculator/deploy.cmd Modified: incubator/tuscany/cpp/sca/samples/PythonCalculator/deploy.cmd URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/samples/PythonCalculator/deploy.cmd?view=diff&rev=454692&r1=454691&r2=454692 ============================================================================== --- incubator/tuscany/cpp/sca/samples/PythonCalculator/deploy.cmd (original) +++ incubator/tuscany/cpp/sca/samples/PythonCalculator/deploy.cmd Tue Oct 10 03:53:53 2006 @@ -22,13 +22,19 @@ set currentPath=%~d0%~p0 set sourcePath=%currentPath% -if . == %2. ( -set destinationPath=%sourcePath%\deploy +set deploydir=%TUSCANY_SCACPP% +set samplesdir=%deploydir%\samples +set calcdir=%samplesdir%\PythonCalculator + +if . == %1. ( +set destinationPath=%calcdir%\deploy ) ELSE ( -set destinationPath=%2 +set destinationPath=%1 ) -if not exist %destinationPath% mkdir %destinationPath% +if not exist %samplesdir% mkdir %samplesdir% +if not exist %calcdir% mkdir %calcdir% +if not exist %destinationPath% mkdir %destinationPath% if not exist %destinationPath%\sample.calculator mkdir %destinationPath%\sample.calculator copy %sourcePath%\sample.calculator\*.componentType %destinationPath%\sample.calculator copy %sourcePath%\sample.calculator\*.composite %destinationPath%\sample.calculator Modified: incubator/tuscany/cpp/sca/samples/RubyBank/deploy.cmd URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/samples/RubyBank/deploy.cmd?view=diff&rev=454692&r1=454691&r2=454692 ============================================================================== --- incubator/tuscany/cpp/sca/samples/RubyBank/deploy.cmd (original) +++ incubator/tuscany/cpp/sca/samples/RubyBank/deploy.cmd Tue Oct 10 03:53:53 2006 @@ -22,13 +22,20 @@ set currentPath=%~d0%~p0 set sourcePath=%currentPath% -if . == %2. ( -set destinationPath=%sourcePath%\deploy +set deploydir=%TUSCANY_SCACPP% +set samplesdir=%deploydir%\samples +set bbdir=%samplesdir%\RubyBank + + +if . == %1. ( +set destinationPath=%bbdir%\deploy ) ELSE ( -set destinationPath=%2 +set destinationPath=%1 ) -if not exist %destinationPath% mkdir %destinationPath% +if not exist %samplesdir% mkdir %samplesdir% +if not exist %bbdir% mkdir %bbdir% +if not exist %destinationPath% mkdir %destinationPath% if not exist %destinationPath%\bigbank.account mkdir %destinationPath%\bigbank.account if not exist %destinationPath%\bigbank.client mkdir %destinationPath%\bigbank.client Modified: incubator/tuscany/cpp/sca/samples/RubyCalculator/deploy.cmd URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/samples/RubyCalculator/deploy.cmd?view=diff&rev=454692&r1=454691&r2=454692 ============================================================================== --- incubator/tuscany/cpp/sca/samples/RubyCalculator/deploy.cmd (original) +++ incubator/tuscany/cpp/sca/samples/RubyCalculator/deploy.cmd Tue Oct 10 03:53:53 2006 @@ -22,12 +22,18 @@ set currentPath=%~d0%~p0 set sourcePath=%currentPath% -if . == %2. ( -set destinationPath=%sourcePath%\deploy +set deploydir=%TUSCANY_SCACPP% +set samplesdir=%deploydir%\samples +set calcdir=%samplesdir%\RubyCalculator + +if . == %1. ( +set destinationPath=%calcdir%\deploy ) ELSE ( -set destinationPath=%2 +set destinationPath=%1 ) +if not exist %samplesdir% mkdir %samplesdir% +if not exist %calcdir% mkdir %calcdir% if not exist %destinationPath% mkdir %destinationPath% if not exist %destinationPath%\sample.calculator mkdir %destinationPath%\sample.calculator copy %sourcePath%\sample.calculator\*.composite %destinationPath%\sample.calculator --------------------------------------------------------------------- To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org For additional commands, e-mail: tuscany-commits-help@ws.apache.org