You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by sc...@apache.org on 2007/01/31 22:58:03 UTC

svn commit: r502015 - /incubator/uima/uimaj/trunk/uima-docbooks/src/docbook/references/ref.xml.cpe_descriptor.xml

Author: schor
Date: Wed Jan 31 13:58:03 2007
New Revision: 502015

URL: http://svn.apache.org/viewvc?view=rev&rev=502015
Log:
No Jira - update CPE import href= to say takes URL as well as
file spec.

Modified:
    incubator/uima/uimaj/trunk/uima-docbooks/src/docbook/references/ref.xml.cpe_descriptor.xml

Modified: incubator/uima/uimaj/trunk/uima-docbooks/src/docbook/references/ref.xml.cpe_descriptor.xml
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uima-docbooks/src/docbook/references/ref.xml.cpe_descriptor.xml?view=diff&rev=502015&r1=502014&r2=502015
==============================================================================
--- incubator/uima/uimaj/trunk/uima-docbooks/src/docbook/references/ref.xml.cpe_descriptor.xml (original)
+++ incubator/uima/uimaj/trunk/uima-docbooks/src/docbook/references/ref.xml.cpe_descriptor.xml Wed Jan 31 13:58:03 2007
@@ -183,26 +183,27 @@
       
       
       <programlisting><![CDATA[<descriptor>
-    <include href="[File]"/>
+    <include href="[URL or File]"/>
 </descriptor>]]></programlisting></para>
     
-    <para>The <literal>[File]</literal> attribute is a filename for the descriptor of the
-      incorporated component. A fully qualified filename may be provided, or the filename
-      may relative to a directory specified using the <literal>CPM_HOME</literal>
-      variable, e.g.,</para>
-    
+    <para>The <literal>[URL or File]</literal> attribute is a URL or a filename for the descriptor of the
+      incorporated component. The argument is first attempted to be resolved as a URL.</para>
     
+    <para>
+      A fully qualified filename may be provided, or the filename
+      may relative to a directory specified using the <literal>CPM_HOME</literal>
+      variable, e.g.,    
     <programlisting>&lt;descriptor&gt;
     &lt;include href="${CPM_HOME}/desc_dir/descriptor.xml"/&gt;
 &lt;/descriptor&gt;</programlisting>
     
-    <para>In this case, the value for the <literal>CPM_HOME</literal> variable must be
-      provided to the CPE by specifying it on the Java command line, e.g.,</para>
+      In this case, the value for the <literal>CPM_HOME</literal> variable must be
+      provided to the CPE by specifying it on the Java command line, e.g.,
     
     
     <programlisting>java -DCPM_HOME="C:/Program Files/apache/uima/cpm" ...</programlisting>
     
-    <para>Note that this mechanism for referencing other component descriptor files is
+    Note that this mechanism for referencing other component descriptor files is
       different from and in no way related to either of the two import mechanisms described in
         <olink targetdoc="&uima_docs_ref;"
         targetptr="ugr.ref.xml.component_descriptor"/>.</para>
@@ -1358,6 +1359,5 @@
   </cpeConfig>
 </cpeDescription>]]></programlisting>
     </section>
-
   
 </chapter>