1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-26 22:12:05 +01:00

Change build and project files

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7435 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Thiago Camargo 2007-03-09 19:44:36 +00:00 committed by thiago
parent 5393774a1c
commit 30a681a351
3 changed files with 6 additions and 48 deletions

View file

@ -58,6 +58,7 @@
<property name="test.dir" value="${basedir}/test" /> <property name="test.dir" value="${basedir}/test" />
<property name="resources.dir" value="${basedir}/build/resources" /> <property name="resources.dir" value="${basedir}/build/resources" />
<property name="jingle.extension.merge.lib.dir" value="${basedir}/jingle/extension/build/merge" /> <property name="jingle.extension.merge.lib.dir" value="${basedir}/jingle/extension/build/merge" />
<property name="jingle.extension.lib.dir" value="${basedir}/jingle/extension/build/lib" />
<!-- Test props - override these defaults in the properties file or in command line --> <!-- Test props - override these defaults in the properties file or in command line -->
<property name="test.host" value="localhost" /> <property name="test.host" value="localhost" />
@ -120,31 +121,14 @@
<fileset dir="${merge.lib.dir}"> <fileset dir="${merge.lib.dir}">
<include name="*.jar"/> <include name="*.jar"/>
</fileset> </fileset>
<fileset dir="${basedir}/jingle/extension/build/merge"> <fileset dir="${jingle.extension.lib.dir}">
<include name="*.jar"/>
</fileset>
<fileset dir="${jingle.extension.merge.lib.dir}">
<include name="*.jar"/> <include name="*.jar"/>
</fileset> </fileset>
<pathelement path="${compile.dir}"/> <pathelement path="${compile.dir}"/>
</classpath> </classpath>
</javac>
<mkdir dir="${compile.dir}/jingle/media" />
<javac
destdir="${compile.dir}/jingle/media"
includeAntRuntime="no"
debug="on"
source="1.5"
target="1.5"
>
<src path="${basedir}/jingle/media/source" />
<classpath>
<fileset dir="${merge.lib.dir}">
<include name="*.jar"/>
</fileset>
<fileset dir="${basedir}/jingle/media/build/lib">
<include name="*.jar"/>
</fileset>
<pathelement path="${compile.dir}"/>
<pathelement path="${compile.dir}/jingle/extension"/>
</classpath>
</javac> </javac>
</target> </target>
@ -216,14 +200,6 @@
<attribute name="Class-Path" value="smack.jar, smackx.jar" /> <attribute name="Class-Path" value="smack.jar, smackx.jar" />
</manifest> </manifest>
<zipfileset src="${jingle.extension.merge.lib.dir}/jstun.jar"/> <zipfileset src="${jingle.extension.merge.lib.dir}/jstun.jar"/>
</jar>
<jar destfile="${jar.dest.dir}/smackx-jingleMedia.jar"
basedir="${compile.dir}/jingle/media"
includes="org/jivesoftware/**/*.class"
>
<manifest>
<attribute name="Class-Path" value="smack.jar,smackx.jar,smackx-jingle.jar" />
</manifest>
</jar> </jar>
<delete file="${compile.dir}/META-INF/smack-config.xml" /> <delete file="${compile.dir}/META-INF/smack-config.xml" />
<delete file="${compile.dir}/META-INF/smack.providers" /> <delete file="${compile.dir}/META-INF/smack.providers" />
@ -382,7 +358,6 @@
<delete file="${basedir}/smackx-debug.jar" /> <delete file="${basedir}/smackx-debug.jar" />
<delete file="${basedir}/smack-test.jar" /> <delete file="${basedir}/smack-test.jar" />
<delete file="${basedir}/smackx-jingle.jar" /> <delete file="${basedir}/smackx-jingle.jar" />
<delete file="${basedir}/smackx-jingleMedia.jar" />
<delete dir="${basedir}/target" /> <delete dir="${basedir}/target" />
</target> </target>

View file

