You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@etch.apache.org by sc...@apache.org on 2009/02/26 19:28:11 UTC

svn commit: r748262 - in /incubator/etch/trunk: ./ interoptester/example/ interoptester/example/src/main/csharp/ interoptester/example/src/main/csharp/IOTClientProj/ interoptester/example/src/main/csharp/IOTClientProj/Properties/ interoptester/example/...

Author: sccomer
Date: Thu Feb 26 18:28:10 2009
New Revision: 748262

URL: http://svn.apache.org/viewvc?rev=748262&view=rev
Log:
fix for ETCH-42: create a csharp example test

Added:
    incubator/etch/trunk/interoptester/example/src/main/csharp/
    incubator/etch/trunk/interoptester/example/src/main/csharp/IOTClientProj/   (with props)
    incubator/etch/trunk/interoptester/example/src/main/csharp/IOTClientProj/IOTClientProj.csproj   (with props)
    incubator/etch/trunk/interoptester/example/src/main/csharp/IOTClientProj/Properties/
    incubator/etch/trunk/interoptester/example/src/main/csharp/IOTClientProj/Properties/AssemblyInfo.cs   (with props)
    incubator/etch/trunk/interoptester/example/src/main/csharp/IOTListenerProj/   (with props)
    incubator/etch/trunk/interoptester/example/src/main/csharp/IOTListenerProj/IOTListenerProj.csproj   (with props)
    incubator/etch/trunk/interoptester/example/src/main/csharp/IOTListenerProj/Properties/
    incubator/etch/trunk/interoptester/example/src/main/csharp/IOTListenerProj/Properties/AssemblyInfo.cs   (with props)
    incubator/etch/trunk/interoptester/example/src/main/csharp/ImplIOTClient.cs   (with props)
    incubator/etch/trunk/interoptester/example/src/main/csharp/ImplIOTServer.cs   (with props)
    incubator/etch/trunk/interoptester/example/src/main/csharp/MainIOTClient.cs   (with props)
    incubator/etch/trunk/interoptester/example/src/main/csharp/MainIOTListener.cs   (with props)
Modified:
    incubator/etch/trunk/CSharp.sln
    incubator/etch/trunk/interoptester/example/interoptest1.xml
    incubator/etch/trunk/scripts/compEtchFilesForCsharp.bat

Modified: incubator/etch/trunk/CSharp.sln
URL: http://svn.apache.org/viewvc/incubator/etch/trunk/CSharp.sln?rev=748262&r1=748261&r2=748262&view=diff
==============================================================================
--- incubator/etch/trunk/CSharp.sln (original)
+++ incubator/etch/trunk/CSharp.sln Thu Feb 26 18:28:10 2009
@@ -1,22 +1,6 @@
 
 Microsoft Visual Studio Solution File, Format Version 9.00
 # Visual Studio 2005
-# * Licensed to the Apache Software Foundation (ASF) under one   *
-# * or more contributor license agreements.  See the NOTICE file *
-# * distributed with this work for additional information        *
-# * regarding copyright ownership.  The ASF licenses this file   *
-# * to you under the Apache License, Version 2.0 (the            *
-# * "License"); you may not use this file except in compliance   *
-# * with the License.  You may obtain a copy of the License at   *
-# *                                                              *
-# *   http://www.apache.org/licenses/LICENSE-2.0                 *
-# *                                                              *
-# * Unless required by applicable law or agreed to in writing,   *
-# * software distributed under the License is distributed on an  *
-# * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       *
-# * KIND, either express or implied.  See the License for the    *
-# * specific language governing permissions and limitations      *
-# * under the License.                                           *
 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EtchTestProj", "binding-csharp\runtime\src\test\csharp\EtchTestProj.csproj", "{3D44C33C-0E5F-443B-A0B4-ABDF16B64AC5}"
 EndProject
 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EtchProj", "binding-csharp\runtime\src\main\csharp\EtchProj.csproj", "{0E518F2A-3016-4C2F-A21B-9BD52B2DC846}"
@@ -71,6 +55,10 @@
 		{0E518F2A-3016-4C2F-A21B-9BD52B2DC846} = {0E518F2A-3016-4C2F-A21B-9BD52B2DC846}
 	EndProjectSection
 EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "IOTListenerProj", "interoptester\example\src\main\csharp\IOTListenerProj\IOTListenerProj.csproj", "{5EED552A-09C1-42D0-9E0A-7822B0EC3603}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "IOTClientProj", "interoptester\example\src\main\csharp\IOTClientProj\IOTClientProj.csproj", "{14D7A923-0CB4-442A-9499-7F0C25C239EE}"
