You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@oodt.apache.org by bf...@apache.org on 2010/12/23 03:48:11 UTC

svn commit: r1052148 [16/17] - in /oodt/branches/wengine-branch/filemgr: ./ .settings/ src/ src/main/ src/main/assembly/ src/main/bin/ src/main/java/ src/main/java/gov/ src/main/java/gov/nasa/ src/main/java/gov/nasa/jpl/ src/main/java/gov/nasa/jpl/oodt...

Added: oodt/branches/wengine-branch/filemgr/src/main/resources/cas-filemgr-validationlayer-schema-oracle.sql
URL: http://svn.apache.org/viewvc/oodt/branches/wengine-branch/filemgr/src/main/resources/cas-filemgr-validationlayer-schema-oracle.sql?rev=1052148&view=auto
==============================================================================
--- oodt/branches/wengine-branch/filemgr/src/main/resources/cas-filemgr-validationlayer-schema-oracle.sql (added)
+++ oodt/branches/wengine-branch/filemgr/src/main/resources/cas-filemgr-validationlayer-schema-oracle.sql Thu Dec 23 02:48:02 2010
@@ -0,0 +1,29 @@
+SET ECHO ON;
+ALTER SESSION SET NLS_DATE_FORMAT='YYYY-MM-DD hh24:mi:ss';
+
+CREATE TABLE ELEMENTS (
+  ELEMENT_ID number(11) NOT NULL ,
+  ELEMENT_NAME VARCHAR(255)  DEFAULT  ''NOT NULL, 
+  DATA_TYPE_ID number(11)  DEFAULT  '0'NOT NULL, 
+  DC_ELEMENT VARCHAR(100) DEFAULT '',
+  ELEMENT_DESCRIPTION VARCHAR(255)  DEFAULT  ''NOT NULL, 
+  PRIMARY KEY  (ELEMENT_ID)
+);
+
+CREATE TABLE PRODUCT_TYPE_ELEMENT_MAP (
+  PRODUCT_TYPE_ELEMENT_MAP_ID number(11) NOT NULL ,
+  PRODUCT_TYPE_ID number(11)  DEFAULT  '0'NOT NULL, 
+  ELEMENT_ID number(11)  DEFAULT  '0'NOT NULL, 
+  PRIMARY KEY  (PRODUCT_TYPE_ELEMENT_MAP_ID)
+);
+
+CREATE TABLE SUB_TO_SUPER_MAP (
+  PRODUCT_TYPE_ID number(11) DEFAULT '0'NOT NULL,
+  PARENT_ID number(11) DEFAULT '0'NOT NULL,
+  PRIMARY KEY (PRODUCT_TYPE_ID)
+);	
+
+CREATE INDEX ELEMENTS_IDX  ON  ELEMENTS(seqno);  
+CREATE INDEX PRDCT_TYP_LMNT_MP_DX  ON  PRODUCT_TYPE_ELEMENT_MAP(seqno);  
+CREATE INDEX SUB_TO_SUPER_MP_DX ON SUB_TO_SUPER_MAP(seqno);
+EXIT;

Added: oodt/branches/wengine-branch/filemgr/src/main/resources/cas_filemgr_create_oracle_sequences.sql
URL: http://svn.apache.org/viewvc/oodt/branches/wengine-branch/filemgr/src/main/resources/cas_filemgr_create_oracle_sequences.sql?rev=1052148&view=auto
==============================================================================
--- oodt/branches/wengine-branch/filemgr/src/main/resources/cas_filemgr_create_oracle_sequences.sql (added)
+++ oodt/branches/wengine-branch/filemgr/src/main/resources/cas_filemgr_create_oracle_sequences.sql Thu Dec 23 02:48:02 2010
@@ -0,0 +1,59 @@
+create sequence products_seq
+start with 1
+increment by 1
+nomaxvalue;
+
+create trigger products_trigger
+before insert on products
+for each row
+begin
+select products_seq.nextval into :new.product_id from dual;
+end;
+
+create sequence product_types_seq
+start with 1
+increment by 1
+nomaxvalue;
+
+create trigger product_types_trigger
+before insert on product_types
+for each row
+begin
+select product_types_seq.nextval into :new.product_type_id from dual;
+end;
+
+create sequence elements_seq
+start with 1
+increment by 1
+nomaxvalue;
+
+create trigger elements_trigger
+before insert on elements
+for each row
+begin
+select elements_seq.nextval into :new.element_id from dual;
+end;
+
+create sequence product_type_element_map_seq
+start with 1
+increment by 1
+nomaxvalue;
+
+create trigger ptype_element_map_trigger
+before insert on product_type_element_map
+for each row
+begin
+select product_type_element_map_seq.nextval into :new.product_type_element_map_id from dual;
+end;
+
+create sequence data_types_seq
+start with 1
+increment by 1
+nomaxvalue;
+
+create trigger data_types_trigger
+before insert on data_types
+for each row
+begin
+select data_types_seq.nextval into :new.data_type_id from dual;
+end;
\ No newline at end of file

Added: oodt/branches/wengine-branch/filemgr/src/main/resources/catalog.typemap.properties
URL: http://svn.apache.org/viewvc/oodt/branches/wengine-branch/filemgr/src/main/resources/catalog.typemap.properties?rev=1052148&view=auto
==============================================================================
--- oodt/branches/wengine-branch/filemgr/src/main/resources/catalog.typemap.properties (added)
+++ oodt/branches/wengine-branch/filemgr/src/main/resources/catalog.typemap.properties Thu Dec 23 02:48:02 2010
@@ -0,0 +1,15 @@
+# Copyright (c) 2008 California Institute of Technology.
+# ALL RIGHTS RESERVED. U.S. Government Sponsorship acknowledged.
+#
+# $Id$
+#
+# Author: mattmann
+#
+# Example Product Type to Table Mappings
+# (for product types with LONG names, allows us to get
+# around Oracle's sad 31 char table name limit)
+
+# Note, the key on the left is the actual return of {@link ProductType#getName()}
+# and the value on the right is the mapped table name
+
+GenericFile=file

Added: oodt/branches/wengine-branch/filemgr/src/main/resources/dom-airs-mime-types.xml
URL: http://svn.apache.org/viewvc/oodt/branches/wengine-branch/filemgr/src/main/resources/dom-airs-mime-types.xml?rev=1052148&view=auto
==============================================================================
--- oodt/branches/wengine-branch/filemgr/src/main/resources/dom-airs-mime-types.xml (added)
+++ oodt/branches/wengine-branch/filemgr/src/main/resources/dom-airs-mime-types.xml Thu Dec 23 02:48:02 2010
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<mime-info>
+	
+	<mime-type type="product/ecfa_an">
+		<glob pattern="ECMWF\.\d{4}\.\d{2}\.\d{2}\.T\d{2}Z\.uad_HGrbF00\.A\d{11}"/>
+		<_comment>ECMWF_Analysis_T</_comment>		
+	</mime-type>
+	
+	<mime-type type="product/ecf3_an">
+		<glob pattern="ECMWF\.\d{4}\.\d{2}\.\d{2}\.T\d{2}Z\.uad_HGrbF03\.A\d{11}"/>
+		<_comment>ECMWF_3Hr_Forecast_T</_comment>		
+	</mime-type>
+	
+	<mime-type type="product/ecf9_an">
+		<glob pattern="ECMWF\.\d{4}\.\d{2}\.\d{2}\.T\d{2}Z\.uad_HGrbF09\.A\d{11}"/>
+		<_comment>ECMWF_9Hr_Forecast_T</_comment>		
+	</mime-type>
+	
+</mime-info>
+

