Skip to content

Commit

Permalink
First Commit
Browse files Browse the repository at this point in the history
  • Loading branch information
jbrush committed Dec 2, 2013
1 parent b282ed8 commit 9d5a7a9
Show file tree
Hide file tree
Showing 462 changed files with 27,376 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .classpath
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
<classpathentry kind="lib" path="lib/activation.jar"/>
<classpathentry kind="lib" path="lib/BZip2.jar"/>
<classpathentry kind="lib" path="lib/commons-codec-1.3.jar"/>
<classpathentry kind="lib" path="lib/commons-httpclient-3.0.1.jar"/>
<classpathentry kind="lib" path="lib/commons-jxpath-1.2.jar"/>
<classpathentry kind="lib" path="lib/commons-logging.jar"/>
<classpathentry kind="lib" path="lib/javaws.jar"/>
<classpathentry kind="lib" path="lib/jdom.jar"/>
<classpathentry kind="lib" path="lib/junit.jar"/>
<classpathentry kind="lib" path="lib/log4j.jar"/>
<classpathentry kind="lib" path="lib/mail.jar"/>
<classpathentry kind="lib" path="lib/poi.jar"/>
<classpathentry kind="lib" path="lib/regexp.jar"/>
<classpathentry combineaccessrules="false" kind="src" path="/RetsApi"/>
<classpathentry kind="output" path="target/classes"/>
</classpath>
17 changes: 17 additions & 0 deletions .project
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>RetsServerCompliance</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>
11 changes: 11 additions & 0 deletions .settings/org.eclipse.jdt.core.prefs
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
org.eclipse.jdt.core.compiler.compliance=1.7
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
org.eclipse.jdt.core.compiler.debug.localVariable=generate
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.source=1.7
18 changes: 18 additions & 0 deletions build.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#
# Properties file for rets 1.0 build script
#
src=src
config=config
lib=lib
build=local.build
classes=local.build/classes
deploy=.
#deploy=/deploy
#deploy=../../deploy/retsCompliance
root.config=/config
war.build=war.build
web=web
testscripts=config/TestScripts
LOCAL_TOMCAT_HOME=C:/Program Files/Tomcat 5.5
KEYSTORE_PASSWORD=avantia
KEYSTORE_FILE_PATH=./myKeystore
181 changes: 181 additions & 0 deletions build.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,181 @@
<project name="retsCompliance" default="jar" basedir=".">

<!-- set global properties for this build -->
<property file="build.properties"/>

<!-- setup the required jar file and classes for compile -->
<path id="java.classpath">
<fileset dir="${lib}">
<include name="*.jar"/>
</fileset>
</path>

<target name="deploy" depends="compile" description="Main deploy target for this build. Files will be copied to $deploy dir for running the application">
<delete file="lib/RETSServerCompliance.jar"/>
<!-- All of the necessary files are copied to "your ${deploy} dir" for running/testing the app -->
<copy todir="${deploy}">
<fileset dir="." includes="*.bat"/>
<fileset dir="." includes="readme.txt"/>
<fileset dir="${build}" includes="**"/>
</copy>
<copy todir="${deploy}/${lib}">
<fileset dir="${lib}" includes="*.jar"/>
</copy>
<copy todir="${deploy}/${config}">
<fileset dir="${config}" includes="**/*" excludes="log4j.properties"/>
</copy>
<!--Also COPY necessary files are copied to "your ${root.config} dir" for running app -->
<copy todir="${root.config}">
<fileset dir="${build}" includes="*.dtd"/>
<fileset dir="${config}" includes="*.properties"/>
<fileset dir="${config}" includes="**/*.xml"/>
<fileset dir="${config}" includes="**/*.dtd"/>
</copy>
</target>

<target name="jar" depends="deploy" description="Create Jar file for a 'binary' release of application">
<jar jarfile="${deploy}/lib/RETSServerCompliance.jar">
<fileset dir="${classes}"/>
</jar>
<delete dir="${classes}"/>
<delete dir="${deploy}/classes"/>
</target>

<target name="clean" description="To clean up old Build directory.">
<delete dir="${build}"/>
</target>

<target name="cleanall" description="To clean up old Build AND deploy directories.">
<delete dir="${build}"/>
<delete dir="${deploy}"/>
<delete>
<fileset dir="${root.config}" includes="**/*"/>
</delete>

</target>

<target name="compile">
<!-- Compile the java code from ${src} into ${build} -->
<mkdir dir="${classes}"/>
<javac srcdir="${src}" destdir="${classes}" debug="on">
<classpath refid="java.classpath"/>
<exclude name="thinlet/examples/**"/>
</javac>
<copy todir="${classes}" >
<fileset dir="${src}">
<include name="*.dtd"/>
</fileset>
</copy>
</target>

