incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fmesc...@apache.org
Subject svn commit: r592390 - in /incubator/sling/trunk/commons: json/ json/src/main/java/org/apache/sling/commons/ json/src/main/java/org/apache/sling/commons/json/ json/src/main/java/org/apache/sling/commons/json/http/ json/src/main/java/org/apache/sling/com...
Date Tue, 06 Nov 2007 11:44:29 GMT
Author: fmeschbe
Date: Tue Nov  6 03:44:27 2007
New Revision: 592390

URL: http://svn.apache.org/viewvc?rev=592390&view=rev
Log:
SLING-83 Fix SVN repository location, project name and java packages

Added:
    incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/commons/
    incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/commons/json/
    incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/commons/json/JSONArray.java
      - copied, changed from r592370, incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/json/JSONArray.java
    incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/commons/json/JSONException.java
      - copied, changed from r592370, incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/json/JSONException.java
    incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/commons/json/JSONObject.java
      - copied, changed from r592370, incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/json/JSONObject.java
    incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/commons/json/JSONString.java
      - copied, changed from r592370, incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/json/JSONString.java
    incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/commons/json/JSONTokener.java
      - copied, changed from r592370, incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/json/JSONTokener.java
    incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/commons/json/http/
      - copied from r592370, incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/json/http/
    incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/commons/json/io/
      - copied from r592370, incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/json/io/
    incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/commons/json/util/
      - copied from r592370, incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/json/util/
    incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/commons/json/xml/
      - copied from r592370, incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/json/xml/
    incubator/sling/trunk/commons/mime/src/main/java/org/apache/sling/commons/
    incubator/sling/trunk/commons/mime/src/main/java/org/apache/sling/commons/mime/
    incubator/sling/trunk/commons/mime/src/main/java/org/apache/sling/commons/mime/MimeTypeProvider.java
      - copied, changed from r592370, incubator/sling/trunk/commons/mime/src/main/java/org/apache/sling/mime/MimeTypeProvider.java
    incubator/sling/trunk/commons/mime/src/main/java/org/apache/sling/commons/mime/MimeTypeService.java
      - copied, changed from r592370, incubator/sling/trunk/commons/mime/src/main/java/org/apache/sling/mime/MimeTypeService.java
    incubator/sling/trunk/commons/mime/src/main/java/org/apache/sling/commons/mime/internal/
      - copied from r592370, incubator/sling/trunk/commons/mime/src/main/java/org/apache/sling/mime/internal/
    incubator/sling/trunk/commons/mime/src/test/java/org/apache/sling/commons/
    incubator/sling/trunk/commons/mime/src/test/java/org/apache/sling/commons/mime/
    incubator/sling/trunk/commons/mime/src/test/java/org/apache/sling/commons/mime/internal/
      - copied from r592370, incubator/sling/trunk/commons/mime/src/test/java/org/apache/sling/mime/internal/
Removed:
    incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/json/
    incubator/sling/trunk/commons/mime/src/main/java/org/apache/sling/mime/
    incubator/sling/trunk/commons/mime/src/test/java/org/apache/sling/mime/
Modified:
    incubator/sling/trunk/commons/json/pom.xml
    incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/commons/json/http/Cookie.java
    incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/commons/json/http/CookieList.java
    incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/commons/json/http/HTTP.java
    incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/commons/json/http/HTTPTokener.java
    incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/commons/json/io/JSONStringer.java
    incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/commons/json/io/JSONWriter.java
    incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/commons/json/util/CDL.java
    incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/commons/json/xml/XML.java
    incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/commons/json/xml/XMLTokener.java
    incubator/sling/trunk/commons/mime/pom.xml
    incubator/sling/trunk/commons/mime/src/main/java/org/apache/sling/commons/mime/internal/MimeTypeServiceImpl.java
    incubator/sling/trunk/commons/mime/src/test/java/org/apache/sling/commons/mime/internal/MimeTypeServiceImplTest.java

