You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@etch.apache.org by ma...@apache.org on 2009/06/11 04:16:09 UTC

svn commit: r783606 - in /incubator/etch/trunk: examples/chat/README.txt examples/distmap/README.txt examples/example/README.txt examples/perf/README.txt scripts/compEtchFilesForCsharp.bat scripts/compEtchFilesForJava.bat scripts/compEtchFilesForXml.bat

Author: manojganesan
Date: Thu Jun 11 02:16:08 2009
New Revision: 783606

URL: http://svn.apache.org/viewvc?rev=783606&view=rev
Log:
Fix for ETCH-76: Build problems if Etch source is downloaded to a path with spaces

Fix for ETCH-77: Incompatibility in the READMEs for the bundled examples

Modified:
    incubator/etch/trunk/examples/chat/README.txt
    incubator/etch/trunk/examples/distmap/README.txt
    incubator/etch/trunk/examples/example/README.txt
    incubator/etch/trunk/examples/perf/README.txt
    incubator/etch/trunk/scripts/compEtchFilesForCsharp.bat
    incubator/etch/trunk/scripts/compEtchFilesForJava.bat
    incubator/etch/trunk/scripts/compEtchFilesForXml.bat

Modified: incubator/etch/trunk/examples/chat/README.txt
URL: http://svn.apache.org/viewvc/incubator/etch/trunk/examples/chat/README.txt?rev=783606&r1=783605&r2=783606&view=diff
==============================================================================
--- incubator/etch/trunk/examples/chat/README.txt (original)
+++ incubator/etch/trunk/examples/chat/README.txt Thu Jun 11 02:16:08 2009
@@ -15,9 +15,9 @@
 To run java chat, open a cmd window and run these commands:
 
 > cd target\bin
-> start java -cp chat.jar etch.examples.chat.MainChatListener
-> start java -cp chat.jar etch.examples.chat.MainChatClient
-> start java -cp chat.jar etch.examples.chat.MainChatClient
+> start java -cp chat.jar org.apache.etch.examples.chat.MainChatListener
+> start java -cp chat.jar org.apache.etch.examples.chat.MainChatClient
+> start java -cp chat.jar org.apache.etch.examples.chat.MainChatClient
 
 Two chat clients will be started; there is a help command;
 login as a different user in each with any password; they

Modified: incubator/etch/trunk/examples/distmap/README.txt
URL: http://svn.apache.org/viewvc/incubator/etch/trunk/examples/distmap/README.txt?rev=783606&r1=783605&r2=783606&view=diff
==============================================================================
--- incubator/etch/trunk/examples/distmap/README.txt (original)
+++ incubator/etch/trunk/examples/distmap/README.txt Thu Jun 11 02:16:08 2009
@@ -16,8 +16,8 @@
 commands:
 
 > cd target\bin
-> start java -cp distmap.jar etch.examples.distmap.MainDistributedHashTableListener
-> start java -cp distmap.jar etch.examples.distmap.MainDistributedHashTableClient
+> start java -cp distmap.jar org.apache.etch.examples.distmap.MainDistributedHashTableListener
+> start java -cp distmap.jar org.apache.etch.examples.distmap.MainDistributedHashTableClient
 
 To run csharp distributed map:
 

Modified: incubator/etch/trunk/examples/example/README.txt
URL: http://svn.apache.org/viewvc/incubator/etch/trunk/examples/example/README.txt?rev=783606&r1=783605&r2=783606&view=diff
==============================================================================
--- incubator/etch/trunk/examples/example/README.txt (original)
+++ incubator/etch/trunk/examples/example/README.txt Thu Jun 11 02:16:08 2009
@@ -16,8 +16,8 @@
 commands:
 
 > cd target\bin
-> start java -cp example.jar etch.examples.example.MainExmapleListener
-> start java -cp example.jar etch.examples.example.MainExampleClient
+> start java -cp example.jar org.apache.etch.examples.example.MainExampleListener
+> start java -cp example.jar org.apache.etch.examples.example.MainExampleClient
 
 To run csharp example:
 

Modified: incubator/etch/trunk/examples/perf/README.txt
URL: http://svn.apache.org/viewvc/incubator/etch/trunk/examples/perf/README.txt?rev=783606&r1=783605&r2=783606&view=diff
==============================================================================
--- incubator/etch/trunk/examples/perf/README.txt (original)
+++ incubator/etch/trunk/examples/perf/README.txt Thu Jun 11 02:16:08 2009
@@ -16,8 +16,8 @@
 commands:
 
 > cd target\bin
