You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@oodt.apache.org by pr...@apache.org on 2011/08/22 19:14:02 UTC
svn commit: r1160339 [1/2] - in
/oodt/trunk/mvn/archetypes/radix/src/main/resources: META-INF/maven/
archetype-resources/ archetype-resources/crawler/src/
archetype-resources/crawler/src/main/
archetype-resources/crawler/src/main/assembly/ archetype-re...
Author: pramirez
Date: Mon Aug 22 17:14:01 2011
New Revision: 1160339
URL: http://svn.apache.org/viewvc?rev=1160339&view=rev
Log:
Fix to include missing resources.
Apparently some resources were not added in the initial check in to make this archetype work properly.
Added:
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/crawler/src/
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/crawler/src/main/
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/crawler/src/main/assembly/
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/crawler/src/main/assembly/assembly.xml (with props)
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/crawler/src/main/resources/
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/crawler/src/main/resources/bin/
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/crawler/src/main/resources/bin/crawlctl (with props)
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/crawler/src/main/resources/bin/crawler_launcher (with props)
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/crawler/src/main/resources/logs/
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/crawler/src/main/resources/logs/REMOVE.log (with props)
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/crawler/src/main/resources/policy/
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/crawler/src/main/resources/policy/action-beans.xml (with props)
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/crawler/src/main/resources/policy/cmd-line-option-beans.xml (with props)
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/crawler/src/main/resources/policy/crawler-beans.xml (with props)
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/crawler/src/main/resources/policy/crawler-config.xml (with props)
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/crawler/src/main/resources/policy/precondition-beans.xml (with props)
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/distribution/src/
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/distribution/src/main/
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/distribution/src/main/assembly/
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/distribution/src/main/assembly/assembly.xml (with props)
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/distribution/src/main/resources/
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/distribution/src/main/resources/bin/
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/distribution/src/main/resources/bin/oodt_pcs (with props)
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/extensions/src/
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/extensions/src/main/
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/extensions/src/main/assembly/
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/extensions/src/main/assembly/assembly.xml (with props)
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/extensions/src/main/java/
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/extensions/src/main/resources/
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/extensions/src/main/resources/extractor/
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/extensions/src/main/resources/extractor/bin/
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/extensions/src/main/resources/extractor/etc/
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/extensions/src/main/resources/logs/
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/extensions/src/main/resources/logs/REMOVE.log (with props)
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/workflow/src/
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/workflow/src/main/
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/workflow/src/main/assembly/
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/workflow/src/main/assembly/assembly.xml (with props)
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/workflow/src/main/resources/
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/workflow/src/main/resources/bin/
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/workflow/src/main/resources/logs/
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/workflow/src/main/resources/logs/REMOVE.log (with props)
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/workflow/src/main/resources/policy/
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/workflow/src/main/resources/policy/conditions.xml (with props)
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/workflow/src/main/resources/policy/events.xml (with props)
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/workflow/src/main/resources/policy/tasks.xml (with props)
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/workflow/src/main/resources/policy/workflow-instance-met.xml (with props)
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/workflow/src/main/resources/policy/workflow-lifecycle.xml (with props)
Modified:
oodt/trunk/mvn/archetypes/radix/src/main/resources/META-INF/maven/archetype-metadata.xml
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/distribution/pom.xml
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/filemgr/src/main/assembly/assembly.xml
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/pom.xml
Modified: oodt/trunk/mvn/archetypes/radix/src/main/resources/META-INF/maven/archetype-metadata.xml
URL: http://svn.apache.org/viewvc/oodt/trunk/mvn/archetypes/radix/src/main/resources/META-INF/maven/archetype-metadata.xml?rev=1160339&r1=1160338&r2=1160339&view=diff
==============================================================================
--- oodt/trunk/mvn/archetypes/radix/src/main/resources/META-INF/maven/archetype-metadata.xml (original)
+++ oodt/trunk/mvn/archetypes/radix/src/main/resources/META-INF/maven/archetype-metadata.xml Mon Aug 22 17:14:01 2011
@@ -3,10 +3,45 @@
xmlns="http://maven.apache.org/plugins/maven-archetype-plugin/archetype-descriptor/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modules>
- <module id="exts" dir="extensions" name="extensions" />
- <module id="filemgr" dir="filemgr" name="filemgr" />
- <module id="workflow" dir="workflow" name="workflow" />
- <module id="crawler" dir="crawler" name="crawler" />
- <module id="distribution" dir="distribution" name="distribution" />
+ <module id="exts" dir="extensions" name="extensions">
+ <fileSets>
+ <fileSet>
+ <directory></directory>
+ <includes/>
+ </fileSet>
+ </fileSets>
+ </module>
+ <module id="filemgr" dir="filemgr" name="filemgr">
+ <fileSets>
+ <fileSet>
+ <directory></directory>
+ <includes/>
+ </fileSet>
+ </fileSets>
+ </module>
+ <module id="workflow" dir="workflow" name="workflow">
+ <fileSets>
+ <fileSet>
+ <directory></directory>
+ <includes/>
+ </fileSet>
+ </fileSets>
+ </module>
+ <module id="crawler" dir="crawler" name="crawler">
+ <fileSets>
+ <fileSet>
+ <directory></directory>
+ <includes/>
+ </fileSet>
+ </fileSets>
+ </module>
+ <module id="distribution" dir="distribution" name="distribution">
+ <fileSets>
+ <fileSet>
+ <directory></directory>
+ <includes/>
+ </fileSet>
+ </fileSets>
+ </module>
</modules>
</archetype-descriptor>
Added: oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/crawler/src/main/assembly/assembly.xml
URL: http://svn.apache.org/viewvc/oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/crawler/src/main/assembly/assembly.xml?rev=1160339&view=auto
==============================================================================
--- oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/crawler/src/main/assembly/assembly.xml (added)
+++ oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/crawler/src/main/assembly/assembly.xml Mon Aug 22 17:14:01 2011
@@ -0,0 +1,60 @@
+<assembly>
+ <id>bin</id>
+ <formats>
+ <format>tar.gz</format>
+ <format>zip</format>
+ </formats>
+ <includeBaseDirectory>false</includeBaseDirectory>
+ <baseDirectory>crawler</baseDirectory>
+ <includeSiteDirectory>false</includeSiteDirectory>
+ <fileSets>
+ <fileSet>
+ <directory>${basedir}</directory>
+ <outputDirectory>.</outputDirectory>
+ <includes>
+ <include>LICENSE.txt</include>
+ <include>CHANGES.txt</include>
+ </includes>
+ </fileSet>
+ <fileSet>
+ <directory>${basedir}/src/main/resources/bin</directory>
+ <outputDirectory>crawler/bin</outputDirectory>
+ <includes/>
+ <fileMode>755</fileMode>
+ </fileSet>
+ <fileSet>
+ <directory>${basedir}/src/main/resources/logs</directory>
+ <outputDirectory>crawler/logs</outputDirectory>
+ <includes>
+ <include>REMOVE.log</include>
+ </includes>
+ </fileSet>
+ <fileSet>
+ <directory>${basedir}/src/main/resources/etc</directory>
+ <outputDirectory>crawler/etc</outputDirectory>
+ <includes>
+ <include>**.properties</include>
+ </includes>
+ </fileSet>
+ <fileSet>
+ <directory>${basedir}/src/main/resources/policy</directory>
+ <outputDirectory>crawler/policy</outputDirectory>
+ <includes/>
+ </fileSet>
+ <fileSet>
+ <directory>target/site/apidocs</directory>
+ <filtered>false</filtered>
+ <outputDirectory>doc</outputDirectory>
+ <excludes/>
+ </fileSet>
+ </fileSets>
+ <dependencySets>
+ <dependencySet>
+ <outputDirectory>crawler/lib</outputDirectory>
+ <unpack>false</unpack>
+ <useProjectArtifact>true</useProjectArtifact>
+ <useTransitiveDependencies>true</useTransitiveDependencies>
+ <unpackOptions/>
+ </dependencySet>
+ </dependencySets>
+</assembly>
Propchange: oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/crawler/src/main/assembly/assembly.xml
------------------------------------------------------------------------------
svn:keywords = Id Revision
Added: oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/crawler/src/main/resources/bin/crawlctl
URL: http://svn.apache.org/viewvc/oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/crawler/src/main/resources/bin/crawlctl?rev=1160339&view=auto
==============================================================================
--- oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/crawler/src/main/resources/bin/crawlctl (added)
+++ oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/crawler/src/main/resources/bin/crawlctl Mon Aug 22 17:14:01 2011
@@ -0,0 +1,18 @@
+#!/bin/sh
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE.txt file distributed with
+# this work for additional information regarding copyright ownership. The ASF
+# licenses this file to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+##########################################################################
+
+java -Djava.util.logging.config.file=../etc/logging.properties -Djava.ext.dirs=../lib org.apache.oodt.cas.crawl.daemon.CrawlDaemonController $*
Propchange: oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/crawler/src/main/resources/bin/crawlctl
------------------------------------------------------------------------------
svn:executable = *
Added: oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/crawler/src/main/resources/bin/crawler_launcher
URL: http://svn.apache.org/viewvc/oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/crawler/src/main/resources/bin/crawler_launcher?rev=1160339&view=auto
==============================================================================
--- oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/crawler/src/main/resources/bin/crawler_launcher (added)
+++ oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/crawler/src/main/resources/bin/crawler_launcher Mon Aug 22 17:14:01 2011
@@ -0,0 +1,21 @@
+#!/bin/sh
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE.txt file distributed with
+# this work for additional information regarding copyright ownership. The ASF
+# licenses this file to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+##########################################################################
+
+java -Dorg.apache.oodt.cas.crawl.bean.repo=file:/usr/local/CHANGE_ME/crawler/policy/crawler-config.xml \
+ -Dorg.apache.oodt.cas.filemgr.properties=/usr/local/CHANGE_ME/filemgr/etc/filemgr.properties \
+ -Djava.util.logging.config.file=../etc/logging.properties \
+ -Djava.ext.dirs=../lib org.apache.oodt.cas.crawl.CrawlerLauncher $*
Propchange: oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/crawler/src/main/resources/bin/crawler_launcher
------------------------------------------------------------------------------
svn:executable = *
Added: oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/crawler/src/main/resources/logs/REMOVE.log
URL: http://svn.apache.org/viewvc/oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/crawler/src/main/resources/logs/REMOVE.log?rev=1160339&view=auto
==============================================================================
--- oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/crawler/src/main/resources/logs/REMOVE.log (added)
+++ oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/crawler/src/main/resources/logs/REMOVE.log Mon Aug 22 17:14:01 2011
@@ -0,0 +1,18 @@
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+You can remove this file. It was only included to ensure that the log directory for this
+distribution was created on assembly.
Propchange: oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/crawler/src/main/resources/logs/REMOVE.log
------------------------------------------------------------------------------
svn:keywords = Id Revision
Added: oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/crawler/src/main/resources/policy/action-beans.xml
URL: http://svn.apache.org/viewvc/oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/crawler/src/main/resources/policy/action-beans.xml?rev=1160339&view=auto
==============================================================================
--- oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/crawler/src/main/resources/policy/action-beans.xml (added)
+++ oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/crawler/src/main/resources/policy/action-beans.xml Mon Aug 22 17:14:01 2011
@@ -0,0 +1,132 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one or more contributor
+license agreements. See the NOTICE.txt file distributed with this work for
+additional information regarding copyright ownership. The ASF licenses this
+file to you under the Apache License, Version 2.0 (the "License"); you may not
+use this file except in compliance with the License. You may obtain a copy of
+the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+License for the specific language governing permissions and limitations under
+the License.
+-->
+<beans xmlns="http://www.springframework.org/schema/beans"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
+
+ <bean class="org.apache.oodt.commons.spring.postprocessor.SetIdBeanPostProcessor"/>
+
+ <!-- Crawler Actions -->
+
+ <bean id="DeleteDataFile" lazy-init="true" class="org.apache.oodt.cas.crawl.action.DeleteFile">
+ <property name="description" value="Deletes the current data file"/>
+ <property name="phases">
+ <list>
+ <value type="java.lang.String">postIngestSuccess</value>
+ </list>
+ </property>
+ </bean>
+
+ <bean id="DeletePushpullMetFile" lazy-init="true" class="org.apache.oodt.cas.crawl.action.DeleteFile">
+ <property name="description" value="Deletes the push-pull metadata file for the current data file"/>
+ <property name="phases">
+ <list>
+ <value type="java.lang.String">postIngestSuccess</value>
+ </list>
+ </property>
+ </bean>
+
+ <bean id="DeleteMetadataFile" lazy-init="true" class="org.apache.oodt.cas.crawl.action.DeleteFile">
+ <property name="description" value="Deletes the metadata file for the current data file"/>
+ <property name="phases">
+ <list>
+ <value type="java.lang.String">postIngestSuccess</value>
+ </list>
+ </property>
+ </bean>
+
+ <bean id="MovePushpullMetFileToBackupDir" lazy-init="true" class="org.apache.oodt.cas.crawl.action.MoveFile">
+ <property name="description" value="Moves the push-pull metadata file for the current data file to success directory"/>
+ <property name="createToDir" value="true"/>
+ <property name="phases">
+ <list>
+ <value type="java.lang.String">postIngestSuccess</value>
+ </list>
+ </property>
+ </bean>
+
+ <bean id="MoveMetadataToBackupDir" lazy-init="true" class="org.apache.oodt.cas.crawl.action.MoveFile">
+ <property name="description" value="Moves the metadata file for the current data file to success directory"/>
+ <property name="createToDir" value="true"/>
+ <property name="phases">
+ <list>
+ <value type="java.lang.String">postIngestSuccess</value>
+ </list>
+ </property>
+ </bean>
+
+ <bean id="UpdateWorkflowStatusToIngest" lazy-init="true" class="org.apache.oodt.cas.crawl.action.WorkflowMgrStatusUpdate">
+ <property name="description" value="Updates the current data files workflow status to Ingest"/>
+ <property name="ingestSuffix" value="Ingest"/>
+ <property name="phases">
+ <list>
+ <value type="java.lang.String">postIngestSuccess</value>
+ </list>
+ </property>
+ </bean>
+
+ <bean id="MoveDataFileToFailureDir" lazy-init="true" class="org.apache.oodt.cas.crawl.action.MoveFile">
+ <property name="description" value="Moves the current data file to failure directory"/>
+ <property name="createToDir" value="true"/>
+ <property name="phases">
+ <list>
+ <value type="java.lang.String">postIngestFailure</value>
+ </list>
+ </property>
+ </bean>
+
+ <bean id="MovePushpullMetFileToFailureDir" lazy-init="true" class="org.apache.oodt.cas.crawl.action.MoveFile">
+ <property name="description" value="Moves the push-pull metadata file for the current data file to failure directory"/>
+ <property name="createToDir" value="true"/>
+ <property name="phases">
+ <list>
+ <value type="java.lang.String">postIngestFailure</value>
+ </list>
+ </property>
+ </bean>
+
+ <bean id="MoveMetadataToFailureDir" lazy-init="true" class="org.apache.oodt.cas.crawl.action.MoveFile">
+ <property name="description" value="Moves the metadata file for the current data file to failure directory"/>
+ <property name="createToDir" value="true"/>
+ <property name="phases">
+ <list>
+ <value type="java.lang.String">postIngestFailure</value>
+ </list>
+ </property>
+ </bean>
+
+ <bean id="Unique" lazy-init="true" class="org.apache.oodt.cas.crawl.action.FilemgrUniquenessChecker">
+ <property name="description" value="Checks the filemgr against the PRODUCT_NAME for the current data file to make sure it has not yet been ingested"/>
+ <property name="phases">
+ <list>
+ <value type="java.lang.String">preIngest</value>
+ </list>
+ </property>
+ </bean>
+
+ <bean id="CheckMetFileExists" lazy-init="true" class="org.apache.oodt.cas.crawl.action.ExternAction">
+ <property name="description" value="Checks if metadata file was created -- make sure check-exists.sh is on your PATH"/>
+ <property name="executeCommand" value="./check-exists.sh [Filename].met"/>
+ <property name="phases">
+ <list>
+ <value type="java.lang.String">preIngest</value>
+ </list>
+ </property>
+ </bean>
+
+</beans>
Propchange: oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/crawler/src/main/resources/policy/action-beans.xml
------------------------------------------------------------------------------
svn:keywords = Id Revision
Added: oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/crawler/src/main/resources/policy/cmd-line-option-beans.xml
URL: http://svn.apache.org/viewvc/oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/crawler/src/main/resources/policy/cmd-line-option-beans.xml?rev=1160339&view=auto
==============================================================================
--- oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/crawler/src/main/resources/policy/cmd-line-option-beans.xml (added)
+++ oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/crawler/src/main/resources/policy/cmd-line-option-beans.xml Mon Aug 22 17:14:01 2011
@@ -0,0 +1,647 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one or more contributor
+license agreements. See the NOTICE.txt file distributed with this work for
+additional information regarding copyright ownership. The ASF licenses this
+file to you under the Apache License, Version 2.0 (the "License"); you may not
+use this file except in compliance with the License. You may obtain a copy of
+the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+License for the specific language governing permissions and limitations under
+the License.
+-->
+<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="org.apache.oodt.commons.spring.postprocessor.SetIdBeanPostProcessor"/>
+
+ <bean id="crawlerId" class="org.apache.oodt.commons.option.CmdLineOption">
+ <property name="shortOption" value="cid"/>
+ <property name="longOption" value="crawlerId"/>
+ <property name="description" value="The ProductCrawler bean id of the crawler to use"/>
+ <property name="hasArgs" value="true"/>
+ <property name="optionArgName" value="ProductCrawler id"/>
+ <property name="required" value="true"/>
+ </bean>
+
+ <bean id="printSupportedActions" class="org.apache.oodt.commons.option.CmdLineOption">
+ <property name="shortOption" value="psa"/>
+ <property name="longOption" value="printSupportedActions"/>
+ <property name="description" value="Prints a list and description of all supported CrawlerActions"/>
+ <property name="hasArgs" value="false"/>
+ <property name="required" value="false"/>
+ <property name="performAndQuit" value="true"/>
+ <property name="handler">
+ <bean class="org.apache.oodt.cas.crawl.option.CmdLineOptionCrawlerActionInfoHandler">
+ <property name="applicationContext">
+ <bean class="org.springframework.context.support.ClassPathXmlApplicationContext">
+ <constructor-arg value="/org/apache/oodt/cas/crawl/action/action-beans.xml"/>
+ </bean>
+ </property>
+ </bean>
+ </property>
+ </bean>
+
+ <bean id="printSupportedCrawlers" class="org.apache.oodt.commons.option.CmdLineOption">
+ <property name="shortOption" value="psc"/>
+ <property name="longOption" value="printSupportedCrawlers"/>
+ <property name="description" value="Prints a list of all supported ProductCrawlers"/>
+ <property name="hasArgs" value="false"/>
+ <property name="required" value="false"/>
+ <property name="performAndQuit" value="true"/>
+ <property name="handler">
+ <bean class="org.apache.oodt.cas.crawl.option.CmdLineOptionProductCrawlerInfoHandler">
+ <property name="applicationContext">
+ <bean class="org.springframework.context.support.ClassPathXmlApplicationContext">
+ <constructor-arg value="/org/apache/oodt/cas/crawl/crawler-beans.xml"/>
+ </bean>
+ </property>
+ </bean>
+ </property>
+ </bean>
+
+ <bean id="printSupportedPreconditions" class="org.apache.oodt.commons.option.CmdLineOption">
+ <property name="shortOption" value="psp"/>
+ <property name="longOption" value="printSupportedPreconditions"/>
+ <property name="description" value="Prints a list and description of all supported Preconditions"/>
+ <property name="hasArgs" value="false"/>
+ <property name="required" value="false"/>
+ <property name="performAndQuit" value="true"/>
+ <property name="handler">
+ <bean class="org.apache.oodt.cas.crawl.option.CmdLineOptionPreconditionInfoHandler">
+ <property name="applicationContext">
+ <bean class="org.springframework.context.support.ClassPathXmlApplicationContext">
+ <constructor-arg value="/org/apache/oodt/cas/crawl/comparator/precondition-beans.xml"/>
+ </bean>
+ </property>
+ </bean>
+ </property>
+ </bean>
+
+ <bean id="filemgrUrl" class="org.apache.oodt.commons.option.CmdLineOption">
+ <property name="shortOption" value="fm"/>
+ <property name="longOption" value="filemgrUrl"/>
+ <property name="description" value="File Manager URL"/>
+ <property name="hasArgs" value="true"/>
+ <property name="optionArgName" value="url"/>
+ <property name="required" value="true"/>
+ <property name="handler">
+ <bean class="org.apache.oodt.commons.option.handler.CmdLineOptionBeanHandler">
+ <property name="applyToBeans">
+ <list>
+ <bean class="org.apache.oodt.commons.option.handler.BeanInfo" p:bean-ref="StdProductCrawler"/>
+ <bean class="org.apache.oodt.commons.option.handler.BeanInfo" p:bean-ref="MetExtractorProductCrawler"/>
+ <bean class="org.apache.oodt.commons.option.handler.BeanInfo" p:bean-ref="AutoDetectProductCrawler"/>
+ <bean class="org.apache.oodt.commons.option.handler.BeanInfo" p:bean-ref="Unique"/>
+ <bean class="org.apache.oodt.commons.option.handler.BeanInfo" p:bean-ref="AprioriUniquessCheckWithFilemgr"/>
+ </list>
+ </property>
+ </bean>
+ </property>
+ <property name="validators">
+ <list>
+ <bean class="org.apache.oodt.commons.option.validator.ArgRegExpCmdLineOptionValidator">
+ <property name="allowedArgs">
+ <list>
+ <value>http://.*:\d*</value>
+ </list>
+ </property>
+ </bean>
+ </list>
+ </property>
+ </bean>
+
+ <bean id="failureDir" class="org.apache.oodt.commons.option.CmdLineOption">
+ <property name="shortOption" value="fd"/>
+ <property name="longOption" value="failureDir"/>
+ <property name="description" value="Directory where files will be moved on failure"/>
+ <property name="hasArgs" value="true"/>
+ <property name="optionArgName" value="directory"/>
+ <property name="required" value="true"/>
+ <property name="requiredOptions">
+ <list>
+ <bean class="org.apache.oodt.commons.option.required.RequiredOption">
+ <property name="optionLongName" value="actionIds"/>
+ <property name="requireAllValues" value="false"/>
+ <property name="optionValues">
+ <list>
+ <value>MovePushpullMetFileToFailureDir</value>
+ <value>MoveMetadataToFailureDir</value>
+ <value>MoveDataFileToFailureDir</value>
+ </list>
+ </property>
+ </bean>
+ </list>
+ </property>
+ <property name="handler">
+ <bean class="org.apache.oodt.commons.option.handler.CmdLineOptionBeanHandler">
+ <property name="applyToBeans">
+ <list>
+ <bean class="org.apache.oodt.commons.option.handler.BeanInfo" p:bean-ref="MoveMetadataToFailureDir" p:methodName="setToDir"/>
+ <bean class="org.apache.oodt.commons.option.handler.BeanInfo" p:bean-ref="MovePushpullMetFileToFailureDir" p:methodName="setToDir"/>
+ <bean class="org.apache.oodt.commons.option.handler.BeanInfo" p:bean-ref="MoveDataFileToFailureDir" p:methodName="setToDir"/>
+ </list>
+ </property>
+ </bean>
+ </property>
+ <property name="validators">
+ <list>
+ <bean class="org.apache.oodt.commons.option.validator.FileExistCmdLineOptionValidator"/>
+ </list>
+ </property>
+ </bean>
+
+ <bean id="successDir" class="org.apache.oodt.commons.option.CmdLineOption">
+ <property name="shortOption" value="sd"/>
+ <property name="longOption" value="successDir"/>
+ <property name="description" value="Directory where files will be moved on success"/>
+ <property name="hasArgs" value="true"/>
+ <property name="optionArgName" value="directory"/>
+ <property name="required" value="true"/>
+ <property name="requiredOptions">
+ <list>
+ <bean class="org.apache.oodt.commons.option.required.RequiredOption">
+ <property name="optionLongName" value="actionIds"/>
+ <property name="requireAllValues" value="false"/>
+ <property name="optionValues">
+ <list>
+ <value>MovePushpullMetFileToBackupDir</value>
+ <value>MoveMetadataToBackupDir</value>
+ </list>
+ </property>
+ </bean>
+ </list>
+ </property>
+ <property name="handler">
+ <bean class="org.apache.oodt.commons.option.handler.CmdLineOptionBeanHandler">
+ <property name="applyToBeans">
+ <list>
+ <bean class="org.apache.oodt.commons.option.handler.BeanInfo" p:bean-ref="MovePushpullMetFileToBackupDir" p:methodName="setToDir"/>
+ <bean class="org.apache.oodt.commons.option.handler.BeanInfo" p:bean-ref="MoveMetadataToBackupDir" p:methodName="setToDir"/>
+ </list>
+ </property>
+ </bean>
+ </property>
+ <property name="validators">
+ <list>
+ <bean class="org.apache.oodt.commons.option.validator.FileExistCmdLineOptionValidator"/>
+ </list>
+ </property>
+ </bean>
+
+ <bean id="workflowMgrUrl" class="org.apache.oodt.commons.option.CmdLineOption">
+ <property name="shortOption" value="wm"/>
+ <property name="longOption" value="workflowMgrUrl"/>
+ <property name="description" value="Workflow Manager URL"/>
+ <property name="hasArgs" value="true"/>
+ <property name="optionArgName" value="url"/>
+ <property name="required" value="true"/>
+ <property name="requiredOptions">
+ <list>
+ <bean class="org.apache.oodt.commons.option.required.RequiredOption">
+ <property name="optionLongName" value="actionIds"/>
+ <property name="requireAllValues" value="false"/>
+ <property name="optionValues">
+ <list>
+ <value>UpdateWorkflowStatusToIngest</value>
+ </list>
+ </property>
+ </bean>
+ </list>
+ </property>
+ <property name="handler">
+ <bean class="org.apache.oodt.commons.option.handler.CmdLineOptionBeanHandler">
+ <property name="applyToBeans">
+ <list>
+ <bean class="org.apache.oodt.commons.option.handler.BeanInfo" p:bean-ref="UpdateWorkflowStatusToIngest"/>
+ </list>
+ </property>
+ </bean>
+ </property>
+ <property name="validators">
+ <list>
+ <bean class="org.apache.oodt.commons.option.validator.ArgRegExpCmdLineOptionValidator">
+ <property name="allowedArgs">
+ <list>
+ <value>http://.*:\d*</value>
+ </list>
+ </property>
+ </bean>
+ </list>
+ </property>
+ </bean>
+
+ <bean id="clientTransferer" class="org.apache.oodt.commons.option.CmdLineOption">
+ <property name="shortOption" value="ct"/>
+ <property name="longOption" value="clientTransferer"/>
+ <property name="description" value="File Manager data transferer factory class"/>
+ <property name="hasArgs" value="true"/>
+ <property name="optionArgName" value="class"/>
+ <property name="required" value="true"/>
+ <property name="handler">
+ <bean class="org.apache.oodt.commons.option.handler.CmdLineOptionBeanHandler">
+ <property name="applyToBeans">
+ <list>
+ <bean class="org.apache.oodt.commons.option.handler.BeanInfo" p:bean-ref="StdProductCrawler"/>
+ <bean class="org.apache.oodt.commons.option.handler.BeanInfo" p:bean-ref="MetExtractorProductCrawler"/>
+ <bean class="org.apache.oodt.commons.option.handler.BeanInfo" p:bean-ref="AutoDetectProductCrawler"/>
+ </list>
+ </property>
+ </bean>
+ </property>
+ <property name="validators">
+ <list>
+ <bean class="org.apache.oodt.commons.option.validator.ClassExistsCmdLineOptionValidator"/>
+ </list>
+ </property>
+ </bean>
+
+ <bean id="requiredMetadata" class="org.apache.oodt.commons.option.CmdLineOption">
+ <property name="shortOption" value="rqm"/>
+ <property name="longOption" value="requiredMetadata"/>
+ <property name="description" value="Metadata required for ingest to take place"/>
+ <property name="hasArgs" value="true"/>
+ <property name="optionArgName" value="metadata_elements"/>
+ <property name="required" value="false"/>
+ <property name="type" value="java.util.List"/>
+ <property name="handler">
+ <bean class="org.apache.oodt.commons.option.handler.CmdLineOptionBeanHandler">
+ <property name="applyToBeans">
+ <list>
+ <bean class="org.apache.oodt.commons.option.handler.BeanInfo" p:bean-ref="StdProductCrawler"/>
+ <bean class="org.apache.oodt.commons.option.handler.BeanInfo" p:bean-ref="MetExtractorProductCrawler"/>
+ <bean class="org.apache.oodt.commons.option.handler.BeanInfo" p:bean-ref="AutoDetectProductCrawler"/>
+ </list>
+ </property>
+ </bean>
+ </property>
+ </bean>
+
+ <bean id="actionIds" class="org.apache.oodt.commons.option.CmdLineOption">
+ <property name="shortOption" value="ais"/>
+ <property name="longOption" value="actionIds"/>
+ <property name="description" value="CrawlerActions that should be performed"/>
+ <property name="hasArgs" value="true"/>
+ <property name="optionArgName" value="CrawlerAction ids"/>
+ <property name="required" value="false"/>
+ <property name="type" value="java.util.List"/>
+ <property name="handler">
+ <bean class="org.apache.oodt.commons.option.handler.CmdLineOptionBeanHandler">
+ <property name="applyToBeans">
+ <list>
+ <bean class="org.apache.oodt.commons.option.handler.BeanInfo" p:bean-ref="StdProductCrawler"/>
+ <bean class="org.apache.oodt.commons.option.handler.BeanInfo" p:bean-ref="MetExtractorProductCrawler"/>
+ <bean class="org.apache.oodt.commons.option.handler.BeanInfo" p:bean-ref="AutoDetectProductCrawler"/>
+ </list>
+ </property>
+ </bean>
+ </property>
+ </bean>
+
+ <bean id="preCondIds" class="org.apache.oodt.commons.option.CmdLineOption">
+ <property name="shortOption" value="pids"/>
+ <property name="longOption" value="preCondIds"/>
+ <property name="description" value="PreConditionComparator ids that must pass before any metadata extraction will run"/>
+ <property name="hasArgs" value="true"/>
+ <property name="optionArgName" value="PreConditionComparator ids"/>
+ <property name="required" value="false"/>
+ <property name="type" value="java.util.List"/>
+ <property name="handler">
+ <bean class="org.apache.oodt.commons.option.handler.CmdLineOptionBeanHandler">
+ <property name="applyToBeans">
+ <list>
+ <bean class="org.apache.oodt.commons.option.handler.BeanInfo" p:bean-ref="MetExtractorProductCrawler"/>
+ </list>
+ </property>
+ </bean>
+ </property>
+ </bean>
+
+ <bean id="noRecur" class="org.apache.oodt.commons.option.CmdLineOption">
+ <property name="shortOption" value="nr"/>
+ <property name="longOption" value="noRecur"/>
+ <property name="description" value="Turns off recursive crawling - will only process files in productPath directory"/>
+ <property name="hasArgs" value="false"/>
+ <property name="required" value="false"/>
+ <property name="handler">
+ <bean class="org.apache.oodt.commons.option.handler.CmdLineOptionBeanHandler">
+ <property name="applyToBeans">
+ <list>
+ <bean class="org.apache.oodt.commons.option.handler.BeanInfo" p:bean-ref="StdProductCrawler"/>
+ <bean class="org.apache.oodt.commons.option.handler.BeanInfo" p:bean-ref="MetExtractorProductCrawler"/>
+ <bean class="org.apache.oodt.commons.option.handler.BeanInfo" p:bean-ref="AutoDetectProductCrawler"/>
+ </list>
+ </property>
+ </bean>
+ </property>
+ </bean>
+
+ <bean id="crawlForDirs" class="org.apache.oodt.commons.option.CmdLineOption">
+ <property name="shortOption" value="cfd"/>
+ <property name="longOption" value="crawlForDirs"/>
+ <property name="description" value="Will crawl for directories instead of files"/>
+ <property name="hasArgs" value="false"/>
+ <property name="required" value="false"/>
+ <property name="handler">
+ <bean class="org.apache.oodt.commons.option.handler.CmdLineOptionBeanHandler">
+ <property name="applyToBeans">
+ <list>
+ <bean class="org.apache.oodt.commons.option.handler.BeanInfo" p:bean-ref="StdProductCrawler"/>
+ <bean class="org.apache.oodt.commons.option.handler.BeanInfo" p:bean-ref="MetExtractorProductCrawler"/>
+ <bean class="org.apache.oodt.commons.option.handler.BeanInfo" p:bean-ref="AutoDetectProductCrawler"/>
+ </list>
+ </property>
+ </bean>
+ </property>
+ </bean>
+
+ <bean id="skipIngest" class="org.apache.oodt.commons.option.CmdLineOption">
+ <property name="shortOption" value="si"/>
+ <property name="longOption" value="skipIngest"/>
+ <property name="description" value="Will skip ingest to file manager and any post ingest actions"/>
+ <property name="hasArgs" value="false"/>
+ <property name="required" value="false"/>
+ <property name="handler">
+ <bean class="org.apache.oodt.commons.option.handler.CmdLineOptionBeanHandler">
+ <property name="applyToBeans">
+ <list>
+ <bean class="org.apache.oodt.commons.option.handler.BeanInfo" p:bean-ref="StdProductCrawler"/>
+ <bean class="org.apache.oodt.commons.option.handler.BeanInfo" p:bean-ref="MetExtractorProductCrawler"/>
+ <bean class="org.apache.oodt.commons.option.handler.BeanInfo" p:bean-ref="AutoDetectProductCrawler"/>
+ </list>
+ </property>
+ </bean>
+ </property>
+ </bean>
+
+ <bean id="daemonPort" class="org.apache.oodt.commons.option.CmdLineOption">
+ <property name="shortOption" value="dp"/>
+ <property name="longOption" value="daemonPort"/>
+ <property name="description" value="Cause crawler to become a daemon with a XML-RPC webserver started on the given port number"/>
+ <property name="hasArgs" value="true"/>
+ <property name="optionArgName" value="portNum"/>
+ <property name="required" value="false"/>
+ <property name="type" value="int"/>
+ <property name="handler">
+ <bean class="org.apache.oodt.commons.option.handler.CmdLineOptionBeanHandler">
+ <property name="applyToBeans">
+ <list>
+ <bean class="org.apache.oodt.commons.option.handler.BeanInfo" p:bean-ref="StdProductCrawler"/>
+ <bean class="org.apache.oodt.commons.option.handler.BeanInfo" p:bean-ref="MetExtractorProductCrawler"/>
+ <bean class="org.apache.oodt.commons.option.handler.BeanInfo" p:bean-ref="AutoDetectProductCrawler"/>
+ </list>
+ </property>
+ </bean>
+ </property>
+ <property name="validators">
+ <list>
+ <bean class="org.apache.oodt.commons.option.validator.ArgRegExpCmdLineOptionValidator">
+ <property name="allowedArgs">
+ <list>
+ <value>\d*</value>
+ </list>
+ </property>
+ </bean>
+ </list>
+ </property>
+ </bean>
+
+ <bean id="daemonWait" class="org.apache.oodt.commons.option.CmdLineOption">
+ <property name="shortOption" value="dw"/>
+ <property name="longOption" value="daemonWait"/>
+ <property name="description" value="Cause crawler to become a daemon and sleep for given number of seconds between crawls"/>
+ <property name="hasArgs" value="true"/>
+ <property name="optionArgName" value="seconds"/>
+ <property name="required" value="false"/>
+ <property name="type" value="int"/>
+ <property name="handler">
+ <bean class="org.apache.oodt.commons.option.handler.CmdLineOptionBeanHandler">
+ <property name="applyToBeans">
+ <list>
+ <bean class="org.apache.oodt.commons.option.handler.BeanInfo" p:bean-ref="StdProductCrawler"/>
+ <bean class="org.apache.oodt.commons.option.handler.BeanInfo" p:bean-ref="MetExtractorProductCrawler"/>
+ <bean class="org.apache.oodt.commons.option.handler.BeanInfo" p:bean-ref="AutoDetectProductCrawler"/>
+ </list>
+ </property>
+ </bean>
+ </property>
+ <property name="validators">
+ <list>
+ <bean class="org.apache.oodt.commons.option.validator.ArgRegExpCmdLineOptionValidator">
+ <property name="allowedArgs">
+ <list>
+ <value>\d*</value>
+ </list>
+ </property>
+ </bean>
+ </list>
+ </property>
+ </bean>
+
+ <bean id="productPath" class="org.apache.oodt.commons.option.CmdLineOption">
+ <property name="shortOption" value="pp"/>
+ <property name="longOption" value="productPath"/>
+ <property name="description" value="Root directory to crawl"/>
+ <property name="hasArgs" value="true"/>
+ <property name="optionArgName" value="directory"/>
+ <property name="required" value="true"/>
+ <property name="handler">
+ <bean class="org.apache.oodt.commons.option.handler.CmdLineOptionBeanHandler">
+ <property name="applyToBeans">
+ <list>
+ <bean class="org.apache.oodt.commons.option.handler.BeanInfo" p:bean-ref="StdProductCrawler"/>
+ <bean class="org.apache.oodt.commons.option.handler.BeanInfo" p:bean-ref="MetExtractorProductCrawler"/>
+ <bean class="org.apache.oodt.commons.option.handler.BeanInfo" p:bean-ref="AutoDetectProductCrawler"/>
+ </list>
+ </property>
+ </bean>
+ </property>
+ <property name="validators">
+ <list>
+ <bean class="org.apache.oodt.commons.option.validator.FileExistCmdLineOptionValidator"/>
+ </list>
+ </property>
+ </bean>
+
+ <bean id="metFileExtension" class="org.apache.oodt.commons.option.CmdLineOption">
+ <property name="shortOption" value="mfx"/>
+ <property name="longOption" value="metFileExtension"/>
+ <property name="description" value="The file extension of existing and to be created PCS metadata files"/>
+ <property name="hasArgs" value="true"/>
+ <property name="optionArgName" value="file extension"/>
+ <property name="required" value="true"/>
+ <property name="requiredOptions">
+ <list>
+ <bean class="org.apache.oodt.commons.option.required.RequiredOption">
+ <property name="optionLongName" value="crawlerId"/>
+ <property name="requireAllValues" value="true"/>
+ <property name="optionValues">
+ <list>
+ <value>StdProductCrawler</value>
+ </list>
+ </property>
+ </bean>
+ <bean class="org.apache.oodt.commons.option.required.RequiredOption">
+ <property name="optionLongName" value="actionIds"/>
+ <property name="requireAllValues" value="false"/>
+ <property name="optionValues">
+ <list>
+ <value>DeleteMetadataFile</value>
+ <value>MoveMetadataToBackupDir</value>
+ <value>MoveMetadataToFailureDir</value>
+ </list>
+ </property>
+ </bean>
+ </list>
+ </property>
+ <property name="handler">
+ <bean class="org.apache.oodt.commons.option.handler.CmdLineOptionBeanHandler">
+ <property name="applyToBeans">
+ <list>
+ <bean class="org.apache.oodt.commons.option.handler.BeanInfo" p:bean-ref="StdProductCrawler"/>
+ <bean class="org.apache.oodt.commons.option.handler.BeanInfo" p:bean-ref="DeleteMetadataFile" p:methodName="setFileExtension"/>
+ <bean class="org.apache.oodt.commons.option.handler.BeanInfo" p:bean-ref="MoveMetadataToBackupDir" p:methodName="setFileExtension"/>
+ <bean class="org.apache.oodt.commons.option.handler.BeanInfo" p:bean-ref="MoveMetadataToFailureDir" p:methodName="setFileExtension"/>
+ </list>
+ </property>
+ </bean>
+ </property>
+ </bean>
+
+ <bean id="metExtractor" class="org.apache.oodt.commons.option.CmdLineOption">
+ <property name="shortOption" value="mx"/>
+ <property name="longOption" value="metExtractor"/>
+ <property name="description" value="Metadata extractor class to use"/>
+ <property name="hasArgs" value="true"/>
+ <property name="optionArgName" value="class"/>
+ <property name="required" value="true"/>
+ <property name="requiredOptions">
+ <list>
+ <bean class="org.apache.oodt.commons.option.required.RequiredOption">
+ <property name="optionLongName" value="crawlerId"/>
+ <property name="requireAllValues" value="true"/>
+ <property name="optionValues">
+ <list>
+ <value>MetExtractorProductCrawler</value>
+ </list>
+ </property>
+ </bean>
+ </list>
+ </property>
+ <property name="handler">
+ <bean class="org.apache.oodt.commons.option.handler.CmdLineOptionBeanHandler">
+ <property name="applyToBeans">
+ <list>
+ <bean class="org.apache.oodt.commons.option.handler.BeanInfo" p:bean-ref="MetExtractorProductCrawler"/>
+ </list>
+ </property>
+ </bean>
+ </property>
+ <property name="validators">
+ <list>
+ <bean class="org.apache.oodt.commons.option.validator.ClassExistsCmdLineOptionValidator"/>
+ </list>
+ </property>
+ </bean>
+
+ <bean id="metExtractorConfig" class="org.apache.oodt.commons.option.CmdLineOption">
+ <property name="shortOption" value="mxc"/>
+ <property name="longOption" value="metExtractorConfig"/>
+ <property name="description" value="Config file for metadata extractor"/>
+ <property name="hasArgs" value="true"/>
+ <property name="optionArgName" value="file"/>
+ <property name="required" value="true"/>
+ <property name="requiredOptions">
+ <list>
+ <bean class="org.apache.oodt.commons.option.required.RequiredOption">
+ <property name="optionLongName" value="crawlerId"/>
+ <property name="requireAllValues" value="true"/>
+ <property name="optionValues">
+ <list>
+ <value>MetExtractorProductCrawler</value>
+ </list>
+ </property>
+ </bean>
+ </list>
+ </property>
+ <property name="handler">
+ <bean class="org.apache.oodt.commons.option.handler.CmdLineOptionBeanHandler">
+ <property name="applyToBeans">
+ <list>
+ <bean class="org.apache.oodt.commons.option.handler.BeanInfo" p:bean-ref="MetExtractorProductCrawler"/>
+ </list>
+ </property>
+ </bean>
+ </property>
+ <property name="validators">
+ <list>
+ <bean class="org.apache.oodt.commons.option.validator.FileExistCmdLineOptionValidator"/>
+ </list>
+ </property>
+ </bean>
+
+ <bean id="mimeExtractorRepo" class="org.apache.oodt.commons.option.CmdLineOption">
+ <property name="shortOption" value="mxr"/>
+ <property name="longOption" value="mimeExtractorRepo"/>
+ <property name="description" value="Mime-type to metadata extractor mapping xml file"/>
+ <property name="hasArgs" value="true"/>
+ <property name="optionArgName" value="file"/>
+ <property name="required" value="true"/>
+ <property name="requiredOptions">
+ <list>
+ <bean class="org.apache.oodt.commons.option.required.RequiredOption">
+ <property name="optionLongName" value="crawlerId"/>
+ <property name="requireAllValues" value="true"/>
+ <property name="optionValues">
+ <list>
+ <value>AutoDetectProductCrawler</value>
+ </list>
+ </property>
+ </bean>
+ </list>
+ </property>
+ <property name="handler">
+ <bean class="org.apache.oodt.commons.option.handler.CmdLineOptionBeanHandler">
+ <property name="applyToBeans">
+ <list>
+ <bean class="org.apache.oodt.commons.option.handler.BeanInfo" p:bean-ref="AutoDetectProductCrawler"/>
+ </list>
+ </property>
+ </bean>
+ </property>
+ <property name="validators">
+ <list>
+ <bean class="org.apache.oodt.commons.option.validator.FileExistCmdLineOptionValidator"/>
+ </list>
+ </property>
+ </bean>
+
+ <bean id="pushpullMetFileExtension" class="org.apache.oodt.commons.option.CmdLineOption">
+ <property name="shortOption" value="ppmfx"/>
+ <property name="longOption" value="pushpullMetFileExtension"/>
+ <property name="description" value="File extension of push-pull metadata files"/>
+ <property name="hasArgs" value="true"/>
+ <property name="optionArgName" value="file extension"/>
+ <property name="required" value="false"/>
+ <property name="handler">
+ <bean class="org.apache.oodt.commons.option.handler.CmdLineOptionBeanHandler">
+ <property name="applyToBeans">
+ <list>
+ <bean class="org.apache.oodt.commons.option.handler.BeanInfo" p:bean-ref="DeletePushpullMetFile" p:methodName="setFileExtension"/>
+ <bean class="org.apache.oodt.commons.option.handler.BeanInfo" p:bean-ref="MovePushpullMetFileToBackupDir" p:methodName="setFileExtension"/>
+ <bean class="org.apache.oodt.commons.option.handler.BeanInfo" p:bean-ref="MovePushpullMetFileToFailureDir" p:methodName="setFileExtension"/>
+ <bean class="org.apache.oodt.commons.option.handler.BeanInfo" p:bean-ref="CheckThatPushPullMetFileExists" p:methodName="setFileExtension"/>
+ </list>
+ </property>
+ </bean>
+ </property>
+ </bean>
+
+</beans>
Propchange: oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/crawler/src/main/resources/policy/cmd-line-option-beans.xml
------------------------------------------------------------------------------
svn:executable = *
Propchange: oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/crawler/src/main/resources/policy/cmd-line-option-beans.xml
------------------------------------------------------------------------------
svn:keywords = Id Revision
Added: oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/crawler/src/main/resources/policy/crawler-beans.xml
URL: http://svn.apache.org/viewvc/oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/crawler/src/main/resources/policy/crawler-beans.xml?rev=1160339&view=auto
==============================================================================
--- oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/crawler/src/main/resources/policy/crawler-beans.xml (added)
+++ oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/crawler/src/main/resources/policy/crawler-beans.xml Mon Aug 22 17:14:01 2011
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one or more contributor
+license agreements. See the NOTICE.txt file distributed with this work for
+additional information regarding copyright ownership. The ASF licenses this
+file to you under the Apache License, Version 2.0 (the "License"); you may not
+use this file except in compliance with the License. You may obtain a copy of
+the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+License for the specific language governing permissions and limitations under
+the License.
+-->
+<beans xmlns="http://www.springframework.org/schema/beans"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
+
+ <bean class="org.apache.oodt.commons.spring.postprocessor.SetIdBeanPostProcessor"/>
+
+ <!-- Product Crawlers -->
+
+ <bean id="StdProductCrawler" lazy-init="true" class="org.apache.oodt.cas.crawl.StdProductCrawler">
+ <description>Ingests data files based on existing metadata files</description>
+ </bean>
+
+ <bean id="MetExtractorProductCrawler" lazy-init="true" class="org.apache.oodt.cas.crawl.MetExtractorProductCrawler">
+ <description>Ingests data files after generating a metadat file for it with a given metadata extractor</description>
+ </bean>
+
+ <bean id="AutoDetectProductCrawler" lazy-init="true" class="org.apache.oodt.cas.crawl.AutoDetectProductCrawler">
+ <description>Ingests data files based on existing metadata files choosing metadata extractors based on mimetypes given in specified mimetype xml file</description>
+ </bean>
+
+</beans>
Propchange: oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/crawler/src/main/resources/policy/crawler-beans.xml
------------------------------------------------------------------------------
svn:keywords = Id Revision
Added: oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/crawler/src/main/resources/policy/crawler-config.xml
URL: http://svn.apache.org/viewvc/oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/crawler/src/main/resources/policy/crawler-config.xml?rev=1160339&view=auto
==============================================================================
--- oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/crawler/src/main/resources/policy/crawler-config.xml (added)
+++ oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/crawler/src/main/resources/policy/crawler-config.xml Mon Aug 22 17:14:01 2011
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one or more contributor
+license agreements. See the NOTICE.txt file distributed with this work for
+additional information regarding copyright ownership. The ASF licenses this
+file to you under the Apache License, Version 2.0 (the "License"); you may not
+use this file except in compliance with the License. You may obtain a copy of
+the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+License for the specific language governing permissions and limitations under
+the License.
+-->
+<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="file:/usr/local/snow/crawler/policy/crawler-beans.xml"/>
+ <import resource="file:/usr/local/snow/crawler/policy/action-beans.xml"/>
+ <import resource="file:/usr/local/snow/crawler/policy/precondition-beans.xml"/>
+ <import resource="file:/usr/local/snow/crawler/policy/cmd-line-option-beans.xml"/>
+
+</beans>
Propchange: oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/crawler/src/main/resources/policy/crawler-config.xml
------------------------------------------------------------------------------
svn:executable = *
Propchange: oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/crawler/src/main/resources/policy/crawler-config.xml
------------------------------------------------------------------------------
svn:keywords = Id Revision
Added: oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/crawler/src/main/resources/policy/precondition-beans.xml
URL: http://svn.apache.org/viewvc/oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/crawler/src/main/resources/policy/precondition-beans.xml?rev=1160339&view=auto
==============================================================================
--- oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/crawler/src/main/resources/policy/precondition-beans.xml (added)
+++ oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/crawler/src/main/resources/policy/precondition-beans.xml Mon Aug 22 17:14:01 2011
@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one or more contributor
+license agreements. See the NOTICE.txt file distributed with this work for
+additional information regarding copyright ownership. The ASF licenses this
+file to you under the Apache License, Version 2.0 (the "License"); you may not
+use this file except in compliance with the License. You may obtain a copy of
+the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+License for the specific language governing permissions and limitations under
+the License.
+-->
+<beans xmlns="http://www.springframework.org/schema/beans"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
+
+ <bean class="org.apache.oodt.commons.spring.postprocessor.SetIdBeanPostProcessor"/>
+
+ <bean id="OnlyExtractHdf" lazy-init="true" class="gov.nasa.jpl.snow.preconditions.EndsWithComparator">
+ <property name="description" value="Checks the file extension and only extracts met from those files."/>
+ <property name="compareItem">
+ <value type="java.lang.String">hdf</value>
+ </property>
+ <property name="type" value="equal_to"/>
+ </bean>
+
+
+ <!-- Precondition Comparators -->
+
+ <bean id="CheckThatPushPullMetFileExists" lazy-init="true" class="org.apache.oodt.cas.metadata.preconditions.ExistanceCheckComparator">
+ <property name="description" value="Checks if the push-pull metadata file exists for the current data file"/>
+ <property name="compareItem">
+ <value type="java.lang.Boolean">true</value>
+ </property>
+ <property name="type" value="equal_to"/>
+ </bean>
+
+ <bean id="CheckThatDataFileSizeIsGreaterThanZero" lazy-init="true" class="org.apache.oodt.cas.metadata.preconditions.FileSizeComparator">
+ <property name="description" value="Check if the current data file size is greater than zero"/>
+ <property name="compareItem">
+ <value type="java.lang.Long">0</value>
+ </property>
+ <property name="type" value="greater_than"/>
+ </bean>
+
+ <bean id="AprioriUniquessCheckWithFilemgr" lazy-init="true" class="org.apache.oodt.cas.crawl.comparator.FilemgrUniquenessCheckComparator">
+ <property name="description" value="Checks where the current data file existing in the filemgr based on its FILENAME"/>
+ <property name="compareItem">
+ <value type="java.lang.Boolean">false</value>
+ </property>
+ <property name="type" value="equal_to"/>
+ </bean>
+
+</beans>
Propchange: oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/crawler/src/main/resources/policy/precondition-beans.xml
------------------------------------------------------------------------------
svn:keywords = Id Revision
Modified: oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/distribution/pom.xml
URL: http://svn.apache.org/viewvc/oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/distribution/pom.xml?rev=1160339&r1=1160338&r2=1160339&view=diff
==============================================================================
--- oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/distribution/pom.xml (original)
+++ oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/distribution/pom.xml Mon Aug 22 17:14:01 2011
@@ -11,7 +11,7 @@
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>${rootArtifactId}-${artifactId}</artifactId>
- <name>Distribution</name>
+ <name>Distribution (RADiX Distro of OODT)</name>
<packaging>pom</packaging>
<dependencies>
Added: oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/distribution/src/main/assembly/assembly.xml
URL: http://svn.apache.org/viewvc/oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/distribution/src/main/assembly/assembly.xml?rev=1160339&view=auto
==============================================================================
--- oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/distribution/src/main/assembly/assembly.xml (added)
+++ oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/distribution/src/main/assembly/assembly.xml Mon Aug 22 17:14:01 2011
@@ -0,0 +1,27 @@
+<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd">
+ <id>bin</id>
+ <formats>
+ <format>tar.gz</format>
+ <format>zip</format>
+ </formats>
+ <includeBaseDirectory>false</includeBaseDirectory>
+ <fileSets>
+ <fileSet>
+ <directory>${basedir}/src/main/resources/bin</directory>
+ <outputDirectory>bin</outputDirectory>
+ <includes/>
+ <fileMode>775</fileMode>
+ </fileSet>
+ </fileSets>
+ <dependencySets>
+ <dependencySet>
+ <outputDirectory>components</outputDirectory>
+ <unpack>true</unpack>
+ <useProjectArtifact>false</useProjectArtifact>
+ <useTransitiveDependencies>false</useTransitiveDependencies>
+ <unpackOptions/>
+ </dependencySet>
+ </dependencySets>
+</assembly>
Propchange: oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/distribution/src/main/assembly/assembly.xml
------------------------------------------------------------------------------
svn:keywords = Id Revision
Added: oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/distribution/src/main/resources/bin/oodt_pcs
URL: http://svn.apache.org/viewvc/oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/distribution/src/main/resources/bin/oodt_pcs?rev=1160339&view=auto
==============================================================================
--- oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/distribution/src/main/resources/bin/oodt_pcs (added)
+++ oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/distribution/src/main/resources/bin/oodt_pcs Mon Aug 22 17:14:01 2011
@@ -0,0 +1,43 @@
+#!/bin/tcsh
+# Copyright (c) 2008 California Institute of Technology.
+# ALL RIGHTS RESERVED. U.S. Government Sponsorship acknowledged.
+#
+# $Id$
+#
+# PCS Control Utility script: starts, stops, and bounces the PCS.
+#
+# Sample usage: ./pcs_ctl start
+
+set DIR = `dirname $0`
+cd $DIR
+set DIR_PATH = `pwd`
+
+if ( $#argv != 1 ) then
+ echo "Usage: $0 <start|stop|bounce>"
+ exit 1
+else
+ set CMD = $1
+ if ( $CMD == "start" ) then
+ cd $DIR_PATH/../components/filemgr/bin
+ ./filemgr start
+ cd $DIR_PATH/../components/workflow/bin
+ ./wmgr start
+ cd $DIR_PATH/../tomcat/bin
+ ./startup.sh
+ else if ( $CMD == "stop" ) then
+ cd $DIR_PATH/../components/filemgr/bin
+ ./filemgr stop
+ cd $DIR_PATH/../components/workflow/bin
+ ./wmgr stop
+ cd $DIR_PATH/../tomcat/bin
+ ./shutdown.sh
+ else if ( $CMD == "bounce" ) then
+ cd $DIR_PATH/../components/filemgr/bin
+ ./filemgr restart
+ cd $DIR_PATH/../components/workflow/bin
+ ./wmgr restart
+ cd $DIR_PATH/../tomcat/bin
+ ./shutdown.sh
+ ./startup.sh
+ endif
+endif
Propchange: oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/distribution/src/main/resources/bin/oodt_pcs
------------------------------------------------------------------------------
svn:executable = *
Added: oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/extensions/src/main/assembly/assembly.xml
URL: http://svn.apache.org/viewvc/oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/extensions/src/main/assembly/assembly.xml?rev=1160339&view=auto
==============================================================================
--- oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/extensions/src/main/assembly/assembly.xml (added)
+++ oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/extensions/src/main/assembly/assembly.xml Mon Aug 22 17:14:01 2011
@@ -0,0 +1,57 @@
+<assembly>
+ <id>bin</id>
+ <formats>
+ <format>tar.gz</format>
+ <format>zip</format>
+ </formats>
+ <includeBaseDirectory>false</includeBaseDirectory>
+ <baseDirectory>extensions</baseDirectory>
+ <includeSiteDirectory>false</includeSiteDirectory>
+ <fileSets>
+ <fileSet>
+ <directory>${basedir}</directory>
+ <outputDirectory>.</outputDirectory>
+ <includes>
+ <include>LICENSE.txt</include>
+ <include>CHANGES.txt</include>
+ </includes>
+ <fileMode>775</fileMode>
+ </fileSet>
+ <fileSet>
+ <directory>${basedir}/src/main/resources/extractor/bin</directory>
+ <outputDirectory>extensions/extractor/bin</outputDirectory>
+ <includes/>
+ <fileMode>775</fileMode>
+ </fileSet>
+ <fileSet>
+ <directory>${basedir}/src/main/resources/logs</directory>
+ <outputDirectory>extensions/logs</outputDirectory>
+ <includes>
+ <include>REMOVE.log</include>
+ </includes>
+ <fileMode>775</fileMode>
+ </fileSet>
+ <fileSet>
+ <directory>${basedir}/src/main/resources/extractor/etc</directory>
+ <outputDirectory>extensions/extractor/etc</outputDirectory>
+ <includes/>
+ <fileMode>664</fileMode>
+ <directoryMode>775</directoryMode>
+ </fileSet>
+ <fileSet>
+ <directory>target/site/apidocs</directory>
+ <filtered>false</filtered>
+ <outputDirectory>doc</outputDirectory>
+ <excludes/>
+ </fileSet>
+ </fileSets>
+ <dependencySets>
+ <dependencySet>
+ <outputDirectory>extensions/lib</outputDirectory>
+ <unpack>false</unpack>
+ <useProjectArtifact>true</useProjectArtifact>
+ <useTransitiveDependencies>true</useTransitiveDependencies>
+ <unpackOptions/>
+ </dependencySet>
+ </dependencySets>
+</assembly>
Propchange: oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/extensions/src/main/assembly/assembly.xml
------------------------------------------------------------------------------
svn:keywords = Id Revision
Added: oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/extensions/src/main/resources/logs/REMOVE.log
URL: http://svn.apache.org/viewvc/oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/extensions/src/main/resources/logs/REMOVE.log?rev=1160339&view=auto
==============================================================================
--- oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/extensions/src/main/resources/logs/REMOVE.log (added)
+++ oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/extensions/src/main/resources/logs/REMOVE.log Mon Aug 22 17:14:01 2011
@@ -0,0 +1,18 @@
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+You can remove this file. It was only included to ensure that the log directory for this
+distribution was created on assembly.
Propchange: oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/extensions/src/main/resources/logs/REMOVE.log
------------------------------------------------------------------------------
svn:keywords = Id Revision
Modified: oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/filemgr/src/main/assembly/assembly.xml
URL: http://svn.apache.org/viewvc/oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/filemgr/src/main/assembly/assembly.xml?rev=1160339&r1=1160338&r2=1160339&view=diff
==============================================================================
--- oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/filemgr/src/main/assembly/assembly.xml (original)
+++ oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/filemgr/src/main/assembly/assembly.xml Mon Aug 22 17:14:01 2011
@@ -18,13 +18,13 @@
<fileMode>775</fileMode>
</fileSet>
<fileSet>
- <directory>${basedir}/src/main/bin</directory>
+ <directory>${basedir}/src/main/resources/bin</directory>
<outputDirectory>filemgr/bin</outputDirectory>
<includes/>
<fileMode>775</fileMode>
</fileSet>
<fileSet>
- <directory>${basedir}/src/main/resources</directory>
+ <directory>${basedir}/src/main/resources/logs</directory>
<outputDirectory>filemgr/logs</outputDirectory>
<includes>
<include>REMOVE.log</include>
@@ -32,7 +32,7 @@
<fileMode>775</fileMode>
</fileSet>
<fileSet>
- <directory>${basedir}/src/main/resources</directory>
+ <directory>${basedir}/src/main/resources/etc</directory>
<outputDirectory>filemgr/etc</outputDirectory>
<includes>
<include>**.properties</include>
Modified: oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/pom.xml
URL: http://svn.apache.org/viewvc/oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/pom.xml?rev=1160339&r1=1160338&r2=1160339&view=diff
==============================================================================
--- oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/pom.xml (original)
+++ oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/pom.xml Mon Aug 22 17:14:01 2011
@@ -12,7 +12,7 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
- <oodt.version>0.3-SNAPSHOT</oodt.version>
+ <oodt.version>0.3</oodt.version>
</properties>
<repositories>
Added: oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/workflow/src/main/assembly/assembly.xml
URL: http://svn.apache.org/viewvc/oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/workflow/src/main/assembly/assembly.xml?rev=1160339&view=auto
==============================================================================
--- oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/workflow/src/main/assembly/assembly.xml (added)
+++ oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/workflow/src/main/assembly/assembly.xml Mon Aug 22 17:14:01 2011
@@ -0,0 +1,60 @@
+<assembly>
+ <id>bin</id>
+ <formats>
+ <format>tar.gz</format>
+ <format>zip</format>
+ </formats>
+ <includeBaseDirectory>false</includeBaseDirectory>
+ <baseDirectory>workflow</baseDirectory>
+ <includeSiteDirectory>false</includeSiteDirectory>
+ <fileSets>
+ <fileSet>
+ <directory>${basedir}</directory>
+ <outputDirectory>.</outputDirectory>
+ <includes>
+ <include>LICENSE.txt</include>
+ <include>CHANGES.txt</include>
+ </includes>
+ </fileSet>
+ <fileSet>
+ <directory>${basedir}/src/main/resources/bin</directory>
+ <outputDirectory>workflow/bin</outputDirectory>
+ <includes/>
+ <fileMode>755</fileMode>
+ </fileSet>
+ <fileSet>
+ <directory>${basedir}/src/main/resources/logs</directory>
+ <outputDirectory>workflow/logs</outputDirectory>
+ <includes>
+ <include>REMOVE.log</include>
+ </includes>
+ </fileSet>
+ <fileSet>
+ <directory>${basedir}/src/main/resources/etc</directory>
+ <outputDirectory>workflow/etc</outputDirectory>
+ <includes>
+ <include>**.properties</include>
+ </includes>
+ </fileSet>
+ <fileSet>
+ <directory>${basedir}/src/main/resources/policy</directory>
+ <outputDirectory>workflow/policy</outputDirectory>
+ <includes/>
+ </fileSet>
+ <fileSet>
+ <directory>target/site/apidocs</directory>
+ <filtered>false</filtered>
+ <outputDirectory>doc</outputDirectory>
+ <excludes/>
+ </fileSet>
+ </fileSets>
+ <dependencySets>
+ <dependencySet>
+ <outputDirectory>workflow/lib</outputDirectory>
+ <unpack>false</unpack>
+ <useProjectArtifact>true</useProjectArtifact>
+ <useTransitiveDependencies>true</useTransitiveDependencies>
+ <unpackOptions/>
+ </dependencySet>
+ </dependencySets>
+</assembly>
Propchange: oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/workflow/src/main/assembly/assembly.xml
------------------------------------------------------------------------------
svn:keywords = Id Revision
Added: oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/workflow/src/main/resources/logs/REMOVE.log
URL: http://svn.apache.org/viewvc/oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/workflow/src/main/resources/logs/REMOVE.log?rev=1160339&view=auto
==============================================================================
--- oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/workflow/src/main/resources/logs/REMOVE.log (added)
+++ oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/workflow/src/main/resources/logs/REMOVE.log Mon Aug 22 17:14:01 2011
@@ -0,0 +1,19 @@
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+You can remove this file. It was only included to ensure that the log directory for this
+distribution was created on assembly.
+
Propchange: oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/workflow/src/main/resources/logs/REMOVE.log
------------------------------------------------------------------------------
svn:keywords = Id Revision
Added: oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/workflow/src/main/resources/policy/conditions.xml
URL: http://svn.apache.org/viewvc/oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/workflow/src/main/resources/policy/conditions.xml?rev=1160339&view=auto
==============================================================================
--- oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/workflow/src/main/resources/policy/conditions.xml (added)
+++ oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/workflow/src/main/resources/policy/conditions.xml Mon Aug 22 17:14:01 2011
@@ -0,0 +1,21 @@
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<cas:conditions xmlns:cas="http://oodt.jpl.nasa.gov/1.0/cas">
+<!--
+ TODO: Add some examples
+-->
+</cas:conditions>
Propchange: oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/workflow/src/main/resources/policy/conditions.xml
------------------------------------------------------------------------------
svn:keywords = Id Revision