+EndProject
 Global
 	GlobalSection(SolutionConfigurationPlatforms) = preSolution
 		Debug|Any CPU = Debug|Any CPU
@@ -137,6 +125,14 @@
 		{01A7F0CC-78AB-4CFE-88DB-32AAC6D6C00B}.Debug|Any CPU.Build.0 = Debug|Any CPU
 		{01A7F0CC-78AB-4CFE-88DB-32AAC6D6C00B}.Release|Any CPU.ActiveCfg = Release|Any CPU
 		{01A7F0CC-78AB-4CFE-88DB-32AAC6D6C00B}.Release|Any CPU.Build.0 = Release|Any CPU
+		{5EED552A-09C1-42D0-9E0A-7822B0EC3603}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+		{5EED552A-09C1-42D0-9E0A-7822B0EC3603}.Debug|Any CPU.Build.0 = Debug|Any CPU
+		{5EED552A-09C1-42D0-9E0A-7822B0EC3603}.Release|Any CPU.ActiveCfg = Release|Any CPU
+		{5EED552A-09C1-42D0-9E0A-7822B0EC3603}.Release|Any CPU.Build.0 = Release|Any CPU
+		{14D7A923-0CB4-442A-9499-7F0C25C239EE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+		{14D7A923-0CB4-442A-9499-7F0C25C239EE}.Debug|Any CPU.Build.0 = Debug|Any CPU
+		{14D7A923-0CB4-442A-9499-7F0C25C239EE}.Release|Any CPU.ActiveCfg = Release|Any CPU
+		{14D7A923-0CB4-442A-9499-7F0C25C239EE}.Release|Any CPU.Build.0 = Release|Any CPU
 	EndGlobalSection
 	GlobalSection(SolutionProperties) = preSolution
 		HideSolutionNode = FALSE

Modified: incubator/etch/trunk/interoptester/example/interoptest1.xml
URL: http://svn.apache.org/viewvc/incubator/etch/trunk/interoptester/example/interoptest1.xml?rev=748262&r1=748261&r2=748262&view=diff
==============================================================================
--- incubator/etch/trunk/interoptester/example/interoptest1.xml (original)
+++ incubator/etch/trunk/interoptester/example/interoptest1.xml Thu Feb 26 18:28:10 2009
@@ -16,6 +16,21 @@
 		<arg name="curi" value="tls://127.0.0.1:4003?TlsConnection.authReqd=false"/>
 	</run>
 	
+	<run test="java-csharp">
+		<arg name="suri" value="tcp://127.0.0.1:4001"/>
+		<arg name="curi" value="tcp://127.0.0.1:4001"/>
+	</run>
+	
+	<run test="csharp-java">
+		<arg name="suri" value="tcp://127.0.0.1:4001"/>
+		<arg name="curi" value="tcp://127.0.0.1:4001"/>
+	</run>
+	
+	<run test="csharp-csharp">
+		<arg name="suri" value="tcp://127.0.0.1:4001"/>
+		<arg name="curi" value="tcp://127.0.0.1:4001"/>
+	</run>
+	
 	<tests>
 		<test name="java-java">
 			<params>
@@ -41,6 +56,73 @@
 				</prog>
 			</jig>
 		</test>
+		
+		<test name="java-csharp">
+			<params>
+				<param name="suri" default=""/>
+				<param name="svmarg1" default=""/>
+				<param name="svmarg2" default=""/>
+				<param name="curi" default=""/>
+				<param name="cvmarg1" default=""/>
+				<param name="cvmarg2" default=""/>
+			</params>
+			<support>
+				<prog name="csharp_MainIOTListener">
+					<arg name="uri" value="{suri}"/>
+				</prog>
+			</support>
+			<jig>
+				<prog name="java_MainIOTClient">
+					<arg name="uri" value="{curi}"/>
+					<arg name="vmarg1" value="{cvmarg1}"/>
+					<arg name="vmarg2" value="{cvmarg2}"/>
+				</prog>
+			</jig>
+		</test>
+		
+		<test name="csharp-java">
+			<params>
+				<param name="suri" default=""/>
+				<param name="svmarg1" default=""/>
+				<param name="svmarg2" default=""/>
+				<param name="curi" default=""/>
+				<param name="cvmarg1" default=""/>
+				<param name="cvmarg2" default=""/>
+			</params>
+			<support>
+				<prog name="java_MainIOTListener">
+					<arg name="uri" value="{suri}"/>
+					<arg name="vmarg1" value="{svmarg1}"/>
+					<arg name="vmarg2" value="{svmarg2}"/>
+				</prog>
+			</support>
+			<jig>
+				<prog name="csharp_MainIOTClient">
+					<arg name="uri" value="{curi}"/>
+				</prog>
+			</jig>
+		</test>
+		
+		<test name="csharp-csharp">
+			<params>
+				<param name="suri" default=""/>
+				<param name="svmarg1" default=""/>
+				<param name="svmarg2" default=""/>
+				<param name="curi" default=""/>
+				<param name="cvmarg1" default=""/>
+				<param name="cvmarg2" default=""/>
+			</params>
+			<support>
+				<prog name="csharp_MainIOTListener">
+					<arg name="uri" value="{suri}"/>
+				</prog>
+			</support>
+			<jig>
+				<prog name="csharp_MainIOTClient">
+					<arg name="uri" value="{curi}"/>
+				</prog>
+			</jig>
+		</test>
 	</tests>
 	
 	<programs>
@@ -81,5 +163,29 @@
 				<token>{uri}</token>
 			</tokens>
 		</program>
+		
+		<program name="csharp_MainIOTListener">
+			<params>
+				<param name="uri" default=""/>
+			</params>
+			<stdouttag>SOUT</stdouttag>
+			<stderrtag>SERR</stderrtag>
+			<tokens>
+				<token>interoptester/example/src/main/csharp/IOTListenerProj/bin/Debug/IOTListenerProj.exe</token>
+				<token>{uri}</token>
+			</tokens>
+		</program>
+		
+		<program name="csharp_MainIOTClient">
+			<params>
+				<param name="uri" default=""/>
+			</params>
+			<stdouttag>COUT</stdouttag>
+			<stderrtag>CERR</stderrtag>
+			<tokens>
+				<token>interoptester/example/src/main/csharp/IOTClientProj/bin/Debug/IOTClientProj.exe</token>
+				<token>{uri}</token>
+			</tokens>
+		</program>
 	</programs>
 </interoptest>

Propchange: incubator/etch/trunk/interoptester/example/src/main/csharp/IOTClientProj/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Thu Feb 26 18:28:10 2009
@@ -0,0 +1,2 @@
+bin
+obj

Added: incubator/etch/trunk/interoptester/example/src/main/csharp/IOTClientProj/IOTClientProj.csproj
URL: http://svn.apache.org/viewvc/incubator/etch/trunk/interoptester/example/src/main/csharp/IOTClientProj/IOTClientProj.csproj?rev=748262&view=auto
==============================================================================
--- incubator/etch/trunk/interoptester/example/src/main/csharp/IOTClientProj/IOTClientProj.csproj (added)
+++ incubator/etch/trunk/interoptester/example/src/main/csharp/IOTClientProj/IOTClientProj.csproj Thu Feb 26 18:28:10 2009
@@ -0,0 +1,97 @@
+<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <PropertyGroup>
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+    <ProductVersion>8.0.50727</ProductVersion>
+    <SchemaVersion>2.0</SchemaVersion>
+    <ProjectGuid>{14D7A923-0CB4-442A-9499-7F0C25C239EE}</ProjectGuid>
+    <OutputType>Exe</OutputType>
+    <AppDesignerFolder>Properties</AppDesignerFolder>
+    <RootNamespace>IOTClientProj</RootNamespace>
+    <AssemblyName>IOTClientProj</AssemblyName>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+    <DebugSymbols>true</DebugSymbols>
+    <DebugType>full</DebugType>
+    <Optimize>false</Optimize>
+    <OutputPath>bin\Debug\</OutputPath>
+    <DefineConstants>DEBUG;TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+    <DebugType>pdbonly</DebugType>
+    <Optimize>true</Optimize>
+    <OutputPath>bin\Release\</OutputPath>
+    <DefineConstants>TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+  </PropertyGroup>
+  <ItemGroup>
+    <Reference Include="System" />
+    <Reference Include="System.Data" />
+    <Reference Include="System.Xml" />
+  </ItemGroup>
+  <ItemGroup>
+    <Compile Include="..\..\..\..\target\generated-sources\main\etch\csharp\org.apache.etch.interoptester.example.iot\BaseIOTClient.cs">
+      <Link>BaseIOTClient.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\..\target\generated-sources\main\etch\csharp\org.apache.etch.interoptester.example.iot\BaseIOTServer.cs">
+      <Link>BaseIOTServer.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\..\target\generated-sources\main\etch\csharp\org.apache.etch.interoptester.example.iot\IOT.cs">
+      <Link>IOT.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\..\target\generated-sources\main\etch\csharp\org.apache.etch.interoptester.example.iot\IOTClient.cs">
+      <Link>IOTClient.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\..\target\generated-sources\main\etch\csharp\org.apache.etch.interoptester.example.iot\IOTHelper.cs">
+      <Link>IOTHelper.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\..\target\generated-sources\main\etch\csharp\org.apache.etch.interoptester.example.iot\IOTServer.cs">
+      <Link>IOTServer.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\..\target\generated-sources\main\etch\csharp\org.apache.etch.interoptester.example.iot\RemoteIOT.cs">
+      <Link>RemoteIOT.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\..\target\generated-sources\main\etch\csharp\org.apache.etch.interoptester.example.iot\RemoteIOTClient.cs">
+      <Link>RemoteIOTClient.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\..\target\generated-sources\main\etch\csharp\org.apache.etch.interoptester.example.iot\RemoteIOTServer.cs">
+      <Link>RemoteIOTServer.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\..\target\generated-sources\main\etch\csharp\org.apache.etch.interoptester.example.iot\StubIOT.cs">
+      <Link>StubIOT.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\..\target\generated-sources\main\etch\csharp\org.apache.etch.interoptester.example.iot\StubIOTClient.cs">
+      <Link>StubIOTClient.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\..\target\generated-sources\main\etch\csharp\org.apache.etch.interoptester.example.iot\StubIOTServer.cs">
+      <Link>StubIOTServer.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\..\target\generated-sources\main\etch\csharp\org.apache.etch.interoptester.example.iot\ValueFactoryIOT.cs">
+      <Link>ValueFactoryIOT.cs</Link>
+    </Compile>
+    <Compile Include="..\ImplIOTClient.cs">
+      <Link>ImplIOTClient.cs</Link>
+    </Compile>
+    <Compile Include="..\MainIOTClient.cs">
+      <Link>MainIOTClient.cs</Link>
+    </Compile>
+    <Compile Include="Properties\AssemblyInfo.cs" />
+  </ItemGroup>
+  <ItemGroup>
+    <ProjectReference Include="..\..\..\..\..\..\binding-csharp\runtime\src\main\csharp\EtchProj.csproj">
+      <Project>{0E518F2A-3016-4C2F-A21B-9BD52B2DC846}</Project>
+      <Name>EtchProj</Name>
+    </ProjectReference>
+  </ItemGroup>
+  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
+  <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
+       Other similar extension points exist, see Microsoft.Common.targets.
+  <Target Name="BeforeBuild">
+  </Target>
+  <Target Name="AfterBuild">
+  </Target>
+  -->
+</Project>
\ No newline at end of file

Propchange: incubator/etch/trunk/interoptester/example/src/main/csharp/IOTClientProj/IOTClientProj.csproj
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/etch/trunk/interoptester/example/src/main/csharp/IOTClientProj/Properties/AssemblyInfo.cs
URL: http://svn.apache.org/viewvc/incubator/etch/trunk/interoptester/example/src/main/csharp/IOTClientProj/Properties/AssemblyInfo.cs?rev=748262&view=auto
==============================================================================
--- incubator/etch/trunk/interoptester/example/src/main/csharp/IOTClientProj/Properties/AssemblyInfo.cs (added)
+++ incubator/etch/trunk/interoptester/example/src/main/csharp/IOTClientProj/Properties/AssemblyInfo.cs Thu Feb 26 18:28:10 2009
@@ -0,0 +1,33 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// General Information about an assembly is controlled through the following 
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle("IOTClientProj")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("comer family")]
+[assembly: AssemblyProduct("IOTClientProj")]
+[assembly: AssemblyCopyright("Copyright © comer family 2009")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// Setting ComVisible to false makes the types in this assembly not visible 
+// to COM components.  If you need to access a type in this assembly from 
+// COM, set the ComVisible attribute to true on that type.
+[assembly: ComVisible(false)]
+
+// The following GUID is for the ID of the typelib if this project is exposed to COM
+[assembly: Guid("c2299770-fc6d-4f6b-b515-6d3885ec0d9f")]
+
+// Version information for an assembly consists of the following four values:
+//
+//      Major Version
+//      Minor Version 
+//      Build Number
+//      Revision
+//
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]

