Permalink
Browse files

First commit of raw OpenSHA code

  • Loading branch information...
1 parent f99966a commit 1b29b8beb98e10489651f97d80fb1df016b574bc @joshuamckenty joshuamckenty committed Oct 1, 2010
Showing 3,260 changed files with 16,608,028 additions and 1 deletion.
The diff you're trying to view is too large. We only load the first 3000 changed files.
View
@@ -0,0 +1,60 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry excluding="**/_nobuild/*" kind="src" path="dev"/>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="src" path="test"/>
+ <classpathentry exported="true" kind="lib" path="lib/xsdlib.jar"/>
+ <classpathentry exported="true" kind="lib" path="lib/xmlParserAPIs.jar"/>
+ <classpathentry exported="true" kind="lib" path="lib/xml-apis.jar"/>
+ <classpathentry exported="true" kind="lib" path="lib/xercesSamples.jar"/>
+ <classpathentry exported="true" kind="lib" path="lib/xercesImpl.jar"/>
+ <classpathentry exported="true" kind="lib" path="lib/sdoapi.jar"/>
+ <classpathentry exported="true" kind="lib" path="lib/saaj-impl.jar"/>
+ <classpathentry exported="true" kind="lib" path="lib/saaj-api.jar"/>
+ <classpathentry exported="true" kind="lib" path="lib/relaxngDatatype.jar"/>
+ <classpathentry exported="true" kind="lib" path="lib/poi-2.5.1-final-20040804.jar"/>
+ <classpathentry exported="true" kind="lib" path="lib/namespace.jar"/>
+ <classpathentry exported="true" kind="lib" path="lib/mail.jar"/>
+ <classpathentry exported="true" kind="lib" path="lib/log4j-1.2.4.jar"/>
+ <classpathentry exported="true" kind="lib" path="lib/jta-spec1_0_1.jar"/>
+ <classpathentry exported="true" kind="lib" path="lib/jpedal.jar"/>
+ <classpathentry exported="true" kind="lib" path="lib/jh.jar"/>
+ <classpathentry exported="true" kind="lib" path="lib/jaxrpc-impl.jar"/>
+ <classpathentry exported="true" kind="lib" path="lib/jaxrpc-api.jar"/>
+ <classpathentry exported="true" kind="lib" path="lib/jax-qname.jar"/>
+ <classpathentry exported="true" kind="lib" path="lib/jaas.jar"/>
+ <classpathentry exported="true" kind="lib" path="lib/itext-1.3.jar"/>
+ <classpathentry exported="true" kind="lib" path="lib/dom4j.jar"/>
+ <classpathentry exported="true" kind="lib" path="lib/commons-logging.jar"/>
+ <classpathentry exported="true" kind="lib" path="lib/commons-collections.jar"/>
+ <classpathentry exported="true" kind="lib" path="lib/commons-beanutils.jar"/>
+ <classpathentry exported="true" kind="lib" path="lib/activation.jar"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry exported="true" kind="lib" path="lib/scec_vdo.jar"/>
+ <classpathentry exported="true" kind="lib" path="lib/f2jutil.jar"/>
+ <classpathentry exported="true" kind="lib" path="lib/jfreechart-1.0.2.jar"/>
+ <classpathentry exported="true" kind="lib" path="lib/jcommon-1.0.5.jar"/>
+ <classpathentry exported="true" kind="lib" path="lib/servlet.jar"/>
+ <classpathentry exported="true" kind="lib" path="lib/nnls.jar"/>
+ <classpathentry exported="true" kind="lib" path="lib/Jama-1.0.2.jar"/>
+ <classpathentry exported="true" kind="lib" path="lib/mysql-connector-java-3.1.6-bin.jar"/>
+ <classpathentry exported="true" kind="lib" path="lib/DBConnection.jar"/>
+ <classpathentry exported="true" kind="lib" path="lib/USGSUtils.jar"/>
+ <classpathentry exported="true" kind="lib" path="lib/BrowserLauncher2-1_3.jar"/>
+ <classpathentry exported="true" kind="lib" path="lib/commons-cli-1.2.jar"/>
+ <classpathentry exported="true" kind="lib" path="lib/commons-lang-2.4.jar">
+ <attributes>
+ <attribute name="javadoc_location" value="http://commons.apache.org/lang/api-release/"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry exported="true" kind="lib" path="lib/isti.util.jar"/>
+ <classpathentry exported="true" kind="lib" path="lib/junit-4.5.jar"/>
+ <classpathentry exported="true" kind="lib" path="lib/ncCore-4.0.jar"/>
+ <classpathentry exported="true" kind="lib" path="lib/jstl.jar"/>
+ <classpathentry exported="true" kind="lib" path="lib/standard.jar"/>
+ <classpathentry exported="true" kind="lib" path="lib/commons-io-1.4.jar"/>
+ <classpathentry exported="true" kind="lib" path="lib/commons-math-2.1.jar"/>
+ <classpathentry kind="lib" path="lib/ojdbc5.jar"/>
+ <classpathentry kind="lib" path="lib/commons-codec-1.4.jar"/>
+ <classpathentry kind="output" path="classes/"/>
+</classpath>
View
@@ -0,0 +1,6 @@
+*.DS_Store
+build
+build/**/*
+build-stamp
+dist/**/*
+
View
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>OpenSHA</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>net.genady.rmi.RMIBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>net.genady.rmi.RMINature</nature>
+ </natures>
+</projectDescription>
@@ -0,0 +1,6 @@
+#Tue Jul 14 17:21:44 PDT 2009
+eclipse.preferences.version=1
+encoding/.classpath=UTF-8
+encoding/.project=UTF-8
+encoding/<project>=UTF-8
+instance/org.eclipse.core.net/org.eclipse.core.net.hasMigrated=true
View
@@ -0,0 +1,10 @@
+ To increase memory, here are the steps:
+
+ 1. Click on "HazardCurveLocalModeApplication" and select "Run As"
+ and then "Run.....". A window will pop up.
+
+ 2.  Select "Arguments" tab from this window.
+
+ 3.  In the "VM arguments", please right "-Xmx500M".
+
+ 4. Then hit the "Run" button.
View
@@ -0,0 +1,32 @@
+LICENSE
+
+Copyright ©2010 OpenSHA.org and the University of Southern California (USC). This copyright applies to the OpenSHA codebase as a whole, or any individual distributed application. The individual contributions of government employees, which may be identified on a per-file basis using Subversion (SVN) (see developer site), are in the public domain.
+
+The software and content provided on this website are made available under the terms of the Apache License, Version 2.0. A copy of the License is available 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.
+
+DISCLAIMER
+
+THIS SOFTWARE AVAILABLE ON THE SITE OPENSHA.ORG IS PROVIDED "AS IS" AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL OPENSHA.ORG, THE UNIVERSITY OF SOUTHERN CALIFORNIA (USC), OR ANY OF THEIR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Without limiting the foregoing, OpenSHA.org and USC make no warranty that:
+
+ 1. the software will meet your requirements.
+ 2. the software will be uninterrupted, timely, secure or error-free.
+ 3. the results that may be obtained from the use of the software will be effective, accurate or reliable.
+ 4. the quality of the software will meet your expectations.
+ 5. any errors in the software obtained from the OpenSHA.org web site will be corrected.
+
+Software and its documentation made available on the OpenSHA.org web site:
+
+ 6. could include technical or other mistakes, inaccuracies or typographical errors. OpenSHA contributors may make changes to the software or documentation made available on its web site.
+ 7. may be out of date and OpenSHA.org, its contributors, and USC make no commitment to update such materials.
+
+OpenSHA.org, its contirbutors, and USC assume no responsibility for errors or ommissions in the software or documentation available from the OpenSHA.org web site.
+
+In no event shall OpenSHA.org, it's contributors, or USC be liable to you or any third parties for any special, punitive, incidental, indirect or consequential damages of any kind, or any damages whatsoever, including, without limitation, those resulting from loss of use, data or profits, whether or not OpenSHA.org, its controibutors, or USC has been advised of the possibility of such damages, and on any theory of liability, arising out of or in connection with the use of this software.
+
+The use of the software downloaded through the OpenSHA.org site is done at your own discretion and risk and with agreement that you will be solely responsible for any damage to your computer system or loss of data that results from such activities. No advice or information, whether oral or written, obtained by you from OpenSHA.org, its its website, its contributors, or USC shall create any warranty for the software.
View
2 README
@@ -1 +1 @@
-See http://www.opensha.org for documentation.
+third party vendor files can go in here
View
@@ -0,0 +1,168 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+ Copyright 2009 OpenSHA.org in partnership with
+ the Southern California Earthquake Center (SCEC, http://www.scec.org)
+ at the University of Southern California and the UnitedStates Geological
+ Survey (USGS; http://www.usgs.gov)
+
+ Licensed 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.
+ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
+
+<!-- $Id: HazardCurveLocal.xml 6862 2010-07-27 23:02:54Z kmilner $ -->
+
+<project basedir="." default="build.app" name="AppBuilder">
+ <description>
+ Builds an OpenSHA application as a launchable jar...must be called by another build file with the following
+ properties set: app.short.name, app.main.class, javac.includes, javac.excludes, resource.target,
+ and optionally: rmi.target
+ </description>
+
+ <import file="include/utils.xml"/>
+
+ <!-- global properties -->
+ <property name="build" value="../build" />
+ <property name="dist" value="../dist" />
+ <property name="src" value="../src" />
+ <property name="dev" value="../dev" />
+ <property name="lib.dir" value="../lib" />
+ <property name="unjar.target" value="unjar.libs.common" />
+
+ <path id="library.classpath">
+ <fileset dir="${lib.dir}">
+ <include name="**/*.jar" />
+ </fileset>
+ </path>
+
+
+ <!-- =================================
+ target: build.app
+ ================================= -->
+ <target name="build.app" depends="init, compile, copy, pack" />
+
+
+ <!-- - - - - - - - - - - - - - - - - -
+ target: pack
+
+ Creates manifest and jar; cleans up build dir.
+ - - - - - - - - - - - - - - - - - -->
+ <target name="pack">
+ <!-- build manifest -->
+ <!-- set version number -->
+ <runtarget target="set.app.version" />
+ <property name="app.jar.name" value="${app.short.name}-${app.version}.jar" />
+ <property name="app.jar" value="${dist}/${app.jar.name}" />
+ <jar destfile="${app.jar}"
+ basedir="${build}">
+ <manifest>
+ <attribute name="Main-Class"
+ value="${app.main.class}" />
+ <attribute name="Version" value="1.0"/>
+ <attribute name="Built-By" value="${user.name}" />
+ </manifest>
+ <include name="at/**" />
+ <include name="com/**" />
+ <include name="edu/**" />
+ <include name="net/**" />
+ <include name="org/**" />
+ <include name="javax/**" />
+ <include name="scratch/**" />
+ <include name="resources/**" />
+ <include name="oracle/**" />
+ <include name="build.version" />
+ <include name="LICENSE.txt" />
+ </jar>
+ <antcall target="clean.build.dir" />
+ <ant antfile="build.xml" target="sign.jar"/>
+ <ant antfile="build.xml" target="copy.server.jar"/>
+ </target>
+
+ <!-- - - - - - - - - - - - - - - - - -
+ target: compile
+ - - - - - - - - - - - - - - - - - -->
+ <target name="compile">
+ <antcall target="compile.java" />
+ <antcall target="compile.rmi" />
+ </target>
+
+ <!-- - - - - - - - - - - - - - - - - -
+ target: compile.java
+ - - - - - - - - - - - - - - - - - -->
+ <target name="compile.java">
+ <javac debug="true"
+ debuglevel="lines,source"
+ destdir="${build}"
+ fork="yes"
+ includes="${javac.includes}"
+ excludes="${javac.excludes}">
+ <classpath>
+ <pathelement location="${build}"/>
+ <path refid="library.classpath" />
+ </classpath>
+ <src path="${src}" />
+ <src path="${dev}" />
+ </javac>
+ </target>
+
+ <!-- - - - - - - - - - - - - - - - - -
+ target: compile.rmi
+ - - - - - - - - - - - - - - - - - -->
+ <target name="compile.rmi" if="rmi.target">
+ <ant antfile="build.xml" target="${rmi.target}"/>
+ </target>
+
+ <!-- - - - - - - - - - - - - - - - - -
+ target: copy
+
+ Copies resources and unpacks required libs.
+ - - - - - - - - - - - - - - - - - -->
+ <target name="copy">
+ <antcall target="unjar.libs" />
+ <antcall target="copy.resources" />
+ </target>
+
+ <!-- - - - - - - - - - - - - - - - - -
+ target: copy.resources
+ - - - - - - - - - - - - - - - - - -->
+ <target name="copy.resources" if="resource.target">
+ <ant antfile="build.xml" target="${resource.target}"/>
+ </target>
+
+ <!-- - - - - - - - - - - - - - - - - -
+ target: unjar.libs
+
+ Unpack necessary libs for inclusion in app.
+ - - - - - - - - - - - - - - - - - -->
+ <target name="unjar.libs" if="unjar.target">
+ <ant antfile="build.xml" target="${unjar.target}"/>
+ </target>
+
+ <!-- - - - - - - - - - - - - - - - - -
+ target: init
+ - - - - - - - - - - - - - - - - - -->
+ <target name="init">
+ <mkdir dir="${dist}" />
+ <mkdir dir="${build}" />
+ <!-- clean build dir if it wasn't cleaned-->
+ <antcall target="clean.build.dir" />
+ </target>
+
+ <!-- - - - - - - - - - - - - - - - - -
+ target: clean.build.dir
+ - - - - - - - - - - - - - - - - - -->
+ <target name="clean.build.dir">
+ <delete includeemptydirs="true">
+ <fileset dir="${build}" includes="**/*"/>
+ </delete>
+ </target>
+
+</project>
View
@@ -0,0 +1,47 @@
+
+<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+ Copyright 2009 OpenSHA.org in partnership with
+ the Southern California Earthquake Center (SCEC, http://www.scec.org)
+ at the University of Southern California and the UnitedStates Geological
+ Survey (USGS; http://www.usgs.gov)
+
+ Licensed 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.
+ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
+
+<project basedir="." default="jar.full.dist" name="Compile">
+
+ <property name="build" value="../build" />
+ <property name="tmpdest" value="${build}" />
+ <property name="dist" value="../dist" />
+ <property name="src" value="../src/" />
+ <property name="dev" value="../dev/" />
+ <property name="lib.dir" value="../lib" />
+
+ <target name="pre.jar" depends="">
+ <ant antfile="build.xml" target="pre.jar"/>
+ </target>
+
+ <target name="jar.classes.only" depends="pre.jar">
+ <jar destfile="${dist}/OpenSHA_classes_only.jar" basedir="${build}" />
+ <delete dir="${tmpdest}" failonerror="yes" verbose="no" />
+ </target>
+
+ <target name="jar.full.dist" depends="pre.jar">
+ <ant antfile="build.xml" target="unjar.libs.common"/>
+ <ant antfile="build.xml" target="resource.all"/>
+ <delete dir="${tmpdest}/META-INF" failonerror="yes" verbose="no" />
+ <jar destfile="${dist}/OpenSHA_complete.jar" basedir="${build}" />
+ <!-- <delete dir="${tmpdest}" failonerror="yes" verbose="no" /> -->
+ </target>
+
+</project>
Oops, something went wrong.

0 comments on commit 1b29b8b

Please sign in to comment.