#!/bin/tcsh # 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. # # # PCS Trace utility to discover product information including lineage # upstream and downstream, metadata, pipeline information and the like # # Sample usage: ./pcs_trace oco_L033Sun01Sun_91601_070922054839.pkt set DIR = `dirname $0` cd $DIR set DIR_PATH = `pwd` if ( $#argv != 1 ) then echo "Usage: $0 " exit 1 else java -Djava.ext.dirs=$DIR_PATH/../lib:$DIR_PATH/../filemgr/lib:$DIR_PATH/../workflow/lib \ -Djava.util.logging.config.file=$DIR_PATH/../aux/pcs/pcs.logging.properties \ -Dorg.apache.oodt.cas.filemgr.properties=$DIR_PATH/../filemgr/etc/filemgr.properties \ org.apache.oodt.pcs.tools.PCSTrace \ --fm $FILEMGR_URL \ --wm $WORKFLOW_URL \ --product $1 \ --enableNonCat endif