@ -285,7 +285,6 @@
<component name="ProjectModuleManager"> <component name="ProjectModuleManager">
<modules> <modules>
<module fileurl="file://$PROJECT_DIR$/../../jingle/extension/build/projects/JingleExtension.iml" filepath="$PROJECT_DIR$/../../jingle/extension/build/projects/JingleExtension.iml" /> <module fileurl="file://$PROJECT_DIR$/../../jingle/extension/build/projects/JingleExtension.iml" filepath="$PROJECT_DIR$/../../jingle/extension/build/projects/JingleExtension.iml" />
<module fileurl="file://$PROJECT_DIR$/../../jingle/media/build/projects/JingleMedia.iml" filepath="$PROJECT_DIR$/../../jingle/media/build/projects/JingleMedia.iml" />
<module fileurl="file://$PROJECT_DIR$/Smack.iml" filepath="$PROJECT_DIR$/Smack.iml" /> <module fileurl="file://$PROJECT_DIR$/Smack.iml" filepath="$PROJECT_DIR$/Smack.iml" />
</modules> </modules>
</component> </component>

View file

@ -53,14 +53,12 @@
<fileset dir="${jar.dest.dir}" includes="smackx.jar" /> <fileset dir="${jar.dest.dir}" includes="smackx.jar" />
<fileset dir="${jar.dest.dir}" includes="smackx-debug.jar" /> <fileset dir="${jar.dest.dir}" includes="smackx-debug.jar" />
<fileset dir="${jar.dest.dir}" includes="jingleExtension.jar" /> <fileset dir="${jar.dest.dir}" includes="jingleExtension.jar" />
<fileset dir="${jar.dest.dir}" includes="jingleMedia.jar" />
</copy> </copy>
<copy todir="${release-dev.dir}"> <copy todir="${release-dev.dir}">
<fileset dir="${jar.dest.dir}" includes="smack.jar" /> <fileset dir="${jar.dest.dir}" includes="smack.jar" />
<fileset dir="${jar.dest.dir}" includes="smackx.jar" /> <fileset dir="${jar.dest.dir}" includes="smackx.jar" />
<fileset dir="${jar.dest.dir}" includes="smackx-debug.jar" /> <fileset dir="${jar.dest.dir}" includes="smackx-debug.jar" />
<fileset dir="${jar.dest.dir}" includes="jingleExtension.jar" /> <fileset dir="${jar.dest.dir}" includes="jingleExtension.jar" />
<fileset dir="${jar.dest.dir}" includes="jingleMedia.jar" />
</copy> </copy>
<!-- Copy build dir --> <!-- Copy build dir -->
<copy todir="${release-dev.dir}/build"> <copy todir="${release-dev.dir}/build">
@ -82,16 +80,6 @@
<include name="lib/*.jar" /> <include name="lib/*.jar" />
<include name="merge/*.jar" /> <include name="merge/*.jar" />
</fileset> </fileset>
</copy>
<copy todir="${release-dev.dir}/jingle/media/build">
<fileset dir="${basedir}/jingle/media/build">
<include name="ant*" />
<include name="junit.jar" />
<include name="build.xml" />
<include name="README.html" />
<include name="lib/*.jar" />
<include name="merge/*.jar" />
</fileset>
</copy> </copy>
<!-- Copy Javadocs --> <!-- Copy Javadocs -->
<copy todir="${release.dir}/javadoc"> <copy todir="${release.dir}/javadoc">
@ -116,10 +104,6 @@
<fileset dir="${basedir}/jingle/extension/source" includes="**/*.java" /> <fileset dir="${basedir}/jingle/extension/source" includes="**/*.java" />
<fileset dir="${basedir}/jingle/extension/source" includes="**/*.html" /> <fileset dir="${basedir}/jingle/extension/source" includes="**/*.html" />
</copy> </copy>
<copy todir="${release-dev.dir}/jingle/media/source">
<fileset dir="${basedir}/jingle/media/source" includes="**/*.java" />
<fileset dir="${basedir}/jingle/media/source" includes="**/*.html" />
</copy>
<copy todir="${release-dev.dir}/test"> <copy todir="${release-dev.dir}/test">
<fileset dir="${basedir}/test" includes="**/*.java" /> <fileset dir="${basedir}/test" includes="**/*.java" />
</copy> </copy>