cvs commit: jakarta-slide/proposals/projector/src/java/org/apache/slide/projector/application ApplicationManager.java
dflorey 2004/06/02 06:58:53 Modified:proposals/projector/src/java/org/apache/slide/projector/processor/xml XPathQuery.java proposals/projector/src/java/org/apache/slide/projector/engine ResultConfiguration.java Process.java ParameterConfiguration.java proposals/projector/src/java/org/apache/slide/projector Store.java proposals/projector/src/java/org/apache/slide/projector/connector/webdav WebdavConnector.java proposals/projector/src/java/org/apache/slide/projector/application ApplicationManager.java Added: proposals/projector/src/java/org/apache/slide/projector/processor/query ResultResolver.java Log: Improved DASLQuery-handling and fixed some bugs in the real core... Revision ChangesPath 1.3 +28 -24 jakarta-slide/proposals/projector/src/java/org/apache/slide/projector/processor/xml/XPathQuery.java Index: XPathQuery.java === RCS file: /home/cvs/jakarta-slide/proposals/projector/src/java/org/apache/slide/projector/processor/xml/XPathQuery.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- XPathQuery.java 1 Jun 2004 07:49:58 - 1.2 +++ XPathQuery.java 2 Jun 2004 13:58:53 - 1.3 @@ -28,16 +28,7 @@ public Value process(Value input, Context context) throws Exception { XPath xPath = XPath.newInstance(((StringValue)input).toString()); List nodeList = xPath.selectNodes(rootElement); -if ( nodeList.size() 1 ) { -List resources = new ArrayList(); -for ( Iterator i = nodeList.iterator(); i.hasNext(); ) { -resources.add(createResourceFromNode(i.next())); -} -Value[] array = new Value[resources.size()]; -return new ArrayValue((Value [])resources.toArray(array)); -} else { -return createResourceFromNode(nodeList.get(0)); -} +return createValueFromNodeList(nodeList); } public ParameterDescriptor getParameterDescriptor() { @@ -56,19 +47,32 @@ } } -private Value createResourceFromNode(Object node) throws ProcessException { -if ( node instanceof Element ) { -return new ElementValue((Element)node); -} else if ( node instanceof Attribute ) { -return new StringValue(((Attribute)node).getValue()); -} else if ( node instanceof Text ) { -return new StringValue(((Text)node).getText()); -} else if ( node instanceof Comment ) { -return new StringValue(((Comment)node).getText()); -} else if ( node instanceof CDATA ) { -return new StringValue(((CDATA)node).toString()); -} else if ( node instanceof ProcessingInstruction ) { -return new StringValue(((ProcessingInstruction)node).getData()); +public static Value createValueFromNodeList(List nodeList) throws ProcessException { + if ( nodeList.size() 1 ) { + List resources = new ArrayList(); + for ( Iterator i = nodeList.iterator(); i.hasNext(); ) { + resources.add(createValueFromNode(i.next())); + } + Value[] array = new Value[resources.size()]; + return new ArrayValue((Value [])resources.toArray(array)); + } else { + return createValueFromNode(nodeList.get(0)); + } +} + +public static Value createValueFromNode(Object node) throws ProcessException { + if ( node instanceof Element ) { + return new ElementValue((Element)node); + } else if ( node instanceof Attribute ) { + return new StringValue(((Attribute)node).getValue()); + } else if ( node instanceof Text ) { + return new StringValue(((Text)node).getText()); + } else if ( node instanceof Comment ) { + return new StringValue(((Comment)node).getText()); + } else if ( node instanceof CDATA ) { + return new StringValue(((CDATA)node).toString()); + } else if ( node instanceof ProcessingInstruction ) { + return new StringValue(((ProcessingInstruction)node).getData()); } throw new ProcessException(new ErrorMessage(unconvertableJDomNode)); } 1.5 +26 -6 jakarta-slide/proposals/projector/src/java/org/apache/slide/projector/engine/ResultConfiguration.java Index: ResultConfiguration.java === RCS file:
cvs commit: jakarta-slide/proposals/tamino/src/store/org/apache/slide/store/tamino/datastore/search XResourceImpl.java
juergen 2004/06/02 07:27:05 Modified: proposals/tamino/src/store/org/apache/slide/store/tamino/datastore/search XResourceImpl.java Log: First fix for a proper sorting. Revision ChangesPath 1.2 +150 -4 jakarta-slide/proposals/tamino/src/store/org/apache/slide/store/tamino/datastore/search/XResourceImpl.java Index: XResourceImpl.java === RCS file: /home/cvs/jakarta-slide/proposals/tamino/src/store/org/apache/slide/store/tamino/datastore/search/XResourceImpl.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- XResourceImpl.java25 Mar 2004 16:18:02 - 1.1 +++ XResourceImpl.java2 Jun 2004 14:27:05 - 1.2 @@ -24,16 +24,27 @@ import org.apache.slide.store.tamino.common.XGlobals; import org.apache.slide.store.tamino.datastore.XContentId; + +import java.io.StringReader; +import java.io.StringWriter; import java.util.Iterator; +import java.util.List; + import org.apache.slide.common.SlideException; import org.apache.slide.content.NodeProperty; import org.apache.slide.search.SearchException; import org.apache.slide.search.basic.ComparableResourceImpl; +import org.apache.slide.search.basic.ComparableResource; +import org.apache.slide.search.CompareHint; import org.apache.slide.search.basic.IBasicQuery; import org.apache.slide.structure.ObjectNode; import org.apache.slide.util.XMLValue; +import org.jdom.Document; import org.jdom.Element; import org.jdom.Namespace; +import org.jdom.input.SAXBuilder; +import org.jdom.output.XMLOutputter; +import org.jdom.xpath.XPath; /** * Represents one result set object. This implementation deals with the xdav @@ -180,6 +191,141 @@ xmlValue.add (result); } } + + +/** + * compares two RequestedResources according to OrderByHint. NULL values are + * always considered as lessThan. (see [DASL] 5.6). Called in orderBy context + * May only return 0 if the URIs are equal. + * If both properties are XML valued and this value was created by an xpath + * expression, do the specialised handling, else call the super method. + * + * @paramotherResource a RequestedResource + * @paramhintan OrderByHint + * + * @return an int + * + */ +public int compareTo (ComparableResource otherResource, CompareHint hint) { +int result = 0; + +if (getInternalHref().equals (otherResource.getInternalHref())) +return 0; + +Comparable otherValue = (Comparable)otherResource.getThisValue (hint.getPropName(), hint.getPropNamespace()); +Comparable thisValue = (Comparable) getThisValue (hint.getPropName(), hint.getPropNamespace()); + +if ((hint instanceof XCompareHint) (((XCompareHint)hint).getSortBy() != null) + (otherValue instanceof XMLValue) (thisValue instanceof XMLValue)) { +if (thisValue != null otherValue != null) { +result = compareXpathDrivenValues((XMLValue)thisValue, (XMLValue)otherValue, (XCompareHint)hint); +} +else if (thisValue == null) +result = -1; + +else if (otherValue == null) +result = 1; +} +else { + return super.compareTo(otherResource, hint); + +} + +if (hint.isAscending() == false) +result = result * -1; + +return result; +} + +public int compareXpathDrivenValues(XMLValue thisResource, XMLValue otherResource, XCompareHint hint) { +int result = 0; + +try { + + List thisList = XPath.newInstance(string(//+hint.getSortBy()+)).selectNodes(getElementAsElement((Element)(thisResource.getList().get(1; + List otherList = XPath.newInstance(string(//+hint.getSortBy()+)).selectNodes(getElementAsElement((Element)(otherResource.getList().get(1; + +// System.out.println( ); +// System.out.println(Element 1\n + getElementAsString((Element)(thisResource.getList().get(1; +// System.out.println(Element 2\n + getElementAsString((Element)(otherResource.getList().get(1; +// System.out.println(Comparing ); +// System.out.println(String1 = + otherList.get(0) ); +// System.out.println(String2 = + thisList.get(0) ); + + int thisSize = thisList.size(); + int otherSize = otherList.size(); + + // compare based on the size of the lists + if (thisSize != otherSize) { +
cvs commit: jakarta-slide/proposals/projector/src/applications/demo/templates - New directory
dflorey 2004/06/02 07:10:12 jakarta-slide/proposals/projector/src/applications/demo/templates - New directory - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-slide/proposals/projector/src/applications/core/templates/table - New directory
dflorey 2004/06/02 07:10:12 jakarta-slide/proposals/projector/src/applications/core/templates/table - New directory - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-slide/proposals/projector/src/applications/core/templates/style - New directory
dflorey 2004/06/02 07:10:12 jakarta-slide/proposals/projector/src/applications/core/templates/style - New directory - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-slide/proposals/projector/src/applications/core/templates/tree - New directory
dflorey 2004/06/02 07:10:12 jakarta-slide/proposals/projector/src/applications/core/templates/tree - New directory - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-slide/proposals/projector/src/applications/core/templates/box - New directory
dflorey 2004/06/02 07:10:12 jakarta-slide/proposals/projector/src/applications/core/templates/box - New directory - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-slide/proposals/projector/src/applications/core/templates/form - New directory
dflorey 2004/06/02 07:10:12 jakarta-slide/proposals/projector/src/applications/core/templates/form - New directory - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-slide/proposals/projector/src/applications/demo - New directory
dflorey 2004/06/02 07:10:12 jakarta-slide/proposals/projector/src/applications/demo - New directory - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-slide/proposals/tamino/src/store/org/apache/slide/store/tamino/datastore/search XResourceImpl.java
juergen 2004/06/02 06:44:41 Modified: proposals/tamino/src/store/org/apache/slide/store/tamino/datastore/search Tag: TWS421_BRANCH XResourceImpl.java Log: First fix for a proper sorting. Revision ChangesPath No revision No revision 1.1.4.1 +150 -4 jakarta-slide/proposals/tamino/src/store/org/apache/slide/store/tamino/datastore/search/XResourceImpl.java Index: XResourceImpl.java === RCS file: /home/cvs/jakarta-slide/proposals/tamino/src/store/org/apache/slide/store/tamino/datastore/search/XResourceImpl.java,v retrieving revision 1.1 retrieving revision 1.1.4.1 diff -u -r1.1 -r1.1.4.1 --- XResourceImpl.java25 Mar 2004 16:18:02 - 1.1 +++ XResourceImpl.java2 Jun 2004 13:44:40 - 1.1.4.1 @@ -24,16 +24,27 @@ import org.apache.slide.store.tamino.common.XGlobals; import org.apache.slide.store.tamino.datastore.XContentId; + +import java.io.StringReader; +import java.io.StringWriter; import java.util.Iterator; +import java.util.List; + import org.apache.slide.common.SlideException; import org.apache.slide.content.NodeProperty; import org.apache.slide.search.SearchException; import org.apache.slide.search.basic.ComparableResourceImpl; +import org.apache.slide.search.basic.ComparableResource; +import org.apache.slide.search.CompareHint; import org.apache.slide.search.basic.IBasicQuery; import org.apache.slide.structure.ObjectNode; import org.apache.slide.util.XMLValue; +import org.jdom.Document; import org.jdom.Element; import org.jdom.Namespace; +import org.jdom.input.SAXBuilder; +import org.jdom.output.XMLOutputter; +import org.jdom.xpath.XPath; /** * Represents one result set object. This implementation deals with the xdav @@ -180,6 +191,141 @@ xmlValue.add (result); } } + + +/** + * compares two RequestedResources according to OrderByHint. NULL values are + * always considered as lessThan. (see [DASL] 5.6). Called in orderBy context + * May only return 0 if the URIs are equal. + * If both properties are XML valued and this value was created by an xpath + * expression, do the specialised handling, else call the super method. + * + * @paramotherResource a RequestedResource + * @paramhintan OrderByHint + * + * @return an int + * + */ +public int compareTo (ComparableResource otherResource, CompareHint hint) { +int result = 0; + +if (getInternalHref().equals (otherResource.getInternalHref())) +return 0; + +Comparable otherValue = (Comparable)otherResource.getThisValue (hint.getPropName(), hint.getPropNamespace()); +Comparable thisValue = (Comparable) getThisValue (hint.getPropName(), hint.getPropNamespace()); + +if ((hint instanceof XCompareHint) (((XCompareHint)hint).getSortBy() != null) + (otherValue instanceof XMLValue) (thisValue instanceof XMLValue)) { +if (thisValue != null otherValue != null) { +result = compareXpathDrivenValues((XMLValue)thisValue, (XMLValue)otherValue, (XCompareHint)hint); +} +else if (thisValue == null) +result = -1; + +else if (otherValue == null) +result = 1; +} +else { + return super.compareTo(otherResource, hint); + +} + +if (hint.isAscending() == false) +result = result * -1; + +return result; +} + +public int compareXpathDrivenValues(XMLValue thisResource, XMLValue otherResource, XCompareHint hint) { +int result = 0; + +try { + + List thisList = XPath.newInstance(string(//+hint.getSortBy()+)).selectNodes(getElementAsElement((Element)(thisResource.getList().get(1; + List otherList = XPath.newInstance(string(//+hint.getSortBy()+)).selectNodes(getElementAsElement((Element)(otherResource.getList().get(1; + +// System.out.println( ); +// System.out.println(Element 1\n + getElementAsString((Element)(thisResource.getList().get(1; +// System.out.println(Element 2\n + getElementAsString((Element)(otherResource.getList().get(1; +// System.out.println(Comparing ); +// System.out.println(String1 = + otherList.get(0) ); +// System.out.println(String2 = + thisList.get(0) ); + + int thisSize = thisList.size(); + int otherSize = otherList.size(); + + // compare
cvs commit: jakarta-slide/proposals/projector/src/applications/core/config - New directory
dflorey 2004/06/02 07:10:11 jakarta-slide/proposals/projector/src/applications/core/config - New directory - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-slide/proposals/projector/src/applications/demo/query - New directory
dflorey 2004/06/02 07:10:12 jakarta-slide/proposals/projector/src/applications/demo/query - New directory - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-slide/proposals/projector/src/applications/demo/i18n - New directory
dflorey 2004/06/02 07:10:12 jakarta-slide/proposals/projector/src/applications/demo/i18n - New directory - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-slide/proposals/projector/src/applications/demo/content/news - New directory
dflorey 2004/06/02 07:10:12 jakarta-slide/proposals/projector/src/applications/demo/content/news - New directory - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-slide/proposals/projector/src/applications/core/style - New directory
dflorey 2004/06/02 07:10:11 jakarta-slide/proposals/projector/src/applications/core/style - New directory - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-slide/proposals/projector/src/applications/demo/content - New directory
dflorey 2004/06/02 07:10:12 jakarta-slide/proposals/projector/src/applications/demo/content - New directory - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-slide/proposals/projector/src/applications/demo/config - New directory
dflorey 2004/06/02 07:10:12 jakarta-slide/proposals/projector/src/applications/demo/config - New directory - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-slide/proposals/projector/src/applications/demo/site - New directory
dflorey 2004/06/02 07:10:12 jakarta-slide/proposals/projector/src/applications/demo/site - New directory - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-slide/proposals/projector/src/applications/demo/jobs - New directory
dflorey 2004/06/02 07:10:12 jakarta-slide/proposals/projector/src/applications/demo/jobs - New directory - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-slide/proposals/projector/src/applications/core/templates/page - New directory
dflorey 2004/06/02 07:10:12 jakarta-slide/proposals/projector/src/applications/core/templates/page - New directory - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-slide/proposals/projector/src/java/org/apache/slide/projector/processor/query ResultResolver.java
dflorey 2004/06/02 08:35:39 Modified:proposals/projector/src/java/org/apache/slide/projector/engine ProcessServlet.java proposals/projector/src/java/org/apache/slide/projector Constants.java HttpContext.java proposals/projector/src/conf web.xml proposals/projector build.xml todo.txt proposals/projector/src/java/org/apache/slide/projector/connector/webdav WebdavConnector.java proposals/projector/src/java/org/apache/slide/projector/processor/query ResultResolver.java Log: Projector now runs as independant webapp. Preparation for later cluster mode. Revision ChangesPath 1.8 +3 -0 jakarta-slide/proposals/projector/src/java/org/apache/slide/projector/engine/ProcessServlet.java Index: ProcessServlet.java === RCS file: /home/cvs/jakarta-slide/proposals/projector/src/java/org/apache/slide/projector/engine/ProcessServlet.java,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- ProcessServlet.java 1 Jun 2004 07:49:54 - 1.7 +++ ProcessServlet.java 2 Jun 2004 15:35:39 - 1.8 @@ -33,6 +33,9 @@ public void service(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { ApplicationManager.getInstance(); Context context = new HttpContext(request, response); +logger.log(Level.INFO, Request uri= + request.getRequestURI()); +logger.log(Level.INFO, Context path= + request.getContextPath()); +logger.log(Level.INFO, Servlet path= + request.getServletPath()); URI uri = new URIValue(request.getRequestURI().substring(request.getContextPath().length()+request.getServletPath().length()+1)); try { Result result; 1.10 +0 -1 jakarta-slide/proposals/projector/src/java/org/apache/slide/projector/Constants.java Index: Constants.java === RCS file: /home/cvs/jakarta-slide/proposals/projector/src/java/org/apache/slide/projector/Constants.java,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- Constants.java1 Jun 2004 16:13:10 - 1.9 +++ Constants.java2 Jun 2004 15:35:39 - 1.10 @@ -28,7 +28,6 @@ */ public final static Credentials CREDENTIALS = new UsernamePasswordCredentials(REPOSITORY_USER, REPOSITORY_PASSWORD); -public final static String PROCESS_SERVLET_PATH = /process; public static final String PROCESS_ID_PARAMETER = _process_id_; public static final String STEP_PARAMETER = step; public static final int PROCESS_ID_LENGTH = 12; 1.3 +1 -1 jakarta-slide/proposals/projector/src/java/org/apache/slide/projector/HttpContext.java Index: HttpContext.java === RCS file: /home/cvs/jakarta-slide/proposals/projector/src/java/org/apache/slide/projector/HttpContext.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- HttpContext.java 1 Jun 2004 07:49:54 - 1.2 +++ HttpContext.java 2 Jun 2004 15:35:39 - 1.3 @@ -20,7 +20,7 @@ private String contextPath; public HttpContext(HttpServletRequest request, HttpServletResponse response) { -this.contextPath = request.getContextPath()+Constants.PROCESS_SERVLET_PATH; +this.contextPath = request.getContextPath()+request.getServletPath(); sessionStore = new SessionStore(request); formStore = new FormStore(this, sessionStore); requestAttributeStore = new RequestAttributeStore(request); 1.3 +4 -4 jakarta-slide/proposals/projector/src/conf/web.xml Index: web.xml === RCS file: /home/cvs/jakarta-slide/proposals/projector/src/conf/web.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- web.xml 5 May 2004 09:58:08 - 1.2 +++ web.xml 2 Jun 2004 15:35:39 - 1.3 @@ -3,15 +3,15 @@ web-app !-- Definition and configuration of Projector's WebDAV servlet. -- servlet -servlet-nameprocess/servlet-name -display-nameProjectordisplay-name +servlet-nameprojector/servlet-name +display-nameProjector/display-name servlet-classorg.apache.slide.projector.engine.ProcessServlet/servlet-class load-on-startup1/load-on-startup /servlet !-- The mapping for the process servlet. -- servlet-mapping -servlet-nameprocess/servlet-name -url-pattern//url-pattern +
[GUMP@brutus]: jakarta-slide/jakarta-slide failed
To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact folk at [EMAIL PROTECTED] Project jakarta-slide has an issue affecting its community integration. Project State : 'Failed', Reason 'Build Failed' Full details are available at: http://brutus.apache.org:8080/gump/jakarta-slide/jakarta-slide/index.html That said, some snippets follow: The following annotations were provided: -WARNING- Unnamed property for [jakarta-slide] in depend on: jakarta-lucene -WARNING- Unnamed property for [jakarta-slide] in depend on: jaxen -INFO- Dependency on xml-xerces exists, no need to add for property xmlparser.jar. -INFO- Dependency on antlr exists, no need to add for property antlr-tools.jar. -INFO- Dependency on dist-ant exists, no need to add for property ant.jar. -INFO- Dependency on jmx exists, no need to add for property jmx.jar. -INFO- Dependency on jakarta-struts exists, no need to add for property struts.lib. -INFO- Dependency on jakarta-taglibs-standard exists, no need to add for property jstl.jar. -INFO- Dependency on jakarta-taglibs-standard exists, no need to add for property taglibs-standard.jar. -INFO- Dependency on jakarta-tomcat-4.0 exists, no need to add for property catalina.dist. -INFO- Enable verbose output, due to 1 previous error(s). -INFO- Failed with reason build failed -INFO- Enable debug output, due to build failure. The following work was performed: http://brutus.apache.org:8080/gump/jakarta-slide/jakarta-slide/gump_work/build_jakarta-slide_jakarta-slide.html Work Name: build_jakarta-slide_jakarta-slide (Type: Build) State: Failed Elapsed: 0 hours, 0 minutes, 20 seconds Command Line: java -Djava.awt.headless=true -Xbootclasspath/p:/usr/local/gump/public/workspace/xml-xerces2/java/build/xercesImpl.jar:/usr/local/gump/public/workspace/xml-xerces2/java/build/xml-apis.jar:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar:/usr/local/gump/public/workspace/xml-xalan/java/build/xalan-unbundled.jar org.apache.tools.ant.Main -verbose -Dgump.merge=/usr/local/gump/public/gump/work/merge.xml -Dbuild.sysclasspath=only -Djakarta-lucene=/usr/local/gump/public/workspace/jakarta-lucene/build/lucene-20040602.jar -Djdbc20ext.jar=/usr/local/gump/packages/jdbc2_0/jdbc2_0-stdext.jar -Dantlr-tools.jar=/usr/local/gump/packages/antlr-2.7.3/antlr.jar -Djaxp.jar=/usr/local/gump/packages/java_xml_pack-summer-02_01/jaxp-1.2_01/jaxp-api.jar -Dservlet.jar=/usr/local/gump/public/workspace/jakarta-servletapi-4/lib/servlet.jar -Djstl.jar=/usr/local/gump/public/workspace/jakarta-taglibs/dist/standard/lib/jstl.jar -Djunit.jar=/usr/local/gump/public/workspace/dist/junit/junit.jar -Dcommons-httpclient.jar=/usr/local/gump/public/workspace/commons-httpclient-20-branch/dist/commons-httpclient-2.0-20040602.jar -Dxmlparser.jar=/usr/local/gump/public/workspace/xml-xerces2/java/build/xercesImpl.jar -Djmx.jar=/usr/local/gump/packages/jmx-1_2-ri/lib/jmxri.jar -Dstruts.lib=/usr/local/gump/public/workspace/jakarta-struts/dist/lib -Dantlr.jar=/usr/local/gump/packages/antlr-2.7.3/antlr.jar -Dversion=20040602 -Djaxen=/usr/local/gump/public/workspace/jaxen/target/jaxen-20040602.jar -Dxmlapi.jar=/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar -Dtaglibs-standard.jar=/usr/local/gump/public/workspace/jakarta-taglibs/dist/standard/lib/standard.jar -Dlog4j.jar=/usr/local/gump/public/workspace/logging-log4j/log4j-20040602.jar -Djdom.jar=/usr/local/gump/public/workspace/jdom/build/jdom.jar -Djndi.jar=/usr/local/gump/packages/jndi1_2_1/lib/jndi.jar -Dcatalina.dist=/usr/local/gump/public/workspace/jakarta-tomcat-4.0/dist -Dcommons-modeler.jar=/usr/local/gump/public/workspace/jakarta-commons/modeler/dist/commons-modeler.jar -Dant.jar=/usr/local/gump/public/workspace/ant/build/lib/ant.jar -Djta.jar=/usr/local/gump/packages/jta-spec1_0_1/jta-spec1_0_1.jar full-dist [Working Directory: /usr/local/gump/public/workspace/jakarta-slide] CLASSPATH : /usr/local/j2sdk1.4.2_04/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-slide/build/classes:/usr/local/gump/public/workspace/jakarta-slide/build/client/classes:/usr/local/gump/public/workspace/jakarta-slide/webdavclient/build/clientlib/classes:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-20040602.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-stylebook.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/public/workspace/jakarta-commons/dbcp/dist/commons
Re: [VOTE] 2.1 supports JDK1.4 only
I guess a lot of people can understand this angel - do we need to post retraction votes or do we simply drop this subject for now? /jacob - Original Message - From: Oliver Zeigermann [EMAIL PROTECTED] To: Slide Developers Mailing List [EMAIL PROTECTED] Sent: Tuesday, June 01, 2004 12:55 PM Subject: Re: [VOTE] 2.1 supports JDK1.4 only Call me insane or weak-minded, but even though I initiated this vote I will have to change my vote from +1 to -1. To release something incompatible in a feature release (2.0 - 2.1) really isn't somehing that puts trust into users and might bring people already using 2.0 into big trouble. Even though the time to think about a 3.0 release certainly is not now, we should defer JDK 1.4 plans to 3.0... Sorry for causing inconvenience, it simply was my fault to prematurely bring this to a vote :( Oliver To concentrate on a single JDK and have the nice features of JDK 1.4 avaialble (NIO for the tx file store and maybe other stuff, Logging, Exceptions having causes, etc.) I propose to support JDK1.4 (no longer JDK1.3) for the next 2.1 release. This means my vote for this is +1 Please vote: - +1: Yes, please - +-0: I do not care - -1: No, because... Cheers, Oliver - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 29348] - Support for Redirect Reference Resources
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=29348. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=29348 Support for Redirect Reference Resources --- Additional Comments From [EMAIL PROTECTED] 2004-06-02 19:47 --- Created an attachment (id=11732) diff -u and new java files for redirectref implementation - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 29348] - Support for Redirect Reference Resources
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=29348. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=29348 Support for Redirect Reference Resources --- Additional Comments From [EMAIL PROTECTED] 2004-06-02 19:56 --- Attached patches and new files to add redirect reference support. Support is controlled by the Configuration class and can be enabled/disabled using the property org.apache.slide.redirectreferences. DirectoryIndexGenerator has been updated to append an asterisk to redirect reference resources. Patch includes workaround for WebFolders which keep the WebFolder client from displaying the redirect references as collections. There is a known issue with relative URI references. Relative references are supposed to be interpreted relative to the requesting resource. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [VOTE] 2.1 supports JDK1.4 only
Depends. If you other people still insist on exclusive JDK1.4 support for 2.1 there isn't much I can do about it. I am not the boss or anything like this. This is no official vote either, rather something to see whether our interests are aligned. Thus you can either convince me to change my vote or the majority decides what to do here. I still would like to discuss this a bit further before making final decisions. Maybe other people change their position as well (or I revert mine again ;) ). Let me bring more meat into the thing by giving what (1) Geir Magnusson Jr says about it: The Slide community has a problem to make a decision if JDK 1.3 support, which was guaranteed in the Slide 2.0 release, shall be discontinued in the 2.1 release. While committers and contributors agreed to switch to JDK 1.4 there were voices from users who asked to retain JDK 1.3 compatibility. Is there any general rule in Jakarta for (a) discontinuing JDK in a feature release (e.g. 2.0 - 2.1) My personal opinion is that dropping support for 1.3, a very popular JDK used in a lot of production is a bad idea if you don't have to, and if you do, doing it in a feature release is a worse one There are going to be people stuck on 1.3 for a long time coming. Maybe call 3.0 your 1.4 release? Let people maintain 2.x in parallel w/ 3.x? (b) JDK support in general I am pretty new to the whole Apache thing and am rather clueless what to do here. Is the voice of committers and contributors to be preferred over the voice of the user? There's no official policy. My personal opinion - I think users are the engine that drives things, and is where your next committers are coming from... geir (2) and what Stefan Bodewig thinks: On Tue, 01 Jun 2004, Oliver Zeigermann [EMAIL PROTECTED] wrote: Is there any general rule in Jakarta for No general rule coming from thre PMC, this really is a decision each project has to take separately. Like Geir I can only voice my opinion here. Maybe this would be a topic for the general list? (a) discontinuing JDK in a feature release (e.g. 2.0 - 2.1) When Ant went from 1.5 to 1.6, we dropped support for JDK 1.1 and some users have been unhappy about it. You have to ask yourself what a switch is going to give as a gain to you as developers as well as the users - and contrast this with what you lose. I know that one of our bigger customers is using an application server farm on top of JDK 1.3 and that they'd be very unwilling to move on to 1.4 (read, they'd rather terminate our contract). They've just come from JDK 1.1 about eighteen months ago. In my experience, big shops are rather slow in moving. What are the reasons you want to switch? Are they relevant to your users at all? Is the voice of committers and contributors to be preferred over the voice of the user? In the end, those who do the work make the decisions. If maintaining compatibility to JDK 1.3 is too difficult to do, nobody is going to care for it and you either silently drop support for it (by not recognizing that your code won't work on JDK 1.3) or stop getting any work done at all. I'm with Geir that you shouldn't take the decision lightly and that you really ought to listen to your users, but finally the committers have to decide. If the users can't convince you to stick with JDK 1.3, what else could? Stefan I think both positions have their pros and cons... Oliver Jacob Lund wrote: I guess a lot of people can understand this angel - do we need to post retraction votes or do we simply drop this subject for now? /jacob - Original Message - From: Oliver Zeigermann [EMAIL PROTECTED] To: Slide Developers Mailing List [EMAIL PROTECTED] Sent: Tuesday, June 01, 2004 12:55 PM Subject: Re: [VOTE] 2.1 supports JDK1.4 only Call me insane or weak-minded, but even though I initiated this vote I will have to change my vote from +1 to -1. To release something incompatible in a feature release (2.0 - 2.1) really isn't somehing that puts trust into users and might bring people already using 2.0 into big trouble. Even though the time to think about a 3.0 release certainly is not now, we should defer JDK 1.4 plans to 3.0... Sorry for causing inconvenience, it simply was my fault to prematurely bring this to a vote :( Oliver To concentrate on a single JDK and have the nice features of JDK 1.4 avaialble (NIO for the tx file store and maybe other stuff, Logging, Exceptions having causes, etc.) I propose to support JDK1.4 (no longer JDK1.3) for the next 2.1 release. This means my vote for this is +1 Please vote: - +1: Yes, please - +-0: I do not care - -1: No, because... Cheers, Oliver - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]