Added: oodt/branches/wengine-branch/filemgr/src/main/resources/examples/catalog-beans.xml
URL: http://svn.apache.org/viewvc/oodt/branches/wengine-branch/filemgr/src/main/resources/examples/catalog-beans.xml?rev=1052148&view=auto
==============================================================================
--- oodt/branches/wengine-branch/filemgr/src/main/resources/examples/catalog-beans.xml (added)
+++ oodt/branches/wengine-branch/filemgr/src/main/resources/examples/catalog-beans.xml Thu Dec 23 02:48:02 2010
@@ -0,0 +1,209 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- 
+    Copyright 2008 California Institute of Technology. ALL RIGHTS
+    RESERVED. U.S. Government Sponsorship acknowledged.
+    
+    $Id$
+    
+    Author: bfoster
+    Description: The configuration for cas-crawler2, that uses the Spring
+    framework to configure crawlers, and crawler actions.
+    
+-->
+<beans xmlns="http://www.springframework.org/schema/beans"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xmlns:p="http://www.springframework.org/schema/p"
+    xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
+
+    <bean id="TestLuceneCatalogBuilder1" class="gov.nasa.jpl.oodt.cas.filemgr.catalog.catalogservice.CatalogBuilder">
+        <property name="catalogId" value="LuceneCatalog1"/>
+        <property name="catalogName" value="LuceneCatalog1"/>
+        <property name="catalogNamespace" value="TEST"/>
+        <property name="fmCatalogFactory" ref="LuceneCatalogFactory1"/>
+        <property name="transactionIdClass" value="gov.nasa.jpl.oodt.cas.catalog.struct.impl.transaction.UuidTransactionId"/>
+        <property name="ingestable" value="true"/>
+        <property name="queriable" value="true"/>
+        <property name="supportedProductTypeIds">
+            <list>
+                <value type="java.lang.String">urn:oodt:GenericFile</value>
+            </list>
+        </property>
+    </bean>
+
+    <bean id="TestLuceneCatalogBuilder2" class="gov.nasa.jpl.oodt.cas.filemgr.catalog.catalogservice.CatalogBuilder">
+        <property name="catalogId" value="LuceneCatalog2"/>
+        <property name="catalogName" value="LuceneCatalog2"/>
+        <property name="catalogNamespace" value="TEST"/>
+        <property name="fmCatalogFactory" ref="LuceneCatalogFactory2"/>
+        <property name="transactionIdClass" value="gov.nasa.jpl.oodt.cas.catalog.struct.impl.transaction.UuidTransactionId"/>
+        <property name="ingestable" value="true"/>
+        <property name="queriable" value="true"/>
+        <property name="supportedProductTypeIds">
+            <list>
+                <value type="java.lang.String">urn:test:TestType</value>
+            </list>
+        </property>
+    </bean>
+        
+    <bean id="AbstractPeateCatalogBuilder" abstract="true" class="gov.nasa.jpl.oodt.cas.filemgr.catalog.catalogservice.CatalogBuilder">
+        <property name="supportedProductTypeIds">
+            <list>
+                <value type="java.lang.String">urn:npp:MOA_IASI_L1C</value>
+                <value type="java.lang.String">urn:npp:MOA_MHS_L1B</value>
+                <value type="java.lang.String">urn:npp:MOA_AMSUA_L1B</value>
+                <value type="java.lang.String">urn:npp:MOA_IASI_L1C_MATCH</value>
+                <value type="java.lang.String">urn:npp:MOA_ORBITS</value>
+                <value type="java.lang.String">urn:npp:MOA_IASI_MAP</value>
+                <value type="java.lang.String">urn:npp:MOA_IASI_POLY</value>
+                <value type="java.lang.String">urn:npp:MOA_METOPS_CALSUB</value>
+                <value type="java.lang.String">urn:npp:RTG_SST_G1</value>
+                <value type="java.lang.String">urn:npp:RTG_SST_G2</value>
+                <value type="java.lang.String">urn:npp:CAS_PGE_LOG</value>
+                <value type="java.lang.String">urn:npp:SCI_PGE_LOG</value>
+                <value type="java.lang.String">urn:npp:SCI_PGE_CONF</value>
+            </list>
+        </property>
+    </bean>
+
+    <bean id="IntDataSourceCatalogBuilder" parent="AbstractPeateCatalogBuilder" class="gov.nasa.jpl.oodt.cas.filemgr.catalog.catalogservice.CatalogBuilder">
+        <property name="catalogId" value="PeateIntegrationCatalog"/>
+        <property name="catalogName" value="IntegrationDataSource"/>
+        <property name="catalogNamespace" value="PEATE"/>
+        <property name="fmCatalogFactory" ref="IntDataSourceCatalogFactory"/>
+        <property name="transactionIdClass" value="gov.nasa.jpl.oodt.cas.catalog.struct.impl.transaction.LongTransactionId"/>
+        <property name="ingestable" value="true"/>
+        <property name="queriable" value="true"/>
+    </bean>
+
+    <bean id="OpsDataSourceCatalogBuilder" parent="AbstractPeateCatalogBuilder" class="gov.nasa.jpl.oodt.cas.filemgr.catalog.catalogservice.CatalogBuilder">
+        <property name="catalogId" value="PeateOperationsCatalog"/>
+        <property name="catalogName" value="OperationsDataSource"/>
+        <property name="catalogNamespace" value="PEATE"/>
+        <property name="fmCatalogFactory" ref="OpsDataSourceCatalogFactory"/>
+        <property name="transactionIdClass" value="gov.nasa.jpl.oodt.cas.catalog.struct.impl.transaction.LongTransactionId"/>
+        <property name="ingestable" value="false"/>
+        <property name="queriable" value="true"/>
+    </bean>
+
+    <bean id="AirsDomCatalogBuilder" parent="AbstractPeateCatalogBuilder" class="gov.nasa.jpl.oodt.cas.filemgr.catalog.catalogservice.CatalogBuilder">
+        <property name="catalogId" value="AirsDomCatalog"/>
+        <property name="catalogName" value="OperationsDom"/>
+        <property name="catalogNamespace" value="AIRS"/>
+        <property name="fmCatalogFactory" ref="DomCatalogFactory"/>
+        <property name="transactionIdClass" value="gov.nasa.jpl.oodt.cas.catalog.struct.impl.transaction.StringTransactionId"/>
+        <property name="ingestable" value="false"/>
+        <property name="queriable" value="true"/>
+        <property name="supportedProductTypeIds">
+				<ref bean="AirsDomSupportedProductTypeIds"/>
+        </property>
+    </bean>
+
+    <bean id="AbstractDataSourceCatalogFactory" abstract="true" class="gov.nasa.jpl.oodt.cas.filemgr.catalog.DataSourceCatalogFactory">
+
+        <!-- set to true to quote field values -->
+        <property name="fieldIdStr">
+            <value type="boolean">true</value>
+        </property>
+        
+        <!-- page size for pagination -->
+        <property name="pageSize">
+            <value type="int">20</value>
+        </property>
+        
+        <!-- number of minutes to refresh cache -->
+        <property name="cacheUpdateMinutes">
+            <value type="long">5</value>  
+        </property>
+
+    </bean>
+
+    <bean id="IntDataSourceCatalogFactory" parent="AbstractDataSourceCatalogFactory" class="gov.nasa.jpl.oodt.cas.filemgr.catalog.DataSourceCatalogFactory">
+        <!-- SQL datasource config -->
+        <property name="jdbcUrl" value="jdbc:oracle:thin:@dew.jpl.nasa.gov:1521:npptest"/>        
+        <property name="user" value="nppint"/>
+        <property name="pass" value="Peate"/>
+        <property name="driver" value="oracle.jdbc.driver.OracleDriver"/>
+    </bean>
+        
+    <bean id="OpsDataSourceCatalogFactory" parent="AbstractDataSourceCatalogFactory" class="gov.nasa.jpl.oodt.cas.filemgr.catalog.DataSourceCatalogFactory">
+        <!-- SQL datasource config -->
+        <property name="jdbcUrl" value="jdbc:oracle:thin:@dew.jpl.nasa.gov:1521:nppops"/>        
+        <property name="user" value="nppops"/>
+        <property name="pass" value="Peate"/>
+        <property name="driver" value="oracle.jdbc.driver.OracleDriver"/>
+    </bean>
+
+    <bean id="AbstractLuceneCatalogFactory" abstract="true" class="gov.nasa.jpl.oodt.cas.filemgr.catalog.LuceneCatalogFactory">
+
+        <!-- Path to index file -->
+        <property name="indexFilePath">
+            <value type="java.lang.String">/home/bfoster/Peate_V3.0.0_Build/build/lucene</value>
+        </property>
+
+        <!-- write lock timeout for writing to the index -->
+        <property name="writeLockTimeOut">
+            <value type="long">60</value>
+        </property>
+        
+        <!-- commit lock timeout for writing/reading to the index -->
+        <property name="commitLockTimeOut">
+            <value type="long">60</value>  
+        </property>
+        
+        <!-- page size for pagination -->
+        <property name="pageSize">
+            <value type="int">20</value>
+        </property>
+        
+        <!-- lucene index merge factor -->
+        <property name="mergeFactor">
+            <value type="int">20</value>
+        </property>
+        
+    </bean>
+
+    <bean id="LuceneCatalogFactory1" parent="AbstractLuceneCatalogFactory" class="gov.nasa.jpl.oodt.cas.filemgr.catalog.LuceneCatalogFactory">
+        
+        <!-- Path to index file -->
+        <property name="indexFilePath">
+            <value type="java.lang.String">/home/bfoster/Peate_V3.0.0_Build/build/lucene</value>
+        </property>
+        
+    </bean>
+    
+    <bean id="LuceneCatalogFactory2" parent="AbstractLuceneCatalogFactory" class="gov.nasa.jpl.oodt.cas.filemgr.catalog.LuceneCatalogFactory">
+        
+        <!-- Path to index file -->
+        <property name="indexFilePath">
+            <value type="java.lang.String">/home/bfoster/Peate_V3.0.0_Build/build/lucene2</value>
+        </property>
+        
+    </bean>
+ 
+    <bean id="DomCatalogFactory" class="gov.nasa.jpl.oodt.cas.filemgr.catalog.DomCatalogFactory">
+        
+        <!-- DOM server -->
+        <property name="serverUrl" value="http://airs-dom:0"/>
+        
+        <!-- page size for pagination -->
+        <property name="pageSize" value="20"/>
+
+        <!-- OBJECT_NAME to TYPE_NAME mime-type file -->
+        <property name="mimeTypeRepo" value="../policy/airs-dom/dom-airs-mime-types.xml"/>
+
+        <property name="supportedProductTypeIds">
+				<ref bean="AirsDomSupportedProductTypeIds"/>
+		  </property>
+    </bean>
+
+    <bean id="AirsDomSupportedProductTypeIds" class="java.util.Vector">
+        <constructor-arg>
+            <list>
+                <value type="java.lang.String">ECMWF_3Hr_Forecast_T</value>
+                <value type="java.lang.String">ECMWF_9Hr_Forecast_T</value>
+                <value type="java.lang.String">ECMWF_Analysis_T</value>
+            </list>
+        </constructor-arg>
+    </bean>
+
+</beans>

Added: oodt/branches/wengine-branch/filemgr/src/main/resources/examples/catalog-config.xml
URL: http://svn.apache.org/viewvc/oodt/branches/wengine-branch/filemgr/src/main/resources/examples/catalog-config.xml?rev=1052148&view=auto
==============================================================================
--- oodt/branches/wengine-branch/filemgr/src/main/resources/examples/catalog-config.xml (added)
+++ oodt/branches/wengine-branch/filemgr/src/main/resources/examples/catalog-config.xml Thu Dec 23 02:48:02 2010
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- 
+    Copyright 2008 California Institute of Technology. ALL RIGHTS
+    RESERVED. U.S. Government Sponsorship acknowledged.
+    
+    $Id$
+    
+    Author: bfoster
+    Description: The configuration for cas-crawler2, that uses the Spring
+    framework to configure crawlers, and crawler actions.
+    
+-->
+<beans xmlns="http://www.springframework.org/schema/beans"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xmlns:p="http://www.springframework.org/schema/p"
+    xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
+
+    <import resource="catalog-service-beans.xml"/>
+    <import resource="catalog-beans.xml"/>
+ 
+</beans>
+