-> start java -cp perf.jar etch.examples.perf.MainPerfListener
-> start java -cp perf.jar etch.examples.perf.MainPerfClient
+> start java -cp perf.jar org.apache.etch.examples.perf.MainPerfListener
+> start java -cp perf.jar org.apache.etch.examples.perf.MainPerfClient
 
 To run csharp example:
 

Modified: incubator/etch/trunk/scripts/compEtchFilesForCsharp.bat
URL: http://svn.apache.org/viewvc/incubator/etch/trunk/scripts/compEtchFilesForCsharp.bat?rev=783606&r1=783605&r2=783606&view=diff
==============================================================================
--- incubator/etch/trunk/scripts/compEtchFilesForCsharp.bat (original)
+++ incubator/etch/trunk/scripts/compEtchFilesForCsharp.bat Thu Jun 11 02:16:08 2009
@@ -28,45 +28,45 @@
 @set x=%CD%\
 @pushd %testsdir%
 
-@call %x%scripts\etch-eclipse.bat %q% %b% %n% %d% %i%        Async.etch
-@call %x%scripts\etch-eclipse.bat %q% %b% %n% %d% %i%        Bar.etch
-@call %x%scripts\etch-eclipse.bat %q% %b% %n% %d% %i%        Baz.etch
-@call %x%scripts\etch-eclipse.bat %q% %b% %n% %d% %i%        BigIdl.etch
-@call %x%scripts\etch-eclipse.bat %q% %b% %n% %d% %i%        Closing.etch
-@call %x%scripts\etch-eclipse.bat %q% %b% %n% %d% %i%        Cuae.etch
-@call %x%scripts\etch-eclipse.bat %q% %b% %n% %d% %i%        Foo.etch
-@call %x%scripts\etch-eclipse.bat %q% %b% %n% %d% %i%        Inheritance.etch
-@call %x%scripts\etch-eclipse.bat %q% %b% %n% %d% %i% %walf% Test1.etch
-@call %x%scripts\etch-eclipse.bat %q% %b% %n% %d% %i%        Test2.etch
-@call %x%scripts\etch-eclipse.bat %q% %b% %n% %d% %i%        Test3.etch
-@call %x%scripts\etch-eclipse.bat %q% %b% %n% %d% %i%        Test4.etch
+@call "%x%scripts\etch-eclipse.bat" %q% %b% %n% %d% %i%        Async.etch
+@call "%x%scripts\etch-eclipse.bat" %q% %b% %n% %d% %i%        Bar.etch
+@call "%x%scripts\etch-eclipse.bat" %q% %b% %n% %d% %i%        Baz.etch
+@call "%x%scripts\etch-eclipse.bat" %q% %b% %n% %d% %i%        BigIdl.etch
+@call "%x%scripts\etch-eclipse.bat" %q% %b% %n% %d% %i%        Closing.etch
+@call "%x%scripts\etch-eclipse.bat" %q% %b% %n% %d% %i%        Cuae.etch
+@call "%x%scripts\etch-eclipse.bat" %q% %b% %n% %d% %i%        Foo.etch
+@call "%x%scripts\etch-eclipse.bat" %q% %b% %n% %d% %i%        Inheritance.etch
+@call "%x%scripts\etch-eclipse.bat" %q% %b% %n% %d% %i% %walf% Test1.etch
+@call "%x%scripts\etch-eclipse.bat" %q% %b% %n% %d% %i%        Test2.etch
+@call "%x%scripts\etch-eclipse.bat" %q% %b% %n% %d% %i%        Test3.etch
+@call "%x%scripts\etch-eclipse.bat" %q% %b% %n% %d% %i%        Test4.etch
 @rem *** Test5.etch is a negative test ***
-@call %x%scripts\etch-eclipse.bat %q% %b% %n% %d% %i%        Test6.etch
-@call %x%scripts\etch-eclipse.bat %q% %b% %n% %d% %i% %walf% TestIncludes.etch
+@call "%x%scripts\etch-eclipse.bat" %q% %b% %n% %d% %i%        Test6.etch
+@call "%x%scripts\etch-eclipse.bat" %q% %b% %n% %d% %i% %walf% TestIncludes.etch
 @rem *** TestReservedWords.etch is a negative test ***
