mirror of
https://github.com/moparisthebest/mailiverse
synced 2025-02-16 05:50:08 -05:00
attempted to make build files using eclipse export ant files, modified S3Connector to work with standard java
This commit is contained in:
parent
0d5f66ab84
commit
374e185768
160
java/app/tools/build.xml
Normal file
160
java/app/tools/build.xml
Normal file
@ -0,0 +1,160 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- WARNING: Eclipse auto-generated file.
|
||||
Any modifications will be overwritten.
|
||||
To include a user specific buildfile here, simply create one in the same
|
||||
directory with the processing instruction <?eclipse.ant.import?>
|
||||
as the first entry and export the buildfile again. -->
|
||||
<project basedir="." default="build" name="Mailiverse.App.Tools">
|
||||
<property environment="env"/>
|
||||
<property name="ECLIPSE_HOME" value="../../../../../Desktop/eclipse"/>
|
||||
<property name="Mailiverse.Ext.Apache.location" value="../../ext/apache"/>
|
||||
<property name="Mailiverse.Ext.BouncyCastle.location" value="../../ext/lcrypto-jdk15on-148"/>
|
||||
<property name="Mailiverse.Ext.JordanZimmerman.location" value="../../ext/jordanzimmerman"/>
|
||||
<property name="Mailiverse.Ext.Json.location" value="../../ext/json"/>
|
||||
<property name="Mailiverse.Core.location" value="../../core"/>
|
||||
<property name="debuglevel" value="source,lines,vars"/>
|
||||
<property name="target" value="1.6"/>
|
||||
<property name="source" value="1.6"/>
|
||||
<path id="EAR Libraries.libraryclasspath"/>
|
||||
<path id="Apache Tomcat v7.0 [Apache Tomcat v7.0].libraryclasspath">
|
||||
<pathelement location="../../../ext/apache-tomcat-7.0.37/lib/annotations-api.jar"/>
|
||||
<pathelement location="../../../ext/apache-tomcat-7.0.37/lib/catalina-ant.jar"/>
|
||||
<pathelement location="../../../ext/apache-tomcat-7.0.37/lib/catalina-ha.jar"/>
|
||||
<pathelement location="../../../ext/apache-tomcat-7.0.37/lib/catalina-tribes.jar"/>
|
||||
<pathelement location="../../../ext/apache-tomcat-7.0.37/lib/catalina.jar"/>
|
||||
<pathelement location="../../../ext/apache-tomcat-7.0.37/lib/ecj-4.2.1.jar"/>
|
||||
<pathelement location="../../../ext/apache-tomcat-7.0.37/lib/el-api.jar"/>
|
||||
<pathelement location="../../../ext/apache-tomcat-7.0.37/lib/jasper-el.jar"/>
|
||||
<pathelement location="../../../ext/apache-tomcat-7.0.37/lib/jasper.jar"/>
|
||||
<pathelement location="../../../ext/apache-tomcat-7.0.37/lib/jsp-api.jar"/>
|
||||
<pathelement location="../../../ext/apache-tomcat-7.0.37/lib/servlet-api.jar"/>
|
||||
<pathelement location="../../../ext/apache-tomcat-7.0.37/lib/tomcat-api.jar"/>
|
||||
<pathelement location="../../../ext/apache-tomcat-7.0.37/lib/tomcat-coyote.jar"/>
|
||||
<pathelement location="../../../ext/apache-tomcat-7.0.37/lib/tomcat-dbcp.jar"/>
|
||||
<pathelement location="../../../ext/apache-tomcat-7.0.37/lib/tomcat-i18n-es.jar"/>
|
||||
<pathelement location="../../../ext/apache-tomcat-7.0.37/lib/tomcat-i18n-fr.jar"/>
|
||||
<pathelement location="../../../ext/apache-tomcat-7.0.37/lib/tomcat-i18n-ja.jar"/>
|
||||
<pathelement location="../../../ext/apache-tomcat-7.0.37/lib/tomcat-jdbc.jar"/>
|
||||
<pathelement location="../../../ext/apache-tomcat-7.0.37/lib/tomcat-util.jar"/>
|
||||
</path>
|
||||
<path id="Mailiverse.Ext.BouncyCastle.classpath">
|
||||
<pathelement location="${Mailiverse.Ext.BouncyCastle.location}/bin"/>
|
||||
<path refid="EAR Libraries.libraryclasspath"/>
|
||||
<path refid="Apache Tomcat v7.0 [Apache Tomcat v7.0].libraryclasspath"/>
|
||||
</path>
|
||||
<path id="Mailiverse.Ext.JordanZimmerman.classpath">
|
||||
<pathelement location="${Mailiverse.Ext.JordanZimmerman.location}/bin"/>
|
||||
<path refid="Mailiverse.Ext.BouncyCastle.classpath"/>
|
||||
</path>
|
||||
<path id="Mailiverse.Ext.Json.classpath">
|
||||
<pathelement location="${Mailiverse.Ext.Json.location}/bin"/>
|
||||
<path refid="EAR Libraries.libraryclasspath"/>
|
||||
<path refid="Apache Tomcat v7.0 [Apache Tomcat v7.0].libraryclasspath"/>
|
||||
</path>
|
||||
<path id="Mailiverse.Ext.Apache.classpath">
|
||||
<pathelement location="${Mailiverse.Ext.Apache.location}/bin"/>
|
||||
</path>
|
||||
<path id="Mailiverse.Core.classpath">
|
||||
<pathelement location="${Mailiverse.Core.location}/bin"/>
|
||||
<path refid="Mailiverse.Ext.BouncyCastle.classpath"/>
|
||||
<path refid="Mailiverse.Ext.JordanZimmerman.classpath"/>
|
||||
<path refid="Mailiverse.Ext.Json.classpath"/>
|
||||
<pathelement location="${Mailiverse.Core.location}/lib/dropbox-java-sdk-1.3.jar"/>
|
||||
<pathelement location="${Mailiverse.Core.location}/lib/aws-java-sdk.jar"/>
|
||||
<pathelement location="${Mailiverse.Core.location}/lib/javamail-1.4.jar"/>
|
||||
<pathelement location="${Mailiverse.Core.location}/lib/activation-1.1.1.jar"/>
|
||||
<pathelement location="${Mailiverse.Core.location}/lib/slf4j-api-1.3.1.jar"/>
|
||||
<pathelement location="${Mailiverse.Core.location}/lib/slf4j-simple-1.3.1.jar"/>
|
||||
<pathelement location="${Mailiverse.Core.location}/lib/mysql-connector-java-3.1.14-bin.jar"/>
|
||||
<pathelement location="${Mailiverse.Core.location}/lib/mina-core-2.0.4.jar"/>
|
||||
<path refid="Mailiverse.Ext.Apache.classpath"/>
|
||||
<pathelement location="${Mailiverse.Core.location}/lib/commons-codec-1.4.jar"/>
|
||||
<pathelement location="${Mailiverse.Core.location}/lib/commons-logging-1.1.1.jar"/>
|
||||
<pathelement location="${Mailiverse.Core.location}/lib/httpclient-4.1.1.jar"/>
|
||||
<pathelement location="${Mailiverse.Core.location}/lib/httpcore-4.1.jar"/>
|
||||
<pathelement location="${Mailiverse.Core.location}/lib/JavaPNS_2.2.jar"/>
|
||||
<pathelement location="${Mailiverse.Core.location}/lib/log4j-1.2.15.jar"/>
|
||||
</path>
|
||||
<path id="Mailiverse.App.Tools.classpath">
|
||||
<pathelement location="bin"/>
|
||||
<path refid="Mailiverse.Core.classpath"/>
|
||||
<path refid="Mailiverse.Ext.BouncyCastle.classpath"/>
|
||||
<path refid="Mailiverse.Ext.JordanZimmerman.classpath"/>
|
||||
<path refid="Mailiverse.Ext.Json.classpath"/>
|
||||
<pathelement location="lib/dropbox-java-sdk-1.3.jar"/>
|
||||
<pathelement location="lib/json_simple-1.1.jar"/>
|
||||
<pathelement location="lib/log4j-1.2.15.jar"/>
|
||||
<pathelement location="lib/mysql-connector-java-3.1.14-bin.jar"/>
|
||||
<pathelement location="lib/slf4j-api-1.3.1.jar"/>
|
||||
<pathelement location="lib/slf4j-simple-1.3.1.jar"/>
|
||||
<pathelement location="lib/JavaPNS_2.2.jar"/>
|
||||
<pathelement location="lib/bcprov-jdk15on-148.jar"/>
|
||||
</path>
|
||||
<target name="init">
|
||||
<mkdir dir="bin"/>
|
||||
<copy includeemptydirs="false" todir="bin">
|
||||
<fileset dir="src">
|
||||
<exclude name="**/*.java"/>
|
||||
</fileset>
|
||||
</copy>
|
||||
</target>
|
||||
<target name="clean">
|
||||
<delete dir="bin"/>
|
||||
</target>
|
||||
<target depends="clean" name="cleanall">
|
||||
<ant antfile="build.xml" dir="${Mailiverse.Ext.Apache.location}" inheritAll="false" target="clean"/>
|
||||
<ant antfile="build.xml" dir="${Mailiverse.Ext.BouncyCastle.location}" inheritAll="false" target="clean"/>
|
||||
<ant antfile="build.xml" dir="${Mailiverse.Ext.JordanZimmerman.location}" inheritAll="false" target="clean"/>
|
||||
<ant antfile="build.xml" dir="${Mailiverse.Ext.Json.location}" inheritAll="false" target="clean"/>
|
||||
<ant antfile="build.xml" dir="${Mailiverse.Core.location}" inheritAll="false" target="clean"/>
|
||||
</target>
|
||||
<target depends="build-subprojects,build-project" name="build"/>
|
||||
<target name="build-subprojects">
|
||||
<ant antfile="build.xml" dir="${Mailiverse.Ext.Apache.location}" inheritAll="false" target="build-project">
|
||||
<propertyset>
|
||||
<propertyref name="build.compiler"/>
|
||||
</propertyset>
|
||||
</ant>
|
||||
<ant antfile="build.xml" dir="${Mailiverse.Ext.BouncyCastle.location}" inheritAll="false" target="build-project">
|
||||
<propertyset>
|
||||
<propertyref name="build.compiler"/>
|
||||
</propertyset>
|
||||
</ant>
|
||||
<ant antfile="build.xml" dir="${Mailiverse.Ext.JordanZimmerman.location}" inheritAll="false" target="build-project">
|
||||
<propertyset>
|
||||
<propertyref name="build.compiler"/>
|
||||
</propertyset>
|
||||
</ant>
|
||||
<ant antfile="build.xml" dir="${Mailiverse.Ext.Json.location}" inheritAll="false" target="build-project">
|
||||
<propertyset>
|
||||
<propertyref name="build.compiler"/>
|
||||
</propertyset>
|
||||
</ant>
|
||||
<ant antfile="build.xml" dir="${Mailiverse.Core.location}" inheritAll="false" target="build-project">
|
||||
<propertyset>
|
||||
<propertyref name="build.compiler"/>
|
||||
</propertyset>
|
||||
</ant>
|
||||
</target>
|
||||
<target depends="init" name="build-project">
|
||||
<echo message="${ant.project.name}: ${ant.file}"/>
|
||||
<javac debug="true" debuglevel="${debuglevel}" destdir="bin" includeantruntime="false" source="${source}" target="${target}">
|
||||
<src path="src"/>
|
||||
<classpath refid="Mailiverse.App.Tools.classpath"/>
|
||||
</javac>
|
||||
</target>
|
||||
<target description="Build all projects which reference this project. Useful to propagate changes." name="build-refprojects"/>
|
||||
<target description="copy Eclipse compiler jars to ant lib directory" name="init-eclipse-compiler">
|
||||
<copy todir="${ant.library.dir}">
|
||||
<fileset dir="${ECLIPSE_HOME}/plugins" includes="org.eclipse.jdt.core_*.jar"/>
|
||||
</copy>
|
||||
<unzip dest="${ant.library.dir}">
|
||||
<patternset includes="jdtCompilerAdapter.jar"/>
|
||||
<fileset dir="${ECLIPSE_HOME}/plugins" includes="org.eclipse.jdt.core_*.jar"/>
|
||||
</unzip>
|
||||
</target>
|
||||
<target description="compile project with Eclipse compiler" name="build-eclipse-compiler">
|
||||
<property name="build.compiler" value="org.eclipse.jdt.core.JDTCompilerAdapter"/>
|
||||
<antcall target="build"/>
|
||||
</target>
|
||||
</project>
|
7
java/build-java-projects
Executable file
7
java/build-java-projects
Executable file
@ -0,0 +1,7 @@
|
||||
pushd core
|
||||
ant clean && ant
|
||||
popd
|
||||
|
||||
pushd webserver
|
||||
ant clean && ant
|
||||
popd
|
146
java/core/build.xml
Normal file
146
java/core/build.xml
Normal file
@ -0,0 +1,146 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- WARNING: Eclipse auto-generated file.
|
||||
Any modifications will be overwritten.
|
||||
To include a user specific buildfile here, simply create one in the same
|
||||
directory with the processing instruction <?eclipse.ant.import?>
|
||||
as the first entry and export the buildfile again. -->
|
||||
<project basedir="." default="build" name="Mailiverse.Core">
|
||||
<property environment="env"/>
|
||||
<property name="Mailiverse.App.Tools.location" value="../app/tools"/>
|
||||
<property name="ECLIPSE_HOME" value="../../../../Desktop/eclipse"/>
|
||||
<property name="Mailiverse.Ext.Apache.location" value="../ext/apache"/>
|
||||
<property name="Mailiverse.Ext.BouncyCastle.location" value="../ext/lcrypto-jdk15on-148"/>
|
||||
<property name="Mailiverse.Ext.JordanZimmerman.location" value="../ext/jordanzimmerman"/>
|
||||
<property name="Mailiverse.Ext.Json.location" value="../ext/json"/>
|
||||
<property name="debuglevel" value="source,lines,vars"/>
|
||||
<property name="target" value="1.6"/>
|
||||
<property name="source" value="1.6"/>
|
||||
<path id="EAR Libraries.libraryclasspath"/>
|
||||
<path id="Apache Tomcat v7.0 [Apache Tomcat v7.0].libraryclasspath">
|
||||
<pathelement location="../../ext/apache-tomcat-7.0.37/lib/annotations-api.jar"/>
|
||||
<pathelement location="../../ext/apache-tomcat-7.0.37/lib/catalina-ant.jar"/>
|
||||
<pathelement location="../../ext/apache-tomcat-7.0.37/lib/catalina-ha.jar"/>
|
||||
<pathelement location="../../ext/apache-tomcat-7.0.37/lib/catalina-tribes.jar"/>
|
||||
<pathelement location="../../ext/apache-tomcat-7.0.37/lib/catalina.jar"/>
|
||||
<pathelement location="../../ext/apache-tomcat-7.0.37/lib/ecj-4.2.1.jar"/>
|
||||
<pathelement location="../../ext/apache-tomcat-7.0.37/lib/el-api.jar"/>
|
||||
<pathelement location="../../ext/apache-tomcat-7.0.37/lib/jasper-el.jar"/>
|
||||
<pathelement location="../../ext/apache-tomcat-7.0.37/lib/jasper.jar"/>
|
||||
<pathelement location="../../ext/apache-tomcat-7.0.37/lib/jsp-api.jar"/>
|
||||
<pathelement location="../../ext/apache-tomcat-7.0.37/lib/servlet-api.jar"/>
|
||||
<pathelement location="../../ext/apache-tomcat-7.0.37/lib/tomcat-api.jar"/>
|
||||
<pathelement location="../../ext/apache-tomcat-7.0.37/lib/tomcat-coyote.jar"/>
|
||||
<pathelement location="../../ext/apache-tomcat-7.0.37/lib/tomcat-dbcp.jar"/>
|
||||
<pathelement location="../../ext/apache-tomcat-7.0.37/lib/tomcat-i18n-es.jar"/>
|
||||
<pathelement location="../../ext/apache-tomcat-7.0.37/lib/tomcat-i18n-fr.jar"/>
|
||||
<pathelement location="../../ext/apache-tomcat-7.0.37/lib/tomcat-i18n-ja.jar"/>
|
||||
<pathelement location="../../ext/apache-tomcat-7.0.37/lib/tomcat-jdbc.jar"/>
|
||||
<pathelement location="../../ext/apache-tomcat-7.0.37/lib/tomcat-util.jar"/>
|
||||
</path>
|
||||
<path id="Mailiverse.Ext.BouncyCastle.classpath">
|
||||
<pathelement location="${Mailiverse.Ext.BouncyCastle.location}/bin"/>
|
||||
<path refid="EAR Libraries.libraryclasspath"/>
|
||||
<path refid="Apache Tomcat v7.0 [Apache Tomcat v7.0].libraryclasspath"/>
|
||||
</path>
|
||||
<path id="Mailiverse.Ext.JordanZimmerman.classpath">
|
||||
<pathelement location="${Mailiverse.Ext.JordanZimmerman.location}/bin"/>
|
||||
<path refid="Mailiverse.Ext.BouncyCastle.classpath"/>
|
||||
</path>
|
||||
<path id="Mailiverse.Ext.Json.classpath">
|
||||
<pathelement location="${Mailiverse.Ext.Json.location}/bin"/>
|
||||
<path refid="EAR Libraries.libraryclasspath"/>
|
||||
<path refid="Apache Tomcat v7.0 [Apache Tomcat v7.0].libraryclasspath"/>
|
||||
</path>
|
||||
<path id="Mailiverse.Ext.Apache.classpath">
|
||||
<pathelement location="${Mailiverse.Ext.Apache.location}/bin"/>
|
||||
</path>
|
||||
<path id="Mailiverse.Core.classpath">
|
||||
<pathelement location="bin"/>
|
||||
<path refid="Mailiverse.Ext.BouncyCastle.classpath"/>
|
||||
<path refid="Mailiverse.Ext.JordanZimmerman.classpath"/>
|
||||
<path refid="Mailiverse.Ext.Json.classpath"/>
|
||||
<pathelement location="lib/dropbox-java-sdk-1.3.jar"/>
|
||||
<pathelement location="lib/aws-java-sdk.jar"/>
|
||||
<pathelement location="lib/javamail-1.4.jar"/>
|
||||
<pathelement location="lib/activation-1.1.1.jar"/>
|
||||
<pathelement location="lib/slf4j-api-1.3.1.jar"/>
|
||||
<pathelement location="lib/slf4j-simple-1.3.1.jar"/>
|
||||
<pathelement location="lib/mysql-connector-java-3.1.14-bin.jar"/>
|
||||
<pathelement location="lib/mina-core-2.0.4.jar"/>
|
||||
<path refid="Mailiverse.Ext.Apache.classpath"/>
|
||||
<pathelement location="lib/commons-codec-1.4.jar"/>
|
||||
<pathelement location="lib/commons-logging-1.1.1.jar"/>
|
||||
<pathelement location="lib/httpclient-4.1.1.jar"/>
|
||||
<pathelement location="lib/httpcore-4.1.jar"/>
|
||||
<pathelement location="lib/JavaPNS_2.2.jar"/>
|
||||
<pathelement location="lib/log4j-1.2.15.jar"/>
|
||||
</path>
|
||||
<target name="init">
|
||||
<mkdir dir="bin"/>
|
||||
<copy includeemptydirs="false" todir="bin">
|
||||
<fileset dir="src">
|
||||
<exclude name="**/*.java"/>
|
||||
</fileset>
|
||||
</copy>
|
||||
</target>
|
||||
<target name="clean">
|
||||
<delete dir="bin"/>
|
||||
</target>
|
||||
<target depends="clean" name="cleanall">
|
||||
<ant antfile="build.xml" dir="${Mailiverse.Ext.Apache.location}" inheritAll="false" target="clean"/>
|
||||
<ant antfile="build.xml" dir="${Mailiverse.Ext.BouncyCastle.location}" inheritAll="false" target="clean"/>
|
||||
<ant antfile="build.xml" dir="${Mailiverse.Ext.JordanZimmerman.location}" inheritAll="false" target="clean"/>
|
||||
<ant antfile="build.xml" dir="${Mailiverse.Ext.Json.location}" inheritAll="false" target="clean"/>
|
||||
</target>
|
||||
<target depends="build-subprojects,build-project" name="build"/>
|
||||
<target name="build-subprojects">
|
||||
<ant antfile="build.xml" dir="${Mailiverse.Ext.Apache.location}" inheritAll="false" target="build-project">
|
||||
<propertyset>
|
||||
<propertyref name="build.compiler"/>
|
||||
</propertyset>
|
||||
</ant>
|
||||
<ant antfile="build.xml" dir="${Mailiverse.Ext.BouncyCastle.location}" inheritAll="false" target="build-project">
|
||||
<propertyset>
|
||||
<propertyref name="build.compiler"/>
|
||||
</propertyset>
|
||||
</ant>
|
||||
<ant antfile="build.xml" dir="${Mailiverse.Ext.JordanZimmerman.location}" inheritAll="false" target="build-project">
|
||||
<propertyset>
|
||||
<propertyref name="build.compiler"/>
|
||||
</propertyset>
|
||||
</ant>
|
||||
<ant antfile="build.xml" dir="${Mailiverse.Ext.Json.location}" inheritAll="false" target="build-project">
|
||||
<propertyset>
|
||||
<propertyref name="build.compiler"/>
|
||||
</propertyset>
|
||||
</ant>
|
||||
</target>
|
||||
<target depends="init" name="build-project">
|
||||
<echo message="${ant.project.name}: ${ant.file}"/>
|
||||
<javac debug="true" debuglevel="${debuglevel}" destdir="bin" includeantruntime="false" source="${source}" target="${target}">
|
||||
<src path="src"/>
|
||||
<classpath refid="Mailiverse.Core.classpath"/>
|
||||
</javac>
|
||||
</target>
|
||||
<target description="Build all projects which reference this project. Useful to propagate changes." name="build-refprojects">
|
||||
<ant antfile="build.xml" dir="${Mailiverse.App.Tools.location}" inheritAll="false" target="clean"/>
|
||||
<ant antfile="build.xml" dir="${Mailiverse.App.Tools.location}" inheritAll="false" target="build">
|
||||
<propertyset>
|
||||
<propertyref name="build.compiler"/>
|
||||
</propertyset>
|
||||
</ant>
|
||||
</target>
|
||||
<target description="copy Eclipse compiler jars to ant lib directory" name="init-eclipse-compiler">
|
||||
<copy todir="${ant.library.dir}">
|
||||
<fileset dir="${ECLIPSE_HOME}/plugins" includes="org.eclipse.jdt.core_*.jar"/>
|
||||
</copy>
|
||||
<unzip dest="${ant.library.dir}">
|
||||
<patternset includes="jdtCompilerAdapter.jar"/>
|
||||
<fileset dir="${ECLIPSE_HOME}/plugins" includes="org.eclipse.jdt.core_*.jar"/>
|
||||
</unzip>
|
||||
</target>
|
||||
<target description="compile project with Eclipse compiler" name="build-eclipse-compiler">
|
||||
<property name="build.compiler" value="org.eclipse.jdt.core.JDTCompilerAdapter"/>
|
||||
<antcall target="build"/>
|
||||
</target>
|
||||
</project>
|
@ -277,7 +277,7 @@ public class S3Connector extends AsyncStoreConnectorHelper
|
||||
return new CallbackDefault(includeResponseData) {
|
||||
public void onSuccess(Object... arguments) throws Exception {
|
||||
|
||||
boolean includeResponseData = V(0);
|
||||
boolean includeResponseData = (Boolean)V(0);
|
||||
String[][] headers = (String[][])arguments[1];
|
||||
|
||||
for (String[] pair : headers)
|
||||
|
59
java/ext/apache/build.xml
Normal file
59
java/ext/apache/build.xml
Normal file
@ -0,0 +1,59 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- WARNING: Eclipse auto-generated file.
|
||||
Any modifications will be overwritten.
|
||||
To include a user specific buildfile here, simply create one in the same
|
||||
directory with the processing instruction <?eclipse.ant.import?>
|
||||
as the first entry and export the buildfile again. -->
|
||||
<project basedir="." default="build" name="Mailiverse.Ext.Apache">
|
||||
<property environment="env"/>
|
||||
<property name="Mailiverse.Core.location" value="../../core"/>
|
||||
<property name="ECLIPSE_HOME" value="../../../../../Desktop/eclipse"/>
|
||||
<property name="debuglevel" value="source,lines,vars"/>
|
||||
<property name="target" value="1.6"/>
|
||||
<property name="source" value="1.6"/>
|
||||
<path id="Mailiverse.Ext.Apache.classpath">
|
||||
<pathelement location="bin"/>
|
||||
</path>
|
||||
<target name="init">
|
||||
<mkdir dir="bin"/>
|
||||
<copy includeemptydirs="false" todir="bin">
|
||||
<fileset dir="src">
|
||||
<exclude name="**/*.java"/>
|
||||
</fileset>
|
||||
</copy>
|
||||
</target>
|
||||
<target name="clean">
|
||||
<delete dir="bin"/>
|
||||
</target>
|
||||
<target depends="clean" name="cleanall"/>
|
||||
<target depends="build-subprojects,build-project" name="build"/>
|
||||
<target name="build-subprojects"/>
|
||||
<target depends="init" name="build-project">
|
||||
<echo message="${ant.project.name}: ${ant.file}"/>
|
||||
<javac debug="true" debuglevel="${debuglevel}" destdir="bin" includeantruntime="false" source="${source}" target="${target}">
|
||||
<src path="src"/>
|
||||
<classpath refid="Mailiverse.Ext.Apache.classpath"/>
|
||||
</javac>
|
||||
</target>
|
||||
<target description="Build all projects which reference this project. Useful to propagate changes." name="build-refprojects">
|
||||
<ant antfile="build.xml" dir="${Mailiverse.Core.location}" inheritAll="false" target="clean"/>
|
||||
<ant antfile="build.xml" dir="${Mailiverse.Core.location}" inheritAll="false" target="build">
|
||||
<propertyset>
|
||||
<propertyref name="build.compiler"/>
|
||||
</propertyset>
|
||||
</ant>
|
||||
</target>
|
||||
<target description="copy Eclipse compiler jars to ant lib directory" name="init-eclipse-compiler">
|
||||
<copy todir="${ant.library.dir}">
|
||||
<fileset dir="${ECLIPSE_HOME}/plugins" includes="org.eclipse.jdt.core_*.jar"/>
|
||||
</copy>
|
||||
<unzip dest="${ant.library.dir}">
|
||||
<patternset includes="jdtCompilerAdapter.jar"/>
|
||||
<fileset dir="${ECLIPSE_HOME}/plugins" includes="org.eclipse.jdt.core_*.jar"/>
|
||||
</unzip>
|
||||
</target>
|
||||
<target description="compile project with Eclipse compiler" name="build-eclipse-compiler">
|
||||
<property name="build.compiler" value="org.eclipse.jdt.core.JDTCompilerAdapter"/>
|
||||
<antcall target="build"/>
|
||||
</target>
|
||||
</project>
|
110
java/ext/jordanzimmerman/build.xml
Normal file
110
java/ext/jordanzimmerman/build.xml
Normal file
@ -0,0 +1,110 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- WARNING: Eclipse auto-generated file.
|
||||
Any modifications will be overwritten.
|
||||
To include a user specific buildfile here, simply create one in the same
|
||||
directory with the processing instruction <?eclipse.ant.import?>
|
||||
as the first entry and export the buildfile again. -->
|
||||
<project basedir="." default="build" name="Mailiverse.Ext.JordanZimmerman">
|
||||
<property environment="env"/>
|
||||
<property name="Mailiverse.App.Tools.location" value="../../app/tools"/>
|
||||
<property name="Mailiverse.Core.location" value="../../core"/>
|
||||
<property name="Mailiverse.Mail-WebServer.location" value="../../webserver"/>
|
||||
<property name="ECLIPSE_HOME" value="../../../../../Desktop/eclipse"/>
|
||||
<property name="Mailiverse.Ext.BouncyCastle.location" value="../lcrypto-jdk15on-148"/>
|
||||
<property name="debuglevel" value="source,lines,vars"/>
|
||||
<property name="target" value="1.6"/>
|
||||
<property name="source" value="1.6"/>
|
||||
<path id="EAR Libraries.libraryclasspath"/>
|
||||
<path id="Apache Tomcat v7.0 [Apache Tomcat v7.0].libraryclasspath">
|
||||
<pathelement location="../../../ext/apache-tomcat-7.0.37/lib/annotations-api.jar"/>
|
||||
<pathelement location="../../../ext/apache-tomcat-7.0.37/lib/catalina-ant.jar"/>
|
||||
<pathelement location="../../../ext/apache-tomcat-7.0.37/lib/catalina-ha.jar"/>
|
||||
<pathelement location="../../../ext/apache-tomcat-7.0.37/lib/catalina-tribes.jar"/>
|
||||
<pathelement location="../../../ext/apache-tomcat-7.0.37/lib/catalina.jar"/>
|
||||
<pathelement location="../../../ext/apache-tomcat-7.0.37/lib/ecj-4.2.1.jar"/>
|
||||
<pathelement location="../../../ext/apache-tomcat-7.0.37/lib/el-api.jar"/>
|
||||
<pathelement location="../../../ext/apache-tomcat-7.0.37/lib/jasper-el.jar"/>
|
||||
<pathelement location="../../../ext/apache-tomcat-7.0.37/lib/jasper.jar"/>
|
||||
<pathelement location="../../../ext/apache-tomcat-7.0.37/lib/jsp-api.jar"/>
|
||||
<pathelement location="../../../ext/apache-tomcat-7.0.37/lib/servlet-api.jar"/>
|
||||
<pathelement location="../../../ext/apache-tomcat-7.0.37/lib/tomcat-api.jar"/>
|
||||
<pathelement location="../../../ext/apache-tomcat-7.0.37/lib/tomcat-coyote.jar"/>
|
||||
<pathelement location="../../../ext/apache-tomcat-7.0.37/lib/tomcat-dbcp.jar"/>
|
||||
<pathelement location="../../../ext/apache-tomcat-7.0.37/lib/tomcat-i18n-es.jar"/>
|
||||
<pathelement location="../../../ext/apache-tomcat-7.0.37/lib/tomcat-i18n-fr.jar"/>
|
||||
<pathelement location="../../../ext/apache-tomcat-7.0.37/lib/tomcat-i18n-ja.jar"/>
|
||||
<pathelement location="../../../ext/apache-tomcat-7.0.37/lib/tomcat-jdbc.jar"/>
|
||||
<pathelement location="../../../ext/apache-tomcat-7.0.37/lib/tomcat-util.jar"/>
|
||||
</path>
|
||||
<path id="Mailiverse.Ext.BouncyCastle.classpath">
|
||||
<pathelement location="${Mailiverse.Ext.BouncyCastle.location}/bin"/>
|
||||
<path refid="EAR Libraries.libraryclasspath"/>
|
||||
<path refid="Apache Tomcat v7.0 [Apache Tomcat v7.0].libraryclasspath"/>
|
||||
</path>
|
||||
<path id="Mailiverse.Ext.JordanZimmerman.classpath">
|
||||
<pathelement location="bin"/>
|
||||
<path refid="Mailiverse.Ext.BouncyCastle.classpath"/>
|
||||
</path>
|
||||
<target name="init">
|
||||
<mkdir dir="bin"/>
|
||||
<copy includeemptydirs="false" todir="bin">
|
||||
<fileset dir="src">
|
||||
<exclude name="**/*.java"/>
|
||||
</fileset>
|
||||
</copy>
|
||||
</target>
|
||||
<target name="clean">
|
||||
<delete dir="bin"/>
|
||||
</target>
|
||||
<target depends="clean" name="cleanall">
|
||||
<ant antfile="build.xml" dir="${Mailiverse.Ext.BouncyCastle.location}" inheritAll="false" target="clean"/>
|
||||
</target>
|
||||
<target depends="build-subprojects,build-project" name="build"/>
|
||||
<target name="build-subprojects">
|
||||
<ant antfile="build.xml" dir="${Mailiverse.Ext.BouncyCastle.location}" inheritAll="false" target="build-project">
|
||||
<propertyset>
|
||||
<propertyref name="build.compiler"/>
|
||||
</propertyset>
|
||||
</ant>
|
||||
</target>
|
||||
<target depends="init" name="build-project">
|
||||
<echo message="${ant.project.name}: ${ant.file}"/>
|
||||
<javac debug="true" debuglevel="${debuglevel}" destdir="bin" includeantruntime="false" source="${source}" target="${target}">
|
||||
<src path="src"/>
|
||||
<classpath refid="Mailiverse.Ext.JordanZimmerman.classpath"/>
|
||||
</javac>
|
||||
</target>
|
||||
<target description="Build all projects which reference this project. Useful to propagate changes." name="build-refprojects">
|
||||
<ant antfile="build.xml" dir="${Mailiverse.App.Tools.location}" inheritAll="false" target="clean"/>
|
||||
<ant antfile="build.xml" dir="${Mailiverse.App.Tools.location}" inheritAll="false" target="build">
|
||||
<propertyset>
|
||||
<propertyref name="build.compiler"/>
|
||||
</propertyset>
|
||||
</ant>
|
||||
<ant antfile="build.xml" dir="${Mailiverse.Core.location}" inheritAll="false" target="clean"/>
|
||||
<ant antfile="build.xml" dir="${Mailiverse.Core.location}" inheritAll="false" target="build">
|
||||
<propertyset>
|
||||
<propertyref name="build.compiler"/>
|
||||
</propertyset>
|
||||
</ant>
|
||||
<ant antfile="build.xml" dir="${Mailiverse.Mail-WebServer.location}" inheritAll="false" target="clean"/>
|
||||
<ant antfile="build.xml" dir="${Mailiverse.Mail-WebServer.location}" inheritAll="false" target="build">
|
||||
<propertyset>
|
||||
<propertyref name="build.compiler"/>
|
||||
</propertyset>
|
||||
</ant>
|
||||
</target>
|
||||
<target description="copy Eclipse compiler jars to ant lib directory" name="init-eclipse-compiler">
|
||||
<copy todir="${ant.library.dir}">
|
||||
<fileset dir="${ECLIPSE_HOME}/plugins" includes="org.eclipse.jdt.core_*.jar"/>
|
||||
</copy>
|
||||
<unzip dest="${ant.library.dir}">
|
||||
<patternset includes="jdtCompilerAdapter.jar"/>
|
||||
<fileset dir="${ECLIPSE_HOME}/plugins" includes="org.eclipse.jdt.core_*.jar"/>
|
||||
</unzip>
|
||||
</target>
|
||||
<target description="compile project with Eclipse compiler" name="build-eclipse-compiler">
|
||||
<property name="build.compiler" value="org.eclipse.jdt.core.JDTCompilerAdapter"/>
|
||||
<antcall target="build"/>
|
||||
</target>
|
||||
</project>
|
1
java/ext/json/.gitignore
vendored
Normal file
1
java/ext/json/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
bin/
|
@ -1,68 +0,0 @@
|
||||
JSON in Java [package org.json]
|
||||
|
||||
Douglas Crockford
|
||||
douglas@crockford.com
|
||||
|
||||
2011-02-02
|
||||
|
||||
|
||||
JSON is a light-weight, language independent, data interchange format.
|
||||
See http://www.JSON.org/
|
||||
|
||||
The files in this package implement JSON encoders/decoders in Java.
|
||||
It also includes the capability to convert between JSON and XML, HTTP
|
||||
headers, Cookies, and CDL.
|
||||
|
||||
This is a reference implementation. There is a large number of JSON packages
|
||||
in Java. Perhaps someday the Java community will standardize on one. Until
|
||||
then, choose carefully.
|
||||
|
||||
The license includes this restriction: "The software shall be used for good,
|
||||
not evil." If your conscience cannot live with that, then choose a different
|
||||
package.
|
||||
|
||||
The package compiles on Java 1.2 thru Java 1.4.
|
||||
|
||||
|
||||
JSONObject.java: The JSONObject can parse text from a String or a JSONTokener
|
||||
to produce a map-like object. The object provides methods for manipulating its
|
||||
contents, and for producing a JSON compliant object serialization.
|
||||
|
||||
JSONArray.java: The JSONObject can parse text from a String or a JSONTokener
|
||||
to produce a vector-like object. The object provides methods for manipulating
|
||||
its contents, and for producing a JSON compliant array serialization.
|
||||
|
||||
JSONTokener.java: The JSONTokener breaks a text into a sequence of individual
|
||||
tokens. It can be constructed from a String, Reader, or InputStream.
|
||||
|
||||
JSONException.java: The JSONException is the standard exception type thrown
|
||||
by this package.
|
||||
|
||||
|
||||
JSONString.java: The JSONString interface requires a toJSONString method,
|
||||
allowing an object to provide its own serialization.
|
||||
|
||||
JSONStringer.java: The JSONStringer provides a convenient facility for
|
||||
building JSON strings.
|
||||
|
||||
JSONWriter.java: The JSONWriter provides a convenient facility for building
|
||||
JSON text through a writer.
|
||||
|
||||
|
||||
CDL.java: CDL provides support for converting between JSON and comma
|
||||
delimited lists.
|
||||
|
||||
Cookie.java: Cookie provides support for converting between JSON and cookies.
|
||||
|
||||
CookieList.java: CookieList provides support for converting between JSON and
|
||||
cookie lists.
|
||||
|
||||
HTTP.java: HTTP provides support for converting between JSON and HTTP headers.
|
||||
|
||||
HTTPTokener.java: HTTPTokener extends JSONTokener for parsing HTTP headers.
|
||||
|
||||
XML.java: XML provides support for converting between JSON and XML.
|
||||
|
||||
JSONML.java: JSONML provides support for converting between JSONML and XML.
|
||||
|
||||
XMLTokener.java: XMLTokener extends JSONTokener for parsing XML text.
|
97
java/ext/json/build.xml
Normal file
97
java/ext/json/build.xml
Normal file
@ -0,0 +1,97 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- WARNING: Eclipse auto-generated file.
|
||||
Any modifications will be overwritten.
|
||||
To include a user specific buildfile here, simply create one in the same
|
||||
directory with the processing instruction <?eclipse.ant.import?>
|
||||
as the first entry and export the buildfile again. -->
|
||||
<project basedir="." default="build" name="Mailiverse.Ext.Json">
|
||||
<property environment="env"/>
|
||||
<property name="Mailiverse.App.Tools.location" value="../../app/tools"/>
|
||||
<property name="Mailiverse.Core.location" value="../../core"/>
|
||||
<property name="Mailiverse.Mail-WebServer.location" value="../../webserver"/>
|
||||
<property name="ECLIPSE_HOME" value="../../../../../Desktop/eclipse"/>
|
||||
<property name="debuglevel" value="source,lines,vars"/>
|
||||
<property name="target" value="1.6"/>
|
||||
<property name="source" value="1.6"/>
|
||||
<path id="EAR Libraries.libraryclasspath"/>
|
||||
<path id="Apache Tomcat v7.0 [Apache Tomcat v7.0].libraryclasspath">
|
||||
<pathelement location="../../../ext/apache-tomcat-7.0.37/lib/annotations-api.jar"/>
|
||||
<pathelement location="../../../ext/apache-tomcat-7.0.37/lib/catalina-ant.jar"/>
|
||||
<pathelement location="../../../ext/apache-tomcat-7.0.37/lib/catalina-ha.jar"/>
|
||||
<pathelement location="../../../ext/apache-tomcat-7.0.37/lib/catalina-tribes.jar"/>
|
||||
<pathelement location="../../../ext/apache-tomcat-7.0.37/lib/catalina.jar"/>
|
||||
<pathelement location="../../../ext/apache-tomcat-7.0.37/lib/ecj-4.2.1.jar"/>
|
||||
<pathelement location="../../../ext/apache-tomcat-7.0.37/lib/el-api.jar"/>
|
||||
<pathelement location="../../../ext/apache-tomcat-7.0.37/lib/jasper-el.jar"/>
|
||||
<pathelement location="../../../ext/apache-tomcat-7.0.37/lib/jasper.jar"/>
|
||||
<pathelement location="../../../ext/apache-tomcat-7.0.37/lib/jsp-api.jar"/>
|
||||
<pathelement location="../../../ext/apache-tomcat-7.0.37/lib/servlet-api.jar"/>
|
||||
<pathelement location="../../../ext/apache-tomcat-7.0.37/lib/tomcat-api.jar"/>
|
||||
<pathelement location="../../../ext/apache-tomcat-7.0.37/lib/tomcat-coyote.jar"/>
|
||||
<pathelement location="../../../ext/apache-tomcat-7.0.37/lib/tomcat-dbcp.jar"/>
|
||||
<pathelement location="../../../ext/apache-tomcat-7.0.37/lib/tomcat-i18n-es.jar"/>
|
||||
<pathelement location="../../../ext/apache-tomcat-7.0.37/lib/tomcat-i18n-fr.jar"/>
|
||||
<pathelement location="../../../ext/apache-tomcat-7.0.37/lib/tomcat-i18n-ja.jar"/>
|
||||
<pathelement location="../../../ext/apache-tomcat-7.0.37/lib/tomcat-jdbc.jar"/>
|
||||
<pathelement location="../../../ext/apache-tomcat-7.0.37/lib/tomcat-util.jar"/>
|
||||
</path>
|
||||
<path id="Mailiverse.Ext.Json.classpath">
|
||||
<pathelement location="bin"/>
|
||||
<path refid="EAR Libraries.libraryclasspath"/>
|
||||
<path refid="Apache Tomcat v7.0 [Apache Tomcat v7.0].libraryclasspath"/>
|
||||
</path>
|
||||
<target name="init">
|
||||
<mkdir dir="bin"/>
|
||||
<copy includeemptydirs="false" todir="bin">
|
||||
<fileset dir="src">
|
||||
<exclude name="**/*.java"/>
|
||||
</fileset>
|
||||
</copy>
|
||||
</target>
|
||||
<target name="clean">
|
||||
<delete dir="bin"/>
|
||||
</target>
|
||||
<target depends="clean" name="cleanall"/>
|
||||
<target depends="build-subprojects,build-project" name="build"/>
|
||||
<target name="build-subprojects"/>
|
||||
<target depends="init" name="build-project">
|
||||
<echo message="${ant.project.name}: ${ant.file}"/>
|
||||
<javac debug="true" debuglevel="${debuglevel}" destdir="bin" includeantruntime="false" source="${source}" target="${target}">
|
||||
<src path="src"/>
|
||||
<classpath refid="Mailiverse.Ext.Json.classpath"/>
|
||||
</javac>
|
||||
</target>
|
||||
<target description="Build all projects which reference this project. Useful to propagate changes." name="build-refprojects">
|
||||
<ant antfile="build.xml" dir="${Mailiverse.App.Tools.location}" inheritAll="false" target="clean"/>
|
||||
<ant antfile="build.xml" dir="${Mailiverse.App.Tools.location}" inheritAll="false" target="build">
|
||||
<propertyset>
|
||||
<propertyref name="build.compiler"/>
|
||||
</propertyset>
|
||||
</ant>
|
||||
<ant antfile="build.xml" dir="${Mailiverse.Core.location}" inheritAll="false" target="clean"/>
|
||||
<ant antfile="build.xml" dir="${Mailiverse.Core.location}" inheritAll="false" target="build">
|
||||
<propertyset>
|
||||
<propertyref name="build.compiler"/>
|
||||
</propertyset>
|
||||
</ant>
|
||||
<ant antfile="build.xml" dir="${Mailiverse.Mail-WebServer.location}" inheritAll="false" target="clean"/>
|
||||
<ant antfile="build.xml" dir="${Mailiverse.Mail-WebServer.location}" inheritAll="false" target="build">
|
||||
<propertyset>
|
||||
<propertyref name="build.compiler"/>
|
||||
</propertyset>
|
||||
</ant>
|
||||
</target>
|
||||
<target description="copy Eclipse compiler jars to ant lib directory" name="init-eclipse-compiler">
|
||||
<copy todir="${ant.library.dir}">
|
||||
<fileset dir="${ECLIPSE_HOME}/plugins" includes="org.eclipse.jdt.core_*.jar"/>
|
||||
</copy>
|
||||
<unzip dest="${ant.library.dir}">
|
||||
<patternset includes="jdtCompilerAdapter.jar"/>
|
||||
<fileset dir="${ECLIPSE_HOME}/plugins" includes="org.eclipse.jdt.core_*.jar"/>
|
||||
</unzip>
|
||||
</target>
|
||||
<target description="compile project with Eclipse compiler" name="build-eclipse-compiler">
|
||||
<property name="build.compiler" value="org.eclipse.jdt.core.JDTCompilerAdapter"/>
|
||||
<antcall target="build"/>
|
||||
</target>
|
||||
</project>
|
104
java/ext/lcrypto-jdk15on-148/build.xml
Normal file
104
java/ext/lcrypto-jdk15on-148/build.xml
Normal file
@ -0,0 +1,104 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- WARNING: Eclipse auto-generated file.
|
||||
Any modifications will be overwritten.
|
||||
To include a user specific buildfile here, simply create one in the same
|
||||
directory with the processing instruction <?eclipse.ant.import?>
|
||||
as the first entry and export the buildfile again. -->
|
||||
<project basedir="." default="build" name="Mailiverse.Ext.BouncyCastle">
|
||||
<property environment="env"/>
|
||||
<property name="Mailiverse.App.Tools.location" value="../../app/tools"/>
|
||||
<property name="Mailiverse.Core.location" value="../../core"/>
|
||||
<property name="Mailiverse.Ext.JordanZimmerman.location" value="../jordanzimmerman"/>
|
||||
<property name="Mailiverse.Mail-WebServer.location" value="../../webserver"/>
|
||||
<property name="ECLIPSE_HOME" value="../../../../../Desktop/eclipse"/>
|
||||
<property name="debuglevel" value="source,lines,vars"/>
|
||||
<property name="target" value="1.6"/>
|
||||
<property name="source" value="1.6"/>
|
||||
<path id="EAR Libraries.libraryclasspath"/>
|
||||
<path id="Apache Tomcat v7.0 [Apache Tomcat v7.0].libraryclasspath">
|
||||
<pathelement location="../../../ext/apache-tomcat-7.0.37/lib/annotations-api.jar"/>
|
||||
<pathelement location="../../../ext/apache-tomcat-7.0.37/lib/catalina-ant.jar"/>
|
||||
<pathelement location="../../../ext/apache-tomcat-7.0.37/lib/catalina-ha.jar"/>
|
||||
<pathelement location="../../../ext/apache-tomcat-7.0.37/lib/catalina-tribes.jar"/>
|
||||
<pathelement location="../../../ext/apache-tomcat-7.0.37/lib/catalina.jar"/>
|
||||
<pathelement location="../../../ext/apache-tomcat-7.0.37/lib/ecj-4.2.1.jar"/>
|
||||
<pathelement location="../../../ext/apache-tomcat-7.0.37/lib/el-api.jar"/>
|
||||
<pathelement location="../../../ext/apache-tomcat-7.0.37/lib/jasper-el.jar"/>
|
||||
<pathelement location="../../../ext/apache-tomcat-7.0.37/lib/jasper.jar"/>
|
||||
<pathelement location="../../../ext/apache-tomcat-7.0.37/lib/jsp-api.jar"/>
|
||||
<pathelement location="../../../ext/apache-tomcat-7.0.37/lib/servlet-api.jar"/>
|
||||
<pathelement location="../../../ext/apache-tomcat-7.0.37/lib/tomcat-api.jar"/>
|
||||
<pathelement location="../../../ext/apache-tomcat-7.0.37/lib/tomcat-coyote.jar"/>
|
||||
<pathelement location="../../../ext/apache-tomcat-7.0.37/lib/tomcat-dbcp.jar"/>
|
||||
<pathelement location="../../../ext/apache-tomcat-7.0.37/lib/tomcat-i18n-es.jar"/>
|
||||
<pathelement location="../../../ext/apache-tomcat-7.0.37/lib/tomcat-i18n-fr.jar"/>
|
||||
<pathelement location="../../../ext/apache-tomcat-7.0.37/lib/tomcat-i18n-ja.jar"/>
|
||||
<pathelement location="../../../ext/apache-tomcat-7.0.37/lib/tomcat-jdbc.jar"/>
|
||||
<pathelement location="../../../ext/apache-tomcat-7.0.37/lib/tomcat-util.jar"/>
|
||||
</path>
|
||||
<path id="Mailiverse.Ext.BouncyCastle.classpath">
|
||||
<pathelement location="bin"/>
|
||||
<path refid="EAR Libraries.libraryclasspath"/>
|
||||
<path refid="Apache Tomcat v7.0 [Apache Tomcat v7.0].libraryclasspath"/>
|
||||
</path>
|
||||
<target name="init">
|
||||
<mkdir dir="bin"/>
|
||||
<copy includeemptydirs="false" todir="bin">
|
||||
<fileset dir="src">
|
||||
<exclude name="**/*.java"/>
|
||||
</fileset>
|
||||
</copy>
|
||||
</target>
|
||||
<target name="clean">
|
||||
<delete dir="bin"/>
|
||||
</target>
|
||||
<target depends="clean" name="cleanall"/>
|
||||
<target depends="build-subprojects,build-project" name="build"/>
|
||||
<target name="build-subprojects"/>
|
||||
<target depends="init" name="build-project">
|
||||
<echo message="${ant.project.name}: ${ant.file}"/>
|
||||
<javac debug="true" debuglevel="${debuglevel}" destdir="bin" includeantruntime="false" source="${source}" target="${target}">
|
||||
<src path="src"/>
|
||||
<classpath refid="Mailiverse.Ext.BouncyCastle.classpath"/>
|
||||
</javac>
|
||||
</target>
|
||||
<target description="Build all projects which reference this project. Useful to propagate changes." name="build-refprojects">
|
||||
<ant antfile="build.xml" dir="${Mailiverse.App.Tools.location}" inheritAll="false" target="clean"/>
|
||||
<ant antfile="build.xml" dir="${Mailiverse.App.Tools.location}" inheritAll="false" target="build">
|
||||
<propertyset>
|
||||
<propertyref name="build.compiler"/>
|
||||
</propertyset>
|
||||
</ant>
|
||||
<ant antfile="build.xml" dir="${Mailiverse.Core.location}" inheritAll="false" target="clean"/>
|
||||
<ant antfile="build.xml" dir="${Mailiverse.Core.location}" inheritAll="false" target="build">
|
||||
<propertyset>
|
||||
<propertyref name="build.compiler"/>
|
||||
</propertyset>
|
||||
</ant>
|
||||
<ant antfile="build.xml" dir="${Mailiverse.Ext.JordanZimmerman.location}" inheritAll="false" target="clean"/>
|
||||
<ant antfile="build.xml" dir="${Mailiverse.Ext.JordanZimmerman.location}" inheritAll="false" target="build">
|
||||
<propertyset>
|
||||
<propertyref name="build.compiler"/>
|
||||
</propertyset>
|
||||
</ant>
|
||||
<ant antfile="build.xml" dir="${Mailiverse.Mail-WebServer.location}" inheritAll="false" target="clean"/>
|
||||
<ant antfile="build.xml" dir="${Mailiverse.Mail-WebServer.location}" inheritAll="false" target="build">
|
||||
<propertyset>
|
||||
<propertyref name="build.compiler"/>
|
||||
</propertyset>
|
||||
</ant>
|
||||
</target>
|
||||
<target description="copy Eclipse compiler jars to ant lib directory" name="init-eclipse-compiler">
|
||||
<copy todir="${ant.library.dir}">
|
||||
<fileset dir="${ECLIPSE_HOME}/plugins" includes="org.eclipse.jdt.core_*.jar"/>
|
||||
</copy>
|
||||
<unzip dest="${ant.library.dir}">
|
||||
<patternset includes="jdtCompilerAdapter.jar"/>
|
||||
<fileset dir="${ECLIPSE_HOME}/plugins" includes="org.eclipse.jdt.core_*.jar"/>
|
||||
</unzip>
|
||||
</target>
|
||||
<target description="compile project with Eclipse compiler" name="build-eclipse-compiler">
|
||||
<property name="build.compiler" value="org.eclipse.jdt.core.JDTCompilerAdapter"/>
|
||||
<antcall target="build"/>
|
||||
</target>
|
||||
</project>
|
@ -68,5 +68,8 @@
|
||||
<attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/>
|
||||
</attributes>
|
||||
</classpathentry>
|
||||
<classpathentry combineaccessrules="false" kind="src" path="/Mailiverse.Ext.BouncyCastle"/>
|
||||
<classpathentry combineaccessrules="false" kind="src" path="/Mailiverse.Ext.JordanZimmerman"/>
|
||||
<classpathentry combineaccessrules="false" kind="src" path="/Mailiverse.Ext.Json"/>
|
||||
<classpathentry kind="output" path="build/classes"/>
|
||||
</classpath>
|
||||
|
@ -4,6 +4,7 @@
|
||||
<comment></comment>
|
||||
<projects>
|
||||
<project>Mailiverse.Ext.BouncyCastle</project>
|
||||
<project>Mailiverse.Ext.JordanZimmerman</project>
|
||||
<project>Mailiverse.Ext.Json</project>
|
||||
</projects>
|
||||
<buildSpec>
|
||||
|
131
java/webserver/build.xml
Normal file
131
java/webserver/build.xml
Normal file
@ -0,0 +1,131 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- WARNING: Eclipse auto-generated file.
|
||||
Any modifications will be overwritten.
|
||||
To include a user specific buildfile here, simply create one in the same
|
||||
directory with the processing instruction <?eclipse.ant.import?>
|
||||
as the first entry and export the buildfile again. -->
|
||||
<project basedir="." default="build" name="Mailiverse.Mail-WebServer">
|
||||
<property environment="env"/>
|
||||
<property name="ECLIPSE_HOME" value="../../../../Desktop/eclipse"/>
|
||||
<property name="Mailiverse.Ext.BouncyCastle.location" value="../ext/lcrypto-jdk15on-148"/>
|
||||
<property name="Mailiverse.Ext.JordanZimmerman.location" value="../ext/jordanzimmerman"/>
|
||||
<property name="Mailiverse.Ext.Json.location" value="../ext/json"/>
|
||||
<property name="debuglevel" value="source,lines,vars"/>
|
||||
<property name="target" value="1.6"/>
|
||||
<property name="source" value="1.6"/>
|
||||
<path id="Apache Tomcat v7.0 [Apache Tomcat v7.0].libraryclasspath">
|
||||
<pathelement location="../../ext/apache-tomcat-7.0.37/lib/annotations-api.jar"/>
|
||||
<pathelement location="../../ext/apache-tomcat-7.0.37/lib/catalina-ant.jar"/>
|
||||
<pathelement location="../../ext/apache-tomcat-7.0.37/lib/catalina-ha.jar"/>
|
||||
<pathelement location="../../ext/apache-tomcat-7.0.37/lib/catalina-tribes.jar"/>
|
||||
<pathelement location="../../ext/apache-tomcat-7.0.37/lib/catalina.jar"/>
|
||||
<pathelement location="../../ext/apache-tomcat-7.0.37/lib/ecj-4.2.1.jar"/>
|
||||
<pathelement location="../../ext/apache-tomcat-7.0.37/lib/el-api.jar"/>
|
||||
<pathelement location="../../ext/apache-tomcat-7.0.37/lib/jasper-el.jar"/>
|
||||
<pathelement location="../../ext/apache-tomcat-7.0.37/lib/jasper.jar"/>
|
||||
<pathelement location="../../ext/apache-tomcat-7.0.37/lib/jsp-api.jar"/>
|
||||
<pathelement location="../../ext/apache-tomcat-7.0.37/lib/servlet-api.jar"/>
|
||||
<pathelement location="../../ext/apache-tomcat-7.0.37/lib/tomcat-api.jar"/>
|
||||
<pathelement location="../../ext/apache-tomcat-7.0.37/lib/tomcat-coyote.jar"/>
|
||||
<pathelement location="../../ext/apache-tomcat-7.0.37/lib/tomcat-dbcp.jar"/>
|
||||
<pathelement location="../../ext/apache-tomcat-7.0.37/lib/tomcat-i18n-es.jar"/>
|
||||
<pathelement location="../../ext/apache-tomcat-7.0.37/lib/tomcat-i18n-fr.jar"/>
|
||||
<pathelement location="../../ext/apache-tomcat-7.0.37/lib/tomcat-i18n-ja.jar"/>
|
||||
<pathelement location="../../ext/apache-tomcat-7.0.37/lib/tomcat-jdbc.jar"/>
|
||||
<pathelement location="../../ext/apache-tomcat-7.0.37/lib/tomcat-util.jar"/>
|
||||
</path>
|
||||
<path id="Web App Libraries.libraryclasspath">
|
||||
<pathelement location="../../../../../../Mailiverse.Ext.BouncyCastle"/>
|
||||
<pathelement location="../../../../../../Mailiverse.Ext.Json"/>
|
||||
</path>
|
||||
<path id="EAR Libraries.libraryclasspath"/>
|
||||
<path id="Mailiverse.Ext.BouncyCastle.classpath">
|
||||
<pathelement location="${Mailiverse.Ext.BouncyCastle.location}/bin"/>
|
||||
<path refid="EAR Libraries.libraryclasspath"/>
|
||||
<path refid="Apache Tomcat v7.0 [Apache Tomcat v7.0].libraryclasspath"/>
|
||||
</path>
|
||||
<path id="Mailiverse.Ext.JordanZimmerman.classpath">
|
||||
<pathelement location="${Mailiverse.Ext.JordanZimmerman.location}/bin"/>
|
||||
<path refid="Mailiverse.Ext.BouncyCastle.classpath"/>
|
||||
</path>
|
||||
<path id="Mailiverse.Ext.Json.classpath">
|
||||
<pathelement location="${Mailiverse.Ext.Json.location}/bin"/>
|
||||
<path refid="EAR Libraries.libraryclasspath"/>
|
||||
<path refid="Apache Tomcat v7.0 [Apache Tomcat v7.0].libraryclasspath"/>
|
||||
</path>
|
||||
<path id="Mailiverse.Mail-WebServer.classpath">
|
||||
<pathelement location="build/classes"/>
|
||||
<path refid="Apache Tomcat v7.0 [Apache Tomcat v7.0].libraryclasspath"/>
|
||||
<path refid="Web App Libraries.libraryclasspath"/>
|
||||
<path refid="EAR Libraries.libraryclasspath"/>
|
||||
<pathelement location="lib/recaptcha4j-0.0.7.jar"/>
|
||||
<pathelement location="lib/javamail-1.4.jar"/>
|
||||
<pathelement location="lib/mina-core-2.0.4.jar"/>
|
||||
<pathelement location="lib/slf4j-api-1.3.1.jar"/>
|
||||
<pathelement location="lib/slf4j-simple-1.3.1.jar"/>
|
||||
<pathelement location="lib/mysql-connector-java-3.1.14-bin.jar"/>
|
||||
<pathelement location="lib/aws-java-sdk.jar"/>
|
||||
<pathelement location="lib/commons-logging-1.1.1.jar"/>
|
||||
<pathelement location="lib/httpclient-4.1.1.jar"/>
|
||||
<pathelement location="lib/httpcore-4.1.jar"/>
|
||||
<pathelement location="lib/commons-codec-1.4.jar"/>
|
||||
<path refid="Mailiverse.Ext.BouncyCastle.classpath"/>
|
||||
<path refid="Mailiverse.Ext.JordanZimmerman.classpath"/>
|
||||
<path refid="Mailiverse.Ext.Json.classpath"/>
|
||||
</path>
|
||||
<target name="init">
|
||||
<mkdir dir="build/classes"/>
|
||||
<copy includeemptydirs="false" todir="build/classes">
|
||||
<fileset dir="src">
|
||||
<exclude name="**/*.java"/>
|
||||
</fileset>
|
||||
</copy>
|
||||
</target>
|
||||
<target name="clean">
|
||||
<delete dir="build/classes"/>
|
||||
</target>
|
||||
<target depends="clean" name="cleanall">
|
||||
<ant antfile="build.xml" dir="${Mailiverse.Ext.BouncyCastle.location}" inheritAll="false" target="clean"/>
|
||||
<ant antfile="build.xml" dir="${Mailiverse.Ext.JordanZimmerman.location}" inheritAll="false" target="clean"/>
|
||||
<ant antfile="build.xml" dir="${Mailiverse.Ext.Json.location}" inheritAll="false" target="clean"/>
|
||||
</target>
|
||||
<target depends="build-subprojects,build-project" name="build"/>
|
||||
<target name="build-subprojects">
|
||||
<ant antfile="build.xml" dir="${Mailiverse.Ext.BouncyCastle.location}" inheritAll="false" target="build-project">
|
||||
<propertyset>
|
||||
<propertyref name="build.compiler"/>
|
||||
</propertyset>
|
||||
</ant>
|
||||
<ant antfile="build.xml" dir="${Mailiverse.Ext.JordanZimmerman.location}" inheritAll="false" target="build-project">
|
||||
<propertyset>
|
||||
<propertyref name="build.compiler"/>
|
||||
</propertyset>
|
||||
</ant>
|
||||
<ant antfile="build.xml" dir="${Mailiverse.Ext.Json.location}" inheritAll="false" target="build-project">
|
||||
<propertyset>
|
||||
<propertyref name="build.compiler"/>
|
||||
</propertyset>
|
||||
</ant>
|
||||
</target>
|
||||
<target depends="init" name="build-project">
|
||||
<echo message="${ant.project.name}: ${ant.file}"/>
|
||||
<javac debug="true" debuglevel="${debuglevel}" destdir="build/classes" includeantruntime="false" source="${source}" target="${target}">
|
||||
<src path="src"/>
|
||||
<classpath refid="Mailiverse.Mail-WebServer.classpath"/>
|
||||
</javac>
|
||||
</target>
|
||||
<target description="Build all projects which reference this project. Useful to propagate changes." name="build-refprojects"/>
|
||||
<target description="copy Eclipse compiler jars to ant lib directory" name="init-eclipse-compiler">
|
||||
<copy todir="${ant.library.dir}">
|
||||
<fileset dir="${ECLIPSE_HOME}/plugins" includes="org.eclipse.jdt.core_*.jar"/>
|
||||
</copy>
|
||||
<unzip dest="${ant.library.dir}">
|
||||
<patternset includes="jdtCompilerAdapter.jar"/>
|
||||
<fileset dir="${ECLIPSE_HOME}/plugins" includes="org.eclipse.jdt.core_*.jar"/>
|
||||
</unzip>
|
||||
</target>
|
||||
<target description="compile project with Eclipse compiler" name="build-eclipse-compiler">
|
||||
<property name="build.compiler" value="org.eclipse.jdt.core.JDTCompilerAdapter"/>
|
||||
<antcall target="build"/>
|
||||
</target>
|
||||
</project>
|
Loading…
Reference in New Issue
Block a user