Added: oodt/branches/wengine-branch/filemgr/src/main/resources/examples/catalog-service-beans.xml
URL: http://svn.apache.org/viewvc/oodt/branches/wengine-branch/filemgr/src/main/resources/examples/catalog-service-beans.xml?rev=1052148&view=auto
==============================================================================
--- oodt/branches/wengine-branch/filemgr/src/main/resources/examples/catalog-service-beans.xml (added)
+++ oodt/branches/wengine-branch/filemgr/src/main/resources/examples/catalog-service-beans.xml Thu Dec 23 02:48:02 2010
@@ -0,0 +1,83 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- 
+    Copyright 2008 California Institute of Technology. ALL RIGHTS
+    RESERVED. U.S. Government Sponsorship acknowledged.
+    
+    $Id$
+    
+    Author: bfoster
+    Description: The configuration for cas-crawler2, that uses the Spring
+    framework to configure crawlers, and crawler actions.
+    
+-->
+<beans xmlns="http://www.springframework.org/schema/beans"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xmlns:p="http://www.springframework.org/schema/p"
+    xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
+
+    <bean class="gov.nasa.jpl.oodt.cas.catalog.util.CasPropertyPlaceholderConfigurer">
+        
+        <!-- Allow for system-level properties to override all properties below -->
+        <property name="systemPropertiesMode" value="2"/>
+        
+        <!-- Properties -->
+        <property name="properties">
+            <props>
+                <prop key="filemgr.url">[FILEMGR_URL];http://localhost:9000</prop>           
+                <prop key="filemgr.port">[FILEMGR_PORT];9000</prop>           
+                <prop key="filemgr.proxy.url">[FILEMGR_PROXY_URL];http://localhost:9001</prop>           
+                <prop key="filemgr.proxy.port">[FILEMGR_PROXY_URL];http://localhost:9001</prop>           
+                <prop key="pcs.support.home">[PCS_SUPPORT_HOME];/tmp</prop>           
+            </props>
+        </property>
+
+    </bean>
+
+    <!-- Catalog Services -->
+    <bean id="CatalogServiceLocalFactory" lazy-init="true" class="gov.nasa.jpl.oodt.cas.catalog.system.impl.CatalogServiceLocalFactory"/>
+    <bean id="DevCatalogServiceLocalFactory" lazy-init="true" class="gov.nasa.jpl.oodt.cas.catalog.system.impl.CatalogServiceLocalFactory">
+        <property name="catalogRepositoryFactory" ref="SerializedCatalogRepositoryFactory"/>
+        <property name="ingestMapperFactory" ref="OracleIngestMapperFactory"/>
+        <property name="restrictQueryPermissions" value="false"/>
+        <property name="restrictIngestPermissions" value="false"/>
+        <property name="transactionIdClass" value="gov.nasa.jpl.oodt.cas.catalog.struct.impl.transaction.UuidTransactionId"/>
+    </bean>    
+    <bean id="CatalogServiceClientFactory" lazy-init="true" class="gov.nasa.jpl.oodt.cas.catalog.system.impl.CatalogServiceClientFactory">
+        <property name="communicationChannelClient" ref="XmlRpcClientFactory"/>
+    </bean>
+    <bean id="CatalogServiceProxyClientFactory" lazy-init="true" class="gov.nasa.jpl.oodt.cas.catalog.system.impl.CatalogServiceClientFactory">
+        <property name="communicationChannelClient" ref="XmlRpcProxyClientFactory"/>
+    </bean>
+    
+    <!-- Communication Channels -->
+    <bean id="XmlRpcServerFactory" lazy-init="true" class="gov.nasa.jpl.oodt.cas.catalog.server.channel.xmlrpc.XmlRpcCommunicationChannelServerFactory">
+        <property name="port" value="${filemgr.port}"/>
+        <property name="catalogServiceFactory" ref="CatalogServiceLocalFactory"/>
+    </bean> 
+    <bean id="XmlRpcClientFactory" lazy-init="true" class="gov.nasa.jpl.oodt.cas.catalog.server.channel.xmlrpc.XmlRpcCommunicationChannelClientFactory">
+        <property name="serverUrl" value="${filemgr.url}"/>
+    </bean> 
+    <bean id="XmlRpcProxyServerFactory" lazy-init="true" class="gov.nasa.jpl.oodt.cas.catalog.server.channel.xmlrpc.XmlRpcCommunicationChannelServerFactory">
+        <property name="port" value="${filemgr.proxy.port}"/>
+        <property name="catalogServiceFactory" ref="CatalogServiceClientFactory"/>
+    </bean> 
+    <bean id="XmlRpcProxyClientFactory" lazy-init="true" class="gov.nasa.jpl.oodt.cas.catalog.server.channel.xmlrpc.XmlRpcCommunicationChannelClientFactory">
+        <property name="serverUrl" value="${filemgr.proxy.url}"/>
+    </bean> 
+    
+    <!-- Catalog Repositories -->
+    <bean id="SerializedCatalogRepositoryFactory" lazy-init="true" class="gov.nasa.jpl.oodt.cas.catalog.repository.SerializedCatalogRepositoryFactory">
+        <property name="storageFile" value="${pcs.support.home}/cas-catalog/catalog-repo.ser"/>
+    </bean>
+    <bean id="MemoryBasedCatalogRepositoryFactory" lazy-init="true" class="gov.nasa.jpl.oodt.cas.catalog.repository.MemoryBasedCatalogRepositoryFactory"/>
+        
+    <!-- Mapper Indexes -->
+    <bean id="OracleIngestMapperFactory" lazy-init="true" class="gov.nasa.jpl.oodt.cas.catalog.mapping.OracleIngestMapperFactory">
+        <property name="jdbcUrl" value="jdbc:oracle:thin:@dew.jpl.nasa.gov:1521:npptest"/>
+        <property name="user" value="user"/>
+        <property name="pass" value="pass"/>
+        <property name="driver" value="oracle.jdbc.driver.OracleDriver"/>
+    </bean>
+    <bean id="MemoryBasedIngestMapperFactory" lazy-init="true" class="gov.nasa.jpl.oodt.cas.catalog.mapping.MemoryBasedIngestMapperFactory"/>
+    
+</beans>

Added: oodt/branches/wengine-branch/filemgr/src/main/resources/examples/elements.xml
URL: http://svn.apache.org/viewvc/oodt/branches/wengine-branch/filemgr/src/main/resources/examples/elements.xml?rev=1052148&view=auto
==============================================================================
--- oodt/branches/wengine-branch/filemgr/src/main/resources/examples/elements.xml (added)
+++ oodt/branches/wengine-branch/filemgr/src/main/resources/examples/elements.xml Thu Dec 23 02:48:02 2010
@@ -0,0 +1,61 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<cas:elements xmlns:cas="http://oodt.jpl.nasa.gov/1.0/cas">
+	<element id="urn:oodt:ProductId" name="ProductId">
+		<dcElement>Identifier</dcElement>
+        <!--  
+         You can optionally specify a 'trim' tag to identify whether
+         or not you want newlines trimmed from the element description. To
+         turn off trimming (now done by default), include the following with your
+         description definition: trim="false"       
+         -->
+		<description>
+			A Product's unique identifier within the CAS namespace.
+		</description>
+	</element>
+	<element id="urn:oodt:ProductName" name="ProductName">
+		<dcElement>Title</dcElement>
+		<description>
+			A Product's name within the CAS namespace.
+		</description>
+	</element>
+	<element id="urn:oodt:ProductReceivedTime"
+		name="ProductReceivedTime">
+		<dcElement />
+		<description>
+			The ISO 8601 formatted time that the Product was received.
+		</description>
+	</element>
+	<element id="urn:oodt:Filename" name="Filename">
+		<description>
+			The names of the files that represent this product.
+		</description>
+		<dcElement />
+	</element>
+	<element id="urn:oodt:FileLocation" name="FileLocation">
+		<description>
+			The locations of the files that represent this product.
+		</description>
+		<dcElement />
+	</element>
+	<element id="urn:oodt:ProductType" name="ProductType">
+		<description>
+			Type of product, as specified by, e.g., a data bible.
+		</description>
+		<dcElement />
+	</element>
+	<element id="urn:oodt:ProductStructure" name="ProductStructure">
+		<description>
+			Whether or not a product is Flat (e.g., a set of independent
+			files), or hierarchical, e.g., a dir structure.
+		</description>
+		<dcElement />
+	</element>
+	<element id="urn:oodt:MimeType" name="MimeType">
+		<description>The IETF mime type of this product.</description>
+		<dcElement />
+	</element>
+	<element id="urn:test:DataVersion" name="DataVersion">
+		<description>The version of the data product</description>
+		<dcElement />
+	</element>
+</cas:elements>

Added: oodt/branches/wengine-branch/filemgr/src/main/resources/examples/product-type-element-map.xml
URL: http://svn.apache.org/viewvc/oodt/branches/wengine-branch/filemgr/src/main/resources/examples/product-type-element-map.xml?rev=1052148&view=auto
==============================================================================
--- oodt/branches/wengine-branch/filemgr/src/main/resources/examples/product-type-element-map.xml (added)
+++ oodt/branches/wengine-branch/filemgr/src/main/resources/examples/product-type-element-map.xml Thu Dec 23 02:48:02 2010
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<cas:producttypemap xmlns:cas="http://oodt.jpl.nasa.gov/1.0/cas">
+ <!--  can set the "parent" attribute on types below to allow inheritance
+       of elements between the types 
+  -->
+   <type id="urn:oodt:GenericFile">
+       <element id="urn:oodt:ProductReceivedTime"/>
+       <element id="urn:oodt:ProductName"/>
+       <element id="urn:oodt:ProductId"/>
+       <element id="urn:oodt:ProductType"/>
+       <element id="urn:oodt:ProductStructure"/>
+       <element id="urn:oodt:Filename"/>
+       <element id="urn:oodt:FileLocation"/>
+       <element id="urn:oodt:MimeType"/>
+       <element id="urn:test:DataVersion"/>
+  </type>
+
+  <type id="urn:test:TestType">
+       <element id="urn:oodt:ProductType"/>
+       <element id="urn:oodt:ProductName"/>
+       <element id="urn:oodt:Filename"/>
+  </type>
+</cas:producttypemap>

Added: oodt/branches/wengine-branch/filemgr/src/main/resources/examples/product-types.xml
URL: http://svn.apache.org/viewvc/oodt/branches/wengine-branch/filemgr/src/main/resources/examples/product-types.xml?rev=1052148&view=auto
==============================================================================
--- oodt/branches/wengine-branch/filemgr/src/main/resources/examples/product-types.xml (added)
+++ oodt/branches/wengine-branch/filemgr/src/main/resources/examples/product-types.xml Thu Dec 23 02:48:02 2010
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<cas:producttypes xmlns:cas="http://oodt.jpl.nasa.gov/1.0/cas">
+  <type id="urn:oodt:GenericFile" name="GenericFile">
+    <repository path="file://[HOME]/files"/>
+    <versioner class="gov.nasa.jpl.oodt.cas.filemgr.versioning.BasicVersioner"/>
+    <!--  
+     You can optionally specify a 'trim' tag to identify whether
+     or not you want newlines trimmed from the product type description. To
+     turn off trimming (now done by default), include the following attribute with your
+     description definition: trim="false"       
+     -->
+    <description>The default product type for any kind of file.</description>
+    <metExtractors>
+      <extractor
+        class="gov.nasa.jpl.oodt.cas.filemgr.metadata.extractors.CoreMetExtractor">
+        <configuration>
+          <!--  you can optionally include the envReplace tag to turn on/off environment var replacement -->
+          <property name="nsAware" value="false" />
+          <property name="elementNs" value="CAS" />
+          <property name="elements"
+            value="ProductReceivedTime" />
+        </configuration>
+      </extractor>
+      <extractor class="gov.nasa.jpl.oodt.cas.filemgr.metadata.extractors.examples.MimeTypeExtractor" />
+    </metExtractors>
+  </type>
+  <type id="urn:test:TestType" name="TestType">
+    <repository path="file://[HOME]/files"/>
+    <versioner class="gov.nasa.jpl.oodt.cas.filemgr.versioning.BasicVersioner"/>
+    <!--  
+     You can optionally specify a 'trim' tag to identify whether
+     or not you want newlines trimmed from the product type description. To
+     turn off trimming (now done by default), include the following attribute with your
+     description definition: trim="false"       
+     -->
+    <description>The default product type for any kind of file.</description>
+    <metExtractors>
+      <extractor
+        class="gov.nasa.jpl.oodt.cas.filemgr.metadata.extractors.CoreMetExtractor">
+        <configuration>
+          <!--  you can optionally include the envReplace tag to turn on/off environment var replacement -->
+          <property name="nsAware" value="false" />
+          <property name="elementNs" value="CAS" />
+          <property name="elements"
+            value="ProductReceivedTime" />
+        </configuration>
+      </extractor>
+      <extractor class="gov.nasa.jpl.oodt.cas.filemgr.metadata.extractors.examples.MimeTypeExtractor" />
+    </metExtractors>
+  </type>
+</cas:producttypes>