-@call %x%scripts\etch-eclipse.bat %q% %b% %n% %d% %i%        Types.etch
+@call "%x%scripts\etch-eclipse.bat" %q% %b% %n% %d% %i%        Types.etch
 
 @popd
 @pushd %examplesdir%
 
 @pushd chat\src\main\etch
-@call %x%scripts\etch-eclipse.bat %q% %b% %n% %d% %i%        Chat.etch
+@call "%x%scripts\etch-eclipse.bat" %q% %b% %n% %d% %i%        Chat.etch
 @popd
 
 @pushd distmap\src\main\etch
-@call %x%scripts\etch-eclipse.bat %q% %b% %n% %d% %i%        DistributedHashTable.etch
+@call "%x%scripts\etch-eclipse.bat" %q% %b% %n% %d% %i%        DistributedHashTable.etch
 @popd
 
 @pushd example\src\main\etch
-@call %x%scripts\etch-eclipse.bat %q% %b% %n% %d% %i%        Example.etch
+@call "%x%scripts\etch-eclipse.bat" %q% %b% %n% %d% %i%        Example.etch
 @popd
 
 @pushd perf\src\main\etch
-@call %x%scripts\etch-eclipse.bat %q% %b% %n% %d% %i%        Perf.etch
+@call "%x%scripts\etch-eclipse.bat" %q% %b% %n% %d% %i%        Perf.etch
 @popd
 
 @popd
 
 @pushd interoptester\example\src\main\etch
-@call %x%scripts\etch-eclipse.bat %q% %b% %n% %d% %i%        IOT.etch
+@call "%x%scripts\etch-eclipse.bat" %q% %b% %n% %d% %i%        IOT.etch
 @popd

Modified: incubator/etch/trunk/scripts/compEtchFilesForJava.bat
URL: http://svn.apache.org/viewvc/incubator/etch/trunk/scripts/compEtchFilesForJava.bat?rev=783606&r1=783605&r2=783606&view=diff
==============================================================================
--- incubator/etch/trunk/scripts/compEtchFilesForJava.bat (original)
+++ incubator/etch/trunk/scripts/compEtchFilesForJava.bat Thu Jun 11 02:16:08 2009
@@ -28,46 +28,46 @@
 @set x=%CD%\
 @pushd %testsdir%
 
-@call %x%scripts\etch-eclipse.bat %q% %b% %n% %d% %i%        Async.etch
-@call %x%scripts\etch-eclipse.bat %q% %b% %n% %d% %i%        Bar.etch
-@call %x%scripts\etch-eclipse.bat %q% %b% %n% %d% %i%        Baz.etch
-@call %x%scripts\etch-eclipse.bat %q% %b% %n% %d% %i%        BigIdl.etch
-@call %x%scripts\etch-eclipse.bat %q% %b% %n% %d% %i%        Closing.etch
-@call %x%scripts\etch-eclipse.bat %q% %b% %n% %d% %i%        Cuae.etch
-@call %x%scripts\etch-eclipse.bat %q% %b% %n% %d% %i%        Foo.etch
-@call %x%scripts\etch-eclipse.bat %q% %b% %n% %d% %i%        Inheritance.etch
-@call %x%scripts\etch-eclipse.bat %q% %b% %n% %d% %i% %walf% Test1.etch
-@call %x%scripts\etch-eclipse.bat %q% %b% %n% %d% %i%        Test2.etch
-@call %x%scripts\etch-eclipse.bat %q% %b% %n% %d% %i%        Test3.etch
-@call %x%scripts\etch-eclipse.bat %q% %b% %n% %d% %i%        Test4.etch
+@call "%x%scripts\etch-eclipse.bat" %q% %b% %n% %d% %i%        Async.etch
+@call "%x%scripts\etch-eclipse.bat" %q% %b% %n% %d% %i%        Bar.etch
+@call "%x%scripts\etch-eclipse.bat" %q% %b% %n% %d% %i%        Baz.etch
+@call "%x%scripts\etch-eclipse.bat" %q% %b% %n% %d% %i%        BigIdl.etch
+@call "%x%scripts\etch-eclipse.bat" %q% %b% %n% %d% %i%        Closing.etch
+@call "%x%scripts\etch-eclipse.bat" %q% %b% %n% %d% %i%        Cuae.etch
+@call "%x%scripts\etch-eclipse.bat" %q% %b% %n% %d% %i%        Foo.etch
+@call "%x%scripts\etch-eclipse.bat" %q% %b% %n% %d% %i%        Inheritance.etch
+@call "%x%scripts\etch-eclipse.bat" %q% %b% %n% %d% %i% %walf% Test1.etch
+@call "%x%scripts\etch-eclipse.bat" %q% %b% %n% %d% %i%        Test2.etch
+@call "%x%scripts\etch-eclipse.bat" %q% %b% %n% %d% %i%        Test3.etch
+@call "%x%scripts\etch-eclipse.bat" %q% %b% %n% %d% %i%        Test4.etch
 @rem *** Test5.etch is a negative test ***
