mirror of
https://github.com/fangyidong/json-simple.git
synced 2025-12-06 07:20:53 +03:00
Merged mavenization branch into trunk.
This commit is contained in:
16
.classpath
16
.classpath
@@ -1,8 +1,8 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<classpath>
|
<classpath>
|
||||||
<classpathentry excluding="**/.svn|**/.svn/**/*" kind="src" output="build/main" path="src"/>
|
<classpathentry kind="src" path="src/main/java"/>
|
||||||
<classpathentry excluding="**/.svn|**/.svn/**/*" kind="src" output="build/test" path="test"/>
|
<classpathentry kind="src" output="target/test-classes" path="src/test/java"/>
|
||||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
|
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
|
||||||
<classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/3.8.1"/>
|
<classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/3.8.1"/>
|
||||||
<classpathentry kind="output" path="build/main"/>
|
<classpathentry kind="output" path="target/classes"/>
|
||||||
</classpath>
|
</classpath>
|
||||||
|
|||||||
34
.project
34
.project
@@ -1,17 +1,17 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<projectDescription>
|
<projectDescription>
|
||||||
<name>json.simple</name>
|
<name>json-simple</name>
|
||||||
<comment></comment>
|
<comment></comment>
|
||||||
<projects>
|
<projects>
|
||||||
</projects>
|
</projects>
|
||||||
<buildSpec>
|
<buildSpec>
|
||||||
<buildCommand>
|
<buildCommand>
|
||||||
<name>org.eclipse.jdt.core.javabuilder</name>
|
<name>org.eclipse.jdt.core.javabuilder</name>
|
||||||
<arguments>
|
<arguments>
|
||||||
</arguments>
|
</arguments>
|
||||||
</buildCommand>
|
</buildCommand>
|
||||||
</buildSpec>
|
</buildSpec>
|
||||||
<natures>
|
<natures>
|
||||||
<nature>org.eclipse.jdt.core.javanature</nature>
|
<nature>org.eclipse.jdt.core.javanature</nature>
|
||||||
</natures>
|
</natures>
|
||||||
</projectDescription>
|
</projectDescription>
|
||||||
|
|||||||
3
.settings/org.eclipse.core.resources.prefs
Normal file
3
.settings/org.eclipse.core.resources.prefs
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
#Mon Feb 06 00:32:07 CST 2012
|
||||||
|
eclipse.preferences.version=1
|
||||||
|
encoding/<project>=UTF-8
|
||||||
@@ -1,2 +1,3 @@
|
|||||||
Yidong Fang
|
Yidong Fang
|
||||||
Chris Nokleberg
|
Chris Nokleberg
|
||||||
|
Dave Hughes
|
||||||
|
|||||||
@@ -1,5 +1,9 @@
|
|||||||
ChangeLog
|
ChangeLog
|
||||||
|
|
||||||
|
Version 1.1.1 (2012/01/29)
|
||||||
|
* Supports OSGi
|
||||||
|
* Accepts a java.util.Map parameter in constructor of JSONObject
|
||||||
|
|
||||||
Version 1.1 (2009/01/23)
|
Version 1.1 (2009/01/23)
|
||||||
* Supports stoppable SAX-like content handler for streaming of JSON text
|
* Supports stoppable SAX-like content handler for streaming of JSON text
|
||||||
* Added JSONStreamAware to support streaming JSON text
|
* Added JSONStreamAware to support streaming JSON text
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
1.1
|
1.1.1
|
||||||
|
|||||||
37
build.xml
37
build.xml
@@ -1,32 +1,41 @@
|
|||||||
<project name="json-simple" default="main" basedir=".">
|
<project name="json-simple" default="main" basedir=".">
|
||||||
<property name="current-version" value="1.1"/>
|
<property name="current-version" value="1.1.1"/>
|
||||||
<property name="jar-name" value="json_simple-${current-version}.jar"/>
|
<property name="targetDir" value="target"/>
|
||||||
|
<property name="javaSourceDir" value="src/main/java"/>
|
||||||
<target name="main" depends="jar">
|
<property name="javaTargetDir" value="target/classes"/>
|
||||||
</target>
|
|
||||||
|
<target name="main" depends="jar"></target>
|
||||||
|
|
||||||
<target name="clean">
|
<target name="clean">
|
||||||
<delete includeemptydirs="true">
|
<delete includeemptydirs="true">
|
||||||
<fileset dir="build/main" includes="**/*"/>
|
<fileset dir="${targetDir}" includes="**/*"/>
|
||||||
</delete>
|
</delete>
|
||||||
<delete file="lib/${jar-name}"/>
|
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="mkdir">
|
<target name="mkdir">
|
||||||
<mkdir dir="build/main"/>
|
<mkdir dir="${javaTargetDir}"/>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="compile" depends="mkdir">
|
<target name="compile" depends="mkdir">
|
||||||
<javac srcdir="src"
|
<javac srcdir="${javaSourceDir}"
|
||||||
destdir="build/main"
|
destdir="${javaTargetDir}"
|
||||||
includes="**/*.java"
|
includes="**/*.java"
|
||||||
target="1.2"
|
target="1.2"
|
||||||
source="1.2"/>
|
source="1.2"/>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="jar" depends="compile">
|
<target name="jar" depends="compile">
|
||||||
<jar destfile="lib/${jar-name}"
|
<jar destfile="${targetDir}/json-simple-${current-version}.jar"
|
||||||
basedir="build/main"
|
basedir="${javaTargetDir}"
|
||||||
includes="**/*.class"/>
|
includes="**/*.class">
|
||||||
|
<manifest>
|
||||||
|
<attribute name="Bundle-Name" value="JSON.simple"/>
|
||||||
|
<attribute name="Bundle-SymbolicName" value="com.googlecode.json-simple.json-simple"/>
|
||||||
|
<attribute name="Bundle-Version" value="${current-version}"/>
|
||||||
|
<attribute name="Bundle-License" value="http://www.apache.org/licenses/LICENSE-2.0.txt"/>
|
||||||
|
<attribute name="Bundle-Description" value="A simple Java toolkit for JSON"/>
|
||||||
|
<attribute name="Export-Package" value="org.json.simple, org.json.simple.parser"/>
|
||||||
|
</manifest>
|
||||||
|
</jar>
|
||||||
</target>
|
</target>
|
||||||
</project>
|
</project>
|
||||||
|
|||||||
Binary file not shown.
56
pom.xml
Normal file
56
pom.xml
Normal file
@@ -0,0 +1,56 @@
|
|||||||
|
<project>
|
||||||
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
<groupId>com.googlecode.json-simple</groupId>
|
||||||
|
<artifactId>json-simple</artifactId>
|
||||||
|
<packaging>bundle</packaging>
|
||||||
|
<name>JSON.simple</name>
|
||||||
|
<version>1.1.1</version>
|
||||||
|
<description>A simple Java toolkit for JSON</description>
|
||||||
|
<url>http://code.google.com/p/json-simple/</url>
|
||||||
|
<licenses>
|
||||||
|
<license>
|
||||||
|
<name>The Apache Software License, Version 2.0</name>
|
||||||
|
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
|
||||||
|
</license>
|
||||||
|
</licenses>
|
||||||
|
<developers>
|
||||||
|
<developer>
|
||||||
|
<id>Yidong</id>
|
||||||
|
<name>Yidong Fang</name>
|
||||||
|
<roles>
|
||||||
|
<role>architect</role>
|
||||||
|
<role>developer</role>
|
||||||
|
</roles>
|
||||||
|
<timezone>+8</timezone>
|
||||||
|
</developer>
|
||||||
|
</developers>
|
||||||
|
<scm>
|
||||||
|
<connection>scm:svn:http://json-simple.googlecode.com/svn/trunk/</connection>
|
||||||
|
<developerConnection>scm:svn:http://json-simple.googlecode.com/svn/trunk/</developerConnection>
|
||||||
|
<url>http://json-simple.googlecode.com/svn/trunk/</url>
|
||||||
|
</scm>
|
||||||
|
|
||||||
|
<properties>
|
||||||
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
|
</properties>
|
||||||
|
|
||||||
|
<dependencies>
|
||||||
|
<dependency>
|
||||||
|
<groupId>junit</groupId>
|
||||||
|
<artifactId>junit</artifactId>
|
||||||
|
<version>4.10</version>
|
||||||
|
</dependency>
|
||||||
|
</dependencies>
|
||||||
|
|
||||||
|
<build>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.felix</groupId>
|
||||||
|
<artifactId>maven-bundle-plugin</artifactId>
|
||||||
|
<version>2.3.6</version>
|
||||||
|
<extensions>true</extensions>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
|
</project>
|
||||||
|
|
||||||
Reference in New Issue
Block a user