Added: oodt/branches/wengine-branch/filemgr/src/main/resources/filemgr.properties
URL: http://svn.apache.org/viewvc/oodt/branches/wengine-branch/filemgr/src/main/resources/filemgr.properties?rev=1052148&view=auto
==============================================================================
--- oodt/branches/wengine-branch/filemgr/src/main/resources/filemgr.properties (added)
+++ oodt/branches/wengine-branch/filemgr/src/main/resources/filemgr.properties Thu Dec 23 02:48:02 2010
@@ -0,0 +1,75 @@
+# Copyright (c) 2006 California Institute of Technology.
+# ALL RIGHTS RESERVED. U.S. Government Sponsorship acknowledged.
+#
+# $Id$
+#
+# Configuration properties for the File Manager
+
+# repository factory
+filemgr.repository.factory=org.apache.oodt.cas.filemgr.repository.XMLRepositoryManagerFactory
+
+# catalog factory
+filemgr.catalog.factory=org.apache.oodt.cas.filemgr.catalog.LuceneCatalogFactory
+
+# data transfer factory
+filemgr.datatransfer.factory=org.apache.oodt.cas.filemgr.datatransfer.LocalDataTransferFactory
+
+# validation layer factory
+filemgr.validationLayer.factory=org.apache.oodt.cas.filemgr.validation.XMLValidationLayerFactory
+
+# xml rpc client configuration
+org.apache.oodt.cas.filemgr.system.xmlrpc.connectionTimeout.minutes=20
+org.apache.oodt.cas.filemgr.system.xmlrpc.requestTimeout.minutes=60
+org.apache.oodt.cas.filemgr.system.xmlrpc.connection.retries=10
+org.apache.oodt.cas.filemgr.system.xmlrpc.connection.retry.interval.seconds=60
+
+# data source catalog configuration
+org.apache.oodt.cas.filemgr.catalog.datasource.jdbc.url=some_jdbc_url
+org.apache.oodt.cas.filemgr.catalog.datasource.jdbc.user=user
+org.apache.oodt.cas.filemgr.catalog.datasource.jdbc.pass=pass
+org.apache.oodt.cas.filemgr.catalog.datasource.jdbc.driver=driver.class.name
+org.apache.oodt.cas.filemgr.catalog.datasource.quoteFields=false
+org.apache.oodt.cas.filemgr.catalog.datasource.pageSize=20
+org.apache.oodt.cas.filemgr.catalog.datasource.cacheUpdateMinutes=5
+
+# mapped data source catalog configuration
+org.apache.oodt.cas.filemgr.catalog.mappeddatasource.mapFile=/path/to/ops.catalog.typemap.properties
+
+# lucene catalog configuration
+org.apache.oodt.cas.filemgr.catalog.lucene.idxPath=/path/to/your/lucene/index
+org.apache.oodt.cas.filemgr.catalog.lucene.pageSize=20
+org.apache.oodt.cas.filemgr.catalog.lucene.commitLockTimeout.seconds=60
+org.apache.oodt.cas.filemgr.catalog.lucene.writeLockTimeout.seconds=60
+org.apache.oodt.cas.filemgr.catalog.lucene.mergeFactor=20
+
+# catalog service catalog configuration
+org.apache.oodt.cas.filemgr.catalog.catalogservice.config=../policy/catalog-config.xml
+org.apache.oodt.cas.filemgr.catalog.catalogservice.factory.bean.id=CatalogServiceClientFactory
+org.apache.oodt.cas.filemgr.catalog.catalogservice.permit.catalog.override=false
+org.apache.oodt.cas.filemgr.catalog.catalogservice.preserve.catalog.mapping=false
+org.apache.oodt.cas.filemgr.catalog.catalogservice.pageSize=50
+
+# data source repository manager configuration
+org.apache.oodt.cas.filemgr.repositorymgr.datasource.jdbc.url=some_jdbc_url
+org.apache.oodt.cas.filemgr.repositorymgr.datasource.jdbc.user=user
+org.apache.oodt.cas.filemgr.repositorymgr.datasource.jdbc.pass=pass
+org.apache.oodt.cas.filemgr.repositorymgr.datasource.jdbc.driver=driver.class.name
+
+# XML repository manager configuration
+org.apache.oodt.cas.filemgr.repositorymgr.dirs=file:///dir1,file:///dir2
+
+# XML validation layer configuration
+org.apache.oodt.cas.filemgr.validation.dirs=file:///dir1,file:///dir2
+
+# data source validation layer configuration
+org.apache.oodt.cas.filemgr.validation.datasource.jdbc.url=some_jdbc_url
+org.apache.oodt.cas.filemgr.validation.datasource.jdbc.user=user
+org.apache.oodt.cas.filemgr.validation.datasource.jdbc.pass=pass
+org.apache.oodt.cas.filemgr.validation.datasource.jdbc.driver=driver.class.name
+org.apache.oodt.cas.filemgr.validation.datasource.quoteFields=false
+
+# remote data transfer configuration
+org.apache.oodt.cas.filemgr.datatransfer.remote.chunkSize=1024
+
+# location of Mime-Type repository
+org.apache.oodt.cas.filemgr.mime.type.repository=/path/to/mime-types.xml

Added: oodt/branches/wengine-branch/filemgr/src/main/resources/ingestcache.properties
URL: http://svn.apache.org/viewvc/oodt/branches/wengine-branch/filemgr/src/main/resources/ingestcache.properties?rev=1052148&view=auto
==============================================================================
--- oodt/branches/wengine-branch/filemgr/src/main/resources/ingestcache.properties (added)
+++ oodt/branches/wengine-branch/filemgr/src/main/resources/ingestcache.properties Thu Dec 23 02:48:02 2010
@@ -0,0 +1,33 @@
+# Copyright (c) 2008 California Institute of Technology.
+# ALL RIGHTS RESERVED. U.S. Government Sponsorship acknowledged.
+#
+# $Id$
+#
+# A file to describe properties for the org.apache.oodt.filemgr.ingest.Cache
+
+
+org.apache.oodt.cas.filemgr.ingest.cache.rangeQueryElementName=CAS.ProductReceivedTime
+
+# these properties can be replaced using env var replacement (as is shown by default)
+# even before env var replacement, you can also use date var 
+# replacement, e.g.,
+# 
+# org.apache.oodt.cas.filemgr.ingest.cache.range.start=[DATE-3200.YEAR][DATE-3200.MONTH][DATE-3200.DAY]000000
+# org.apache.oodt.cas.filemgr.ingest.cache.range.end=[DATE.YEAR][DATE.MONTH][DATE.DAY]000000
+#
+# Which would say: the range start is the current date - 3200 roll days, or 10 year prior
+#                  the range end is the current date
+
+org.apache.oodt.cas.filemgr.ingest.cache.range.start=[CACHE_RANGE_START]
+org.apache.oodt.cas.filemgr.ingest.cache.range.end=[CACHE_RANGE_END]
+
+org.apache.oodt.cas.filemgr.ingest.cache.uniqueElementName=CAS.ProductName
+
+# this property can be replaced using env var replacement
+# this property can also be a multi-valued list, by comma separating
+# the list of product types
+org.apache.oodt.cas.filemgr.ingest.cache.productType=GenericFile
+
+# rmi cache server URN (used by the rmi cache client)
+# note: this property can be replaced using en var replacement
+org.apache.oodt.cas.filemgr.ingest.cache.rmi.serverUrn=//localhost:9050/RmiDatabaseServer

Added: oodt/branches/wengine-branch/filemgr/src/main/resources/logging.properties
URL: http://svn.apache.org/viewvc/oodt/branches/wengine-branch/filemgr/src/main/resources/logging.properties?rev=1052148&view=auto
==============================================================================
--- oodt/branches/wengine-branch/filemgr/src/main/resources/logging.properties (added)
+++ oodt/branches/wengine-branch/filemgr/src/main/resources/logging.properties Thu Dec 23 02:48:02 2010
@@ -0,0 +1,56 @@
+# Copyright (c) 2005 California Institute of Technology.
+# ALL RIGHTS RESERVED. U.S. Government Sponsorship acknowledged.
+#
+# $Id$
+
+
+# Specify the handlers to create in the root logger
+# (all loggers are children of the root logger)
+# The following creates two handlers
+handlers = java.util.logging.ConsoleHandler, java.util.logging.FileHandler
+
+# Set the default logging level for the root logger
+.level = ALL
+    
+# Set the default logging level for new ConsoleHandler instances
+java.util.logging.ConsoleHandler.level = ALL
+java.util.logging.FileHandler.level = ALL
+        
+# Set the default formatter for new ConsoleHandler instances
+java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter
+
+# default file output is in user's home directory.
+java.util.logging.FileHandler.pattern = ../logs/cas_filemgr%g.log
+java.util.logging.FileHandler.limit = 50000
+java.util.logging.FileHandler.count = 5
+java.util.logging.FileHandler.append = true
+java.util.logging.FileHandler.formatter = java.util.logging.SimpleFormatter
+    
+# Set the default logging level for the subsystems
+
+# catalog subsystem
+org.apache.oodt.cas.filemgr.catalog.level = INFO
+
+# repository subsystem
+org.apache.oodt.cas.filemgr.repository.level = FINE
+
+# system subsystem
+org.apache.oodt.cas.filemgr.system.level = INFO
+
+# versioning subsystem
+org.apache.oodt.cas.filemgr.versioning.level = INFO
+
+# data transfer subsystem
+org.apache.oodt.cas.filemgr.datatransfer.level = FINE
+
+# util
+org.apache.oodt.cas.filemgr.util.level = INFO
+
+# validation
+org.apache.oodt.cas.filemgr.validation.level = INFO
+
+# control the underlying commons-httpclient transport layer for xmlrpc 
+org.apache.commons.httpclient.level = INFO
+httpclient.wire.header.level = INFO
+httpclient.wire.level = INFO
+

