OK, checked in both files :)

Oliver

Martin Dulisch wrote:

It looks like there are problems to send files with no extension to the
list. Now a try with a renamed README -> readme.txt. Hope this works.

Sorry for the noise



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


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/apac

he/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]



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

Slide 2.0 WebDAV client
==========================

This module of Slide contains a WebDAV client implementation and a
command line client that can be used to access a WebDAV server.
The command line client is also a example for the usage of the
client library.

Building client library
---------------------------

This module is distributed with a Ant build script. Following
targets can be used:

- build-clientlib: Compile
- dist-clientlib: Build jar lib with WebDav client and copy required jars to build/lib
- javadoc-clientlib: Create API documentation
- all: dist and javadoc are executed

Using client library
------------------------

The class org.apache.webdav.lib.WebdavResource is the main interface
to the client. Usage examples can be found in the implementation of the command line client.





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


---------------------------------------------------------------------
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