-@call %x%scripts\etch-eclipse.bat %q% %b% %n% %d% %i%        Test6.etch
-@call %x%scripts\etch-eclipse.bat %q% %b% %n% %d% %i% %walf% TestIncludes.etch
+@call "%x%scripts\etch-eclipse.bat" %q% %b% %n% %d% %i%        Test6.etch
+@call "%x%scripts\etch-eclipse.bat" %q% %b% %n% %d% %i% %walf% TestIncludes.etch
 @rem *** TestReservedWords.etch is a negative test ***
-@call %x%scripts\etch-eclipse.bat %q% %b% %n% %d% %i%        Types.etch
+@call "%x%scripts\etch-eclipse.bat" %q% %b% %n% %d% %i%        Types.etch
 
 @popd
 @pushd %examplesdir%
 
 @pushd chat\src\main\etch
-@call %x%scripts\etch-eclipse.bat %q% %b% %n% %d% %i%        Chat.etch
+@call "%x%scripts\etch-eclipse.bat" %q% %b% %n% %d% %i%        Chat.etch
 @popd
 
 @pushd distmap\src\main\etch
-@call %x%scripts\etch-eclipse.bat %q% %b% %n% %d% %i%        DistributedHashTable.etch
+@call "%x%scripts\etch-eclipse.bat" %q% %b% %n% %d% %i%        DistributedHashTable.etch
 @popd
 
 @pushd example\src\main\etch
-@call %x%scripts\etch-eclipse.bat %q% %b% %n% %d% %i%        Example.etch
+@call "%x%scripts\etch-eclipse.bat" %q% %b% %n% %d% %i%        Example.etch
 @popd
 
 @pushd perf\src\main\etch
-@call %x%scripts\etch-eclipse.bat %q% %b% %n% %d% %i%        Perf.etch
+@call "%x%scripts\etch-eclipse.bat" %q% %b% %n% %d% %i%        Perf.etch
 @popd
 
 @popd
 
 @pushd interoptester\example\src\main\etch
-@call %x%scripts\etch-eclipse.bat %q% %b% %n% %d% %i%        IOT.etch
+@call "%x%scripts\etch-eclipse.bat" %q% %b% %n% %d% %i%        IOT.etch
 @popd
 

Modified: incubator/etch/trunk/scripts/compEtchFilesForXml.bat
URL: http://svn.apache.org/viewvc/incubator/etch/trunk/scripts/compEtchFilesForXml.bat?rev=783606&r1=783605&r2=783606&view=diff
==============================================================================
--- incubator/etch/trunk/scripts/compEtchFilesForXml.bat (original)
+++ incubator/etch/trunk/scripts/compEtchFilesForXml.bat Thu Jun 11 02:16:08 2009
@@ -28,45 +28,45 @@
 @set x=%CD%\
 @pushd %testsdir%
 
