[Fedora-directory-commits] dsmlgw/scripts dsml2ldif.in, NONE, 1.1 ldif2dsml.in, NONE, 1.1

Richard Allen Megginson (rmeggins) fedora-directory-commits at redhat.com
Fri Apr 25 02:28:12 UTC 2008


Author: rmeggins

Update of /cvs/dirsec/dsmlgw/scripts
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv28804/dsmlgw/scripts

Added Files:
	dsml2ldif.in ldif2dsml.in 
Log Message:
added dsml2ldif and ldif2dsml scripts


--- NEW FILE dsml2ldif.in ---
#!/bin/sh
#
# BEGIN COPYRIGHT BLOCK
# This Program is free software; you can redistribute it and/or modify it under
# the terms of the GNU General Public License as published by the Free Software
# Foundation; version 2 of the License.
# 
# This Program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
# 
# You should have received a copy of the GNU General Public License along with
# this Program; if not, write to the Free Software Foundation, Inc., 59 Temple
# Place, Suite 330, Boston, MA 02111-1307 USA.
# 
# Copyright (C) 2006 Red Hat, Inc.
# All rights reserved.
# END COPYRIGHT BLOCK
#

CP=@dsmlgwdatadir@/webapps/axis/WEB-INF/lib/dsmlgw.jar:@dsmlgwdatadir@/webapps/axis/WEB-INF/lib/ldapjdk.jar
# it seems that most java 1.5 and later JREs already have a built-in sax implementation
# if you need to specify another one, just specify the SAXJARS env var
# SAXJARS=/path/to/xml-parser.jar dsml2ldif file.dsml
if [ -n "$SAXJARS" ] ; then
    CP=${CP}:$SAXJARS
fi

@runtime_javahome@/bin/java -cp "$CP" com.netscape.xmltools.DSML2LDIF "$@"


--- NEW FILE ldif2dsml.in ---
#!/bin/sh
#
# BEGIN COPYRIGHT BLOCK
# This Program is free software; you can redistribute it and/or modify it under
# the terms of the GNU General Public License as published by the Free Software
# Foundation; version 2 of the License.
# 
# This Program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
# 
# You should have received a copy of the GNU General Public License along with
# this Program; if not, write to the Free Software Foundation, Inc., 59 Temple
# Place, Suite 330, Boston, MA 02111-1307 USA.
# 
# Copyright (C) 2006 Red Hat, Inc.
# All rights reserved.
# END COPYRIGHT BLOCK
#

CP=@dsmlgwdatadir@/webapps/axis/WEB-INF/lib/dsmlgw.jar:@dsmlgwdatadir@/webapps/axis/WEB-INF/lib/ldapjdk.jar
# it seems that most java 1.5 and later JREs already have a built-in sax implementation
# if you need to specify another one, just specify the SAXJARS env var
# SAXJARS=/path/to/xml-parser.jar dsml2ldif file.dsml
if [ -n "$SAXJARS" ] ; then
    CP=${CP}:$SAXJARS
fi

@runtime_javahome@/bin/java -cp "$CP" com.netscape.xmltools.LDIF2DSML "$@"




More information about the Fedora-directory-commits mailing list