incubator-graffito-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clomb...@apache.org
Subject svn commit: r159734 - in incubator/graffito/trunk/applications: browser/ browser/src/java/org/apache/portals/graffito/portlets/util/ browser/src/java/org/apache/portals/graffito/servlets/ graffito-portlets/
Date Fri, 01 Apr 2005 21:34:46 GMT
Author: clombart
Date: Fri Apr  1 13:34:45 2005
New Revision: 159734

URL: http://svn.apache.org/viewcvs?view=rev&rev=159734
Log:
* Create a new subproject : graffito commons which contains common classes used in other Graffito
projects :
- Common exception
- Common util classes

Modified:
    incubator/graffito/trunk/applications/browser/.classpath
    incubator/graffito/trunk/applications/browser/project.xml
    incubator/graffito/trunk/applications/browser/src/java/org/apache/portals/graffito/portlets/util/BrowserDTOUtil.java
    incubator/graffito/trunk/applications/browser/src/java/org/apache/portals/graffito/servlets/GraffitoViewerServlet.java
    incubator/graffito/trunk/applications/graffito-portlets/.classpath
    incubator/graffito/trunk/applications/graffito-portlets/.project
    incubator/graffito/trunk/applications/graffito-portlets/project.xml

Modified: incubator/graffito/trunk/applications/browser/.classpath
URL: http://svn.apache.org/viewcvs/incubator/graffito/trunk/applications/browser/.classpath?view=diff&r1=159733&r2=159734
==============================================================================
--- incubator/graffito/trunk/applications/browser/.classpath (original)
+++ incubator/graffito/trunk/applications/browser/.classpath Fri Apr  1 13:34:45 2005
@@ -5,6 +5,8 @@
   </classpathentry>
   <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER">
   </classpathentry>
+  <classpathentry kind="var" path="MAVEN_REPO/graffito/jars/graffito-commons-1.0-a1-dev.jar">
+  </classpathentry>
   <classpathentry kind="var" path="MAVEN_REPO/graffito/jars/graffito-api-1.0-a1-dev.jar">
   </classpathentry>
   <classpathentry kind="var" path="MAVEN_REPO/servletapi/jars/servletapi-2.3.jar">

Modified: incubator/graffito/trunk/applications/browser/project.xml
URL: http://svn.apache.org/viewcvs/incubator/graffito/trunk/applications/browser/project.xml?view=diff&r1=159733&r2=159734
==============================================================================
--- incubator/graffito/trunk/applications/browser/project.xml (original)
+++ incubator/graffito/trunk/applications/browser/project.xml Fri Apr  1 13:34:45 2005
@@ -14,6 +14,11 @@
 	</repository>
 	<dependencies>
 		<dependency>
+			<id>graffito-commons</id>
+			<groupId>graffito</groupId>
+			<version>1.0-a1-dev</version>
+		</dependency>		
+		<dependency>
 			<id>graffito-api</id>
 			<groupId>graffito</groupId>
 			<version>1.0-a1-dev</version>

Modified: incubator/graffito/trunk/applications/browser/src/java/org/apache/portals/graffito/portlets/util/BrowserDTOUtil.java
URL: http://svn.apache.org/viewcvs/incubator/graffito/trunk/applications/browser/src/java/org/apache/portals/graffito/portlets/util/BrowserDTOUtil.java?view=diff&r1=159733&r2=159734
==============================================================================
--- incubator/graffito/trunk/applications/browser/src/java/org/apache/portals/graffito/portlets/util/BrowserDTOUtil.java
(original)
+++ incubator/graffito/trunk/applications/browser/src/java/org/apache/portals/graffito/portlets/util/BrowserDTOUtil.java
Fri Apr  1 13:34:45 2005
@@ -32,7 +32,7 @@
 import org.apache.portals.graffito.model.CmsObject;
 import org.apache.portals.graffito.model.Folder;
 import org.apache.portals.graffito.portlets.dto.BrowserDTO;