Modified: incubator/sling/trunk/commons/json/pom.xml
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/commons/json/pom.xml?rev=592390&r1=592389&r2=592390&view=diff
==============================================================================
--- incubator/sling/trunk/commons/json/pom.xml (original)
+++ incubator/sling/trunk/commons/json/pom.xml Tue Nov  6 03:44:27 2007
@@ -28,7 +28,7 @@
         <relativePath>../parent/pom.xml</relativePath>
     </parent>
 
-    <artifactId>sling-json</artifactId>
+    <artifactId>commons.json</artifactId>
     <packaging>bundle</packaging>
     <version>2.0.0-incubator-SNAPSHOT</version>
 
@@ -37,37 +37,30 @@
 
     <scm>
         <connection>
-            scm:svn:http://svn.apache.org/repos/asf/incubator/sling/trunk/json
+            scm:svn:http://svn.apache.org/repos/asf/incubator/sling/trunk/commons/json
         </connection>
         <developerConnection>
-            scm:svn:https://svn.apache.org/repos/asf/incubator/sling/trunk/json
+            scm:svn:https://svn.apache.org/repos/asf/incubator/sling/trunk/commons/json
         </developerConnection>
         <url>
-            http://svn.apache.org/viewvc/incubator/sling/trunk/josn
+            http://svn.apache.org/viewvc/incubator/sling/trunk/commons/json
         </url>
     </scm>
 
     <build>
         <plugins>
             <plugin>
-                <groupId>org.apache.sling</groupId>
-                <artifactId>maven-sling-plugin</artifactId>
-            </plugin>
-            <plugin>
                 <groupId>org.apache.felix</groupId>
                 <artifactId>maven-bundle-plugin</artifactId>
                 <extensions>true</extensions>
                 <configuration>
                     <instructions>
                         <Export-Package>
-                            org.apache.sling.json.*
+                            org.apache.sling.commons.json.*
                         </Export-Package>
                     </instructions>
                 </configuration>
             </plugin>
         </plugins>
     </build>
-
-    <dependencies>
-    </dependencies>
 </project>