Propchange: incubator/etch/trunk/interoptester/example/src/main/csharp/IOTClientProj/Properties/AssemblyInfo.cs
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/etch/trunk/interoptester/example/src/main/csharp/IOTClientProj/Properties/AssemblyInfo.cs
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Propchange: incubator/etch/trunk/interoptester/example/src/main/csharp/IOTListenerProj/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Thu Feb 26 18:28:10 2009
@@ -0,0 +1,3 @@
+_ReSharper.IOTListenerProj
+bin
+obj

Added: incubator/etch/trunk/interoptester/example/src/main/csharp/IOTListenerProj/IOTListenerProj.csproj
URL: http://svn.apache.org/viewvc/incubator/etch/trunk/interoptester/example/src/main/csharp/IOTListenerProj/IOTListenerProj.csproj?rev=748262&view=auto
==============================================================================
--- incubator/etch/trunk/interoptester/example/src/main/csharp/IOTListenerProj/IOTListenerProj.csproj (added)
+++ incubator/etch/trunk/interoptester/example/src/main/csharp/IOTListenerProj/IOTListenerProj.csproj Thu Feb 26 18:28:10 2009
@@ -0,0 +1,97 @@
+<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <PropertyGroup>
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+    <ProductVersion>8.0.50727</ProductVersion>
+    <SchemaVersion>2.0</SchemaVersion>
+    <ProjectGuid>{5EED552A-09C1-42D0-9E0A-7822B0EC3603}</ProjectGuid>
+    <OutputType>Exe</OutputType>
+    <AppDesignerFolder>Properties</AppDesignerFolder>
+    <RootNamespace>IOTListenerProj</RootNamespace>
+    <AssemblyName>IOTListenerProj</AssemblyName>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+    <DebugSymbols>true</DebugSymbols>
+    <DebugType>full</DebugType>
+    <Optimize>false</Optimize>
+    <OutputPath>bin\Debug\</OutputPath>
+    <DefineConstants>DEBUG;TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+    <DebugType>pdbonly</DebugType>
+    <Optimize>true</Optimize>
+    <OutputPath>bin\Release\</OutputPath>
+    <DefineConstants>TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+  </PropertyGroup>
+  <ItemGroup>
+    <Reference Include="System" />
+    <Reference Include="System.Data" />
+    <Reference Include="System.Xml" />
+  </ItemGroup>
+  <ItemGroup>
+    <Compile Include="..\..\..\..\target\generated-sources\main\etch\csharp\org.apache.etch.interoptester.example.iot\BaseIOTClient.cs">
+      <Link>BaseIOTClient.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\..\target\generated-sources\main\etch\csharp\org.apache.etch.interoptester.example.iot\BaseIOTServer.cs">
+      <Link>BaseIOTServer.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\..\target\generated-sources\main\etch\csharp\org.apache.etch.interoptester.example.iot\IOT.cs">
+      <Link>IOT.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\..\target\generated-sources\main\etch\csharp\org.apache.etch.interoptester.example.iot\IOTClient.cs">
+      <Link>IOTClient.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\..\target\generated-sources\main\etch\csharp\org.apache.etch.interoptester.example.iot\IOTHelper.cs">
+      <Link>IOTHelper.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\..\target\generated-sources\main\etch\csharp\org.apache.etch.interoptester.example.iot\IOTServer.cs">
+      <Link>IOTServer.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\..\target\generated-sources\main\etch\csharp\org.apache.etch.interoptester.example.iot\RemoteIOT.cs">
+      <Link>RemoteIOT.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\..\target\generated-sources\main\etch\csharp\org.apache.etch.interoptester.example.iot\RemoteIOTClient.cs">
+      <Link>RemoteIOTClient.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\..\target\generated-sources\main\etch\csharp\org.apache.etch.interoptester.example.iot\RemoteIOTServer.cs">
+      <Link>RemoteIOTServer.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\..\target\generated-sources\main\etch\csharp\org.apache.etch.interoptester.example.iot\StubIOT.cs">
+      <Link>StubIOT.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\..\target\generated-sources\main\etch\csharp\org.apache.etch.interoptester.example.iot\StubIOTClient.cs">
+      <Link>StubIOTClient.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\..\target\generated-sources\main\etch\csharp\org.apache.etch.interoptester.example.iot\StubIOTServer.cs">
+      <Link>StubIOTServer.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\..\target\generated-sources\main\etch\csharp\org.apache.etch.interoptester.example.iot\ValueFactoryIOT.cs">
+      <Link>ValueFactoryIOT.cs</Link>
+    </Compile>
+    <Compile Include="..\ImplIOTServer.cs">
+      <Link>ImplIOTServer.cs</Link>
+    </Compile>
+    <Compile Include="..\MainIOTListener.cs">
+      <Link>MainIOTListener.cs</Link>
+    </Compile>
+    <Compile Include="Properties\AssemblyInfo.cs" />
+  </ItemGroup>
+  <ItemGroup>
+    <ProjectReference Include="..\..\..\..\..\..\binding-csharp\runtime\src\main\csharp\EtchProj.csproj">
+      <Project>{0E518F2A-3016-4C2F-A21B-9BD52B2DC846}</Project>
+      <Name>EtchProj</Name>
+    </ProjectReference>
+  </ItemGroup>
+  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
+  <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
+       Other similar extension points exist, see Microsoft.Common.targets.
+  <Target Name="BeforeBuild">
+  </Target>
+  <Target Name="AfterBuild">
+  </Target>
+  -->
+</Project>
\ No newline at end of file

