Improve output: distinguish between failed assertions (failures) and unexpected exceptions (errors), and print a filtered stack trace for any exception.

This commit is contained in:
jeb228 2010-01-29 22:13:57 +00:00
commit 4f2e303079
1839 changed files with 235630 additions and 0 deletions

View file

@ -0,0 +1,19 @@
<?xml version="1.0"?>
<!-- <!DOCTYPE project PUBLIC "-//ANT//DTD project//EN" "ant16.dtd" > this doesn't seem to work well. -->
<project name="imported-build" basedir="../../">
<!-- add the ant contrib tasks
see http://ant-contrib.sourceforge.net/ant-contrib/manual/tasks/index.html -->
<taskdef resource="net/sf/antcontrib/antcontrib.properties">
<classpath>
<fileset dir="${ant.lib}">
<include name="**/*.jar"/>
</fileset>
</classpath>
</taskdef>
</project>

Binary file not shown.

View file

@ -0,0 +1,49 @@
# these are ant build properties that all of the vitro and build.xml files might need.
#
# All of these paths must be absolute or relative to the vitro directory. Relative
# is preferred.
# Notice that the use of relative paths is facilitated by the basedir attribute of the
# ant project elements. All projects should use the same base directory so that the
# relative paths will point to the correct files.
# See the ant documentation for project element basedir attribute.
############## basic configuration ###############
java_api=/usr/local/java/java_home
############ tomcat stuff ####################
tomcat.home=/usr/local/tomcat
############# source directory #########################################
##### This parameter is used for referencing a "permanent" home #######
##### in the source directory of the project for uploaded files #######
##### so that if the Tomcat webapp context is wiped out, any #######
##### uploaded files (usually images) are not lost. #######
########################################################################
source.home=/usr/local/src/Vitro
########################################################################
##### Everything under this is used by the Vitro build.xml files #######
##### You should not need to customize it for you local install #######
########################################################################
########### ant contrib tasks ###############
ant.lib=./config/ant/lib
ant.contrib.jar=${ant.lib}/ant-contrib-1.0b2.jar
#### locations of files in the build #####
webapp.dir=./webapp
webapp.lib=${webapp.dir}/lib
webapp.build=${webapp.dir}/.build
webapp.dir.jar=${webapp.build}/vitro-webapp.jar
webapp.name=vitro
webapp.deploy.home=${tomcat.home}/webapps/${webapp.name}
ingest.dir=./ingestTool
ingest.lib=${ingest.dir}/lib
ingest.build=${ingest.dir}/build
ws.dir=./services
ws.lib=${ws.dir}/lib
ws.build=${webapp.dir}/build
ws.wsdd.dir=${ws.dir}/wsdd

4
config/test Normal file
View file

@ -0,0 +1,4 @@
osk
sk
dklsjf