You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-dev@jakarta.apache.org by Martin Dulisch <md...@web.de> on 2004/01/11 23:25:17 UTC

[client] build script and readme

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





RE: [client] build script and readme

Posted by Martin Dulisch <md...@s-und-n.de>.
 

> From: Ingo Brunberg [mailto:ib@fiz-chemie.de] 
> 
> Hi Martin,
> 
> how about placing the outcome of the dist target(s) in a separate dist
> directory as we have it now.
> 

ok, will integrate this.

> If it doesn't take too long, I will wait until you have finished the
> build file and then commit it.
> 

hope to finish it tomorrow.

Martin


---------------------------------------------------------------------
To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-dev-help@jakarta.apache.org


Re: [client] build script and readme

Posted by Ingo Brunberg <ib...@fiz-chemie.de>.
Hi Martin,

how about placing the outcome of the dist target(s) in a separate dist
directory as we have it now.

If it doesn't take too long, I will wait until you have finished the
build file and then commit it.

Stefano, do you think something of your work could be merged with
Martin's efforts, maybe the README at least?

Ingo

> Here another try ...
>  
> 
> > -----Original Message-----
> > From: Oliver Zeigermann [mailto:ozeigermann@c1-fse.de] 
> > 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: slide-dev-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: slide-dev-help@jakarta.apache.org
> > 
> > 
> > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: slide-dev-help@jakarta.apache.org
> > 
> 
> ------=_NextPart_000_001C_01C3D8FC.302623F0
> Content-Type: text/xml;
> 	name="build.xml"
> Content-Disposition: attachment;
> 	filename="build.xml"
> Content-Transfer-Encoding: quoted-printable
> 
> <project name=3D"Slide-WebDAV-Clientlib" default=3D"dist" basedir=3D".">
>     <!-- =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D -->
>     <!-- Compiler Options                                                  =
>   -->
>     <!-- =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D -->
>     <!-- Should Java compilations set the 'debug' compiler option? -->
>     <property name=3D"compile.debug" value=3D"true"/>
>     <!-- Should Java compilations set the 'deprecation' compiler option? -->
>     <property name=3D"compile.deprecation" value=3D"true"/>
>     <!-- Should Java compilations set the 'optimize' compiler option? -->
>     <property name=3D"compile.optimize" value=3D"true"/>
>     <property name=3D"build.compiler" value=3D"classic"/>
>     <!-- =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D -->
>     <!-- Project Properties                                                =
>   -->
>     <!-- =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D -->
>     <property name=3D"name" value=3D"Jakarta-Slide"/>
>     <property name=3D"year" value=3D"2002"/>
>     <property name=3D"version" value=3D"2.0.0"/>
>     <property name=3D"project" value=3D"jakarta-slide-webdavlib"/>
>     <property name=3D"final.name" value=3D"${project}-${version}"/>
>     <property name=3D"final-src.name" value=3D"${project}-src-${version}"/>
>     <!-- =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D -->
>     <!-- Build Properties                                                  =
>   -->
>     <!-- =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D -->
>     <property name=3D"slide.build" value=3D"./build"/>
>     <property name=3D"clientlib.build" value=3D"${slide.build}/clientlib"/>
>     <!-- =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D -->
>     <!-- Dependencies Properties                                           =
>   -->
>     <!-- =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D -->
>     <property name=3D"commons-httpclient.jar" value=3D"lib/commons-httpclie=
> nt.jar"/>
>     <!-- =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D -->
>     <!-- Classpaths                                                        =
>   -->
>     <!-- =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D -->
>     <path id=3D"webdavclient.classpath">
>         <!--pathelement location=3D"${jaxp.jar}"/>
>         <pathelement location=3D"${xmlapi.jar}"/>
>         <pathelement location=3D"${ant.jar}"/-->
>         <pathelement location=3D"${commons-httpclient.jar}"/>
>         <!--pathelement location=3D"${slide.build}/classes"/>
>         <pathelement location=3D"${antlr.jar}"/>
>         <pathelement location=3D"${antlr-tools.jar}"/-->
>     </path>
>     <!-- =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D -->
>     <!-- Prepare                                                           =
>   -->
>     <!-- =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D -->
>     <target name=3D"prepare" depends=3D"">
>         <mkdir dir=3D"${slide.build}"/>
>         <mkdir dir=3D"${clientlib.build}"/>
>         <mkdir dir=3D"${clientlib.build}/classes"/>
>         <mkdir dir=3D"${slide.build}/lib"/>
>         <mkdir dir=3D"${clientlib.build}/doc/javadoc"/>
>     </target>
>     <!-- =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D -->
>     <!-- Build All : Main, Doc and JavaDoc                                 =
>   -->
>     <!-- =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D -->
>     <target name=3D"all" depends=3D"clean,dist-clientlib,javadoc-clientlib"=
> =20
> 	    description=3D"Delete previous build and make distribution"/>
>     <!-- =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D -->
>     <!-- Build Slide WebDAV client lib                                     =
>   -->
>     <!-- =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D -->
>     <target name=3D"build-clientlib" depends=3D"prepare" description=3D"Bui=
> ld the WebDAV client lib">
>         <echo message=3D"Building Slide WebDAV client lib"/>
>         <javac srcdir=3D"clientlib/src/java" destdir=3D"${clientlib.build}/=
> classes"=20
> 	       debug=3D"${compile.debug}" deprecation=3D"${compile.deprecation}"=20
> 	       optimize=3D"${compile.optimize}" excludes=3D"**/CVS/**">
>             <classpath refid=3D"webdavclient.classpath"/>
>         </javac>
>         <!--copy todir=3D"${slide.build}/clientlib/lib">
>             <fileset dir=3D"lib">
>                 <include name=3D"commons-httpclient.jar,commons-logging.jar=
> "/>
>             </fileset>
>         </copy-->
>     </target>
>     <!-- =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D -->
>     <!-- Clean build and distribution directories of the DAV client        =
>   -->
>     <!-- =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D -->
>     <target name=3D"clean">
>         <delete dir=3D"${slide.build}"/>
>     </target>
>     <!-- =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D -->
>     <!-- Javadoc of the WebDAV client                                      =
>   -->
>     <!-- =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D -->
>     <target name=3D"javadoc-clientlib" depends=3D"prepare" description=3D"C=
> reate WebDAV client javadocs">
>         <property name=3D"copyright" value=3D""/>
>         <javadoc sourcepath=3D"clientlib/src/java" destdir=3D"${clientlib.b=
> uild}/doc/javadoc"=20
> 		 doctitle=3D"Slide ${version} WebDAV Client JavaDoc" windowtitle=3D"Slide=
>  WebDAV Client Javadoc"=20
> 		 package=3D"true" noindex=3D"false" author=3D"true" version=3D"true" pack=
> agenames=3D"org.apache.webdav.lib.*">
>             <classpath refid=3D"webdavclient.classpath"/>
>             <link href=3D"http://jakarta.apache.org/commons/httpclient/apid=
> ocs/"/>
>         </javadoc>
>         <!--copy todir=3D"${slide.dist}/doc/clientjavadoc">
>             <fileset dir=3D"${slide.build}/doc/clientjavadoc"/>
>         </copy-->
>     </target>
>     <!-- =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D -->
>     <!-- Build a WebDAV client distribution                                =
>      -->
>     <!-- =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D -->
>     <target name=3D"dist-clientlib" depends=3D"build-clientlib"
> 	    description=3D"Jar WebDAV client lib and copy required jar libs">
>         <copy todir=3D"${slide.build}/lib">
>             <fileset dir=3D"lib">
>                 <include name=3D"*.jar"/>
>             </fileset>
>         </copy>
>         <jar jarfile=3D"${slide.build}/lib/${final.name}.jar" basedir=3D"${=
> clientlib.build}/classes"/>=20
>     </target>
> 
> 
>     <!--target name=3D"webdav-client-dist" depends=3D"webdav-client, webdav=
> -client-dist-prepare,webdav-client-javadoc,webdav-client-dist-xml" descript=
> ion=3D"Build the WebDAV client library and command-line application">
>         <copy todir=3D"${webdavclient.dist}/bin">
>             <fileset dir=3D"${webdavclient.build}/bin">
>                 <include name=3D"**/*.bat"/>
>                 <include name=3D"**/*.sh"/>
>             </fileset>
>         </copy>
>         <chmod dir=3D"${webdavclient.dist}/bin" perm=3D"+x" includes=3D"**/=
> *.sh"/>
>         <copy file=3D"src/etc/MANIFEST.MF" tofile=3D"${webdavclient.build}/=
> classes/MANIFEST.MF"/>
>         <replace file=3D"${webdavclient.build}/classes/MANIFEST.MF" token=
> =3D"$$VERSION$$" value=3D"${version}"/>
>         <echo message=3D"Copying libraries"/>
>         <copy todir=3D"${webdavclient.dist}/lib" file=3D"${antlr.jar}"/>
>         <copy todir=3D"${webdavclient.dist}/lib" file=3D"${commons-httpclie=
> nt.jar}"/>
>         <copy todir=3D"${webdavclient.dist}/lib" file=3D"${commons-logging.=
> jar}"/>
>         <echo message=3D"Building DAV Client library JAR file"/>
>         <jar jarfile=3D"${webdavclient.dist}/lib/slide-webdavlib.jar" based=
> ir=3D"${webdavclient.build}/classes" manifest=3D"${webdavclient.build}/clas=
> ses/MANIFEST.MF" includes=3D"org/apache/util/**,org/apache/webdav/lib/**,or=
> g/apache/webdav/util/**">
>             <metainf dir=3D".">
>                 <include name=3D"LICENSE"/>
>             </metainf>
>         </jar>
>         <echo message=3D"Building DAV Client JAR"/>
>         <jar jarfile=3D"${webdavclient.dist}/lib/slide-client.jar" basedir=
> =3D"${webdavclient.build}/classes" manifest=3D"${webdavclient.build}/classe=
> s/MANIFEST.MF" includes=3D"org/apache/webdav/cmd/**">
>             <metainf dir=3D".">
>                 <include name=3D"LICENSE"/>
>             </metainf>
>         </jar>
>         <echo message=3D"Building DAV Anttasks JAR"/>
>         <jar jarfile=3D"${webdavclient.dist}/lib/slide-anttasks.jar" basedi=
> r=3D"${webdavclient.build}/classes" manifest=3D"${webdavclient.build}/class=
> es/MANIFEST.MF" includes=3D"org/apache/webdav/ant/**">
>             <metainf dir=3D".">
>                 <include name=3D"LICENSE"/>
>             </metainf>
>         </jar>
>         <echo message=3D"Building DAV Swing JAR"/>
>         <jar jarfile=3D"${webdavclient.dist}/lib/slide-swing.jar" basedir=
> =3D"${webdavclient.build}/classes" manifest=3D"${webdavclient.build}/classe=
> s/MANIFEST.MF" includes=3D"org/apache/webdav/ui/**">
>             <metainf dir=3D".">
>                 <include name=3D"LICENSE"/>
>             </metainf>
>         </jar>
>     </target>
>     <target name=3D"webdav-client-dist-xml" unless=3D"jvm14.present">
>         <copy todir=3D"${webdavclient.dist}/lib" file=3D"${jaxp.jar}"/>
>         <copy todir=3D"${webdavclient.dist}/lib" file=3D"${xmlapi.jar}"/>  =
>      =20
>     </target-->
> </project>


---------------------------------------------------------------------
To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-dev-help@jakarta.apache.org


Re: [client] build script and readme

Posted by Oliver Zeigermann <oz...@c1-fse.de>.
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:ozeigermann@c1-fse.de] 
>>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:ozeigermann@c1-fse.de] 
>>>>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: slide-dev-unsubscribe@jakarta.apache.org
>>>>>For additional commands, e-mail: slide-dev-help@jakarta.apache.org
>>>>
>>>>
>>>>
>>>>
>>>>------------------------------------------------------------
>>
>>---------
>>
>>>>To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
>>>>For additional commands, e-mail: slide-dev-help@jakarta.apache.org
>>>>
>>>>
>>>>
>>>>------------------------------------------------------------
>>
>>------------
>>
>>>><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: slide-dev-unsubscribe@jakarta.apache.org
>>>>For additional commands, e-mail: slide-dev-help@jakarta.apache.org
>>
>>
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: slide-dev-help@jakarta.apache.org
>>
>>
>>
>>------------------------------------------------------------------------
>>
>>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: slide-dev-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: slide-dev-help@jakarta.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-dev-help@jakarta.apache.org


RE: [client] build script and readme

Posted by Martin Dulisch <md...@s-und-n.de>.
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:ozeigermann@c1-fse.de] 
> 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:ozeigermann@c1-fse.de] 
> >>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: slide-dev-unsubscribe@jakarta.apache.org
> >>>For additional commands, e-mail: slide-dev-help@jakarta.apache.org
> >>
> >>
> >>
> >>
> >>------------------------------------------------------------
> ---------
> >>To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
> >>For additional commands, e-mail: slide-dev-help@jakarta.apache.org
> >>
> >>
> >>
> >>------------------------------------------------------------
> ------------
> >>
> >><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: slide-dev-unsubscribe@jakarta.apache.org
> >>For additional commands, e-mail: slide-dev-help@jakarta.apache.org
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: slide-dev-help@jakarta.apache.org
> 

Re: [client] build script and readme

Posted by Oliver Zeigermann <oz...@c1-fse.de>.
I can the build.xml, but where is the README?

Martin Dulisch wrote:
> Here another try ...
>  
> 
> 
>>-----Original Message-----
>>From: Oliver Zeigermann [mailto:ozeigermann@c1-fse.de] 
>>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: slide-dev-unsubscribe@jakarta.apache.org
>>>For additional commands, e-mail: slide-dev-help@jakarta.apache.org
>>
>>
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: slide-dev-help@jakarta.apache.org
>>
>>
>>
>>------------------------------------------------------------------------
>>
>><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: slide-dev-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: slide-dev-help@jakarta.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-dev-help@jakarta.apache.org


RE: [client] build script and readme

Posted by Martin Dulisch <md...@s-und-n.de>.
Here another try ...
 

> -----Original Message-----
> From: Oliver Zeigermann [mailto:ozeigermann@c1-fse.de] 
> 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: slide-dev-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: slide-dev-help@jakarta.apache.org
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: slide-dev-help@jakarta.apache.org
> 

Re: [client] build script and readme

Posted by Oliver Zeigermann <oz...@c1-fse.de>.
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: slide-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: slide-dev-help@jakarta.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-dev-help@jakarta.apache.org