Propchange: incubator/etch/trunk/interoptester/example/src/main/csharp/IOTListenerProj/IOTListenerProj.csproj
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/etch/trunk/interoptester/example/src/main/csharp/IOTListenerProj/Properties/AssemblyInfo.cs
URL: http://svn.apache.org/viewvc/incubator/etch/trunk/interoptester/example/src/main/csharp/IOTListenerProj/Properties/AssemblyInfo.cs?rev=748262&view=auto
==============================================================================
--- incubator/etch/trunk/interoptester/example/src/main/csharp/IOTListenerProj/Properties/AssemblyInfo.cs (added)
+++ incubator/etch/trunk/interoptester/example/src/main/csharp/IOTListenerProj/Properties/AssemblyInfo.cs Thu Feb 26 18:28:10 2009
@@ -0,0 +1,33 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// General Information about an assembly is controlled through the following 
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle("IOTListenerProj")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("comer family")]
+[assembly: AssemblyProduct("IOTListenerProj")]
+[assembly: AssemblyCopyright("Copyright © comer family 2009")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// Setting ComVisible to false makes the types in this assembly not visible 
+// to COM components.  If you need to access a type in this assembly from 
+// COM, set the ComVisible attribute to true on that type.
+[assembly: ComVisible(false)]
+
+// The following GUID is for the ID of the typelib if this project is exposed to COM
+[assembly: Guid("832cd217-01fe-4f47-afc3-4835aa52ebb6")]
+
+// Version information for an assembly consists of the following four values:
+//
+//      Major Version
+//      Minor Version 
+//      Build Number
+//      Revision
+//
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]

