metatools/sysdeftools/group/unixxslcmd
changeset 624 f70b728ea30c
equal deleted inserted replaced
621:96fee2635b19 624:f70b728ea30c
       
     1 #!/bin/bash
       
     2 #
       
     3 # Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     4 # All rights reserved.
       
     5 # This component and the accompanying materials are made available
       
     6 # under the terms of "Eclipse Public License v1.0"
       
     7 # which accompanies this distribution, and is available
       
     8 # at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     9 #
       
    10 # Contributors:
       
    11 # Nokia Corporation - initial contribution.
       
    12 #
       
    13 # Description:
       
    14 #  XSLT wrapper for Unix
       
    15 
       
    16 BASEDIR=`dirname $0`
       
    17 
       
    18 if [ $# != 0 ]
       
    19 then
       
    20     exec java -jar $BASEDIR/xalanj/xalan.jar -xsl $0.xsl $@
       
    21 fi
       
    22 
       
    23 java -jar $BASEDIR/xalanj/xalan.jar -xsl $BASEDIR/lib/usage.xsl -in $0.xsl -param usage $0
       
    24