Added: oodt/branches/wengine-branch/filemgr/src/main/resources/mime-types.xml
URL: http://svn.apache.org/viewvc/oodt/branches/wengine-branch/filemgr/src/main/resources/mime-types.xml?rev=1052148&view=auto
==============================================================================
--- oodt/branches/wengine-branch/filemgr/src/main/resources/mime-types.xml (added)
+++ oodt/branches/wengine-branch/filemgr/src/main/resources/mime-types.xml Thu Dec 23 02:48:02 2010
@@ -0,0 +1,1126 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ //Copyright (c) 2007, California Institute of Technology.
+//ALL RIGHTS RESERVED. U.S. Government sponsorship acknowledged.
+//
+//$Id$
+-->
+<!--
+ !   Document   : mime-types.xml. 
+ !		Based on original class written by J. Charron with the 
+ !		<a href="http://lucene.apache.org/nutch"> Apache Nutch</a> project
+ !
+ !   Author     : ahart
+ !   Description:
+ !       This file gathers some mime-types / extensions / magic sequences.
+ !       For more information about Internet media types,
+ !       please read RFC 2045, 2046, 2047, 2048, and 2077.
+ !       The Internet media type registry is at
+ !       <http://www.iana.org/assignments/media-types/>.
+ !       You can also use <http://www.filext.com/> for mime-types / extensions
+ !       informations.
+ !   Note:
+ !      The following mime media types are sorted on mime-type name.
+ !      For convenience purposes, please preserve this order if you edit this
+ !      file.
+ ! -->
+
+<mime-types>
+    
+    <!--
+     !   Application primary type
+     ! -->
+
+    <mime-type name="application/andrew-inset">
+        <ext>ez</ext>
+    </mime-type>
+
+    <mime-type name="application/java">
+        <ext>class</ext>
+        <magic offset="0" type="byte" value="cafebabe"/>
+    </mime-type>
+
+    <mime-type name="application/mac-binhex40"
+               description="Macintosh BinHex 4 Compressed Archive">
+        <ext>hqx</ext>
+    </mime-type>
+    
+    <mime-type name="application/mac-compactpro">
+        <ext>cpt</ext>
+    </mime-type>
+
+    <mime-type name="application/msword">
+        <ext>doc</ext>
+        <magic offset="0" type="byte" value="31be0000"/>
+    </mime-type>
+
+    <mime-type name="application/oda">
+        <ext>oda</ext>
+    </mime-type>
+
+    <mime-type name="application/pdf"
+               description="Portable Document Format (PDF)">
+        <ext>pdf</ext>
+        <magic offset="0" value="%PDF-"/>
+    </mime-type>
+
+    <mime-type name="application/postscript"
+               description="PostScript (PS)">
+        <ext>ps</ext><ext>ai</ext><ext>eps</ext>
+        <magic offset="0" value="%!"/>
+        <magic offset="0" value="\004%!"/>
+    </mime-type>
+
+    <mime-type name="application/smil"
+               description="SMIL Multimedia">
+        <ext>smi</ext><ext>smil</ext>
+    </mime-type>
+
+    <mime-type name="application/vnd.mif"
+               description="FrameMaker Interchange Format">
+        <ext>mif</ext>
+        <magic offset="0" type="byte" value="3c4d494646696c6520"/>
+    </mime-type>
+
+    <mime-type name="application/vnd.ms-excel">
+        <ext>xls</ext>
+    </mime-type>
+
+    <mime-type name="application/vnd.ms-powerpoint">
+        <ext>ppt</ext>
+    </mime-type>
+
+    <mime-type name="application/vnd.oasis.opendocument.presentation"
+               description="OpenDocument Presentation">
+        <ext>odp</ext>
+    </mime-type>
+
+    <mime-type name="application/vnd.oasis.opendocument.presentation-template"
+               description="OpenDocument Presentation Template">
+        <ext>otp</ext>
+    </mime-type>
+
+    <mime-type name="application/vnd.oasis.opendocument.spreadsheet"
+               description="OpenDocument Spreadsheet">
+        <ext>ods</ext>
+    </mime-type>
+
+    <mime-type name="application/vnd.oasis.opendocument.spreadsheet-template"
+               description="OpenDocument Spreadsheet Template">
+        <ext>ots</ext>
+    </mime-type>
+
+    <mime-type name="application/vnd.oasis.opendocument.text"
+               description="OpenDocument Text Document">
+        <ext>odt</ext>
+    </mime-type>
+
+    <mime-type name="application/vnd.oasis.opendocument.text-template"
+               description="OpenDocument Text Document Template">
+        <ext>ott</ext>
+    </mime-type>
+
+    <mime-type name="application/vnd.oasis.opendocument.text-master"
+               description="OpenDocument Text Document Master">
+        <ext>odm</ext>
+    </mime-type>
+
+    <mime-type name="application/vnd.oasis.opendocument.text-web"
+               description="OpenDocument Web Text Document">
+        <ext>odh</ext>
+    </mime-type>
+
+    <mime-type name="application/vnd.sun.xml.calc"
+               description="StarOffice Calc Spreadsheet">
+        <ext>sxc</ext>
+    </mime-type>
+
+    <mime-type name="application/vnd.sun.xml.calc.template"
+               description="StarOffice Calc Spreadsheet Template">
+        <ext>stc</ext>
+    </mime-type>
+
+    <mime-type name="application/vnd.sun.xml.impress"
+               description="StarOffice Impress Presentation">
+        <ext>sxi</ext>
+    </mime-type>
+
+    <mime-type name="application/vnd.sun.xml.impress.template"
+               description="StarOffice Impress Presentation Template">
+        <ext>sti</ext>
+    </mime-type>
+
+    <mime-type name="application/vnd.sun.xml.writer"
+               description="StarOffice Text Document">
+        <ext>sxw</ext>
+    </mime-type>
+
+    <mime-type name="application/vnd.sun.xml.writer.template"
+               description="StarOffice Text Document Template">
+        <ext>stw</ext>
+    </mime-type>
+
+    <mime-type name="application/vnd.wap.wbxml">
+        <ext>wbxml</ext>
+    </mime-type>
+    
+    <mime-type name="application/vnd.wap.wmlc"
+               description="Compiled WML Document">
+        <ext>wmlc</ext>
+    </mime-type>
+    
+    <mime-type name="application/vnd.wap.wmlscriptc"
+               description="Compiled WML Script">
+        <ext>wmlsc</ext>
+    </mime-type>
+
+    <mime-type name="application/xhtml+xml"
+               description="Extensible HyperText Markup Language File">
+        <ext>xhtml</ext><ext>xht</ext>
+    </mime-type>
+
+    <mime-type name="application/x-bzip2"
+               description="Bzip 2 UNIX Compressed File">
+        <ext>bz2</ext><ext>tbz2</ext>
+        <magic offset="0" type="byte" value="425a683931"/>
+    </mime-type>
+
+    <mime-type name="application/x-bcpio">
+        <ext>bcpio</ext>
+    </mime-type>
+
+    <mime-type name="application/x-cdlink"
+    	       description="Virtual CD-ROM CD Image File">
+        <ext>vcd</ext>
+    </mime-type>
+
+    <mime-type name="application/x-chess-pgn"
+               description="Portable Game Notation (PGN)">
+        <ext>pgn</ext>
+        <magic offset="0" value="5b4576656e742022"/>
+    </mime-type>
+ 
+    <mime-type name="application/x-cpio"
+               description="UNIX CPIO Archive">
+        <ext>cpio</ext>
+        <magic oofset="0" type="byte" value="3037303730"/>
+    </mime-type>
+    
+    <mime-type name="application/x-csh"
+               description="UNIX csh Shell Script">
+        <ext>csh</ext>
+    </mime-type>
+    
+    <mime-type name="application/x-director"
+               description="Shockwave Movie">
+        <ext>dcr</ext><ext>dir</ext><ext>dxr</ext>
+    </mime-type>
+    
+    <mime-type name="application/x-dosexec"
+               description="DOS/Windows executable (EXE)">
+        <ext>exe</ext>
+        <magic offset="0" value="MZ"/>
+    </mime-type>
+
+    <mime-type name="application/x-dvi"
+               description="TeX Device Independent Document">
+        <ext>dvi</ext>
+        <magic offset="0" type="byte" value="02f7"/>
+        <magic offset="14" type="byte" value="1b20546558206f757470757420"/>
+    </mime-type>
+                
+    <mime-type name="application/x-futuresplash"
+               description="Macromedia FutureSplash File">
+        <ext>spl</ext>
+    </mime-type>
+    
+    <mime-type name="application/x-gtar"
+               description="GNU tar Compressed File Archive (GNU Tape Archive)">
+        <ext>gtar</ext>
+    </mime-type>
+
+    <mime-type name="application/x-gzip"
+               description="Gzip Compressed Archive">
+        <ext>gz</ext><ext>tgz</ext>
+        <magic offset="0" type="byte" value="1f8b"/>
+    </mime-type>
+
+    <mime-type name="application/x-hdf"
+               description="Hierarchical Data Format File">
+        <ext>hdf</ext>
+        <magic offset="0" type="byte" value="0e031301"/>
+    </mime-type>
+    
+    <mime-type name="application/x-javascript"
+    	       description="JavaScript Source Code">
+        <ext>js</ext>
+    </mime-type>
+    
+    <mime-type name="application/x-kword"
+               description="KWord File">
+        <ext>kwd</ext><ext>kwt</ext>
+    </mime-type>
+    
+    <mime-type name="application/x-kspread"
+               description="KSpread File">
+        <ext>ksp</ext>
+    </mime-type>
+    
+    <mime-type name="application/x-kpresenter"
+               description="KPresenter File">
+        <ext>kpr</ext><ext>kpt</ext>
+    </mime-type>
+    
+    <mime-type name="application/x-kchart"
+               description="KChart File">
+        <ext>chrt</ext>
+    </mime-type>
+    
+    <mime-type name="application/x-killustrator"
+               description="KIllustrator File">
+        <ext>kil</ext>
+    </mime-type>
+    
+    <mime-type name="application/x-koan"
+               description="SSEYO Koan File">
+        <ext>skp</ext><ext>skd</ext><ext>skt</ext><ext>skm</ext>
+    </mime-type>
+    
+    <mime-type name="application/x-latex"
+               description="LaTeX Source Document">
+        <ext>latex</ext>
+    </mime-type>
+    
+    <mime-type name="application/x-netcdf">
+        <ext>nc</ext><ext>cdf</ext>
+    </mime-type>
+    
+    <mime-type name="application/x-ogg"
+               description="Ogg Vorbis Codec Compressed WAV File">
+        <ext>ogg</ext>
+        <magic offset="0" type="byte" value="4f67675300020000000000000000"/>
+        <!-- or "OggS" string -->
+    </mime-type>
+
+    <mime-type name="application/x-rar-compressed"
+               description="Rar">
+        <ext>rar</ext>
+        <magic offset="0" type="byte" value="526172211a"/>
+    </mime-type>
+
+    <mime-type name="application/x-rpm"
+               description="RedHat Package Manager">
+        <ext>rpm</ext>
+        <magic offset="0" type="byte" value="edabeedb"/>
+    </mime-type>
+    
+    <mime-type name="application/x-sh"
+               description="UNIX/LINUX Shell Script">
+        <ext>sh</ext>
+    </mime-type>
+    
+    <mime-type name="application/x-shar"
+               description="UNIX shar Archive File">
+        <ext>shar</ext>
+    </mime-type>
+    
+    <mime-type name="application/x-shockwave-flash"
+               description="Macromedia Flash Format File">
+        <ext>swf</ext>
+        <magic offset="0" value="FWS"/>
+	<!-- compressed -->
+        <magic offset="0" value="CWS"/>
+    </mime-type>
+    
+    <mime-type name="application/x-stuffit"
+               description="StuffIt Compressed Archive File">
+        <ext>sit</ext>
+        <magic offset="0" value="StuffIt (c)1997-"/>
+        <magic offset="0" value="SIT!"/>
+    </mime-type>
+    
+    <mime-type name="application/x-sv4cpio">
+        <ext>sv4cpio</ext>
+    </mime-type>
+    
+    <mime-type name="application/x-sv4crc">
+        <ext>sv4crc</ext>
+    </mime-type>
+    
+    <mime-type name="application/x-tar"
+               description="Tape Archive File">
+        <ext>tar</ext>
+        <magic offset="257" value="ustar"/>
+    </mime-type>
+    
+    <mime-type name="application/x-tcl"
+               description="Tcl (Tool Command Language) Language Script">
+        <ext>tcl</ext>
+    </mime-type>
+    
+    <mime-type name="application/x-tex"
+               description="LaTeX Source">
+        <ext>tex</ext>
+    </mime-type>
+    
+    <mime-type name="application/x-texinfo">
+        <ext>texinfo</ext><ext>texi</ext>
+    </mime-type>
+    
+    <mime-type name="application/x-troff"
+               description="Roff/nroff/troff/groff Unformatted Manual Page (UNIX)">
+        <ext>t</ext><ext>tr</ext><ext>roff</ext>
+    </mime-type>
+    
+    <mime-type name="application/x-troff-man"
+               description="Manual">
+        <ext>man</ext>
+    </mime-type>
+
+    <mime-type name="application/x-troff-me"
+               description="Formatted Manual Page with ME Macros">
+        <ext>me</ext>
+    </mime-type>
+    
+    <mime-type name="application/x-troff-ms"
+               description="Formatted Manual Page with MS Macros">
+        <ext>ms</ext>
+    </mime-type>
+    
+    <mime-type name="application/x-ustar"
+               description="POSIX tar Compressed Archive">
+        <ext>ustar</ext>
+    </mime-type>
+    
+    <mime-type name="application/x-wais-source">
+    	<ext>src</ext>
+    </mime-type>
+    
+    <mime-type name="application/zip"
+               description="Compressed Archive File">
+        <ext>zip</ext>
+        <magic offset="0" value="PK"/>
+    </mime-type>
+    
+
+    <!--
+     !   Audio primary type
+     ! -->
+
+    <mime-type name="audio/basic"
+               description="uLaw/AU Audio File">
+        <ext>au</ext><ext>snd</ext>
+        <magic offset="0" type="byte" value="2e736e64000000"/>
+    </mime-type>
+
+    <mime-type name="audio/midi"
+               description="Musical Instrument Digital Interface MIDI-sequention Sound">
+        <ext>mid</ext><ext>midi</ext><ext>kar</ext>
+        <magic offset="0" value="MThd"/>
+    </mime-type>
+    
+    <mime-type name="audio/mpeg"
+               description="MPEG Audio Stream, Layer III">
+        <ext>mp3</ext><ext>mp2</ext><ext>mpga</ext>
+        <magic offset="0" value="ID3"/>
+    </mime-type>
+
+    
+    <mime-type name="audio/x-aiff"
+               description="Audio Interchange File">
+        <ext>aif</ext><ext>aiff</ext><ext>aifc</ext>
+        <magic offset="0" type="byte" value="464f524d00"/>
+    </mime-type>
+    
+    <mime-type name="audio/x-mpegurl"
+               description="MP3 Playlist File">
+        <ext>m3u</ext>
+        <magic offset="0" type="byte" value="234558544d33550d0a"/>
+    </mime-type> 
+    
+    <mime-type name="audio/x-pn-realaudio"
+               description="RealMedia Metafile">
+        <ext>ram</ext><ext>rm</ext>
+        <magic offset="0" type="byte" value="2e524d460000001200"/>
+    </mime-type>
+
+    <mime-type name="audio/x-pn-realaudio-plugin"
+               description="RealMedia Player Plug-in">
+        <ext>rpm</ext>
+    </mime-type>
+    
+    <mime-type name="audio/x-realaudio"
+               description="RealMedia Streaming Media">
+        <ext>ra</ext>
+        <magic offset="0" type="byte" value="2e524d460000001200"/>
+    </mime-type>
+    
+    <mime-type name="audio/x-wav"
+               description="Waveform Audio">
+        <ext>wav</ext>
+        <magic offset="0" value="RIFF"/>
+    </mime-type>
+
+
+    <!--
+     !   Chemical primary type
+     ! -->
+    
+    <mime-type name="chemical/x-pdb"
+               description="Brookhaven Protein Databank File">
+        <ext>pdb</ext>
+    </mime-type>
+    
+    <mime-type name="chemical/x-xyz"
+               description="XMol XYZ">
+        <ext>xyz</ext>
+    </mime-type>
+
+            
+    <!--
+     !   Image primary type
+     ! -->
+        
+    <mime-type name="image/bmp"
+               description="Windows OS/2 Bitmap Graphics">
+        <ext>bmp</ext>
+        <magic offset="0" value="BM"/>
+    </mime-type>
+    
+    <mime-type name="image/gif"
+               description="Graphic Interchange Format">
+        <ext>gif</ext>
+        <magic offset="0" value="GIF8"/>
+    </mime-type>
+    
+    <mime-type name="image/ief"
+               description="Image Exchange Format">
+        <ext>ief</ext>
+    </mime-type>
+
+    <mime-type name="image/jpeg"
+               description="JPEG/JIFF Image">
+        <ext>jpg</ext><ext>jpeg</ext><ext>jpe</ext>
+        <magic offset="0" type="byte" value="ffd8ff"/>
+    </mime-type>
+   
+    <mime-type name="image/photoshop"
+               description="Photoshop Format">
+        <ext>psd</ext>
+        <magic offset="0" value="8BPS"/>
+    </mime-type>
+ 
+    <mime-type name="image/png"
+               description="Portable Network Graphic">
+        <ext>png</ext>
+        <magic offset="0" type="byte" value="89504e470d0a1a"/> <!-- 89504e470d0a1a0a0000000d49484452 -->
+    </mime-type>
+
+    <mime-type name="image/tiff"
+               description="Tagged Image Format File">
+        <ext>tif</ext><ext>tiff</ext>
+        <magic offset="0" type="byte" value="4d4d002a"/>
+        <magic offset="0" type="byte" value="49492a00"/>
+    </mime-type>
+
+    <mime-type name="image/vnd.djvu"
+               description="DjVu File">
+        <ext>djvu</ext><ext>djv</ext>
+    </mime-type>
+    
+    <mime-type name="image/vnd.wap.wbmp"
+               description="Wireless Bitmap File Format">
+        <ext>wbmp</ext>
+    </mime-type>
+
+    <mime-type name="image/xcf"
+               description="GIMP Image File">
+        <ext>xcf</ext>
+        <magic offset="0" value="gimp xcf "/>
+    </mime-type>
+
+    <mime-type name="image/x-cmu-raster"
+               description="Cals Raster File">
+        <ext>ras</ext>
+    </mime-type>
+
+    <mime-type name="image/x-portable-anymap"
+               description="PBM Portable Any Map Graphic Bitmap">
+        <ext>pnm</ext>
+        <!--magic offset="0" type="byte" value="50360a"/-->
+    </mime-type>
+    
+    <mime-type name="image/x-portable-bitmap"
+               description="UNIX Portable Bitmap Graphic">
+        <ext>pbm</ext>
+        <magic offset="0" type="byte" value="50340a"/>
+        <magic offset="0" value="P1"/>
+        <magic offset="0" value="P4"/>
+    </mime-type>
+
+    <mime-type name="image/x-portable-graymap"
+               description="Portable Graymap Graphic">
+        <ext>pgm</ext>
+        <magic offset="0" type="byte" value="50350a"/>
+        <magic offset="0" value="P2"/>
+        <magic offset="0" value="P5"/>
+    </mime-type>
+    
+    <mime-type name="image/x-portable-pixmap"
+               description="PBM Portable Pixelmap Graphic">
+        <ext>ppm</ext>
+        <magic offset="0" value="P3"/>
+        <magic offset="0" value="P6"/>
+    </mime-type>
+    
+    <mime-type name="image/x-rgb"
+               description="Silicon Graphics RGB Bitmap">
+        <ext>rgb</ext>
+        <magic offset="0" type="byte" value="01da01010003"/>
+    </mime-type>
+    
+    <mime-type name="image/x-xbitmap"
+               description="X Bitmap Graphic">
+        <ext>xbm</ext>
+    </mime-type>
+    
+    <mime-type name="image/x-xpixmap"
+               description="X Picsmap Graphic">
+        <ext>xpm</ext>
+    </mime-type>
+    
+    <mime-type name="image/x-xwindowdump"
+               description="X Windows Dump">
+        <ext>xwd</ext>
+        <magic offset="0" type="byte" value="000000"/>
+    </mime-type>
+
+
+    <!--
+     !   Message primary type
+     ! -->
+     
+    <mime-type name="message/news">
+        <magic offset="0" value="Path:"/>
+        <magic offset="0" value="Xref:"/>
+        <magic offset="0" value="Article"/>
+    </mime-type>
+
+    <mime-type name="message/rfc822">
+        <magic offset="0" value="Relay-Version:"/>
+        <magic offset="0" value="#! rnews"/>
+        <magic offset="0" value="N#! rnews"/>
+        <magic offset="0" value="Forward to"/>
+        <magic offset="0" value="Pipe to"/>
+        <magic offset="0" value="Return-Path:"/>
+        <magic offset="0" value="From:"/>
+        <magic offset="0" value="Message-ID:"/>
+        <magic offset="0" value="Date:"/>
+    </mime-type>
+        
+        
+    <!--
+     !   Model primary type
+     ! -->
+    
+    <mime-type name="model/iges"
+               description="Initial Graphics Exchange Specification Format">
+        <ext>igs</ext><ext>iges</ext>
+    </mime-type>
+    
+    <mime-type name="model/mesh">
+        <ext>msh</ext><ext>mesh</ext><ext>silo</ext>
+    </mime-type>
+    
+    <mime-type name="model/vrml"
+               description="Virtual Reality Modeling Language">
+        <ext>wrl</ext><ext>vrml</ext>
+    </mime-type>
+
+                    
+    <!--
+     !   Text primary type
+     ! -->
+        
+    <mime-type name="text/css"
+               description="Cascading Style Sheet">
+        <ext>css</ext>
+    </mime-type>
+
+    <mime-type name="text/html"
+               description="Hypertext Markup Language (HTML)">
+        <ext>htm</ext><ext>html</ext>
+        <magic offset="0" value="&lt;HEAD"/>
+        <magic offset="0" value="&lt;head"/>
+        <magic offset="0" value="&lt;TITLE"/>
+        <magic offset="0" value="&lt;HEAD"/>
+        <magic offset="0" value="&lt;!doctype html"/>
+        <magic offset="0" value="&lt;!DOCTYPE HTML"/>
+        <magic offset="0" value="&lt;html"/>
+        <magic offset="0" value="&lt;HTML"/>
+        <magic offset="0" value="&lt;H1"/>
+        <magic offset="0" value="&lt;h1"/>
+    </mime-type>
+
+    <mime-type name="text/plain"
+               description="Text File">
+        <ext>asc</ext><ext>txt</ext>
+    </mime-type>
+
+    <mime-type name="text/richtext"
+               description="Rich Text Document">
+        <ext>rtx</ext>
+    </mime-type>
+
+    <mime-type name="text/rtf"
+               description="Rich Text Format File">
+        <ext>rtf</ext>
+        <magic offset="0" value="{\rtf"/>
+    </mime-type>
+
+    <mime-type name="text/sgml"
+               description="Standard Generalized Markup Language Document">
+        <ext>sgml</ext><ext>sgm</ext>
+    </mime-type>
+    
+    <mime-type name="text/tab-separated-values"
+               description="Tab Separated Values File">
+        <ext>tsv</ext>
+    </mime-type>
+    
+    <mime-type name="text/vnd.wap.wml"
+               description="Wireless Markup Language File">
+        <ext>wml</ext>
+    </mime-type>
+    
+    <mime-type name="text/vnd.wap.wmlscript"
+               description="WML Script">
+        <ext>wmls</ext>
+    </mime-type>
+
+    <mime-type name="text/xml"
+               description="Extensible Markup Language File">
+        <ext>xml</ext><ext>xsl</ext>
+        <!--magic offset="0" value="&lt;?xml"/-->
+    </mime-type>
+        
+    <mime-type name="text/x-setext"
+               description="Setext (Structure Enhanced Text)">
+        <ext>etx</ext>
+    </mime-type>
+
+    
+    <!--
+     !   Video primary type
+     ! -->
+
+    <mime-type name="video/mpeg"
+               description="MPEG Movie Clip">
+        <ext>mpg</ext><ext>mpeg</ext><ext>mpe</ext>
+        <magic offset="0" type="byte" value="000001b3"/>
+        <magic offset="0" type="byte" value="000001ba"/>
+    </mime-type>
+
+    <mime-type name="video/quicktime"
+               description="QuickTime Video Clip">
+        <ext>mov</ext><ext>qt</ext>
+        <magic offset="4" value="moov"/>
+        <magic offset="4" value="mdat"/>
+    </mime-type>
+
+    <mime-type name="video/vnd.mpegurl">
+        <ext>mxu</ext>
+    </mime-type>
+
+    <mime-type name="video/x-msvideo"
+               description="Audio Video Interleave File">
+        <ext>avi</ext>
+        <magic offset="8" type="byte" value="41564920"/>
+    </mime-type>
+        
+    <mime-type name="video/x-sgi-movie"
+               description="QuickTime Movie">
+        <ext>movie</ext>
+    </mime-type>
+        
+    
+    <!--
+     !   X-Conference primary type
+     ! -->
+    
+    <mime-type name="x-conference/x-cooltalk"
+               description="Cooltalk Audio">
+        <ext>ice</ext>
+    </mime-type>
+    
+
+<!--
+    Here are the Mime media-types that were in the Nutch original
+    mime.types file, but without extension mapping:
+
+    application/EDI-Consent
+    application/EDI-X12
+    application/EDIFACT
+    application/activemessage
+    application/applefile
+    application/atomicmail
+    application/batch-SMTP
+    application/beep+xml
+    application/cals-1840
+    application/commonground
+    application/cybercash
+    application/dca-rft
+    application/dec-dx
+    application/dvcs
+    application/eshop
+    application/http
+    application/hyperstudio
+    application/iges
+    application/index
+    application/index.cmd
+    application/index.obj
+    application/index.response
+    application/index.vnd
+    application/iotp
+    application/ipp
+    application/isup
+    application/font-tdpfr
+    application/macwriteii
+    application/marc
+    application/mathematica
+    application/mathematica-old
+    application/news-message-id
+    application/news-transmission
+    application/ocsp-request
+    application/ocsp-response
+    application/parityfec
+    application/pgp-encrypted
+    application/pgp-keys
+    application/pgp-signature
+    application/pkcs10
+    application/pkcs7-mime
+    application/pkcs7-signature
+    application/pkix-cert
+    application/pkix-crl
+    application/pkixcmp
+    application/prs.alvestrand.titrax-sheet
+    application/prs.cww
+    application/prs.nprend
+    application/qsig
+    application/remote-printing
+    application/riscos
+    application/sdp
+    application/set-payment
+    application/set-payment-initiation
+    application/set-registration
+    application/set-registration-initiation
+    application/sgml
+    application/sgml-open-catalog
+    application/sieve
+    application/slate
+    application/timestamp-query
+    application/timestamp-reply
+    application/vemmi
+    application/vnd.3M.Post-it-Notes
+    application/vnd.FloGraphIt
+    application/vnd.accpac.simply.aso
+    application/vnd.accpac.simply.imp
+    application/vnd.acucobol
+    application/vnd.aether.imp
+    application/vnd.anser-web-certificate-issue-initiation
+    application/vnd.anser-web-funds-transfer-initiation
+    application/vnd.audiograph
+    application/vnd.businessobjects
+    application/vnd.bmi
+    application/vnd.canon-cpdl
+    application/vnd.canon-lips
+    application/vnd.claymore
+    application/vnd.commerce-battelle
+    application/vnd.commonspace
+    application/vnd.comsocaller
+    application/vnd.contact.cmsg
+    application/vnd.cosmocaller
+    application/vnd.cups-postscript
+    application/vnd.cups-raster
+    application/vnd.cups-raw
+    application/vnd.ctc-posml
+    application/vnd.cybank
+    application/vnd.dna
+    application/vnd.dpgraph
+    application/vnd.dxr
+    application/vnd.ecdis-update
+    application/vnd.ecowin.chart
+    application/vnd.ecowin.filerequest
+    application/vnd.ecowin.fileupdate
+    application/vnd.ecowin.series
+    application/vnd.ecowin.seriesrequest
+    application/vnd.ecowin.seriesupdate
+    application/vnd.enliven
+    application/vnd.epson.esf
+    application/vnd.epson.msf
+    application/vnd.epson.quickanime
+    application/vnd.epson.salt
+    application/vnd.epson.ssf
+    application/vnd.ericsson.quickcall
+    application/vnd.eudora.data
+    application/vnd.fdf
+    application/vnd.ffsns
+    application/vnd.framemaker
+    application/vnd.fsc.weblaunch
+    application/vnd.fujitsu.oasys
+    application/vnd.fujitsu.oasys2
+    application/vnd.fujitsu.oasys3
+    application/vnd.fujitsu.oasysgp
+    application/vnd.fujitsu.oasysprs
+    application/vnd.fujixerox.ddd
+    application/vnd.fujixerox.docuworks
+    application/vnd.fujixerox.docuworks.binder
+    application/vnd.fut-misnet
+    application/vnd.grafeq
+    application/vnd.groove-account
+    application/vnd.groove-identity-message
+    application/vnd.groove-injector
+    application/vnd.groove-tool-message
+    application/vnd.groove-tool-template
+    application/vnd.groove-vcard
+    application/vnd.hhe.lesson-player
+    application/vnd.hp-HPGL
+    application/vnd.hp-PCL
+    application/vnd.hp-PCLXL
+    application/vnd.hp-hpid
+    application/vnd.hp-hps
+    application/vnd.httphone
+    application/vnd.hzn-3d-crossword
+    application/vnd.ibm.afplinedata
+    application/vnd.ibm.MiniPay
+    application/vnd.ibm.modcap
+    application/vnd.informix-visionary
+    application/vnd.intercon.formnet
+    application/vnd.intertrust.digibox
+    application/vnd.intertrust.nncp
+    application/vnd.intu.qbo
+    application/vnd.intu.qfx
+    application/vnd.irepository.package+xml
+    application/vnd.is-xpr
+    application/vnd.japannet-directory-service
+    application/vnd.japannet-jpnstore-wakeup
+    application/vnd.japannet-payment-wakeup
+    application/vnd.japannet-registration
+    application/vnd.japannet-registration-wakeup
+    application/vnd.japannet-setstore-wakeup
+    application/vnd.japannet-verification
+    application/vnd.japannet-verification-wakeup
+    application/vnd.koan
+    application/vnd.lotus-1-2-3
+    application/vnd.lotus-approach
+    application/vnd.lotus-freelance
+    application/vnd.lotus-notes
+    application/vnd.lotus-organizer
+    application/vnd.lotus-screencam
+    application/vnd.lotus-wordpro
+    application/vnd.mcd
+    application/vnd.mediastation.cdkey
+    application/vnd.meridian-slingshot
+    application/vnd.minisoft-hp3000-save
+    application/vnd.mitsubishi.misty-guard.trustweb
+    application/vnd.mobius.daf
+    application/vnd.mobius.dis
+    application/vnd.mobius.msl
+    application/vnd.mobius.plc
+    application/vnd.mobius.txf
+    application/vnd.motorola.flexsuite
+    application/vnd.motorola.flexsuite.adsi
+    application/vnd.motorola.flexsuite.fis
+    application/vnd.motorola.flexsuite.gotap
+    application/vnd.motorola.flexsuite.kmr
+    application/vnd.motorola.flexsuite.ttc
+    application/vnd.motorola.flexsuite.wem
+    application/vnd.mozilla.xul+xml
+    application/vnd.ms-artgalry
+    application/vnd.ms-asf
+    application/vnd.ms-lrm
+    application/vnd.ms-project
+    application/vnd.ms-tnef
+    application/vnd.ms-works
+    application/vnd.mseq
+    application/vnd.msign
+    application/vnd.music-niff
+    application/vnd.musician
+    application/vnd.netfpx
+    application/vnd.noblenet-directory
+    application/vnd.noblenet-sealer
+    application/vnd.noblenet-web
+    application/vnd.novadigm.EDM
+    application/vnd.novadigm.EDX
+    application/vnd.novadigm.EXT
+    application/vnd.osa.netdeploy
+    application/vnd.palm
+    application/vnd.pg.format
+    application/vnd.pg.osasli
+    application/vnd.powerbuilder6
+    application/vnd.powerbuilder6-s
+    application/vnd.powerbuilder7
+    application/vnd.powerbuilder7-s
+    application/vnd.powerbuilder75
+    application/vnd.powerbuilder75-s
+    application/vnd.previewsystems.box
+    application/vnd.publishare-delta-tree
+    application/vnd.pvi.ptid1
+    application/vnd.pwg-xhtml-print+xml
+    application/vnd.rapid
+    application/vnd.s3sms
+    application/vnd.seemail
+    application/vnd.shana.informed.formdata
+    application/vnd.shana.informed.formtemplate
+    application/vnd.shana.informed.interchange
+    application/vnd.shana.informed.package
+    application/vnd.sss-cod
+    application/vnd.sss-dtf
+    application/vnd.sss-ntf
+    application/vnd.street-stream
+    application/vnd.svd
+    application/vnd.swiftview-ics
+    application/vnd.triscape.mxs
+    application/vnd.trueapp
+    application/vnd.truedoc
+    application/vnd.tve-trigger
+    application/vnd.ufdl
+    application/vnd.uplanet.alert
+    application/vnd.uplanet.alert-wbxml
+    application/vnd.uplanet.bearer-choice-wbxml
+    application/vnd.uplanet.bearer-choice
+    application/vnd.uplanet.cacheop
+    application/vnd.uplanet.cacheop-wbxml
+    application/vnd.uplanet.channel
+    application/vnd.uplanet.channel-wbxml
+    application/vnd.uplanet.list
+    application/vnd.uplanet.list-wbxml
+    application/vnd.uplanet.listcmd
+    application/vnd.uplanet.listcmd-wbxml
+    application/vnd.uplanet.signal
+    application/vnd.vcx
+    application/vnd.vectorworks
+    application/vnd.vidsoft.vidconference
+    application/vnd.visio
+    application/vnd.vividence.scriptfile
+    application/vnd.wap.sic
+    application/vnd.wap.slc
+    application/vnd.webturbo
+    application/vnd.wrq-hp3000-labelled
+    application/vnd.wt.stf
+    application/vnd.xara
+    application/vnd.xfdl
+    application/vnd.yellowriver-custom-menu
+    application/whoispp-query
+    application/whoispp-response
+    application/wita
+    application/wordperfect5.1
+    application/x-compress
+    application/x400-bp
+    application/xml
+    application/xml-dtd
+    application/xml-external-parsed-entity
+    audio/32kadpcm
+    audio/g.722.1
+    audio/l16
+    audio/mp4a-latm
+    audio/mpa-robust
+    audio/parityfec
+    audio/prs.sid
+    audio/telephone-event
+    audio/tone
+    audio/vnd.cisco.nse
+    audio/vnd.cns.anp1
+    audio/vnd.cns.inf1
+    audio/vnd.digital-winds
+    audio/vnd.everad.plj
+    audio/vnd.lucent.voice
+    audio/vnd.nortel.vbk
+    audio/vnd.nuera.ecelp4800
+    audio/vnd.nuera.ecelp7470
+    audio/vnd.nuera.ecelp9600
+    audio/vnd.octel.sbc
+    audio/vnd.qcelp
+    audio/vnd.rhetorex.32kadpcm
+    audio/vnd.vmx.cvsd
+    image/cgm
+    image/g3fax
+    image/naplps
+    image/prs.btif
+    image/prs.pti
+    image/vnd.cns.inf2
+    image/vnd.dwg
+    image/vnd.dxf
+    image/vnd.fastbidsheet
+    image/vnd.fpx
+    image/vnd.fst
+    image/vnd.fujixerox.edmics-mmr
+    image/vnd.fujixerox.edmics-rlc
+    image/vnd.mix
+    image/vnd.net-fpx
+    image/vnd.svf
+    image/vnd.xiff
+    message/delivery-status
+    message/disposition-notification
+    message/external-body
+    message/http
+    message/news
+    message/partial
+    message/rfc822
+    message/s-http
+    model/vnd.dwf
+    model/vnd.flatland.3dml
+    model/vnd.gdl
+    model/vnd.gs-gdl
+    model/vnd.gtw
+    model/vnd.mts
+    model/vnd.vtu
+    multipart/alternative
+    multipart/appledouble
+    multipart/byteranges
+    multipart/digest
+    multipart/encrypted
+    multipart/form-data
+    multipart/header-set
+    multipart/mixed
+    multipart/parallel
+    multipart/related
+    multipart/report
+    multipart/signed
+    multipart/voice-message
+    text/calendar
+    text/directory
+    text/enriched
+    text/parityfec
+    text/prs.lines.tag
+    text/rfc822-headers
+    text/t140
+    text/uri-list
+    text/vnd.DMClientScript
+    text/vnd.IPTC.NITF
+    text/vnd.IPTC.NewsML
+    text/vnd.abc
+    text/vnd.curl
+    text/vnd.flatland.3dml
+    text/vnd.fly
+    text/vnd.fmi.flexstor
+    text/vnd.in3d.3dml
+    text/vnd.in3d.spot
+    text/vnd.latex-z
+    text/vnd.motorola.reflex
+    text/vnd.ms-mediapackage
+    text/vnd.wap.si
+    text/vnd.wap.sl
+    text/xml-external-parsed-entity
+    video/mp4v-es
+    video/parityfec
+    video/pointer
+    video/vnd.fvt
+    video/vnd.motorola.video
+    video/vnd.motorola.videop
+    video/vnd.mts
+    video/vnd.nokia.interleaved-multimedia
+    video/vnd.vivo
+-->
+
+</mime-types>