Propchange: incubator/etch/trunk/interoptester/example/src/main/csharp/IOTListenerProj/Properties/AssemblyInfo.cs
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/etch/trunk/interoptester/example/src/main/csharp/IOTListenerProj/Properties/AssemblyInfo.cs
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Added: incubator/etch/trunk/interoptester/example/src/main/csharp/ImplIOTClient.cs
URL: http://svn.apache.org/viewvc/incubator/etch/trunk/interoptester/example/src/main/csharp/ImplIOTClient.cs?rev=748262&view=auto
==============================================================================
--- incubator/etch/trunk/interoptester/example/src/main/csharp/ImplIOTClient.cs (added)
+++ incubator/etch/trunk/interoptester/example/src/main/csharp/ImplIOTClient.cs Thu Feb 26 18:28:10 2009
@@ -0,0 +1,36 @@
+// This file automatically generated by:
+//   Apache Etch 1.1.0-incubating (LOCAL-0) / csharp 1.1.0-incubating (LOCAL-0)
+//   Mon Feb 16 11:13:50 CST 2009
+// This file is automatically created for your convenience and will not be
+// overwritten once it exists! Please edit this file as necessary to implement
+// your service logic.
+
+using System;
+
+
+
+using org.apache.etch.interoptester.example.iot.types.IOT;
+
+///<summary>Your custom implementation of BaseIOTClient. Add methods here to provide
+///implementation of messages from the server. </summary>
+namespace org.apache.etch.interoptester.example.iot
+{
+	///<summary>Implementation for ImplIOTClient</summary>
+	public class ImplIOTClient : BaseIOTClient
+	{
+		/// <summary>Constructs the ImplIOTClient.</summary>
+ 		/// <param name="server">a connection to the server session. Use this to
+ 		/// send a message to the server.</param>
+		public ImplIOTClient(RemoteIOTServer server)
+		{
+			this.server = server;
+		}
+		
+		/// <summary>A connection to the server session. Use this to
+ 		/// send a message to the server.</summary>
+		private readonly RemoteIOTServer server;
+	
+		// TODO: Implement delegates or provide implementation of IOTClient
+		// messages from the server	
+	}
+}
\ No newline at end of file

