[MOBY-guts] biomoby commit

Martin Senger senger at dev.open-bio.org
Thu Feb 14 06:13:37 UTC 2008


senger
Thu Feb 14 01:13:37 EST 2008
Update of /home/repository/moby/moby-live/Java/src/main/org/biomoby/service/test
In directory dev.open-bio.org:/tmp/cvs-serv22473/src/main/org/biomoby/service/test

Modified Files:
	TestHttpServletRequest.java TestServletContext.java 
Log Message:
Mavenization of jMoby. Many changes in build files and in the documentation.

moby-live/Java/src/main/org/biomoby/service/test TestHttpServletRequest.java,1.3,1.4 TestServletContext.java,1.3,1.4
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/service/test/TestHttpServletRequest.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/service/test/TestHttpServletRequest.java	2007/12/14 16:23:34	1.3
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/service/test/TestHttpServletRequest.java	2008/02/14 06:13:37	1.4
@@ -21,6 +21,13 @@
     private Hashtable parameters = new Hashtable();
     private ServletInputStream servletInputStream = null;
     private StringBuffer urlStringBuffer = new StringBuffer();
+
+    public int getLocalPort() {
+	return 80;
+    }    
+    public int getRemotePort() {
+	return 80;
+    }    
     
     public void setParameter(String key, String value) {
 	parameters.put(key, value);
@@ -134,4 +141,6 @@
     public String getCharacterEncoding(){return null;}
     public void setAttribute(String name, Object o) {}
     public boolean isRequestedSessionIdFromURL() {return false;}
+    public String getLocalAddr(){return null;}
+    public String getLocalName(){return null;}
 }

===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/service/test/TestServletContext.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/service/test/TestServletContext.java	2007/12/06 16:41:58	1.3
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/service/test/TestServletContext.java	2008/02/14 06:13:37	1.4
@@ -49,4 +49,5 @@
     public java.util.Enumeration getServlets(){return null;}
     public void removeAttribute(String name){}
     public void setAttribute(String name, Object object){}
+    public String getContextPath() {return null;}
 }




More information about the MOBY-guts mailing list