code stringlengths 1 1.96M | language stringclasses 1
value |
|---|---|
#!/bin/bash
xsd2cpp importing1.xsd . > /dev/null && ./autogen.sh && make install
if [ $? -ne 0 ]; then
echo " failed to build in dir: `pwd`"
exit 1
fi
xsd2cpp importing4.xsd . > /dev/null # && ./autogen.sh && make install
if [ $? -ne 0 ]; then
echo " failed to build in dir: `pwd`"
exit 1
fi
xsd2cpp ... | Shell |
#!/bin/bash
xsd2cpp importing1.xsd . > /dev/null && ./autogen.sh && make install
if [ $? -ne 0 ]; then
echo " failed to build in dir: `pwd`"
exit 1
fi
xsd2cpp importing4.xsd . > /dev/null # && ./autogen.sh && make install
if [ $? -ne 0 ]; then
echo " failed to build in dir: `pwd`"
exit 1
fi
xsd2cpp ... | Shell |
#!/bin/bash
xsd2cpp -s ccExtAny.xsd . && ./autogen.sh && make install
if [ $? -ne 0 ]; then
echo " failed to build in dir: `pwd`"
exit 1
fi
# TEST
run=./build/bin/ccExtAnyrun
$run -s
# check sample.xml exists
if [ ! -f sample.xml ]; then
echo " sample.xml doesn't exist"
exit 1
fi
$run -w
# check t... | Shell |
#!/bin/bash
xsd2cpp -s ccExtAny.xsd . && ./autogen.sh && make install
if [ $? -ne 0 ]; then
echo " failed to build in dir: `pwd`"
exit 1
fi
# TEST
run=./build/bin/ccExtAnyrun
$run -s
# check sample.xml exists
if [ ! -f sample.xml ]; then
echo " sample.xml doesn't exist"
exit 1
fi
$run -w
# check t... | Shell |
#!/bin/bash
CNT_TOTAL_TESTS=0
CNT_FAILED_TESTS=0
CNT_PASSED_TESTS=0
# xmllint core dumps, on certain schemas, dont use it in tests
XMLLINT=`which xmllint`
TEST_FAILED=false
FAILED_DIRS=""
INPUT_XSD=""
EX_DIRS=""
W3C_TESTS_DIRS=""
XPLUS_TESTS_DIRS=""
XPLUS_NEGTESTS_DIRS=""
ascertain_test_dirs()
{
#W3C_TESTS_DIRS=`... | Shell |
#!/bin/bash
# BUILD
xsd2cpp defaultTest.xsd . && ./autogen.sh && make install
if [ $? -ne 0 ]; then
echo " failed to build in dir: `pwd`"
exit 1
fi
# TEST
run=./build/bin/defaultTestrun
$run -r t1.xml
if [ $? -ne 0 ]; then
echo " test failed in dir: `pwd`"
exit 1
fi
$run -r t2.xml
if [ $? -ne 0 ]; th... | Shell |
#!/bin/bash
# BUILD
xsd2cpp defaultTest.xsd . && ./autogen.sh && make install
if [ $? -ne 0 ]; then
echo " failed to build in dir: `pwd`"
exit 1
fi
# TEST
run=./build/bin/defaultTestrun
$run -r t1.xml
if [ $? -ne 0 ]; then
echo " test failed in dir: `pwd`"
exit 1
fi
$run -r t2.xml
if [ $? -ne 0 ]; th... | Shell |
#!/bin/bash
# BUILD
xsd2cpp fixedTest.xsd . && ./autogen.sh && make install
if [ $? -ne 0 ]; then
echo " failed to build in dir: `pwd`"
exit 1
fi
# TEST
run=./build/bin/fixedTestrun
$run -r t1.xml
if [ $? -ne 0 ]; then
echo " test failed in dir: `pwd`"
exit 1
fi
$run -r t3.xml
if [ $? -ne 0 ]; then
... | Shell |
#!/bin/bash
# BUILD
xsd2cpp fixedTest.xsd . && ./autogen.sh && make install
if [ $? -ne 0 ]; then
echo " failed to build in dir: `pwd`"
exit 1
fi
# TEST
run=./build/bin/fixedTestrun
$run -r t1.xml
if [ $? -ne 0 ]; then
echo " test failed in dir: `pwd`"
exit 1
fi
$run -r t3.xml
if [ $? -ne 0 ]; then
... | Shell |
#!/bin/bash
xsd2cpp including1.xsd . && ./autogen.sh && make install
if [ $? -ne 0 ]; then
echo " failed to build in dir: `pwd`"
exit 1
fi
xsd2cpp including2.xsd .
if [ $? -eq 0 ]; then
echo " failed on negative test on: including2.xsd"
exit 1
fi
| Shell |
#!/bin/bash
xsd2cpp including1.xsd . && ./autogen.sh && make install
if [ $? -ne 0 ]; then
echo " failed to build in dir: `pwd`"
exit 1
fi
xsd2cpp including2.xsd .
if [ $? -eq 0 ]; then
echo " failed on negative test on: including2.xsd"
exit 1
fi
| Shell |
#!/bin/bash
xsd2cpp importing1.xsd . > /dev/null && ./autogen.sh && make install
if [ $? -ne 0 ]; then
echo " failed to build in dir: `pwd`"
exit 1
fi
xsd2cpp importing4.xsd . > /dev/null # && ./autogen.sh && make install
if [ $? -ne 0 ]; then
echo " failed to build in dir: `pwd`"
exit 1
fi
xsd2cpp ... | Shell |
#!/bin/bash
xsd2cpp importing1.xsd . > /dev/null && ./autogen.sh && make install
if [ $? -ne 0 ]; then
echo " failed to build in dir: `pwd`"
exit 1
fi
xsd2cpp importing4.xsd . > /dev/null # && ./autogen.sh && make install
if [ $? -ne 0 ]; then
echo " failed to build in dir: `pwd`"
exit 1
fi
xsd2cpp ... | Shell |
#!/bin/bash
xsd2cpp -s ccExtAny.xsd . && ./autogen.sh && make install
if [ $? -ne 0 ]; then
echo " failed to build in dir: `pwd`"
exit 1
fi
# TEST
run=./build/bin/ccExtAnyrun
$run -s
# check sample.xml exists
if [ ! -f sample.xml ]; then
echo " sample.xml doesn't exist"
exit 1
fi
$run -w
# check t... | Shell |
#!/bin/bash
xsd2cpp -s ccExtAny.xsd . && ./autogen.sh && make install
if [ $? -ne 0 ]; then
echo " failed to build in dir: `pwd`"
exit 1
fi
# TEST
run=./build/bin/ccExtAnyrun
$run -s
# check sample.xml exists
if [ ! -f sample.xml ]; then
echo " sample.xml doesn't exist"
exit 1
fi
$run -w
# check t... | Shell |
#!/bin/bash
#
# This file is part of XmlPlus package
#
# Copyright (C) 2010-2011 Satya Prakash Tripathi
#
#
# 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, either version 3 of the License,... | Shell |
#!/bin/bash
file=$1
tmpFile=/tmp/`basename $file`.tmp
sed -e 's/MEMBER_VAR //g' -e 's/MEMBER_FN //g' \
-e 's/XMARKER //g' \
$file > $tmpFile
mv $tmpFile $file
| Shell |
#!/bin/bash
file=$1
tmpFile=/tmp/`basename $file`.tmp
sed -e 's/MEMBER_VAR //g' -e 's/MEMBER_FN //g' \
-e 's/XMARKER //g' \
$file > $tmpFile
mv $tmpFile $file
| Shell |
#!/bin/bash
is_ver1_gt_ver2()
{
ver1_gt_ver2=0
ver1=`echo $ver1 | sed -e 's/\.//g'`
ver2=`echo $ver2 | sed -e 's/\.//g'`
allzeros="0000000000000000000000"
len1=`echo ${#ver1}`
len2=`echo ${#ver2}`
if [ $len1 -gt $len2 ]; then
diff=`expr $len1 '-' $len2`
$ver2="${ver2}${allzeros:0:$diff}"
eli... | Shell |
#!/bin/bash
MAIN_CPP=
FILE=""
XSD_FILES=""
XML_FILES=""
EX_DIRS=""
W3C_TESTS_DIRS=""
XPLUS_TESTS_DIRS=""
XPLUS_NEGTESTS_DIRS=""
HTML_NAME=""
DIRS=""
TITLE=""
ascertain_input_dirs()
{
EX_DIRS=`find examples -maxdepth 1 -mindepth 1 -type d | grep -v "svn*"`
W3C_TESTS_DIRS=`find Tests/w3c_tests -maxdepth 1 -mindep... | Shell |
#!/bin/bash
#
# This file is part of XmlPlus package
#
# Copyright (C) 2010-2011 Satya Prakash Tripathi
#
#
# 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, either version 3 of the License,... | Shell |
#!/bin/bash
MAIN_CPP=
FILE=""
XSD_FILES=""
XML_FILES=""
EX_DIRS=""
W3C_TESTS_DIRS=""
XPLUS_TESTS_DIRS=""
XPLUS_NEGTESTS_DIRS=""
HTML_NAME=""
DIRS=""
TITLE=""
ascertain_input_dirs()
{
EX_DIRS="examples/helloWorld examples/simplest examples/simpleTypesDemo examples/org examples/netEnabled"
#EX_DIRS="examples/org"
}... | Shell |
#!/bin/bash
is_ver1_gt_ver2()
{
ver1_gt_ver2=0
ver1=`echo $ver1 | sed -e 's/\.//g'`
ver2=`echo $ver2 | sed -e 's/\.//g'`
allzeros="0000000000000000000000"
len1=`echo ${#ver1}`
len2=`echo ${#ver2}`
if [ $len1 -gt $len2 ]; then
diff=`expr $len1 '-' $len2`
$ver2="${ver2}${allzeros:0:$diff}"
eli... | Shell |
#!/bin/bash
MAIN_CPP=
FILE=""
XSD_FILES=""
XML_FILES=""
EX_DIRS=""
W3C_TESTS_DIRS=""
XPLUS_TESTS_DIRS=""
XPLUS_NEGTESTS_DIRS=""
HTML_NAME=""
DIRS=""
TITLE=""
ascertain_input_dirs()
{
EX_DIRS="examples/helloWorld examples/simplest examples/simpleTypesDemo examples/org examples/netEnabled"
#EX_DIRS="examples/org"
}... | Shell |
#!/bin/sh -e
mkdir -p m4
test -n "$srcdir" || srcdir=`dirname "$0"`
test -n "$srcdir" || srcdir=.
autoreconf --force --install --verbose "$srcdir"
test -n "$NOCONFIGURE" || "$srcdir/configure" --prefix=`pwd`/build "$@"
| Shell |
#!/bin/sh -e
mkdir -p m4
test -n "$srcdir" || srcdir=`dirname "$0"`
test -n "$srcdir" || srcdir=.
autoreconf --force --install --verbose "$srcdir"
test -n "$NOCONFIGURE" || "$srcdir/configure" --prefix=`pwd`/build "$@"
| Shell |
#!/bin/bash
MAIN_CPP=
FILE=""
XSD_FILES=""
XML_FILES=""
EX_DIRS=""
W3C_TESTS_DIRS=""
XPLUS_TESTS_DIRS=""
XPLUS_NEGTESTS_DIRS=""
HTML_NAME=""
DIRS=""
TITLE=""
ascertain_input_dirs()
{
EX_DIRS=`find examples -maxdepth 1 -mindepth 1 -type d | grep -v "svn*"`
W3C_TESTS_DIRS=`find Tests/w3c_tests -maxdepth 1 -mindep... | Shell |
#!/bin/sh
# install - install a program, script, or datafile
scriptversion=2009-04-28.21; # UTC
# This originates from X11R5 (mit/util/scripts/install.sh), which was
# later released in X11R6 (xc/config/util/install.sh) with the
# following copyright and license.
#
# Copyright (C) 1994 X Consortium
#
# Permission is ... | Shell |
#! /bin/bash
# libtool - Provide generalized library-building support services.
# Generated automatically by config.status (xmlplus) 0.2
# Libtool was configured on host ginger:
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
#
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
... | Shell |
#!/bin/sh -e
test -n "$srcdir" || srcdir=`dirname "$0"`
test -n "$srcdir" || srcdir=.
autoreconf --force --install --verbose "$srcdir"
test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"
| Shell |
# Generated from ltmain.m4sh.
# libtool (GNU libtool) 2.2.10
# Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006,
# 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
# This is free software; see the source for copying conditions. T... | Shell |
#! /bin/sh
# depcomp - compile a program generating dependencies as side-effects
scriptversion=2009-04-28.21; # UTC
# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009 Free
# Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU Ge... | Shell |
#! /bin/sh
# Common stub for a few missing GNU programs while installing.
scriptversion=2009-04-28.21; # UTC
# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006,
# 2008, 2009 Free Software Foundation, Inc.
# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
# This program is free softw... | Shell |
#!/bin/sh -e
test -n "$srcdir" || srcdir=`dirname "$0"`
test -n "$srcdir" || srcdir=.
autoreconf --force --install --verbose "$srcdir"
test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"
| Shell |
#! /bin/sh
# libtool - Provide generalized library-building support services.
# Generated automatically by config.status (xmlplus) 0.1
# Libtool was configured on host partialrock-lm:
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
#
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, ... | Shell |
#! /bin/sh
# Configuration validation subroutine script.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
# Free Software Foundation, Inc.
timestamp='2009-11-20'
# This file is (in principle) common to ALL GNU software.
# The presence o... | Shell |
#! /bin/sh
# Attempt to guess a canonical system name.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
# Free Software Foundation, Inc.
timestamp='2009-11-20'
# This file is free software; you can redistribute it and/or modify it
# und... | Shell |
#! /bin/sh
# depcomp - compile a program generating dependencies as side-effects
scriptversion=2009-04-28.21; # UTC
# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009 Free
# Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU Ge... | Shell |
#!/bin/sh
EX_DIRS="
examples/org
examples/includeDemo
examples/helloWorld
examples/helloWorldWide
examples/mails
examples/simpleTypesDemo
examples/simplest
examples/po"
ex_dirs=""
W3C_TESTS_DIRS="
w3c_tests/stE080
w3c_tests/stG003
... | Shell |
#!/bin/sh
# install - install a program, script, or datafile
scriptversion=2009-04-28.21; # UTC
# This originates from X11R5 (mit/util/scripts/install.sh), which was
# later released in X11R6 (xc/config/util/install.sh) with the
# following copyright and license.
#
# Copyright (C) 1994 X Consortium
#
# Permission is ... | Shell |
#! /bin/sh
# Common stub for a few missing GNU programs while installing.
scriptversion=2009-04-28.21; # UTC
# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006,
# 2008, 2009 Free Software Foundation, Inc.
# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
# This program is free softw... | Shell |
#!/bin/sh
EX_DIRS="
examples/org
examples/includeDemo
examples/helloWorld
examples/helloWorldWide
examples/mails
examples/simpleTypesDemo
examples/simplest
examples/po"
ex_dirs=""
W3C_TESTS_DIRS="
w3c_tests/stE080
w3c_tests/stG003
... | Shell |
#!/bin/sh
#
# This file is part of XmlPlus package
#
# Copyright (C) 2010 Satya Prakash Tripathi
#
#
# 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, either version 3 of the License, or
# (... | Shell |
#!/bin/sh -e
mkdir -p m4
test -n "$srcdir" || srcdir=`dirname "$0"`
test -n "$srcdir" || srcdir=.
autoreconf --force --install --verbose "$srcdir"
test -n "$NOCONFIGURE" || "$srcdir/configure" --prefix=`pwd`/build "$@"
| Shell |
#!/bin/sh -e
mkdir -p m4
test -n "$srcdir" || srcdir=`dirname "$0"`
test -n "$srcdir" || srcdir=.
autoreconf --force --install --verbose "$srcdir"
test -n "$NOCONFIGURE" || "$srcdir/configure" --prefix=`pwd`/build "$@"
| Shell |
#!/bin/sh
#
# This file is part of XmlPlus package
#
# Copyright (C) 2010 Satya Prakash Tripathi
#
#
# 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, either version 3 of the License, or
# (... | Shell |
#!/bin/sh
# install - install a program, script, or datafile
scriptversion=2009-04-28.21; # UTC
# This originates from X11R5 (mit/util/scripts/install.sh), which was
# later released in X11R6 (xc/config/util/install.sh) with the
# following copyright and license.
#
# Copyright (C) 1994 X Consortium
#
# Permission is ... | Shell |
#! /bin/sh
# libtool - Provide generalized library-building support services.
# Generated automatically by config.status (xmlplus) 0.1
# Libtool was configured on host partialrock-lm:
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
#
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, ... | Shell |
#!/bin/sh -e
test -n "$srcdir" || srcdir=`dirname "$0"`
test -n "$srcdir" || srcdir=.
autoreconf --force --install --verbose "$srcdir"
test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"
| Shell |
# Generated from ltmain.m4sh.
# ltmain.sh (GNU libtool) 2.2.6b
# Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 2007 2008 Free Software Foundation, Inc.
# This is free software; see the source for copying conditions. There is NO
# ... | Shell |
#! /bin/sh
# depcomp - compile a program generating dependencies as side-effects
scriptversion=2009-04-28.21; # UTC
# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009 Free
# Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU Ge... | Shell |
#!/bin/bash
MAIN_CPP=
FILE=""
XSD_FILES=""
XML_FILES=""
EX_DIRS=""
W3C_TESTS_DIRS=""
XPLUS_TESTS_DIRS=""
XPLUS_NEGTESTS_DIRS=""
HTML_NAME=""
DIRS=""
TITLE=""
ascertain_input_dirs()
{
EX_DIRS=`find examples -maxdepth 1 -mindepth 1 -type d | grep -v "svn*"`
W3C_TESTS_DIRS=`find Tests/w3c_tests -maxdepth 1 -mindep... | Shell |
#! /bin/sh
# Common stub for a few missing GNU programs while installing.
scriptversion=2009-04-28.21; # UTC
# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006,
# 2008, 2009 Free Software Foundation, Inc.
# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
# This program is free softw... | Shell |
#!/bin/sh -e
test -n "$srcdir" || srcdir=`dirname "$0"`
test -n "$srcdir" || srcdir=.
autoreconf --force --install --verbose "$srcdir"
test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"
| Shell |
#! /bin/bash
# libtool - Provide generalized library-building support services.
# Generated automatically by config.status (xmlplus) 0.2
# Libtool was configured on host ginger:
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
#
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
... | Shell |
#! /bin/sh
# Configuration validation subroutine script.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
# Free Software Foundation, Inc.
timestamp='2009-06-11'
# This file is (in principle) common to ALL GNU software.
# The presence o... | Shell |
#! /bin/sh
# Attempt to guess a canonical system name.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
# Free Software Foundation, Inc.
timestamp='2009-06-10'
# This file is free software; you can redistribute it and/or modify it
# und... | Shell |
#! /bin/sh
# depcomp - compile a program generating dependencies as side-effects
scriptversion=2009-04-28.21; # UTC
# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009 Free
# Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU Ge... | Shell |
#!/bin/bash
MAIN_CPP=
FILE=""
XSD_FILES=""
XML_FILES=""
EX_DIRS=""
W3C_TESTS_DIRS=""
XPLUS_TESTS_DIRS=""
XPLUS_NEGTESTS_DIRS=""
HTML_NAME=""
DIRS=""
TITLE=""
ascertain_input_dirs()
{
EX_DIRS="examples/helloWorld examples/simplest examples/simpleTypesDemo examples/org examples/netEnabled"
#EX_DIRS="examples/org"
}... | Shell |
#!/bin/bash
# xmllint core dumps, on certain schemas, dont use it in tests
XMLLINT=`which xmllint`
TEST_FAILED=false
FAILED_DIRS=""
INPUT_XSD=""
EX_DIRS=""
W3C_TESTS_DIRS=""
XPLUS_TESTS_DIRS=""
XPLUS_NEGTESTS_DIRS=""
ascertain_test_dirs()
{
EX_DIRS=`find examples -maxdepth 1 -mindepth 1 -type d | grep -v "svn*"`... | Shell |
#!/bin/sh
# install - install a program, script, or datafile
scriptversion=2009-04-28.21; # UTC
# This originates from X11R5 (mit/util/scripts/install.sh), which was
# later released in X11R6 (xc/config/util/install.sh) with the
# following copyright and license.
#
# Copyright (C) 1994 X Consortium
#
# Permission is ... | Shell |
#! /bin/sh
# Common stub for a few missing GNU programs while installing.
scriptversion=2009-04-28.21; # UTC
# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006,
# 2008, 2009 Free Software Foundation, Inc.
# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
# This program is free softw... | Shell |
#!/bin/bash
# BUILD
xsd2cpp defaultTest.xsd . && ./autogen.sh && make install
if [ $? -ne 0 ]; then
echo " failed to build in dir: `pwd`"
exit 1
fi
# TEST
run=./build/bin/defaultTestrun
$run -r t1.xml
if [ $? -ne 0 ]; then
echo " test failed in dir: `pwd`"
exit 1
fi
$run -r t2.xml
if [ $? -ne 0 ]; th... | Shell |
#!/bin/bash
# BUILD
xsd2cpp defaultTest.xsd . && ./autogen.sh && make install
if [ $? -ne 0 ]; then
echo " failed to build in dir: `pwd`"
exit 1
fi
# TEST
run=./build/bin/defaultTestrun
$run -r t1.xml
if [ $? -ne 0 ]; then
echo " test failed in dir: `pwd`"
exit 1
fi
$run -r t2.xml
if [ $? -ne 0 ]; th... | Shell |
#!/bin/bash
# BUILD
xsd2cpp fixedTest.xsd . && ./autogen.sh && make install
if [ $? -ne 0 ]; then
echo " failed to build in dir: `pwd`"
exit 1
fi
# TEST
run=./build/bin/fixedTestrun
$run -r t1.xml
if [ $? -ne 0 ]; then
echo " test failed in dir: `pwd`"
exit 1
fi
$run -r t3.xml
if [ $? -ne 0 ]; then
... | Shell |
#!/bin/bash
# BUILD
xsd2cpp fixedTest.xsd . && ./autogen.sh && make install
if [ $? -ne 0 ]; then
echo " failed to build in dir: `pwd`"
exit 1
fi
# TEST
run=./build/bin/fixedTestrun
$run -r t1.xml
if [ $? -ne 0 ]; then
echo " test failed in dir: `pwd`"
exit 1
fi
$run -r t3.xml
if [ $? -ne 0 ]; then
... | Shell |
#!/bin/bash
xsd2cpp including1.xsd . && ./autogen.sh && make install
if [ $? -ne 0 ]; then
echo " failed to build in dir: `pwd`"
exit 1
fi
xsd2cpp including2.xsd .
if [ $? -eq 0 ]; then
echo " failed on negative test on: including2.xsd"
exit 1
fi
| Shell |
#!/bin/bash
xsd2cpp including1.xsd . && ./autogen.sh && make install
if [ $? -ne 0 ]; then
echo " failed to build in dir: `pwd`"
exit 1
fi
xsd2cpp including2.xsd .
if [ $? -eq 0 ]; then
echo " failed on negative test on: including2.xsd"
exit 1
fi
| Shell |
#!/bin/bash
xsd2cpp importing1.xsd . > /dev/null && ./autogen.sh && make install
if [ $? -ne 0 ]; then
echo " failed to build in dir: `pwd`"
exit 1
fi
xsd2cpp importing4.xsd . > /dev/null # && ./autogen.sh && make install
if [ $? -ne 0 ]; then
echo " failed to build in dir: `pwd`"
exit 1
fi
xsd2cpp ... | Shell |
#!/bin/bash
xsd2cpp importing1.xsd . > /dev/null && ./autogen.sh && make install
if [ $? -ne 0 ]; then
echo " failed to build in dir: `pwd`"
exit 1
fi
xsd2cpp importing4.xsd . > /dev/null # && ./autogen.sh && make install
if [ $? -ne 0 ]; then
echo " failed to build in dir: `pwd`"
exit 1
fi
xsd2cpp ... | Shell |
#!/bin/bash
xsd2cpp -s ccExtAny.xsd . && ./autogen.sh && make install
if [ $? -ne 0 ]; then
echo " failed to build in dir: `pwd`"
exit 1
fi
# TEST
run=./build/bin/ccExtAnyrun
$run -s
# check sample.xml exists
if [ ! -f sample.xml ]; then
echo " sample.xml doesn't exist"
exit 1
fi
$run -w
# check t... | Shell |
#!/bin/bash
xsd2cpp -s ccExtAny.xsd . && ./autogen.sh && make install
if [ $? -ne 0 ]; then
echo " failed to build in dir: `pwd`"
exit 1
fi
# TEST
run=./build/bin/ccExtAnyrun
$run -s
# check sample.xml exists
if [ ! -f sample.xml ]; then
echo " sample.xml doesn't exist"
exit 1
fi
$run -w
# check t... | Shell |
#!/bin/bash
# xmllint core dumps, on certain schemas, dont use it in tests
XMLLINT=`which xmllint`
TEST_FAILED=false
FAILED_DIRS=""
INPUT_XSD=""
EX_DIRS=""
W3C_TESTS_DIRS=""
XPLUS_TESTS_DIRS=""
XPLUS_NEGTESTS_DIRS=""
ascertain_test_dirs()
{
EX_DIRS=`find examples -maxdepth 1 -mindepth 1 -type d | grep -v "svn*"`... | Shell |
#!/bin/bash
# BUILD
xsd2cpp defaultTest.xsd . && ./autogen.sh && make install
if [ $? -ne 0 ]; then
echo " failed to build in dir: `pwd`"
exit 1
fi
# TEST
run=./build/bin/defaultTestrun
$run -r t1.xml
if [ $? -ne 0 ]; then
echo " test failed in dir: `pwd`"
exit 1
fi
$run -r t2.xml
if [ $? -ne 0 ]; th... | Shell |
#!/bin/bash
# BUILD
xsd2cpp defaultTest.xsd . && ./autogen.sh && make install
if [ $? -ne 0 ]; then
echo " failed to build in dir: `pwd`"
exit 1
fi
# TEST
run=./build/bin/defaultTestrun
$run -r t1.xml
if [ $? -ne 0 ]; then
echo " test failed in dir: `pwd`"
exit 1
fi
$run -r t2.xml
if [ $? -ne 0 ]; th... | Shell |
#!/bin/bash
# BUILD
xsd2cpp fixedTest.xsd . && ./autogen.sh && make install
if [ $? -ne 0 ]; then
echo " failed to build in dir: `pwd`"
exit 1
fi
# TEST
run=./build/bin/fixedTestrun
$run -r t1.xml
if [ $? -ne 0 ]; then
echo " test failed in dir: `pwd`"
exit 1
fi
$run -r t3.xml
if [ $? -ne 0 ]; then
... | Shell |
#!/bin/bash
# BUILD
xsd2cpp fixedTest.xsd . && ./autogen.sh && make install
if [ $? -ne 0 ]; then
echo " failed to build in dir: `pwd`"
exit 1
fi
# TEST
run=./build/bin/fixedTestrun
$run -r t1.xml
if [ $? -ne 0 ]; then
echo " test failed in dir: `pwd`"
exit 1
fi
$run -r t3.xml
if [ $? -ne 0 ]; then
... | Shell |
#!/bin/bash
xsd2cpp including1.xsd . && ./autogen.sh && make install
if [ $? -ne 0 ]; then
echo " failed to build in dir: `pwd`"
exit 1
fi
xsd2cpp including2.xsd .
if [ $? -eq 0 ]; then
echo " failed on negative test on: including2.xsd"
exit 1
fi
| Shell |
#!/bin/bash
xsd2cpp including1.xsd . && ./autogen.sh && make install
if [ $? -ne 0 ]; then
echo " failed to build in dir: `pwd`"
exit 1
fi
xsd2cpp including2.xsd .
if [ $? -eq 0 ]; then
echo " failed on negative test on: including2.xsd"
exit 1
fi
| Shell |
#!/bin/bash
xsd2cpp importing1.xsd . > /dev/null && ./autogen.sh && make install
if [ $? -ne 0 ]; then
echo " failed to build in dir: `pwd`"
exit 1
fi
xsd2cpp importing4.xsd . > /dev/null # && ./autogen.sh && make install
if [ $? -ne 0 ]; then
echo " failed to build in dir: `pwd`"
exit 1
fi
xsd2cpp ... | Shell |
#!/bin/bash
xsd2cpp importing1.xsd . > /dev/null && ./autogen.sh && make install
if [ $? -ne 0 ]; then
echo " failed to build in dir: `pwd`"
exit 1
fi
xsd2cpp importing4.xsd . > /dev/null # && ./autogen.sh && make install
if [ $? -ne 0 ]; then
echo " failed to build in dir: `pwd`"
exit 1
fi
xsd2cpp ... | Shell |
#!/bin/bash
xsd2cpp -s ccExtAny.xsd . && ./autogen.sh && make install
if [ $? -ne 0 ]; then
echo " failed to build in dir: `pwd`"
exit 1
fi
# TEST
run=./build/bin/ccExtAnyrun
$run -s
# check sample.xml exists
if [ ! -f sample.xml ]; then
echo " sample.xml doesn't exist"
exit 1
fi
$run -w
# check t... | Shell |
#!/bin/bash
xsd2cpp -s ccExtAny.xsd . && ./autogen.sh && make install
if [ $? -ne 0 ]; then
echo " failed to build in dir: `pwd`"
exit 1
fi
# TEST
run=./build/bin/ccExtAnyrun
$run -s
# check sample.xml exists
if [ ! -f sample.xml ]; then
echo " sample.xml doesn't exist"
exit 1
fi
$run -w
# check t... | Shell |
#!/bin/bash
MAIN_CPP=
FILE=""
XSD_FILES=""
XML_FILES=""
EX_DIRS=""
W3C_TESTS_DIRS=""
XPLUS_TESTS_DIRS=""
XPLUS_NEGTESTS_DIRS=""
HTML_NAME=""
DIRS=""
TITLE=""
ascertain_input_dirs()
{
EX_DIRS=`find examples -maxdepth 1 -mindepth 1 -type d | grep -v "svn*"`
W3C_TESTS_DIRS=`find Tests/w3c_tests -maxdepth 1 -mindep... | Shell |
#!/bin/bash
#
# This file is part of XmlPlus package
#
# Copyright (C) 2010-2011 Satya Prakash Tripathi
#
#
# 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, either version 3 of the License,... | Shell |
#!/bin/bash
file=$1
tmpFile=/tmp/`basename $file`.tmp
sed -e 's/MEMBER_VAR //g' -e 's/MEMBER_FN //g' \
-e 's/XMARKER //g' \
$file > $tmpFile
mv $tmpFile $file
| Shell |
#!/bin/bash
file=$1
tmpFile=/tmp/`basename $file`.tmp
sed -e 's/MEMBER_VAR //g' -e 's/MEMBER_FN //g' \
-e 's/XMARKER //g' \
$file > $tmpFile
mv $tmpFile $file
| Shell |
#!/bin/bash
is_ver1_gt_ver2()
{
ver1_gt_ver2=0
ver1=`echo $ver1 | sed -e 's/\.//g'`
ver2=`echo $ver2 | sed -e 's/\.//g'`
allzeros="0000000000000000000000"
len1=`echo ${#ver1}`
len2=`echo ${#ver2}`
if [ $len1 -gt $len2 ]; then
diff=`expr $len1 '-' $len2`
$ver2="${ver2}${allzeros:0:$diff}"
eli... | Shell |
#!/bin/bash
#
# This file is part of XmlPlus package
#
# Copyright (C) 2010-2011 Satya Prakash Tripathi
#
#
# 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, either version 3 of the License,... | Shell |
#!/bin/bash
is_ver1_gt_ver2()
{
ver1_gt_ver2=0
ver1=`echo $ver1 | sed -e 's/\.//g'`
ver2=`echo $ver2 | sed -e 's/\.//g'`
allzeros="0000000000000000000000"
len1=`echo ${#ver1}`
len2=`echo ${#ver2}`
if [ $len1 -gt $len2 ]; then
diff=`expr $len1 '-' $len2`
$ver2="${ver2}${allzeros:0:$diff}"
eli... | Shell |
#!/bin/sh -e
mkdir -p m4
test -n "$srcdir" || srcdir=`dirname "$0"`
test -n "$srcdir" || srcdir=.
autoreconf --force --install --verbose "$srcdir"
test -n "$NOCONFIGURE" || "$srcdir/configure" --prefix=`pwd`/build "$@"
| Shell |
#!/bin/sh -e
mkdir -p m4
test -n "$srcdir" || srcdir=`dirname "$0"`
test -n "$srcdir" || srcdir=.
autoreconf --force --install --verbose "$srcdir"
test -n "$NOCONFIGURE" || "$srcdir/configure" --prefix=`pwd`/build "$@"
| Shell |
#!/bin/sh
# install - install a program, script, or datafile
scriptversion=2009-04-28.21; # UTC
# This originates from X11R5 (mit/util/scripts/install.sh), which was
# later released in X11R6 (xc/config/util/install.sh) with the
# following copyright and license.
#
# Copyright (C) 1994 X Consortium
#
# Permission is ... | Shell |
#! /bin/bash
# libtool - Provide generalized library-building support services.
# Generated automatically by config.status (xmlplus) 0.2
# Libtool was configured on host ginger:
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
#
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
... | Shell |
#!/bin/sh -e
test -n "$srcdir" || srcdir=`dirname "$0"`
test -n "$srcdir" || srcdir=.
autoreconf --force --install --verbose "$srcdir"
test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"
| Shell |
#!/bin/bash
MAIN_CPP=
FILE=""
XSD_FILES=""
XML_FILES=""
EX_DIRS=""
W3C_TESTS_DIRS=""
XPLUS_TESTS_DIRS=""
XPLUS_NEGTESTS_DIRS=""
HTML_NAME=""
DIRS=""
TITLE=""
ascertain_input_dirs()
{
EX_DIRS="examples/helloWorld examples/simplest examples/simpleTypesDemo examples/org examples/netEnabled"
#EX_DIRS="examples/org"
}... | Shell |
#!/bin/bash
openssl req -config openssl.cnf -extensions v3_ca -days 3650 -new -x509 -keyout ca.key -out ca.crt -nodes
cat ca.crt ca.key > ca.pem
echo -en > index.txt
echo 100000 > serial
| Shell |
#!/bin/bash
cd `dirname $0`
DD="./domains/${1}"
if [ -d ${DD} ]; then
echo 'got one';
exit
else
echo 'create new ';
fi;
mkdir ./${DD}
LOG="ca.log"
echo "Create ${DD} " >> $LOG
echo "STAGE 1" >> $LOG
B=' -batch '
C=' '
openssl req $B $C -days 365 -nodes -new -keyout ./${DD}/cert.key -out ./${DD}/cert.... | Shell |
#!/bin/sh
# TODO: FIXME: Get rid of this and hook it into Dojo's general build script
# You must have mtasc to run this
mtasc -trace DojoExternalInterface.trace -main -cp ../flash -swf Storage.swf -version 8 -header 215:138:10 Storage.as
| Shell |
#!/bin/sh
# TODO: FIXME: Get rid of this and hook it into Dojo's general build script
# You must have mtasc to run this
mtasc -trace DojoExternalInterface.trace -main -cp ../flash -swf Storage.swf -version 8 -header 215:138:10 Storage.as
| Shell |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.