oodt-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From good...@apache.org
Subject svn commit: r1157440 - in /oodt/trunk: CHANGES.txt filemgr/src/main/resources/bash_aliases.txt filemgr/src/main/resources/tcsh_aliases.txt
Date Sat, 13 Aug 2011 22:54:44 GMT
Author: goodale
Date: Sat Aug 13 22:54:44 2011
New Revision: 1157440

URL: http://svn.apache.org/viewvc?rev=1157440&view=rev
Log:
Completed OODT-306.  Just a couple useful FileManager aliases, huge thanks to C.Mattmann for
writing them up initially.

Added:
    oodt/trunk/filemgr/src/main/resources/bash_aliases.txt
    oodt/trunk/filemgr/src/main/resources/tcsh_aliases.txt
Modified:
    oodt/trunk/CHANGES.txt

Modified: oodt/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/oodt/trunk/CHANGES.txt?rev=1157440&r1=1157439&r2=1157440&view=diff
==============================================================================
--- oodt/trunk/CHANGES.txt (original)
+++ oodt/trunk/CHANGES.txt Sat Aug 13 22:54:44 2011
@@ -4,6 +4,8 @@ Apache OODT Change Log
 Release 0.4: Current Development
 --------------------------------------------
 
+* OODT-306 Added FileManager Tool Aliases (mattmann, goodale)
+
 * OODT-208 WorkflowConditions should be identifiable as optional 
   or required (mattmann)
 

Added: oodt/trunk/filemgr/src/main/resources/bash_aliases.txt
URL: http://svn.apache.org/viewvc/oodt/trunk/filemgr/src/main/resources/bash_aliases.txt?rev=1157440&view=auto
==============================================================================
--- oodt/trunk/filemgr/src/main/resources/bash_aliases.txt (added)
+++ oodt/trunk/filemgr/src/main/resources/bash_aliases.txt Sat Aug 13 22:54:44 2011
@@ -0,0 +1,30 @@
+#  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.
+#
+###############BASH SHELL ALIASES###############
+#
+# The following aliases must be used within a filemgr's
+# bin directory since relative pathing is being used.  This block also
+# assumes that the filemgr is running on port 9000 (the default port of filemgr)
+#
+# For complete documentation see: 
+#     https://cwiki.apache.org/confluence/display/OODT/BASH+and+TCSH+shell+tools+for+File+Manager
+#
+alias lucenequery="java -Dorg.apache.oodt.cas.filemgr.properties=../etc/filemgr.properties
-Djava.ext.dirs=../lib org.apache.oodt.cas.filemgr.tools.QueryTool --url http://localhost:9000
--lucene -query "
+alias sqlquery="java -Dorg.apache.oodt.cas.filemgr.properties=../etc/filemgr.properties -Djava.ext.dirs=../lib
org.apache.oodt.cas.filemgr.tools.QueryTool --url http://localhost:9000 --sql -query "
+alias fmdel="java -Dorg.apache.oodt.cas.filemgr.properties=../etc/filemgr.properties -Djava.ext.dirs=../lib
org.apache.oodt.cas.filemgr.tools.DeleteProduct --fileManagerUrl http://localhost:9000 --read"
+alias metdump="java -Djava.ext.dirs=../lib org.apache.oodt.cas.filemgr.tools.MetadataDumper
--url http://localhost:9000 --out . --productId "
+#
+################################################
\ No newline at end of file

Added: oodt/trunk/filemgr/src/main/resources/tcsh_aliases.txt
URL: http://svn.apache.org/viewvc/oodt/trunk/filemgr/src/main/resources/tcsh_aliases.txt?rev=1157440&view=auto
==============================================================================
--- oodt/trunk/filemgr/src/main/resources/tcsh_aliases.txt (added)
+++ oodt/trunk/filemgr/src/main/resources/tcsh_aliases.txt Sat Aug 13 22:54:44 2011
@@ -0,0 +1,30 @@
+#  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.
+#
+###############TCSH SHELL ALIASES###############
+#
+# The following aliases must be used within a filemgr's
+# bin directory since relative pathing is being used.  This block also
+# assumes that the filemgr is running on port 9000 (the default port of filemgr)
+#
+# For complete documentation see: 
+#     https://cwiki.apache.org/confluence/display/OODT/BASH+and+TCSH+shell+tools+for+File+Manager
+#
+alias lucenequery 'java -Dorg.apache.oodt.cas.filemgr.properties=../etc/filemgr.properties
-Djava.ext.dirs=../lib org.apache.oodt.cas.filemgr.tools.QueryTool --url http://localhost:9000
--lucene -query '
+alias sqlquery 'java -Dorg.apache.oodt.cas.filemgr.properties=../etc/filemgr.properties -Djava.ext.dirs=../lib
org.apache.oodt.cas.filemgr.tools.QueryTool --url http://localhost:9000 --sql -query '
+alias fmdel 'java -Dorg.apache.oodt.cas.filemgr.properties=../etc/filemgr.properties -Djava.ext.dirs=../lib
org.apache.oodt.cas.filemgr.tools.DeleteProduct --fileManagerUrl http://localhost:9000 --read'
+alias metdump 'java -Djava.ext.dirs=../lib org.apache.oodt.cas.filemgr.tools.MetadataDumper
--url http://localhost:9000 --out . --productId '
+#
+################################################
\ No newline at end of file



Mime
View raw message