You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pubscribe-commits@ws.apache.org by sc...@apache.org on 2005/07/29 20:29:34 UTC

svn commit: r226414 - in /webservices/pubscribe/trunk/src: examples/consumer/readme.txt template/build.xml

Author: scamp
Date: Fri Jul 29 11:29:08 2005
New Revision: 226414

URL: http://svn.apache.org/viewcvs?rev=226414&view=rev
Log:
fixed build.xml for checking of prop set

Modified:
    webservices/pubscribe/trunk/src/examples/consumer/readme.txt
    webservices/pubscribe/trunk/src/template/build.xml

Modified: webservices/pubscribe/trunk/src/examples/consumer/readme.txt
URL: http://svn.apache.org/viewcvs/webservices/pubscribe/trunk/src/examples/consumer/readme.txt?rev=226414&r1=226413&r2=226414&view=diff
==============================================================================
--- webservices/pubscribe/trunk/src/examples/consumer/readme.txt (original)
+++ webservices/pubscribe/trunk/src/examples/consumer/readme.txt Fri Jul 29 11:29:08 2005
@@ -2,17 +2,17 @@
 
 ConsumerResource is a singleton....
 
-1. run ant generate
+1. run ant generate in ../examples/consumer
 
 2. cd to the generated/consumer dir
 
 3. copy method parts from method_impls dir into the generated files
 
-4. Modify the ConsumerPort_jndi-config.xml jndi config file to remove the resourceIdentifierReferenceParameterName parameter...This service is a singleton.
+4. Modify the Consumer_jndi-config.xml jndi config file to remove the resourceIdentifierReferenceParameterName parameter...This service is a singleton.
 
-5. run ant compile deploy to deploy to tomcat
+5. run ant compile deploy (in the generated/consumer dir) to deploy to tomcat
 
-6. copy the notifconsumer.jsp and epr directory to the root of the pubscribe webapp
+6. copy the notifconsumer.jsp and epr directory (from ../examples/consumer) to the root of the pubscribe webapp
 
 7. Make sure you've compiled/deployed the filesystem example.
 

Modified: webservices/pubscribe/trunk/src/template/build.xml
URL: http://svn.apache.org/viewcvs/webservices/pubscribe/trunk/src/template/build.xml?rev=226414&r1=226413&r2=226414&view=diff
==============================================================================
--- webservices/pubscribe/trunk/src/template/build.xml (original)
+++ webservices/pubscribe/trunk/src/template/build.xml Fri Jul 29 11:29:08 2005
@@ -14,13 +14,8 @@
    <property name="source.wsdl"           location="${basedir}" />
    
    <target name="init">
-     
-     <available file="../../webapps/pubscribe" type="dir" property="dist.pubscribe.webapp.dir" value="../../webapps/pubscribe" />         
-     <condition property="pubscribe.webapp.dir" value="${dist.pubscribe.webapp.dir}">
-        <isset property="dist.pubscribe.webapp.dir"/>
-     </condition>     
-          
-     <fail unless="pubscribe.webapp.dir" message="webapp dir ../../webapps/pubscribe does not exist." />    
+
+     <fail unless="pubscribe.webapp.dir" message="variable pubscribe.webapp.dir must be set in build.properties " />    
      <echo>Using webapp dir: ${pubscribe.webapp.dir}</echo>    
      <mkdir dir="${lib.dir}" />
      <path id="pubscribe.classpath.id">