r1 - 17 Oct 2007 - 18:26:56 - TravisVachonYou are here: OSAF >  Journal Web  >  ContributorNotes > TravisVachonNotes > JsonLibCustomDeploy
  1. cvs -z3 -d:pserver:anonymous@json-lib.cvs.sourceforge.net:/cvsroot/json-lib co -P -r REL_2_1 json-lib
  2. Apply patches
  3. Edit version numbers in pom.xml and deploy.sh
  4. Edit repository url in deploy.sh
  5. ant jar.jdk5
  6. bash deploy.sh

Current patch:

Index: net/sf/json/util/JSONUtils.java
===================================================================
RCS file: /cvsroot/json-lib/json-lib/src/main/java/net/sf/json/util/JSONUtils.java,v
retrieving revision 1.22
diff -u -r1.22 JSONUtils.java
--- net/sf/json/util/JSONUtils.java	30 Aug 2007 22:09:19 -0000	1.22
+++ net/sf/json/util/JSONUtils.java	18 Oct 2007 01:24:45 -0000
@@ -513,6 +513,12 @@
             case '\r':
                sb.append( "\\r" );
                break;
+            case '\u2028':
+               sb.append( "\\u2028" );
+               break;
+            case '\u2029':
+               sb.append( "\\u2029" );
+               break;
             default:
                if( c < ' ' ){
                   t = "000" + Integer.toHexString( c );
-- TravisVachon - 18 Oct 2007
Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r1 | More topic actions
 
Open Source Applications Foundation
Except where otherwise noted, this site and its content are licensed by OSAF under an Creative Commons License, Attribution Only 3.0.
See list of page contributors for attributions.