Added: oodt/branches/wengine-branch/filemgr/src/main/resources/product-type-element-map.xsl
URL: http://svn.apache.org/viewvc/oodt/branches/wengine-branch/filemgr/src/main/resources/product-type-element-map.xsl?rev=1052148&view=auto
==============================================================================
--- oodt/branches/wengine-branch/filemgr/src/main/resources/product-type-element-map.xsl (added)
+++ oodt/branches/wengine-branch/filemgr/src/main/resources/product-type-element-map.xsl Thu Dec 23 02:48:02 2010
@@ -0,0 +1,112 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!-- 
+	Copyright 2007 California Institute of Technology. ALL RIGHTS
+	RESERVED. U.S. Government Sponsorship acknowledged.
+	
+	$Id$
+	
+	Author: Chris A. Mattmann
+	Description: To use this stylesheet in your product-type-element map, add the following
+	line below the <?xml... ?> declaration in the map file:
+	
+	<?xml-stylesheet type="text/xsl" href="product-type-element-map.xsl"?>
+-->
+<!DOCTYPE xsl:stylesheet  [
+	<!ENTITY nbsp   "&#160;">
+	<!ENTITY copy   "&#169;">
+	<!ENTITY reg    "&#174;">
+	<!ENTITY trade  "&#8482;">
+	<!ENTITY mdash  "&#8212;">
+	<!ENTITY ldquo  "&#8220;">
+	<!ENTITY rdquo  "&#8221;"> 
+	<!ENTITY pound  "&#163;">
+	<!ENTITY yen    "&#165;">
+	<!ENTITY euro   "&#8364;">
+]>
+<xsl:stylesheet version="1.0"
+	xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+	xmlns:cas="http://oodt.jpl.nasa.gov/1.0/cas">
+	<xsl:output method="html" encoding="ISO-8859-1"
+		doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN"
+		doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" />
+	<xsl:template match="/cas:producttypemap">
+
+		<html xmlns="http://www.w3.org/1999/xhtml">
+			<head>
+				<meta http-equiv="Content-Type"
+					content="text/html; charset=ISO-8859-1" />
+				<title>CAS Objects</title>
+			</head>
+
+			<xsl:variable name="elementList"
+				select="document('elements.xml')" />
+
+			<body>
+				<table border="0" style="font-family:Sans-Serif;">
+					<tr style="font-weight:bold">
+						<td>Object</td>
+						<td>Data Elements</td>
+					</tr>
+					<xsl:for-each select="type">
+						<tr valign="top">
+							<td height="40"
+								style="background-color:#dfd389;">
+								<xsl:value-of
+									select="substring(@id, 10)" />
+							</td>
+							<td rowspan="3">
+								<table
+									style="background-color:#889989;text-decoration:italic;">
+									<xsl:choose>
+										<xsl:when test="element">
+											<xsl:for-each
+												select="element">
+												<xsl:variable
+													name="elemId" select="@id" />
+												<tr>
+													<td>
+														<xsl:value-of
+															select="substring(@id, 10)" />
+													</td>
+													<td
+														style="font-size:11px;">
+														<xsl:value-of
+															select="$elementList/cas:elements/element[@id=$elemId]" />
+													</td>
+												</tr>
+											</xsl:for-each>
+										</xsl:when>
+										<xsl:otherwise>
+											<tr>
+												<td colspan="2">
+													No declared
+													elements: All
+													elements inherited
+												</td>
+											</tr>
+										</xsl:otherwise>
+									</xsl:choose>
+								</table>
+							</td>
+						</tr>
+						<tr valign="top" height="40">
+							<td align="left"
+								style="font-style:italic;">
+								Parent:
+								<xsl:value-of
+									select="substring(@parent, 10)" />
+							</td>
+						</tr>
+						<tr valign="top">
+							<td>
+								&nbsp;
+							</td>
+						</tr>
+					</xsl:for-each>
+				</table>
+
+			</body>
+		</html>
+
+	</xsl:template>
+</xsl:stylesheet>
\ No newline at end of file