Copied: incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/commons/json/JSONArray.java
(from r592370, incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/json/JSONArray.java)
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/commons/json/JSONArray.java?p2=incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/commons/json/JSONArray.java&p1=incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/json/JSONArray.java&r1=592370&r2=592390&rev=592390&view=diff
==============================================================================
--- incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/json/JSONArray.java
(original)
+++ incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/commons/json/JSONArray.java
Tue Nov  6 03:44:27 2007
@@ -1,4 +1,4 @@
-package org.apache.sling.json;
+package org.apache.sling.commons.json;
 
 /*
 Copyright (c) 2002 JSON.org

Copied: incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/commons/json/JSONException.java
(from r592370, incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/json/JSONException.java)
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/commons/json/JSONException.java?p2=incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/commons/json/JSONException.java&p1=incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/json/JSONException.java&r1=592370&r2=592390&rev=592390&view=diff
==============================================================================
--- incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/json/JSONException.java
(original)
+++ incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/commons/json/JSONException.java
Tue Nov  6 03:44:27 2007
@@ -1,4 +1,4 @@
-package org.apache.sling.json;
+package org.apache.sling.commons.json;
 
 /**
  * The JSONException is thrown by the JSON.org classes then things are amiss.

Copied: incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/commons/json/JSONObject.java
(from r592370, incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/json/JSONObject.java)
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/commons/json/JSONObject.java?p2=incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/commons/json/JSONObject.java&p1=incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/json/JSONObject.java&r1=592370&r2=592390&rev=592390&view=diff
==============================================================================
--- incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/json/JSONObject.java
(original)
+++ incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/commons/json/JSONObject.java
Tue Nov  6 03:44:27 2007
@@ -1,4 +1,4 @@
-package org.apache.sling.json;
+package org.apache.sling.commons.json;
 
 /*
 Copyright (c) 2002 JSON.org

Copied: incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/commons/json/JSONString.java
(from r592370, incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/json/JSONString.java)
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/commons/json/JSONString.java?p2=incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/commons/json/JSONString.java&p1=incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/json/JSONString.java&r1=592370&r2=592390&rev=592390&view=diff
==============================================================================
--- incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/json/JSONString.java
(original)
+++ incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/commons/json/JSONString.java
Tue Nov  6 03:44:27 2007
@@ -1,4 +1,4 @@
-package org.apache.sling.json;
+package org.apache.sling.commons.json;
 
 /*
 Copyright (c) 2002 JSON.org

Copied: incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/commons/json/JSONTokener.java
(from r592370, incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/json/JSONTokener.java)
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/commons/json/JSONTokener.java?p2=incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/commons/json/JSONTokener.java&p1=incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/json/JSONTokener.java&r1=592370&r2=592390&rev=592390&view=diff
==============================================================================
--- incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/json/JSONTokener.java
(original)
+++ incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/commons/json/JSONTokener.java
Tue Nov  6 03:44:27 2007
@@ -1,4 +1,4 @@
-package org.apache.sling.json;
+package org.apache.sling.commons.json;
 
 /*
 Copyright (c) 2002 JSON.org

Modified: incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/commons/json/http/Cookie.java
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/commons/json/http/Cookie.java?rev=592390&r1=592370&r2=592390&view=diff
==============================================================================
--- incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/commons/json/http/Cookie.java
(original)
+++ incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/commons/json/http/Cookie.java
Tue Nov  6 03:44:27 2007
@@ -1,8 +1,8 @@
-package org.apache.sling.json.http;
+package org.apache.sling.commons.json.http;
 
-import org.apache.sling.json.JSONException;
-import org.apache.sling.json.JSONObject;
-import org.apache.sling.json.JSONTokener;
+import org.apache.sling.commons.json.JSONException;
+import org.apache.sling.commons.json.JSONObject;
+import org.apache.sling.commons.json.JSONTokener;
 
 /*
 Copyright (c) 2002 JSON.org

Modified: incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/commons/json/http/CookieList.java
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/commons/json/http/CookieList.java?rev=592390&r1=592370&r2=592390&view=diff
==============================================================================
--- incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/commons/json/http/CookieList.java
(original)
+++ incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/commons/json/http/CookieList.java
Tue Nov  6 03:44:27 2007
@@ -1,4 +1,4 @@
-package org.apache.sling.json.http;
+package org.apache.sling.commons.json.http;
 
 /*
 Copyright (c) 2002 JSON.org
@@ -26,9 +26,9 @@
 
 import java.util.Iterator;
 
-import org.apache.sling.json.JSONException;
-import org.apache.sling.json.JSONObject;
-import org.apache.sling.json.JSONTokener;
+import org.apache.sling.commons.json.JSONException;
+import org.apache.sling.commons.json.JSONObject;
+import org.apache.sling.commons.json.JSONTokener;
 
 /**
  * Convert a web browser cookie list string to a JSONObject and back.

Modified: incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/commons/json/http/HTTP.java
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/commons/json/http/HTTP.java?rev=592390&r1=592370&r2=592390&view=diff
==============================================================================
--- incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/commons/json/http/HTTP.java
(original)
+++ incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/commons/json/http/HTTP.java
Tue Nov  6 03:44:27 2007
@@ -1,4 +1,4 @@
-package org.apache.sling.json.http;
+package org.apache.sling.commons.json.http;
 
 /*
 Copyright (c) 2002 JSON.org
@@ -26,8 +26,8 @@
 
 import java.util.Iterator;
 
-import org.apache.sling.json.JSONException;
-import org.apache.sling.json.JSONObject;
+import org.apache.sling.commons.json.JSONException;
+import org.apache.sling.commons.json.JSONObject;
 
 /**
  * Convert an HTTP header to a JSONObject and back.

Modified: incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/commons/json/http/HTTPTokener.java
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/commons/json/http/HTTPTokener.java?rev=592390&r1=592370&r2=592390&view=diff
==============================================================================
--- incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/commons/json/http/HTTPTokener.java
(original)
+++ incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/commons/json/http/HTTPTokener.java
Tue Nov  6 03:44:27 2007
@@ -1,7 +1,7 @@
-package org.apache.sling.json.http;
+package org.apache.sling.commons.json.http;
 
-import org.apache.sling.json.JSONException;
-import org.apache.sling.json.JSONTokener;
+import org.apache.sling.commons.json.JSONException;
+import org.apache.sling.commons.json.JSONTokener;
 
 /*
 Copyright (c) 2002 JSON.org

Modified: incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/commons/json/io/JSONStringer.java
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/commons/json/io/JSONStringer.java?rev=592390&r1=592370&r2=592390&view=diff
==============================================================================
--- incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/commons/json/io/JSONStringer.java
(original)
+++ incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/commons/json/io/JSONStringer.java
Tue Nov  6 03:44:27 2007
@@ -1,4 +1,4 @@
-package org.apache.sling.json.io;
+package org.apache.sling.commons.json.io;
 
 /*
 Copyright (c) 2006 JSON.org

Modified: incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/commons/json/io/JSONWriter.java
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/commons/json/io/JSONWriter.java?rev=592390&r1=592370&r2=592390&view=diff
==============================================================================
--- incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/commons/json/io/JSONWriter.java
(original)
+++ incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/commons/json/io/JSONWriter.java
Tue Nov  6 03:44:27 2007
@@ -1,10 +1,10 @@
-package org.apache.sling.json.io;
+package org.apache.sling.commons.json.io;
 
 import java.io.IOException;
 import java.io.Writer;
 
-import org.apache.sling.json.JSONException;
-import org.apache.sling.json.JSONObject;
+import org.apache.sling.commons.json.JSONException;
+import org.apache.sling.commons.json.JSONObject;
 
 /*
 Copyright (c) 2006 JSON.org

Modified: incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/commons/json/util/CDL.java
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/commons/json/util/CDL.java?rev=592390&r1=592370&r2=592390&view=diff
==============================================================================
--- incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/commons/json/util/CDL.java
(original)
+++ incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/commons/json/util/CDL.java
Tue Nov  6 03:44:27 2007
@@ -1,9 +1,9 @@
-package org.apache.sling.json.util;
+package org.apache.sling.commons.json.util;
 
-import org.apache.sling.json.JSONArray;
-import org.apache.sling.json.JSONException;
-import org.apache.sling.json.JSONObject;
-import org.apache.sling.json.JSONTokener;
+import org.apache.sling.commons.json.JSONArray;
+import org.apache.sling.commons.json.JSONException;
+import org.apache.sling.commons.json.JSONObject;
+import org.apache.sling.commons.json.JSONTokener;
 
 /*
 Copyright (c) 2002 JSON.org

Modified: incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/commons/json/xml/XML.java
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/commons/json/xml/XML.java?rev=592390&r1=592370&r2=592390&view=diff
==============================================================================
--- incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/commons/json/xml/XML.java
(original)
+++ incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/commons/json/xml/XML.java
Tue Nov  6 03:44:27 2007
@@ -1,4 +1,4 @@
-package org.apache.sling.json.xml;
+package org.apache.sling.commons.json.xml;
 
 /*
 Copyright (c) 2002 JSON.org
@@ -26,9 +26,9 @@
 
 import java.util.Iterator;
 
-import org.apache.sling.json.JSONArray;
-import org.apache.sling.json.JSONException;
-import org.apache.sling.json.JSONObject;
+import org.apache.sling.commons.json.JSONArray;
+import org.apache.sling.commons.json.JSONException;
+import org.apache.sling.commons.json.JSONObject;
 
 
 /**

Modified: incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/commons/json/xml/XMLTokener.java
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/commons/json/xml/XMLTokener.java?rev=592390&r1=592370&r2=592390&view=diff
==============================================================================
--- incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/commons/json/xml/XMLTokener.java
(original)
+++ incubator/sling/trunk/commons/json/src/main/java/org/apache/sling/commons/json/xml/XMLTokener.java
Tue Nov  6 03:44:27 2007
@@ -1,7 +1,7 @@
-package org.apache.sling.json.xml;
+package org.apache.sling.commons.json.xml;
 
-import org.apache.sling.json.JSONException;
-import org.apache.sling.json.JSONTokener;
+import org.apache.sling.commons.json.JSONException;
+import org.apache.sling.commons.json.JSONTokener;
 
 /*
 Copyright (c) 2002 JSON.org

Modified: incubator/sling/trunk/commons/mime/pom.xml
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/commons/mime/pom.xml?rev=592390&r1=592389&r2=592390&view=diff
==============================================================================
--- incubator/sling/trunk/commons/mime/pom.xml (original)
+++ incubator/sling/trunk/commons/mime/pom.xml Tue Nov  6 03:44:27 2007
@@ -28,7 +28,7 @@
         <relativePath>../parent/pom.xml</relativePath>
     </parent>
 
-    <artifactId>sling-mime</artifactId>
+    <artifactId>commons.mime</artifactId>
     <packaging>bundle</packaging>
     <version>2.0.0-incubator-SNAPSHOT</version>
 
@@ -39,13 +39,13 @@
 
     <scm>
         <connection>
-            scm:svn:http://svn.apache.org/repos/asf/incubator/sling/trunk/mime
+            scm:svn:http://svn.apache.org/repos/asf/incubator/sling/trunk/commons/mime
         </connection>
         <developerConnection>
-            scm:svn:https://svn.apache.org/repos/asf/incubator/sling/trunk/mime
+            scm:svn:https://svn.apache.org/repos/asf/incubator/sling/trunk/commons/mime
         </developerConnection>
         <url>
-            http://svn.apache.org/viewvc/incubator/sling/trunk/mime
+            http://svn.apache.org/viewvc/incubator/sling/trunk/commons/mime
         </url>
     </scm>
 
@@ -62,10 +62,10 @@
                 <configuration>
                     <instructions>
                         <Export-Package>
-                            org.apache.sling.mime
+                            org.apache.sling.commons.mime
                         </Export-Package>
                         <Private-Package>
-                            org.apache.sling.mime.internal
+                            org.apache.sling.commons.mime.internal
                         </Private-Package>
                     </instructions>
                 </configuration>

Copied: incubator/sling/trunk/commons/mime/src/main/java/org/apache/sling/commons/mime/MimeTypeProvider.java
(from r592370, incubator/sling/trunk/commons/mime/src/main/java/org/apache/sling/mime/MimeTypeProvider.java)
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/commons/mime/src/main/java/org/apache/sling/commons/mime/MimeTypeProvider.java?p2=incubator/sling/trunk/commons/mime/src/main/java/org/apache/sling/commons/mime/MimeTypeProvider.java&p1=incubator/sling/trunk/commons/mime/src/main/java/org/apache/sling/mime/MimeTypeProvider.java&r1=592370&r2=592390&rev=592390&view=diff
==============================================================================
--- incubator/sling/trunk/commons/mime/src/main/java/org/apache/sling/mime/MimeTypeProvider.java
(original)
+++ incubator/sling/trunk/commons/mime/src/main/java/org/apache/sling/commons/mime/MimeTypeProvider.java
Tue Nov  6 03:44:27 2007
@@ -14,7 +14,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-package org.apache.sling.mime;
+package org.apache.sling.commons.mime;
 
 /**
  * The <code>MimeTypeProvider</code> TODO

Copied: incubator/sling/trunk/commons/mime/src/main/java/org/apache/sling/commons/mime/MimeTypeService.java
(from r592370, incubator/sling/trunk/commons/mime/src/main/java/org/apache/sling/mime/MimeTypeService.java)
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/commons/mime/src/main/java/org/apache/sling/commons/mime/MimeTypeService.java?p2=incubator/sling/trunk/commons/mime/src/main/java/org/apache/sling/commons/mime/MimeTypeService.java&p1=incubator/sling/trunk/commons/mime/src/main/java/org/apache/sling/mime/MimeTypeService.java&r1=592370&r2=592390&rev=592390&view=diff
==============================================================================
--- incubator/sling/trunk/commons/mime/src/main/java/org/apache/sling/mime/MimeTypeService.java
(original)
+++ incubator/sling/trunk/commons/mime/src/main/java/org/apache/sling/commons/mime/MimeTypeService.java
Tue Nov  6 03:44:27 2007
@@ -14,7 +14,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-package org.apache.sling.mime;
+package org.apache.sling.commons.mime;
 
 import java.io.IOException;
 import java.io.InputStream;

Modified: incubator/sling/trunk/commons/mime/src/main/java/org/apache/sling/commons/mime/internal/MimeTypeServiceImpl.java
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/commons/mime/src/main/java/org/apache/sling/commons/mime/internal/MimeTypeServiceImpl.java?rev=592390&r1=592370&r2=592390&view=diff
==============================================================================
--- incubator/sling/trunk/commons/mime/src/main/java/org/apache/sling/commons/mime/internal/MimeTypeServiceImpl.java
(original)
+++ incubator/sling/trunk/commons/mime/src/main/java/org/apache/sling/commons/mime/internal/MimeTypeServiceImpl.java
Tue Nov  6 03:44:27 2007
@@ -14,7 +14,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-package org.apache.sling.mime.internal;
+package org.apache.sling.commons.mime.internal;
 
 import java.io.BufferedReader;
 import java.io.IOException;
@@ -27,8 +27,8 @@
 import java.util.List;
 import java.util.Map;
 
-import org.apache.sling.mime.MimeTypeProvider;
-import org.apache.sling.mime.MimeTypeService;
+import org.apache.sling.commons.mime.MimeTypeProvider;
+import org.apache.sling.commons.mime.MimeTypeService;
 import org.osgi.framework.Bundle;
 import org.osgi.framework.BundleEvent;
 import org.osgi.framework.BundleListener;
@@ -42,9 +42,9 @@
  * @scr.property name="service.vendor" value="The Apache Software Foundation"
  * @scr.property name="service.description" value="Sling Servlet"
  * @scr.reference name="MimeTypeProvider"
- *                interface="org.apache.sling.mime.MimeTypeProvider"
+ *                interface="org.apache.sling.commons.mime.MimeTypeProvider"
  *                cardinality="0..n" policy="dynamic"
- * @scr.service interface="org.apache.sling.mime.MimeTypeService"
+ * @scr.service interface="org.apache.sling.commons.mime.MimeTypeService"
  */
 public class MimeTypeServiceImpl implements MimeTypeService, BundleListener {
 

Modified: incubator/sling/trunk/commons/mime/src/test/java/org/apache/sling/commons/mime/internal/MimeTypeServiceImplTest.java
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/commons/mime/src/test/java/org/apache/sling/commons/mime/internal/MimeTypeServiceImplTest.java?rev=592390&r1=592370&r2=592390&view=diff
==============================================================================
--- incubator/sling/trunk/commons/mime/src/test/java/org/apache/sling/commons/mime/internal/MimeTypeServiceImplTest.java
(original)
+++ incubator/sling/trunk/commons/mime/src/test/java/org/apache/sling/commons/mime/internal/MimeTypeServiceImplTest.java
Tue Nov  6 03:44:27 2007
@@ -14,12 +14,13 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-package org.apache.sling.mime.internal;
+package org.apache.sling.commons.mime.internal;
 
 import java.io.IOException;
 import java.io.InputStream;
 
-import org.apache.sling.mime.MimeTypeProvider;
+import org.apache.sling.commons.mime.MimeTypeProvider;
+import org.apache.sling.commons.mime.internal.MimeTypeServiceImpl;
 
 import junit.framework.TestCase;
 



Mime
View raw message