Permalink
Browse files

disted version 1.0

  • Loading branch information...
1 parent cd8d8bd commit 553a718d174dea46ff63d49904061129f36e638d @sijuv committed Dec 8, 2010
Showing with 613 additions and 268 deletions.
  1. +0 −1 .classpath
  2. +1 −1 .gitignore
  3. +5 −4 README
  4. BIN dist/com/google/protobuf/codec/0.0.1/codec-0.0.1.jar
  5. +0 −1 dist/com/google/protobuf/codec/0.0.1/codec-0.0.1.jar.md5
  6. +0 −1 dist/com/google/protobuf/codec/0.0.1/codec-0.0.1.jar.sha1
  7. +0 −1 dist/com/google/protobuf/codec/0.0.1/codec-0.0.1.pom.md5
  8. +0 −1 dist/com/google/protobuf/codec/0.0.1/codec-0.0.1.pom.sha1
  9. +0 −13 dist/com/google/protobuf/codec/maven-metadata.xml
  10. +0 −1 dist/com/google/protobuf/codec/maven-metadata.xml.md5
  11. +0 −1 dist/com/google/protobuf/codec/maven-metadata.xml.sha1
  12. BIN dist/protobuf/protobuf-codec-core/1.0/protobuf-codec-core-1.0.jar
  13. +1 −0 dist/protobuf/protobuf-codec-core/1.0/protobuf-codec-core-1.0.jar.md5
  14. +1 −0 dist/protobuf/protobuf-codec-core/1.0/protobuf-codec-core-1.0.jar.sha1
  15. +34 −0 dist/protobuf/protobuf-codec-core/1.0/protobuf-codec-core-1.0.pom
  16. +1 −0 dist/protobuf/protobuf-codec-core/1.0/protobuf-codec-core-1.0.pom.md5
  17. +1 −0 dist/protobuf/protobuf-codec-core/1.0/protobuf-codec-core-1.0.pom.sha1
  18. +12 −0 dist/protobuf/protobuf-codec-core/maven-metadata.xml
  19. +1 −0 dist/protobuf/protobuf-codec-core/maven-metadata.xml.md5
  20. +1 −0 dist/protobuf/protobuf-codec-core/maven-metadata.xml.sha1
  21. BIN dist/protobuf/protobuf-codec-json/1.0/protobuf-codec-json-1.0.jar
  22. +1 −0 dist/protobuf/protobuf-codec-json/1.0/protobuf-codec-json-1.0.jar.md5
  23. +1 −0 dist/protobuf/protobuf-codec-json/1.0/protobuf-codec-json-1.0.jar.sha1
  24. +79 −73 ...tobuf/codec/0.0.1/codec-0.0.1.pom → protobuf/protobuf-codec-json/1.0/protobuf-codec-json-1.0.pom}
  25. +1 −0 dist/protobuf/protobuf-codec-json/1.0/protobuf-codec-json-1.0.pom.md5
  26. +1 −0 dist/protobuf/protobuf-codec-json/1.0/protobuf-codec-json-1.0.pom.sha1
  27. +12 −0 dist/protobuf/protobuf-codec-json/maven-metadata.xml
  28. +1 −0 dist/protobuf/protobuf-codec-json/maven-metadata.xml.md5
  29. +1 −0 dist/protobuf/protobuf-codec-json/maven-metadata.xml.sha1
  30. BIN dist/protobuf/protobuf-codec-xml/1.0/protobuf-codec-xml-1.0.jar
  31. +1 −0 dist/protobuf/protobuf-codec-xml/1.0/protobuf-codec-xml-1.0.jar.md5
  32. +1 −0 dist/protobuf/protobuf-codec-xml/1.0/protobuf-codec-xml-1.0.jar.sha1
  33. +84 −0 dist/protobuf/protobuf-codec-xml/1.0/protobuf-codec-xml-1.0.pom
  34. +1 −0 dist/protobuf/protobuf-codec-xml/1.0/protobuf-codec-xml-1.0.pom.md5
  35. +1 −0 dist/protobuf/protobuf-codec-xml/1.0/protobuf-codec-xml-1.0.pom.sha1
  36. +12 −0 dist/protobuf/protobuf-codec-xml/maven-metadata.xml
  37. +1 −0 dist/protobuf/protobuf-codec-xml/maven-metadata.xml.md5
  38. +1 −0 dist/protobuf/protobuf-codec-xml/maven-metadata.xml.sha1
  39. +58 −0 dist/protobuf/protobuf-codec/1.0/protobuf-codec-1.0.pom
  40. +1 −0 dist/protobuf/protobuf-codec/1.0/protobuf-codec-1.0.pom.md5
  41. +1 −0 dist/protobuf/protobuf-codec/1.0/protobuf-codec-1.0.pom.sha1
  42. +12 −0 dist/protobuf/protobuf-codec/maven-metadata.xml
  43. +1 −0 dist/protobuf/protobuf-codec/maven-metadata.xml.md5
  44. +1 −0 dist/protobuf/protobuf-codec/maven-metadata.xml.sha1
  45. +58 −69 pom.xml
  46. +1 −0 protobuf-codec-core/.gitignore
  47. +10 −11 protobuf-codec-core/pom.xml
  48. +1 −0 protobuf-codec-json/.gitignore
  49. +5 −4 protobuf-codec-json/pom.xml
  50. +2 −0 protobuf-codec-json/src/test/java/protobuf/codec/json/.gitignore
  51. +56 −0 protobuf-codec-json/src/test/java/protobuf/codec/json/TestUnkownFields.java
  52. +1 −0 protobuf-codec-xml/.gitignore
  53. +84 −83 protobuf-codec-xml/pom.xml
  54. +0 −3 protobuf-codec-xml/src/main/java/protobuf/codec/xml/XmlWriter.java
  55. +2 −0 protobuf-codec-xml/src/test/java/protobuf/codec/xml/.gitignore
  56. +62 −0 protobuf-codec-xml/src/test/java/protobuf/codec/xml/TestUnkownFields.java