Added: oodt/branches/wengine-branch/filemgr/src/site/resources/images/cas-filemgr.jpg
URL: http://svn.apache.org/viewvc/oodt/branches/wengine-branch/filemgr/src/site/resources/images/cas-filemgr.jpg?rev=1052148&view=auto
==============================================================================
Binary file - no diff available.

Propchange: oodt/branches/wengine-branch/filemgr/src/site/resources/images/cas-filemgr.jpg
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: oodt/branches/wengine-branch/filemgr/src/site/resources/images/cas-filemgr.psd
URL: http://svn.apache.org/viewvc/oodt/branches/wengine-branch/filemgr/src/site/resources/images/cas-filemgr.psd?rev=1052148&view=auto
==============================================================================
Binary file - no diff available.

Propchange: oodt/branches/wengine-branch/filemgr/src/site/resources/images/cas-filemgr.psd
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: oodt/branches/wengine-branch/filemgr/src/site/resources/images/fm_extension_points.png
URL: http://svn.apache.org/viewvc/oodt/branches/wengine-branch/filemgr/src/site/resources/images/fm_extension_points.png?rev=1052148&view=auto
==============================================================================
Binary file - no diff available.

Propchange: oodt/branches/wengine-branch/filemgr/src/site/resources/images/fm_extension_points.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: oodt/branches/wengine-branch/filemgr/src/site/resources/images/fm_object_model.png
URL: http://svn.apache.org/viewvc/oodt/branches/wengine-branch/filemgr/src/site/resources/images/fm_object_model.png?rev=1052148&view=auto
==============================================================================
Binary file - no diff available.

