You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by di...@apache.org on 2007/05/01 04:32:54 UTC
svn commit: r533913 - in /webservices/axis2/trunk/java/modules/json:
project.xml src/org/apache/axis2/json/JSONBadgerfishDataSource.java
src/org/apache/axis2/json/JSONDataSource.java
test/org/apache/axis2/json/JSONDataSourceTest.java
Author: dims
Date: Mon Apr 30 19:32:53 2007
New Revision: 533913
URL: http://svn.apache.org/viewvc?view=rev&rev=533913
Log:
merge from branch to fix build break
Modified:
webservices/axis2/trunk/java/modules/json/project.xml
webservices/axis2/trunk/java/modules/json/src/org/apache/axis2/json/JSONBadgerfishDataSource.java
webservices/axis2/trunk/java/modules/json/src/org/apache/axis2/json/JSONDataSource.java
webservices/axis2/trunk/java/modules/json/test/org/apache/axis2/json/JSONDataSourceTest.java
Modified: webservices/axis2/trunk/java/modules/json/project.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/json/project.xml?view=diff&rev=533913&r1=533912&r2=533913
==============================================================================
--- webservices/axis2/trunk/java/modules/json/project.xml (original)
+++ webservices/axis2/trunk/java/modules/json/project.xml Mon Apr 30 19:32:53 2007
@@ -177,6 +177,13 @@
<reports/>
<!-- add the build properties-->
<build>
+ <unitTestSourceDirectory>test</unitTestSourceDirectory>
+ <unitTest>
+ <includes>
+ <include>**/*Test.java</include>
+ </includes>
+
+ </unitTest>
<resources>
<resource>
<directory>src</directory>
Modified: webservices/axis2/trunk/java/modules/json/src/org/apache/axis2/json/JSONBadgerfishDataSource.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/json/src/org/apache/axis2/json/JSONBadgerfishDataSource.java?view=diff&rev=533913&r1=533912&r2=533913
==============================================================================
--- webservices/axis2/trunk/java/modules/json/src/org/apache/axis2/json/JSONBadgerfishDataSource.java (original)
+++ webservices/axis2/trunk/java/modules/json/src/org/apache/axis2/json/JSONBadgerfishDataSource.java Mon Apr 30 19:32:53 2007
@@ -17,10 +17,10 @@
package org.apache.axis2.json;
-import org.codehaus.jettison.badgerfish.BadgerFishXMLInputFactory;
-import org.json.JSONTokener;
-
import java.io.InputStream;
+
+import org.codehaus.jettison.badgerfish.BadgerFishXMLInputFactory;
+import org.codehaus.jettison.json.JSONTokener;
/**
* JSONDataSource keeps the JSON String inside and consumes it when needed. This is to be kept in
Modified: webservices/axis2/trunk/java/modules/json/src/org/apache/axis2/json/JSONDataSource.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/json/src/org/apache/axis2/json/JSONDataSource.java?view=diff&rev=533913&r1=533912&r2=533913
==============================================================================
--- webservices/axis2/trunk/java/modules/json/src/org/apache/axis2/json/JSONDataSource.java (original)
+++ webservices/axis2/trunk/java/modules/json/src/org/apache/axis2/json/JSONDataSource.java Mon Apr 30 19:32:53 2007
@@ -16,19 +16,20 @@
package org.apache.axis2.json;
-import org.apache.axiom.om.OMDataSource;
-import org.apache.axiom.om.OMException;
-import org.apache.axiom.om.OMOutputFormat;
-import org.codehaus.jettison.mapped.MappedXMLInputFactory;
-import org.json.JSONTokener;
-
-import javax.xml.stream.XMLStreamConstants;
-import javax.xml.stream.XMLStreamReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.Writer;
import java.util.HashMap;
+
+import javax.xml.stream.XMLStreamConstants;
+import javax.xml.stream.XMLStreamReader;
+
+import org.apache.axiom.om.OMDataSource;
+import org.apache.axiom.om.OMException;
+import org.apache.axiom.om.OMOutputFormat;
+import org.codehaus.jettison.json.JSONTokener;
+import org.codehaus.jettison.mapped.MappedXMLInputFactory;
/**
* JSONDataSource keeps the JSON String inside and consumes it when needed. This is to be kept in
Modified: webservices/axis2/trunk/java/modules/json/test/org/apache/axis2/json/JSONDataSourceTest.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/json/test/org/apache/axis2/json/JSONDataSourceTest.java?view=diff&rev=533913&r1=533912&r2=533913
==============================================================================
--- webservices/axis2/trunk/java/modules/json/test/org/apache/axis2/json/JSONDataSourceTest.java (original)
+++ webservices/axis2/trunk/java/modules/json/test/org/apache/axis2/json/JSONDataSourceTest.java Mon Apr 30 19:32:53 2007
@@ -15,19 +15,20 @@
*/
package org.apache.axis2.json;
-import org.apache.axiom.om.util.StAXUtils;
-import org.custommonkey.xmlunit.XMLTestCase;
-import org.json.JSONException;
-import org.xml.sax.SAXException;
-
-import javax.xml.parsers.ParserConfigurationException;
-import javax.xml.stream.XMLStreamException;
-import javax.xml.stream.XMLStreamWriter;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStreamWriter;
+
+import javax.xml.parsers.ParserConfigurationException;
+import javax.xml.stream.XMLStreamException;
+import javax.xml.stream.XMLStreamWriter;
+
+import org.apache.axiom.om.util.StAXUtils;
+import org.codehaus.jettison.json.JSONException;
+import org.custommonkey.xmlunit.XMLTestCase;
+import org.xml.sax.SAXException;
public class JSONDataSourceTest extends XMLTestCase {
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org