Propchange: incubator/etch/trunk/interoptester/example/src/main/csharp/ImplIOTClient.cs
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/etch/trunk/interoptester/example/src/main/csharp/ImplIOTClient.cs
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Added: incubator/etch/trunk/interoptester/example/src/main/csharp/ImplIOTServer.cs
URL: http://svn.apache.org/viewvc/incubator/etch/trunk/interoptester/example/src/main/csharp/ImplIOTServer.cs?rev=748262&view=auto
==============================================================================
--- incubator/etch/trunk/interoptester/example/src/main/csharp/ImplIOTServer.cs (added)
+++ incubator/etch/trunk/interoptester/example/src/main/csharp/ImplIOTServer.cs Thu Feb 26 18:28:10 2009
@@ -0,0 +1,42 @@
+// This file automatically generated by:
+//   Apache Etch 1.1.0-incubating (LOCAL-0) / csharp 1.1.0-incubating (LOCAL-0)
+//   Mon Feb 16 11:13:50 CST 2009
+// This file is automatically created for your convenience and will not be
+// overwritten once it exists! Please edit this file as necessary to implement
+// your service logic.
+
+using System;
+
+
+
+using org.apache.etch.interoptester.example.iot.types.IOT;
+
+///<summary>Your custom implementation of BaseIOTServer. Add methods here to provide
+///implementation of messages from the client. </summary>
+namespace org.apache.etch.interoptester.example.iot
+{
+	///<summary>Implementation for ImplIOTServer</summary>
+	public class ImplIOTServer : BaseIOTServer
+	{
+		/// <summary>Constructs the ImplIOTServer.</summary>
+ 		/// <param name="client">a connection to the client session. Use this to
+ 		/// send a message to the client.</param>
+		public ImplIOTServer(RemoteIOTClient client)
+		{
+			this.client = client;
+		}
+		
+		/// <summary>A connection to the client session. Use this to
+ 		/// send a message to the client.</summary>
+		private readonly RemoteIOTClient client;
+
+        public override int? add(int? x, int? y)
+        {
+            if (x == null)
+                throw new ArgumentNullException("x");
+            if (y == null)
+                throw new ArgumentNullException("y");
+            return x + y;
+        }
+	}
+}
\ No newline at end of file

