kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Psaltis <Andrew.Psal...@Webtrends.com>
Subject RE: C# client
Date Mon, 26 Mar 2012 17:41:04 GMT
The sln (http://svn.apache.org/repos/asf/incubator/kafka/trunk/clients/csharp/src/Kafka/Kafka.sln
) and the StyleCop targets file (http://svn.apache.org/repos/asf/incubator/kafka/trunk/clients/csharp/lib/StyleCop/Microsoft.StyleCop.Targets
) files are both invalid due to the Apache Lic. Comment block at the top of the files.  

If you remove the below block from each of those files you should be able to open the sln
just fine.

 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
 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 See the License for the specific language governing permissions and
 limitations under the License.

As far as the zookeeper side of things, you are going to need to pull down the zookeeper code
at: http://erichauser.net/2010/04/23/zookeeper-net-client/ , you may have to run jute to generate
the csharp code. Before the zk client will compile.

Hope that helps,

-----Original Message-----
From: Evan Chan [mailto:ev@ooyala.com] 
Sent: Monday, March 26, 2012 10:06 AM
To: kafka-users@incubator.apache.org
Cc: Peter Thygesen
Subject: Re: C# client

The last time I worked with .net, the dependent .dll's have to already be on disk.  Microsoft
has some special notations for finding DLLs in the system path/registry.

On Sun, Mar 25, 2012 at 7:03 PM, Chris Burroughs

> I'm not familiar with .NET.  Is the "csproj" file like a java 
> Maven/Ivy file that says where dependencies should be fetched or like 
> a C Makefile that expects them to already be present?
> On 03/21/2012 10:23 AM, Peter Thygesen wrote:
> > Wanted to play a little with the csharp client... but..
> >
> > I cannot build the csharp client. The project files and solution 
> > file is not valid for MS Visual Studio. Also noticed that the 
> > reference
> >
> > <Reference Include="ZooKeeperNet">
> >       <HintPath>..\..\..\lib\zookeeper\ZooKeeperNet.dll</HintPath>
> > </Reference>
> >
> > is missing. Can perhaps reconstruct the project from scratch but 
> > would
> need
> > the Zookeeper.dll file. Where can it be located?
> >
> > brgds,
> > Peter
> >

*Evan Chan*
Senior Software Engineer |
ev@ooyala.com | (650) 996-4600
www.ooyala.com | blog <http://www.ooyala.com/blog> | @ooyala<http://www.twitter.com/ooyala>
View raw message