View
@@ -7,7 +7,6 @@
<classpathentry kind="src" path="protobuf-codec-xml/src/main/java"/>
<classpathentry kind="src" path="protobuf-codec-xml/src/test/java"/>
<classpathentry kind="src" path="protobuf-codec-xml/src/test/resources"/>
- <classpathentry kind="src" path="protobuf-codec-core/src/test/java"/>
<classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="output" path="target/classes"/>
View
@@ -1 +1 @@
-/target
+/target
View
9 README
@@ -1,6 +1,10 @@
UPDATES:
---------
06/Dec : Mavenized and disted verion 0.0.1
+08/Dec : Disted version 1.0
+ - Added support for xml
+ - Added support for unknown fields
+ - Split into a maven multi module project- core,xml and json
ABOUT
------
@@ -55,15 +59,12 @@ Prerequisites :
DEPENDENCIES :
- Jackson for json parsing. [ see pom for details ]
+- woodstox for xml parsing [see pom for details ]
BUGS & ISSUES
---------------
Raise bugs/issues on git
-LIMITATIONS
---------------
-- UnknownFieldSet not supported.
-
Binary file not shown.
@@ -1 +0,0 @@
-01590c40d969ef53fa4228ae9186934d
@@ -1 +0,0 @@
-95661be1a25a040c704f14269451853e341bb939
@@ -1 +0,0 @@
-aade65a6010f4d2828c743fd6e0aed67
@@ -1 +0,0 @@
-a893e94c117163919635d8e743da47f500354bdb
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<metadata>
- <groupId>com.google.protobuf</groupId>
- <artifactId>codec</artifactId>
- <versioning>
- <release>0.0.1</release>
- <versions>
- <version>0.0.1</version>
- <version>0.0.1-SNAPSHOT</version>
- </versions>
- <lastUpdated>20101206050651</lastUpdated>
- </versioning>
-</metadata>
@@ -1 +0,0 @@
-f74bbf696516b75f751c4a370b465532
@@ -1 +0,0 @@
-523313f6f16da844306892c2c362c961a43ebfb5
@@ -0,0 +1 @@
+cf3b0d43754f592a16c6e7ed8d9b21aa
@@ -0,0 +1 @@
+f27c4525b36909751c3acc4ca801184ae426a859
@@ -0,0 +1,34 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
+http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>protobuf</groupId>
+ <artifactId>protobuf-codec</artifactId>
+ <version>1.0</version>
+ </parent>
+ <artifactId>protobuf-codec-core</artifactId>
+ <packaging>jar</packaging>
+ <name>core classes for the codec</name>
+ <url>https://github.com/sijuv/protobuf-codec</url>
+ <dependencies>
+ <dependency>
+ <groupId>commons-codec</groupId>
+ <artifactId>commons-codec</artifactId>
+ <version>1.4</version>
+ </dependency>
+ </dependencies>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>2.3.2</version>
+ <configuration>
+ <source>1.5</source>
+ <target>1.5</target>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+</project>
@@ -0,0 +1 @@
+06c4f1f5d227283b1e347207f9a05f36
@@ -0,0 +1 @@
+e0588e413c2af0126edb278a78588780c35f3f33
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<metadata>
+ <groupId>protobuf</groupId>
+ <artifactId>protobuf-codec-core</artifactId>
+ <versioning>
+ <release>1.0</release>
+ <versions>
+ <version>1.0</version>
+ </versions>
+ <lastUpdated>20101208102259</lastUpdated>
+ </versioning>
+</metadata>
@@ -0,0 +1 @@
+5503780f5ed820f82ecbf264adba3aca
@@ -0,0 +1 @@
+45d18da45c8b2cb924f7f877a565e383af4b619a
@@ -0,0 +1 @@
+843d675d0f89bebb597d63abed8a7d39
@@ -0,0 +1 @@
+301926e7da046efc3e0d51527f4c30792796c00e
@@ -1,73 +1,79 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <groupId>com.google.protobuf</groupId>
- <artifactId>codec</artifactId>
- <version>0.0.1</version>
- <packaging>jar</packaging>
-
- <name>codec</name>
- <url>http://maven.apache.org</url>
-
- <properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- </properties>
-
- <dependencies>
- <dependency>
- <groupId>com.google.protobuf</groupId>
- <artifactId>protobuf-java</artifactId>
- <version>2.3.0</version>
- </dependency>
- <dependency>
- <groupId>org.codehaus.jackson</groupId>
- <artifactId>jackson-core-asl</artifactId>
- <version>1.6.2</version>
- </dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>4.8.2</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-antrun-plugin</artifactId>
- <executions>
- <execution>
- <id>generate-sources</id>
- <phase>process-test-resources</phase>
- <configuration>
- <tasks>
- <exec executable="protoc">
- <arg value="--java_out=src/test/java" />
- <arg value="src/test/resources/user.proto" />
- </exec>
- </tasks>
- </configuration>
- <goals>
- <goal>run</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <configuration>
- <source>1.5</source>
- <target>1.5</target>
- </configuration>
- </plugin>
- </plugins>
- </build>
- <distributionManagement>
- <repository>
- <id>git-protobuf-repo</id>
- <url>http://github.com/sijuv/protobuf-codec/tree/master/dist/</url>
- </repository>
- </distributionManagement>
-</project>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
+http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>protobuf</groupId>
+ <artifactId>protobuf-codec</artifactId>
+ <version>1.0</version>
+ </parent>
+ <artifactId>protobuf-codec-json</artifactId>
+ <packaging>jar</packaging>
+ <name>json codec</name>
+ <url>https://github.com/sijuv/protobuf-codec</url>
+ <dependencies>
+ <dependency>
+ <groupId>protobuf</groupId>
+ <artifactId>protobuf-codec-core</artifactId>
+ <version>1.0</version>
+ </dependency>
+ <dependency>
+ <groupId>org.codehaus.jackson</groupId>
+ <artifactId>jackson-core-asl</artifactId>
+ <version>1.6.2</version>
+ </dependency>
+ </dependencies>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>generate-sources</id>
+ <phase>process-test-resources</phase>
+ <configuration>
+ <tasks>
+ <exec executable="protoc">
+ <arg value="--java_out=src/test/java" />
+ <arg value="src/test/resources/user.proto" />
+ </exec>
+ </tasks>
+ </configuration>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>generate-sources1</id>
+ <phase>process-test-resources</phase>
+ <configuration>
+ <tasks>
+ <exec executable="protoc">
+ <arg value="--java_out=src/test/java" />
+ <arg value="src/test/resources/unknown.proto" />
+ </exec>
+ </tasks>
+ </configuration>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>2.3.2</version>
+ <configuration>
+ <source>1.5</source>
+ <target>1.5</target>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+</project>
@@ -0,0 +1 @@
+ff72bd5f921bc2d8bb85b052c4323b46
@@ -0,0 +1 @@
+8161ad2c1f918869b0e9684e535e4b68d812ff77
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<metadata>
+ <groupId>protobuf</groupId>
+ <artifactId>protobuf-codec-json</artifactId>
+ <versioning>
+ <release>1.0</release>
+ <versions>
+ <version>1.0</version>
+ </versions>
+ <lastUpdated>20101208102303</lastUpdated>
+ </versioning>
+</metadata>
@@ -0,0 +1 @@
+f218b3f0e2f4f11b2fa1e309fc0653f5
@@ -0,0 +1 @@
+9f000d2d5a1faccef5e93698f9234f9fade5c637
@@ -0,0 +1 @@
+6d2b79b7efd850519209bc2b02afb3e2
@@ -0,0 +1 @@
+5f2e965baf4f95cc9aa43eda6228c8c31658cd33
Oops, something went wrong.

0 comments on commit 553a718

Please sign in to comment.