Propchange: oodt/branches/wengine-branch/filemgr/src/site/resources/images/fm_object_model.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: oodt/branches/wengine-branch/filemgr/src/site/resources/images/fm_use_case1.png
URL: http://svn.apache.org/viewvc/oodt/branches/wengine-branch/filemgr/src/site/resources/images/fm_use_case1.png?rev=1052148&view=auto
==============================================================================
Binary file - no diff available.

Propchange: oodt/branches/wengine-branch/filemgr/src/site/resources/images/fm_use_case1.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: oodt/branches/wengine-branch/filemgr/src/site/site.xml
URL: http://svn.apache.org/viewvc/oodt/branches/wengine-branch/filemgr/src/site/site.xml?rev=1052148&view=auto
==============================================================================
--- oodt/branches/wengine-branch/filemgr/src/site/site.xml (added)
+++ oodt/branches/wengine-branch/filemgr/src/site/site.xml Thu Dec 23 02:48:02 2010
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+  Copyright (c) 2006 California Institute of Technology.
+  ALL RIGHTS RESERVED. U.S. Government sponsorship acknowledged.
+
+  $Id$
+-->
+
+<project name="cas-filemgr" href="http://oodt.jpl.nasa.gov/cas-filemgr/">
+
+  <body>
+    <links>
+      <item name="OODT" href="../oodt-site/"/>
+    </links>
+
+    <menu ref="reports" inherit="bottom"/>
+    <menu name="Software Documentation">
+      <item name="User Guide" href="user/"/>
+    </menu>
+  </body>
+</project>