<target name="copy.dtds">
<copy todir="${classes}" >
<fileset dir=".">
<include name="**.dtd"/>
</fileset>
</copy>
<copy todir="classes" > <!-- for local ide execution -->
<fileset dir=".">
<include name="**.dtd"/>
</fileset>
</copy>
</target>

<target name="webstart.war.setup">
<mkdir dir="${war.build}"/>
<mkdir dir="${war.build}/app"/>
<mkdir dir="${war.build}/app/lib"/>
<mkdir dir="${war.build}/WEB-INF"/>
<mkdir dir="${war.build}/WEB-INF/lib"/>
<mkdir dir="${war.build}/WEB-INF/classes"/>
<copy todir="${war.build}/app/lib">
<fileset dir="${lib}">
<exclude name="**/*.java"/>
<exclude name="**/javaws.jar"/>
</fileset>
</copy>
<copy todir="${war.build}">
<fileset dir="${web}">
<exclude name="**/*.java"/>
<exclude name="**/*.class"/>
</fileset>
</copy>
</target>

<target name="webstart.retsservercompliance.jar" depends="compile, webstart.war.setup, copy.dtds, bundle.testscripts" >
<mkdir dir="${war.build}/app"/>
<copy todir="${classes}">
<fileset dir="${config}" includes="**/*"/>
</copy>
<jar jarfile="${war.build}/app/lib/RETSServerCompliance.jar">
<fileset dir="${classes}"/>
</jar>
</target>

<target name="webstart.retsservercompliance.war" depends="webstart.retsservercompliance.jar, webstart.sign.jars">
<!-- copy the jar/libs needed for the Retsservercompliance -->
<copy todir="${war.build}/WEB-INF">
<fileset dir="${web}/WEB-INF">
<exclude name="**/*.java"/>
</fileset>
</copy>
<jar jarfile="retsservercompliance.war">
<fileset dir="${war.build}"/>
</jar>

</target>

<!-- <target name="webstart.copy2local" depends="webstart.retsservercompliance.jar, webstart.sign.jars">-->
<target name="webstart.copy2local" depends="webstart.retsservercompliance.war">
<!-- copy the jar/libs needed for the retsservercompliance -->
<copy todir="${LOCAL_TOMCAT_HOME}/webapps" file="retsservercompliance.war" />
<!-- copy the jar/libs needed for the retsservercompliance -->
<copy todir="${LOCAL_TOMCAT_HOME}/webapps/retsservercompliance">
<fileset dir="${war.build}">
<exclude name="**/*.java"/>
</fileset>
</copy>
</target>

<target name="webstart.sign.jars">
<signjar
alias="avantia"
keystore="${KEYSTORE_FILE_PATH}"
storepass="${KEYSTORE_PASSWORD}">
<fileset dir="${war.build}/app/lib" includes="*.jar"/>
</signjar>
</target>

<target name="webstart.sign.RETSServerCompliance.jar">
<signjar
alias="avantia"
keystore="${KEYSTORE_FILE_PATH}"
storepass="${KEYSTORE_PASSWORD}"
jar="${war.build}/app/lib/RETSServerCompliance.jar" />
</target>

<target name="bundle.testscripts">
<jar jarfile="${war.build}/app/lib/testscripts.jar">
<fileset dir="${testscripts}"/>
</jar>
</target>

<target name="javadoc" description="To produce the documentation for retsCompliance app using JavaDoc.">
<javadoc packagenames="com.realtor.rets.*"
sourcepath="${src}"
defaultexcludes="yes"
destdir="doc"
classpathref="java.classpath"
author="true"
version="true"
use="true"
private="Yes"
windowtitle="RETS Compliance Platform">
<doctitle>
<![CDATA[<h1>RETS Compliance Platform</h1>]]></doctitle>
<bottom>
<![CDATA[<i>Copyright &#169; 2003 National Association of Realtors - All Rights Reserved.</i>]]></bottom>
<link href="http://developer.java.sun.com/developer/products/xml/docs/api/"/>
</javadoc>
</target>
</project>
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
14 changes: 14 additions & 0 deletions config/GetMetadataDMQLTest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<RETSComplianceTest>
<TestName>GetMetadataDMQLTest</TestName>
<TestDescription>GetMetadata Transaction supporting the Advanced DMQL tests</TestDescription>
<GetMetadataTransaction>
<TransactionLabel>GetMetadataSystemXML</TransactionLabel>
<Type>METADATA-SYSTEM</Type>
<Id>*</Id>
<Format>STANDARD-XML</Format>
<TestEvaluators>
<JavaClassName>com.realtor.rets.compliance.tests.dmql.DMQLEvalMetadata</JavaClassName>
</TestEvaluators>
</GetMetadataTransaction>
</RETSComplianceTest>
Loading

0 comments on commit 9d5a7a9

Please sign in to comment.