-@call %x%scripts\etch-eclipse.bat %q% %b% %n% %d% %i%        Async.etch
-@call %x%scripts\etch-eclipse.bat %q% %b% %n% %d% %i%        Bar.etch
-@call %x%scripts\etch-eclipse.bat %q% %b% %n% %d% %i%        Baz.etch
-@call %x%scripts\etch-eclipse.bat %q% %b% %n% %d% %i%        BigIdl.etch
-@call %x%scripts\etch-eclipse.bat %q% %b% %n% %d% %i%        Closing.etch
-@call %x%scripts\etch-eclipse.bat %q% %b% %n% %d% %i%        Cuae.etch
-@call %x%scripts\etch-eclipse.bat %q% %b% %n% %d% %i%        Foo.etch
-@call %x%scripts\etch-eclipse.bat %q% %b% %n% %d% %i%        Inheritance.etch
-@call %x%scripts\etch-eclipse.bat %q% %b% %n% %d% %i% %walf% Test1.etch
-@call %x%scripts\etch-eclipse.bat %q% %b% %n% %d% %i%        Test2.etch
-@call %x%scripts\etch-eclipse.bat %q% %b% %n% %d% %i%        Test3.etch
-@call %x%scripts\etch-eclipse.bat %q% %b% %n% %d% %i%        Test4.etch
+@call "%x%scripts\etch-eclipse.bat" %q% %b% %n% %d% %i%        Async.etch
+@call "%x%scripts\etch-eclipse.bat" %q% %b% %n% %d% %i%        Bar.etch
+@call "%x%scripts\etch-eclipse.bat" %q% %b% %n% %d% %i%        Baz.etch
+@call "%x%scripts\etch-eclipse.bat" %q% %b% %n% %d% %i%        BigIdl.etch
+@call "%x%scripts\etch-eclipse.bat" %q% %b% %n% %d% %i%        Closing.etch
+@call "%x%scripts\etch-eclipse.bat" %q% %b% %n% %d% %i%        Cuae.etch
+@call "%x%scripts\etch-eclipse.bat" %q% %b% %n% %d% %i%        Foo.etch
+@call "%x%scripts\etch-eclipse.bat" %q% %b% %n% %d% %i%        Inheritance.etch
+@call "%x%scripts\etch-eclipse.bat" %q% %b% %n% %d% %i% %walf% Test1.etch
+@call "%x%scripts\etch-eclipse.bat" %q% %b% %n% %d% %i%        Test2.etch
+@call "%x%scripts\etch-eclipse.bat" %q% %b% %n% %d% %i%        Test3.etch
+@call "%x%scripts\etch-eclipse.bat" %q% %b% %n% %d% %i%        Test4.etch
 @rem *** Test5.etch is a negative test ***
-@call %x%scripts\etch-eclipse.bat %q% %b% %n% %d% %i%        Test6.etch
-@call %x%scripts\etch-eclipse.bat %q% %b% %n% %d% %i% %walf% TestIncludes.etch
+@call "%x%scripts\etch-eclipse.bat" %q% %b% %n% %d% %i%        Test6.etch
+@call "%x%scripts\etch-eclipse.bat" %q% %b% %n% %d% %i% %walf% TestIncludes.etch
 @rem *** TestReservedWords.etch is a negative test ***
-@call %x%scripts\etch-eclipse.bat %q% %b% %n% %d% %i%        Types.etch
+@call "%x%scripts\etch-eclipse.bat" %q% %b% %n% %d% %i%        Types.etch
 
 @popd
 @pushd %examplesdir%
 
 @pushd chat\src\main\etch
-@call %x%scripts\etch-eclipse.bat %q% %b% %n% %d% %i%        Chat.etch
+@call "%x%scripts\etch-eclipse.bat" %q% %b% %n% %d% %i%        Chat.etch
 @popd
 
 @pushd distmap\src\main\etch
-@call %x%scripts\etch-eclipse.bat %q% %b% %n% %d% %i%        DistributedHashTable.etch
+@call "%x%scripts\etch-eclipse.bat" %q% %b% %n% %d% %i%        DistributedHashTable.etch
 @popd
 
 @pushd example\src\main\etch
-@call %x%scripts\etch-eclipse.bat %q% %b% %n% %d% %i%        Example.etch
+@call "%x%scripts\etch-eclipse.bat" %q% %b% %n% %d% %i%        Example.etch
 @popd
 
 @pushd perf\src\main\etch
-@call %x%scripts\etch-eclipse.bat %q% %b% %n% %d% %i%        Perf.etch
+@call "%x%scripts\etch-eclipse.bat" %q% %b% %n% %d% %i%        Perf.etch
 @popd
 
 @popd
 
 @pushd interoptester\example\src\main\etch
-@call %x%scripts\etch-eclipse.bat %q% %b% %n% %d% %i%        IOT.etch
+@call "%x%scripts\etch-eclipse.bat" %q% %b% %n% %d% %i%        IOT.etch
 @popd