Noticed that the dist and build targets of xml-soap are a bit different than for example for the serveletapi and for the tomcat-3.2 code. For soap they go into TOP/xml-soap/java/dist/.... and for the other projects they go into TOP/dist/<project>/... which is kind of convenient. Any reason for that ? Dw PS I realize that this is not my field; forgive me for being jakarta build ignorant; but please find attached a little diff: - moved dist to the same place as tomcat/servletapi - adds a tiny build.sh - adds a ejb dependency on the sample build's to allow build dist on MacOS X (still warning on java doc of course - which make no sense to mask I assume) whilst not having EJB.
Index: build.xml =================================================================== RCS file: /home/cvspublic/xml-soap/java/build.xml,v retrieving revision 1.36 diff -u -r1.36 build.xml --- build.xml 2001/05/30 11:59:01 1.36 +++ build.xml 2001/07/06 04:43:11 @@ -15,6 +15,7 @@ JavaMail from http://java.sun.com/products/javamail/ Java Activation Framework from http://java.sun.com/products/beans/glasgow/jaf.html + The servlet api jar 'servlet.jar' in your classpath. Optional additions: @@ -80,7 +81,9 @@ <property name="webapps" value="./webapps"/> <property name="dist.dir.name" value="soap-2_2"/> - <property name="dist.dir" value="./${dist.dir.name}"/> + <!-- or should we create a dir with ${dist.dir.name} and 'ln -s' --> + <!-- link it to a soap dir ? --> + + <property name="dist.dir" value="../../dist/soap"/> <property name="dist.bin.file" value="${name}-bin-${version}"/> <property name="dist.src.file" value="${name}-src-${version}"/> @@ -208,6 +211,8 @@ classpath="${build.lib}/${name}.jar" debug="${debug}"> <include name="samples/**/*.java" /> <exclude name="samples/**/*SMTP*.java" unless="smtp.present" /> + <exclude name="samples/ejb/*" unless="ejb.present" /> + <exclude name="samples/weblogic_ejb/*" unless="ejb.present" /> </javac> <copy todir="${build.samples}"> <fileset dir="${samples.dir}"/> Index: webapps/soap/admin/list.jsp =================================================================== RCS file: /home/cvspublic/xml-soap/java/webapps/soap/admin/list.jsp,v retrieving revision 1.2 diff -u -r1.2 list.jsp --- webapps/soap/admin/list.jsp 2001/02/02 03:30:36 1.2 +++ webapps/soap/admin/list.jsp 2001/07/06 04:45:15 @@ -3,6 +3,8 @@ <h1>Service Listing</h1> <% +try { + ServiceManager serviceManager = org.apache.soap.server.http.ServerHTTPUtils.getServiceManagerFromContext(application); @@ -25,4 +27,13 @@ </ul> <% } +} catch( Exception e) { + %> + <hr> + Uh Oh... error there... + <% + out.println(e); +} %> + +<hr> + End of page... +