-import org.apache.portals.graffito.util.CmsUtil;
+import org.apache.portals.graffito.util.UriUtil;
 
 /**
  * Utility class used to manage BrowserDTO DTO from the portlet session
@@ -133,7 +133,7 @@
             {
                 browserDTO.setCurrentFolder(cmsObject.getParentFolder());
             }
-            String scopeServer = CmsUtil.getServerScope(uri);
+            String scopeServer = UriUtil.getServerScope(uri);
             browserDTO.setCurrentServer(serverService.getServer(scopeServer));
 
             return browserDTO;

Modified: incubator/graffito/trunk/applications/browser/src/java/org/apache/portals/graffito/servlets/GraffitoViewerServlet.java
URL: http://svn.apache.org/viewcvs/incubator/graffito/trunk/applications/browser/src/java/org/apache/portals/graffito/servlets/GraffitoViewerServlet.java?view=diff&r1=159733&r2=159734
==============================================================================
--- incubator/graffito/trunk/applications/browser/src/java/org/apache/portals/graffito/servlets/GraffitoViewerServlet.java
(original)
+++ incubator/graffito/trunk/applications/browser/src/java/org/apache/portals/graffito/servlets/GraffitoViewerServlet.java
Fri Apr  1 13:34:45 2005
@@ -25,8 +25,6 @@
 import javax.servlet.http.HttpServletRequest;
 import javax.servlet.http.HttpServletResponse;
 
-import org.apache.jetspeed.services.JetspeedPortletServices;
-import org.apache.jetspeed.services.PortletServices;
 import org.apache.portals.graffito.ContentModelService;
 import org.apache.portals.graffito.exception.ContentManagementException;
 import org.apache.portals.graffito.model.Document;

Modified: incubator/graffito/trunk/applications/graffito-portlets/.classpath
URL: http://svn.apache.org/viewcvs/incubator/graffito/trunk/applications/graffito-portlets/.classpath?view=diff&r1=159733&r2=159734
==============================================================================
--- incubator/graffito/trunk/applications/graffito-portlets/.classpath (original)
+++ incubator/graffito/trunk/applications/graffito-portlets/.classpath Fri Apr  1 13:34:45
2005
@@ -5,6 +5,8 @@
   </classpathentry>
   <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER">
   </classpathentry>
+  <classpathentry kind="var" path="MAVEN_REPO/graffito/jars/graffito-commons-1.0-a1-dev.jar">
+  </classpathentry>
   <classpathentry kind="var" path="MAVEN_REPO/graffito/jars/graffito-api-1.0-a1-dev.jar">
   </classpathentry>
   <classpathentry kind="var" path="MAVEN_REPO/servletapi/jars/servletapi-2.3.jar">
@@ -38,6 +40,10 @@
   <classpathentry kind="var" path="MAVEN_REPO/commons-el/jars/commons-el-1.0.jar">
   </classpathentry>
   <classpathentry kind="var" path="MAVEN_REPO/commons-fileupload/jars/commons-fileupload-1.0.jar">
+  </classpathentry>
+  <classpathentry kind="var" path="MAVEN_REPO/jetspeed2/jars/jetspeed2-taglib-treecontrol-2.0-M2-dev.jar">
+  </classpathentry>
+  <classpathentry kind="var" path="MAVEN_REPO/springframework/jars/spring-core-1.1.5.jar">
   </classpathentry>
   <classpathentry kind="output" path="target/classes">
   </classpathentry>

Modified: incubator/graffito/trunk/applications/graffito-portlets/.project
URL: http://svn.apache.org/viewcvs/incubator/graffito/trunk/applications/graffito-portlets/.project?view=diff&r1=159733&r2=159734
==============================================================================
--- incubator/graffito/trunk/applications/graffito-portlets/.project (original)
+++ incubator/graffito/trunk/applications/graffito-portlets/.project Fri Apr  1 13:34:45 2005
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 
 <projectDescription>
-  <name>graffito-browser</name>
+  <name>graffito-portlets</name>
   <comment>Graffito Portlets</comment>
   <projects>
   </projects>

Modified: incubator/graffito/trunk/applications/graffito-portlets/project.xml
URL: http://svn.apache.org/viewcvs/incubator/graffito/trunk/applications/graffito-portlets/project.xml?view=diff&r1=159733&r2=159734
==============================================================================
--- incubator/graffito/trunk/applications/graffito-portlets/project.xml (original)
+++ incubator/graffito/trunk/applications/graffito-portlets/project.xml Fri Apr  1 13:34:45
2005
@@ -14,6 +14,12 @@
 	</repository>
 	<dependencies>
 		<dependency>
+			<id>graffito-commons</id>
+			<groupId>graffito</groupId>
+			<version>1.0-a1-dev</version>
+		</dependency>
+		
+		<dependency>
 			<id>graffito-api</id>
 			<groupId>graffito</groupId>
 			<version>1.0-a1-dev</version>



Mime
View raw message