Propchange: incubator/etch/trunk/interoptester/example/src/main/csharp/ImplIOTServer.cs
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/etch/trunk/interoptester/example/src/main/csharp/ImplIOTServer.cs
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Added: incubator/etch/trunk/interoptester/example/src/main/csharp/MainIOTClient.cs
URL: http://svn.apache.org/viewvc/incubator/etch/trunk/interoptester/example/src/main/csharp/MainIOTClient.cs?rev=748262&view=auto
==============================================================================
--- incubator/etch/trunk/interoptester/example/src/main/csharp/MainIOTClient.cs (added)
+++ incubator/etch/trunk/interoptester/example/src/main/csharp/MainIOTClient.cs Thu Feb 26 18:28:10 2009
@@ -0,0 +1,78 @@
+// This file automatically generated by:
+//   Apache Etch 1.1.0-incubating (LOCAL-0) / csharp 1.1.0-incubating (LOCAL-0)
+//   Mon Feb 16 11:13:50 CST 2009
+// This file is automatically created for your convenience and will not be
+// overwritten once it exists! Please edit this file as necessary to implement
+// your service logic.
+
+using System;
+using Org.Apache.Etch.Bindings.Csharp.Util;
+
+namespace org.apache.etch.interoptester.example.iot
+{
+	///<summary>Main implementation for IOTClient.</summary>
+	public class MainIOTClient : IOTHelper.IOTClientFactory
+	{
+		///<summary>Main for IOTClient</summary>
+		///<param name="args">Command Line Arguments</param>
+		public static void Main(String[] args)
+        {
+            if (args.Length > 1)
+            {
+                Console.WriteLine("usage: MainIOTClient [uri]");
+                return;
+            }
+		
+			string uri = args.Length > 0 ? args[0] : "tcp://localhost:4001";
+			
+			RemoteIOTServer server = IOTHelper.NewServer( uri, null, new MainIOTClient());
+		
+			// Connect to the service
+			server._StartAndWaitUp( 4000 );
+
+            Assertion.Check(server.add(2, 3) == 5, "server.add(2, 3) == 5");
+
+            try
+            {
+                server.add(null, 3);
+                Assertion.Check(false, "false");
+            }
+            catch
+            {
+                // ignore.
+            }
+
+            try
+            {
+                server.add(2, null);
+                Assertion.Check(false, "false");
+            }
+            catch
+            {
+                // ignore.
+            }
+
+            try
+            {
+                server.add(null, null);
+                Assertion.Check(false, "false");
+            }
+            catch
+            {
+                // ignore.
+            }
+
+			// Disconnect from the service
+			server._StopAndWaitDown( 4000 );
+            Console.WriteLine("done");
+		}
+
+		///<summary>Return a new instance of IOTClient.</summary>
+		///<param name="server">Reference to remote service</param>
+		///<returns>Client Implementation</returns>
+		public IOTClient NewIOTClient( RemoteIOTServer server )
+		{
+			return new ImplIOTClient( server );
+		}
+	}
+}
\ No newline at end of file

