jcifs_1.3.3.build.xml Maven / Gradle / Ivy
Go to download
JCIFS is an Open Source client library that implements the CIFS/SMB networking protocol in 100% Java
<project name="jcifs" default="usage" basedir="."> <property name="version" value="1.3.3"/> <property name="reldate" value="Jan 25, 2009"/> <target name="usage"> <echo> Available Build Targets: dependencies: Checks that all class dependencies are met. compile: Builds the jCIFS classes. jar: Packages the jCIFS classes into a .jar file. docs: XSLT generated website pages javadoc: Creates the Javadoc API documentation. all: Performs all of the above. clean: Removes build artifacts. allclean: Removes distribution and build artifacts. This includes the .jar file, .class files, and the Javadoc API documentation. jcifs: Builds the "all" target, followed by "clean". This reproduces the distribution package contents. distrib: Builds the "jcifs" target, and additionally recreates the .zip and .tgz downloadable distributions. checksum: Creates MD5 checksums of the .zip and .tgz distributions. usage: Displays this message.</echo> </target> <target name="hasServlet" unless="hasServlet"> <fail> The Java Servlet API classes could not be found. These files can be obtained from: http://java.sun.com/products/servlet/download.html </fail> </target> <target name="dependencies"> <available classname="javax.servlet.Servlet" property="hasServlet"/> <antcall target="hasServlet"/> </target> <target name="compile" depends="dependencies"> <mkdir dir="build"/> <javac srcdir="src" destdir="build" debug="on"> <!-- <compilerarg line="-Xlint:deprecation -Xlint:unchecked"/> --> </javac> <copy file="src/jcifs/util/mime.map" tofile="build/jcifs/util/mime.map" overwrite="yes"/> <copy file="src/jcifs/http/ne.css" tofile="build/jcifs/http/ne.css" overwrite="yes"/> </target> <target name="jar" depends="compile"> <jar jarfile="jcifs-${version}.jar"> <fileset dir="build"/> </jar> </target> <target name="javadoc"> <delete dir="docs/api" quiet="true"/> <mkdir dir="docs/api"/> <javadoc destdir="docs/api" overview="docs/overview.html" author="true" version="true" use="true" sourcefiles="src/jcifs/smb/ACE.java,src/jcifs/smb/SID.java,src/jcifs/Config.java,src/jcifs/UniAddress.java,src/jcifs/netbios/NbtAddress.java,src/jcifs/smb/DosFileFilter.java,src/jcifs/smb/NtlmAuthenticator.java,src/jcifs/smb/NtlmPasswordAuthentication.java,src/jcifs/smb/SmbAuthException.java,src/jcifs/smb/SmbException.java,src/jcifs/smb/SmbFile.java,src/jcifs/smb/SmbFileFilter.java,src/jcifs/smb/SmbFileInputStream.java,src/jcifs/smb/SmbFilenameFilter.java,src/jcifs/smb/SmbFileOutputStream.java,src/jcifs/smb/SmbNamedPipe.java,src/jcifs/smb/SmbRandomAccessFile.java,src/jcifs/smb/SmbSession.java" windowtitle="JCIFS API"> <sourcepath path="src"/> <classpath> <pathelement path="${java.class.path}"/> <fileset dir="."> <include name="**/*.jar"/> </fileset> </classpath> </javadoc> <!--copy file="docs/allclasses-frame.html" tofile="docs/api/allclasses-frame.html" overwrite="yes"/--> </target> <target name="all" depends="jar,docs,javadoc"/> <target name="clean"> <delete dir="build" quiet="true"/> </target> <target name="allclean" depends="clean"> <delete quiet="true"> <fileset dir="."> <include name="jcifs-${version}.zip"/> <include name="jcifs-${version}.zip.MD5"/> <include name="jcifs-${version}.tgz"/> <include name="jcifs-${version}.tgz.MD5"/> <include name="jcifs-${version}.jar"/> </fileset> </delete> <delete dir="docs/api" quiet="true"/> <delete quiet="true"> <fileset dir="docs"> <include name="index.html"/> <include name="pipes.html"/> <include name="faq.html"/> <include name="wins.html"/> <include name="capture.html"/> <include name="httpclient.html"/> <include name="resolver.html"/> <include name="authhandler.html"/> <include name="ntlmhttpauth.html"/> </fileset> </delete> </target> <target name="jcifs" depends="all,clean"/> <target name="distrib" depends="jcifs"> <delete dir="dist_tmp" quiet="true"/> <copy todir="dist_tmp/jcifs_${version}"> <fileset dir="."> <include name="build.xml"/> <include name="jcifs-${version}.jar"/> <include name="CHANGES.txt"/> <include name="README.txt"/> <include name="docs/**"/> <include name="examples/**"/> <include name="src/**"/> <include name="patches/**"/> </fileset> </copy> <fixcrlf srcdir="dist_tmp" tab="remove" tablength="4"> <include name="**/*.java"/> <include name="**/*.c"/> <include name="**/*.h"/> <include name="**/*.css"/> <include name="**/*.html"/> <include name="**/*.xml"/> <include name="**/*.txt"/> <include name="**/*.jav"/> <include name="**/*.bak"/> <include name="**/*.prp"/> <include name="**/*.map"/> <include name="**/*.patch"/> </fixcrlf> <fixcrlf srcdir="dist_tmp" eol="crlf"> <include name="**/*.java"/> <include name="**/*.c"/> <include name="**/*.h"/> <include name="**/*.css"/> <include name="**/*.html"/> <include name="**/*.xml"/> <include name="**/*.txt"/> <include name="**/*.jav"/> <include name="**/*.bak"/> <include name="**/*.prp"/> <include name="**/*.map"/> <include name="**/*.patch"/> <include name="**/Makefile"/> </fixcrlf> <zip zipfile="jcifs-${version}.zip" basedir="dist_tmp"/> <fixcrlf srcdir="dist_tmp" eol="lf"> <include name="**/*.java"/> <include name="**/*.c"/> <include name="**/*.h"/> <include name="**/*.css"/> <include name="**/*.html"/> <include name="**/*.xml"/> <include name="**/*.txt"/> <include name="**/*.jav"/> <include name="**/*.bak"/> <include name="**/*.prp"/> <include name="**/*.map"/> <include name="**/*.patch"/> <include name="**/Makefile"/> </fixcrlf> <tar tarfile="jcifs-${version}.tar" basedir="dist_tmp"/> <delete dir="dist_tmp" quiet="true"/> <gzip src="jcifs-${version}.tar" zipfile="jcifs-${version}.tgz"/> <delete file="jcifs-${version}.tar" quiet="true"/> </target> <target name="checksum"> <checksum file="jcifs-${version}.zip"/> <checksum file="jcifs-${version}.tgz"/> </target> <target name="docs"> <style basedir="docs" destdir="docs" extension=".html" style="plain.xsl" includes="pipes.xml,faq.xml,wins.xml,capture.xml,httpclient.xml,resolver.xml,authhandler.xml,ntlmhttpauth.xml"> <param name="date" expression="${reldate}"/> <param name="lib" expression="jcifs-${version}"/> <param name="title" expression="JCIFS"/> <param name="copyright" expression="The JCIFS Project"/> <param name="edge" expression="#808080"/> <param name="mainpane" expression="#ffffff"/> <param name="leftpane" expression="#FFD700"/> <param name="middlepane" expression="#ffffff"/> <param name="footer" expression="#808080"/> <param name="text1" expression="#000000"/> <param name="text2" expression="#000080"/> </style> <style basedir="docs" destdir="docs" extension=".html" style="proj.xsl" includes="index.xml"> <param name="date" expression="${reldate}"/> <param name="lib" expression="jcifs-${version}"/> <param name="title" expression="JCIFS"/> <param name="copyright" expression="The JCIFS Project"/> <param name="edge" expression="#808080"/> <param name="mainpane" expression="#ffffff"/> <param name="leftpane" expression="#e0e0FF"/> <param name="middlepane" expression="#ffffff"/> <param name="footer" expression="#808080"/> <param name="text1" expression="#000000"/> <param name="text2" expression="#000080"/> </style> </target> </project>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy