I can the build.xml, but where is the README?

Martin Dulisch wrote:
Here another try ...



-----Original Message-----
From: Oliver Zeigermann [mailto:[EMAIL PROTECTED] Sent: Montag, 12. Januar 2004 10:53
To: Slide Developers Mailing List
Subject: Re: [client] build script and readme


I can see no attachment...

Martin Dulisch wrote:


Hi,

I have created a build script for the client lib. It does

not handle the


command line client yet. I will extend it soon to build the

command line


client too.

I have also created a short readme for the WebDAV client.

Could you please checkin both files to the webdavclient folder.

Thanks
Martin







-------------------------------------------------------------- ----------


---------------------------------------------------------------------

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



------------------------------------------------------------------------

<project name="Slide-WebDAV-Clientlib" default="dist" basedir=".">
<!-- =================================================================== -->
<!-- Compiler Options -->
<!-- =================================================================== -->
<!-- Should Java compilations set the 'debug' compiler option? -->
<property name="compile.debug" value="true"/>
<!-- Should Java compilations set the 'deprecation' compiler option? -->
<property name="compile.deprecation" value="true"/>
<!-- Should Java compilations set the 'optimize' compiler option? -->
<property name="compile.optimize" value="true"/>
<property name="build.compiler" value="classic"/>
<!-- =================================================================== -->
<!-- Project Properties -->
<!-- =================================================================== -->
<property name="name" value="Jakarta-Slide"/>
<property name="year" value="2002"/>
<property name="version" value="2.0.0"/>
<property name="project" value="jakarta-slide-webdavlib"/>
<property name="final.name" value="${project}-${version}"/>
<property name="final-src.name" value="${project}-src-${version}"/>
<!-- =================================================================== -->
<!-- Build Properties -->
<!-- =================================================================== -->
<property name="slide.build" value="./build"/>
<property name="clientlib.build" value="${slide.build}/clientlib"/>
<!-- =================================================================== -->
<!-- Dependencies Properties -->
<!-- =================================================================== -->
<property name="commons-httpclient.jar" value="lib/commons-httpclient.jar"/>
<!-- =================================================================== -->
<!-- Classpaths -->
<!-- =================================================================== -->
<path id="webdavclient.classpath">
<!--pathelement location="${jaxp.jar}"/>
<pathelement location="${xmlapi.jar}"/>
<pathelement location="${ant.jar}"/-->
<pathelement location="${commons-httpclient.jar}"/>
<!--pathelement location="${slide.build}/classes"/>
<pathelement location="${antlr.jar}"/>
<pathelement location="${antlr-tools.jar}"/-->
</path>
<!-- =================================================================== -->
<!-- Prepare -->
<!-- =================================================================== -->
<target name="prepare" depends="">
<mkdir dir="${slide.build}"/>
<mkdir dir="${clientlib.build}"/>
<mkdir dir="${clientlib.build}/classes"/>
<mkdir dir="${slide.build}/lib"/>
<mkdir dir="${clientlib.build}/doc/javadoc"/>
</target>
<!-- =================================================================== -->
<!-- Build All : Main, Doc and JavaDoc -->
<!-- =================================================================== -->
<target name="all" depends="clean,dist-clientlib,javadoc-clientlib" description="Delete previous build and make distribution"/>
<!-- =================================================================== -->
<!-- Build Slide WebDAV client lib -->
<!-- =================================================================== -->
<target name="build-clientlib" depends="prepare" description="Build the WebDAV client lib">
<echo message="Building Slide WebDAV client lib"/>
<javac srcdir="clientlib/src/java" destdir="${clientlib.build}/classes" debug="${compile.debug}" deprecation="${compile.deprecation}" optimize="${compile.optimize}" excludes="**/CVS/**">
<classpath refid="webdavclient.classpath"/>
</javac>
<!--copy todir="${slide.build}/clientlib/lib">
<fileset dir="lib">
<include name="commons-httpclient.jar,commons-logging.jar"/>
</fileset>
</copy-->
</target>
<!-- =================================================================== -->
<!-- Clean build and distribution directories of the DAV client -->
<!-- =================================================================== -->
<target name="clean">
<delete dir="${slide.build}"/>
</target>
<!-- =================================================================== -->
<!-- Javadoc of the WebDAV client -->
<!-- =================================================================== -->
<target name="javadoc-clientlib" depends="prepare" description="Create WebDAV client javadocs">
<property name="copyright" value=""/>
<javadoc sourcepath="clientlib/src/java" destdir="${clientlib.build}/doc/javadoc" doctitle="Slide ${version} WebDAV Client JavaDoc" windowtitle="Slide WebDAV Client Javadoc" package="true" noindex="false" author="true" version="true" packagenames="org.apache.webdav.lib.*">
<classpath refid="webdavclient.classpath"/>
<link href="http://jakarta.apache.org/commons/httpclient/apidocs/"/>
</javadoc>
<!--copy todir="${slide.dist}/doc/clientjavadoc">
<fileset dir="${slide.build}/doc/clientjavadoc"/>
</copy-->
</target>
<!-- =================================================================== -->
<!-- Build a WebDAV client distribution -->
<!-- =================================================================== -->
<target name="dist-clientlib" depends="build-clientlib"
description="Jar WebDAV client lib and copy required jar libs">
<copy todir="${slide.build}/lib">
<fileset dir="lib">
<include name="*.jar"/>
</fileset>
</copy>
<jar jarfile="${slide.build}/lib/${final.name}.jar" basedir="${clientlib.build}/classes"/> </target>



<!--target name="webdav-client-dist" depends="webdav-client, webdav-client-dist-prepare,webdav-client-javadoc,webdav-client-dist-xml" description="Build the WebDAV client library and command-line application">
<copy todir="${webdavclient.dist}/bin">
<fileset dir="${webdavclient.build}/bin">
<include name="**/*.bat"/>
<include name="**/*.sh"/>
</fileset>
</copy>
<chmod dir="${webdavclient.dist}/bin" perm="+x" includes="**/*.sh"/>
<copy file="src/etc/MANIFEST.MF" tofile="${webdavclient.build}/classes/MANIFEST.MF"/>
<replace file="${webdavclient.build}/classes/MANIFEST.MF" token="$$VERSION$$" value="${version}"/>
<echo message="Copying libraries"/>
<copy todir="${webdavclient.dist}/lib" file="${antlr.jar}"/>
<copy todir="${webdavclient.dist}/lib" file="${commons-httpclient.jar}"/>
<copy todir="${webdavclient.dist}/lib" file="${commons-logging.jar}"/>
<echo message="Building DAV Client library JAR file"/>
<jar jarfile="${webdavclient.dist}/lib/slide-webdavlib.jar" basedir="${webdavclient.build}/classes" manifest="${webdavclient.build}/classes/MANIFEST.MF" includes="org/apache/util/**,org/apache/webdav/lib/**,org/apache/webdav/util/**">
<metainf dir=".">
<include name="LICENSE"/>
</metainf>
</jar>
<echo message="Building DAV Client JAR"/>
<jar jarfile="${webdavclient.dist}/lib/slide-client.jar" basedir="${webdavclient.build}/classes" manifest="${webdavclient.build}/classes/MANIFEST.MF" includes="org/apache/webdav/cmd/**">
<metainf dir=".">
<include name="LICENSE"/>
</metainf>
</jar>
<echo message="Building DAV Anttasks JAR"/>
<jar jarfile="${webdavclient.dist}/lib/slide-anttasks.jar" basedir="${webdavclient.build}/classes" manifest="${webdavclient.build}/classes/MANIFEST.MF" includes="org/apache/webdav/ant/**">
<metainf dir=".">
<include name="LICENSE"/>
</metainf>
</jar>
<echo message="Building DAV Swing JAR"/>
<jar jarfile="${webdavclient.dist}/lib/slide-swing.jar" basedir="${webdavclient.build}/classes" manifest="${webdavclient.build}/classes/MANIFEST.MF" includes="org/apache/webdav/ui/**">
<metainf dir=".">
<include name="LICENSE"/>
</metainf>
</jar>
</target>
<target name="webdav-client-dist-xml" unless="jvm14.present">
<copy todir="${webdavclient.dist}/lib" file="${jaxp.jar}"/>
<copy todir="${webdavclient.dist}/lib" file="${xmlapi.jar}"/> </target-->
</project>



------------------------------------------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to