Propchange: incubator/etch/trunk/interoptester/example/src/main/csharp/MainIOTClient.cs
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/etch/trunk/interoptester/example/src/main/csharp/MainIOTClient.cs
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Added: incubator/etch/trunk/interoptester/example/src/main/csharp/MainIOTListener.cs
URL: http://svn.apache.org/viewvc/incubator/etch/trunk/interoptester/example/src/main/csharp/MainIOTListener.cs?rev=748262&view=auto
==============================================================================
--- incubator/etch/trunk/interoptester/example/src/main/csharp/MainIOTListener.cs (added)
+++ incubator/etch/trunk/interoptester/example/src/main/csharp/MainIOTListener.cs Thu Feb 26 18:28:10 2009
@@ -0,0 +1,47 @@
+// This file automatically generated by:
+//   Apache Etch 1.1.0-incubating (LOCAL-0) / csharp 1.1.0-incubating (LOCAL-0)
+//   Mon Feb 16 11:13:50 CST 2009
+// This file is automatically created for your convenience and will not be
+// overwritten once it exists! Please edit this file as necessary to implement
+// your service logic.
+
+using System;
+
+using Org.Apache.Etch.Bindings.Csharp.Support;
+using Org.Apache.Etch.Bindings.Csharp.Util;
+
+using org.apache.etch.interoptester.example.iot.types.IOT;
+
+namespace org.apache.etch.interoptester.example.iot
+{
+	///<summary>Main implementation for IOTListener.</summary>
+	public class MainIOTListener : IOTHelper.IOTServerFactory
+	{
+ 		///<summary>Main for IOTListener.</summary>
+		///<param name="args">Command Line Arguments</param>
+		public static void Main(String[] args)
+        {
+            if (args.Length > 1)
+            {
+                Console.WriteLine("usage: MainIOTListener [uri]");
+                return;
+            }
+		
+            string uri = args.Length > 0 ? args[0] : "tcp://localhost:4001";
+			
+			ServerFactory listener = IOTHelper.NewListener( uri, null, new MainIOTListener());
+			
+			// Start the Listener
+			listener.TransportControl( TransportConsts.START_AND_WAIT_UP, 4000 );
+            Console.WriteLine( "listener started: "+listener );
+		}
+
+		///<summary>Return a new instance of IOTServer.</summary>
+		///<param name="client">Reference to remote service</param>
+		///<returns>Server Implementation</returns>
+		public IOTServer NewIOTServer( RemoteIOTClient client )
+		{
+			return new ImplIOTServer( client );
+		}
+	}
+}
\ No newline at end of file

Propchange: incubator/etch/trunk/interoptester/example/src/main/csharp/MainIOTListener.cs
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/etch/trunk/interoptester/example/src/main/csharp/MainIOTListener.cs
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Modified: incubator/etch/trunk/scripts/compEtchFilesForCsharp.bat
URL: http://svn.apache.org/viewvc/incubator/etch/trunk/scripts/compEtchFilesForCsharp.bat?rev=748262&r1=748261&r2=748262&view=diff
==============================================================================
--- incubator/etch/trunk/scripts/compEtchFilesForCsharp.bat (original)
+++ incubator/etch/trunk/scripts/compEtchFilesForCsharp.bat Thu Feb 26 18:28:10 2009
@@ -66,3 +66,7 @@
 @popd
 
 @popd
+
+@pushd interoptester\example\src\main\etch
+@call %x%scripts\etch-eclipse.bat %q% %b% %n% %d% %i%        IOT.etch
+@popd