You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@manifoldcf.apache.org by kw...@apache.org on 2010/07/07 14:27:20 UTC

svn commit: r961357 - in /incubator/lcf/trunk/modules: build.xml framework/jetty-example/properties.xml

Author: kwright
Date: Wed Jul  7 12:27:20 2010
New Revision: 961357

URL: http://svn.apache.org/viewvc?rev=961357&view=rev
Log:
Forgot to deal with the wsdd's in the quick-start - this checkin fixes that.

Modified:
    incubator/lcf/trunk/modules/build.xml
    incubator/lcf/trunk/modules/framework/jetty-example/properties.xml

Modified: incubator/lcf/trunk/modules/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/modules/build.xml?rev=961357&r1=961356&r2=961357&view=diff
==============================================================================
--- incubator/lcf/trunk/modules/build.xml (original)
+++ incubator/lcf/trunk/modules/build.xml Wed Jul  7 12:27:20 2010
@@ -506,6 +506,7 @@
 
     <target name="cleanup-example">
         <delete file="dist/example/connectors.xml"/>
+        <delete file="dist/example/properties.xml"/>
     </target>
     
     <target name="deliver-framework-example" depends="cleanup-example,build-framework">
@@ -595,8 +596,13 @@
         <copy todir="dist/example/connector-lib">
             <fileset dir="connectors/meridio/dist/lib"/>
         </copy>
+        <mkdir dir="dist/example/wsdd"/>
+        <copy todir="dist/example/wsdd">
+            <fileset dir="connectors/meridio/dist/wsdd"/>
+        </copy>
         <replace file="dist/example/connectors.xml" token="&lt;!-- Add your authority connectors here --&gt;" value="&lt;!-- Add your authority connectors here --&gt;&#0010;  &lt;authorityconnector name=&quot;Meridio&quot; class=&quot;org.apache.lcf.crawler.connectors.meridio.MeridioAuthority&quot;/&gt;"/>
         <replace file="dist/example/connectors.xml" token="&lt;!-- Add your repository connectors here --&gt;" value="&lt;!-- Add your repository connectors here --&gt;&#0010;  &lt;repositoryconnector name=&quot;Meridio&quot; class=&quot;org.apache.lcf.crawler.connectors.meridio.MeridioConnector&quot;/&gt;"/>
+        <replace file="dist/example/properties.xml" token="&lt;!-- WSDD references --&gt;" value="&lt;!-- WSDD references --&gt;&#0010;  &lt;property name=&quot;org.apache.lcf.meridio.wsddpath&quot; value=&quot;./wsdd/meridio-client-config.wsdd&quot;/&gt;"/>
     </target>
 
     <target name="deliver-nulloutput-example" depends="deliver-framework-example,build-nulloutput-connector,calculate-nulloutput-condition" if="nulloutput.include">
@@ -620,7 +626,12 @@
         <copy todir="dist/example/connector-lib">
             <fileset dir="connectors/sharepoint/dist/lib"/>
         </copy>
+        <mkdir dir="dist/example/wsdd"/>
+        <copy todir="dist/example/wsdd">
+            <fileset dir="connectors/sharepoint/dist/wsdd"/>
+        </copy>
         <replace file="dist/example/connectors.xml" token="&lt;!-- Add your repository connectors here --&gt;" value="&lt;!-- Add your repository connectors here --&gt;&#0010;  &lt;repositoryconnector name=&quot;SharePoint&quot; class=&quot;org.apache.lcf.crawler.connectors.sharepoint.SharePointRepository&quot;/&gt;"/>
+        <replace file="dist/example/properties.xml" token="&lt;!-- WSDD references --&gt;" value="&lt;!-- WSDD references --&gt;&#0010;  &lt;property name=&quot;org.apache.lcf.sharepoint.wsddpath&quot; value=&quot;./wsdd/sharepoint-client-config.wsdd&quot;/&gt;"/>
     </target>
 
     <target name="deliver-solr-example" depends="deliver-framework-example,build-solr-connector,calculate-solr-condition" if="solr.include">

Modified: incubator/lcf/trunk/modules/framework/jetty-example/properties.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/modules/framework/jetty-example/properties.xml?rev=961357&r1=961356&r2=961357&view=diff
==============================================================================
--- incubator/lcf/trunk/modules/framework/jetty-example/properties.xml (original)
+++ incubator/lcf/trunk/modules/framework/jetty-example/properties.xml Wed Jul  7 12:27:20 2010
@@ -17,9 +17,15 @@
 -->
 
 <configuration>
+  <!-- Select Derby as the database implementation, and specify where the database will be stored -->
   <property name="org.apache.lcf.databaseimplementationclass" value="org.apache.lcf.core.database.DBInterfaceDerby"/>
   <property name="org.apache.lcf.derbydatabasepath" value="."/>
+  <!-- Point to a specific logging file -->
   <property name="org.apache.lcf.logconfigfile" value="./logging.ini"/>
+  <!-- Specify the connectors to be loaded -->
   <property name="org.apache.lcf.connectorsconfigurationfile" value="./connectors.xml"/>
+  <!-- Tell LCF where to find the connector jars -->
   <libdir path="./connector-lib"/>
+  <!-- WSDD references -->
+  <!-- Any additional properties go here -->
 </configuration>