Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ZOOKEEPER-2209 - ZooKeeper client in C# for 3.4.6 #31

Closed
wants to merge 10 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 5 additions & 34 deletions README.txt
Original file line number Diff line number Diff line change
@@ -1,36 +1,7 @@
For the latest information about ZooKeeper, please visit our website at:
A .NET async Client fully compliant with ZooKeeper v3.4.6, supporting all features. Fully Task-based Asynchronous (async/await). A great measure has been taken to follow the logic of the official Java client, including all relevant unit tests. In fact, the code is almost identical. Thus allowing easy evolution alongside the Java version.

http://zookeeper.apache.org/
Now supports .NET 4, 4.5 and 5

and our wiki, at:

https://cwiki.apache.org/confluence/display/ZOOKEEPER

Full documentation for this release can also be found in docs/index.html

---------------------------
Packaging/release artifacts

The release artifact contains the following jar file at the toplevel:

zookeeper-<version>.jar - legacy jar file which contains all classes
and source files. Prior to version 3.3.0 this
was the only jar file available. It has the
benefit of having the source included (for
debugging purposes) however is also larger as
a result

The release artifact contains the following jar files in "dist-maven" directory:

zookeeper-<version>.jar - bin (binary) jar - contains only class (*.class) files
zookeeper-<version>-sources.jar - contains only src (*.java) files
zookeeper-<version>-javadoc.jar - contains only javadoc files

These bin/src/javadoc jars were added specifically to support Maven/Ivy which have
the ability to pull these down automatically as part of your build process.
The content of the legacy jar and the bin+sources jar are the same.

As of version 3.3.0 bin/sources/javadoc jars contained in dist-maven directory
are deployed to the Apache Maven repository after the release has been accepted
by Apache:
http://people.apache.org/repo/m2-ibiblio-rsync-repository/
Packages:
ZooKeeperNetEx - https://www.nuget.org/packages/ZooKeeperNetEx
ZooKeeperNetEx.Recipes - https://www.nuget.org/packages/ZooKeeperNetEx.Recipes
12 changes: 12 additions & 0 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ xmlns:maven="antlib:org.apache.maven.artifact.ant">
<property name="src_generated.dir" value="${src.dir}/java/generated" />
<property name="c.src.dir" value="${src.dir}/c" />
<property name="csrc_generated.dir" value="${c.src.dir}/generated" />
<property name="csharp.src.dir" value="${src.dir}/csharp"/>
<property name="csharpsrc_generated.dir" value="${csharp.src.dir}/ZooKeeperNetEx/Generated"/>

<property name="jute.file" value="${src.dir}/zookeeper.jute" />

Expand Down Expand Up @@ -281,6 +283,7 @@ xmlns:maven="antlib:org.apache.maven.artifact.ant">
<target name="compile_jute" depends="jute,compile_jute_uptodate" unless="juteBuild.notRequired">
<mkdir dir="${src_generated.dir}" />
<mkdir dir="${csrc_generated.dir}" />
<mkdir dir="${csharpsrc_generated.dir}"/>
<java classname="org.apache.jute.compiler.generated.Rcc" fork="true" dir="${src_generated.dir}">
<arg value="-l" />
<arg value="java" />
Expand All @@ -298,6 +301,14 @@ xmlns:maven="antlib:org.apache.maven.artifact.ant">
<pathelement path="${build.classes}" />
</classpath>
</java>
<java dir="${csharpsrc_generated.dir}" classname="org.apache.jute.compiler.generated.Rcc" fork="true">
<arg value="-l"/>
<arg value="csharp"/>
<arg value="../../../zookeeper.jute"/>
<classpath>
<pathelement path="${build.classes}" />
</classpath>
</java>

<touch file="${src_generated.dir}/.generated"/>
</target>
Expand Down Expand Up @@ -1192,6 +1203,7 @@ xmlns:maven="antlib:org.apache.maven.artifact.ant">
<delete dir="${docs.src}/build"/>
<delete dir="${src_generated.dir}" />
<delete dir="${csrc_generated.dir}" />
<delete dir="${csharpsrc_generated.dir}"/>
<delete file="${lib.dir}/Null.java"/>
<delete file="${lib.dir}/rats.jar" />
<delete file="${jdiff.xml.dir}/${name}_${version}.xml"/>
Expand Down
5 changes: 5 additions & 0 deletions src/csharp/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
packages
artifacts
*.suo
*.user
project.lock.json
31 changes: 31 additions & 0 deletions src/csharp/SolutionVersion.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
/*
* 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.
*
* All rights reserved.
*
*/
using System;
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyDescription("ZooKeeper Async Client for .NET http://zookeeper.apache.org")]
[assembly: AssemblyProduct("ZooKeeperNetEx")]
[assembly: AssemblyCopyright("Copyright 2015 shayhatsor. - All rights reserved.")]
[assembly: AssemblyVersion("3.4.6.0")]
[assembly: AssemblyFileVersion("3.4.6.0")]
[assembly: AssemblyInformationalVersion("3.4.6.0")]
[assembly: ComVisible(false)]
[assembly: CLSCompliant(true)]

Loading