Permalink
Browse files

Moved to CSSEmbed repo

  • Loading branch information...
1 parent 2e2f81c commit 0f99528b945e5db9418967dd1713265ed205893e Nicholas C. Zakas committed Dec 7, 2009
View
36 README
@@ -8,37 +8,5 @@ Copyright (c) 2009 Nicholas C. Zakas. All rights reserved.
DataURI is a small program/library to make creation of data URIs for web
content quick and easy.
--------------------------------------------------------------------------------
- Usage
--------------------------------------------------------------------------------
-
-Usage: java -jar datauri-x.y.z.jar [options] [input files]
-
-Global Options
- -h, --help Displays this information.
- --charset <charset> Character set to encode into the data URI.
- -v, --verbose Display informational messages and warnings.
- -m, --mime <type> Mime type to encode into the data URI.
- -o <file> Place the output into <file>. Defaults to stdout.
-
--------------------------------------------------------------------------------
- License
--------------------------------------------------------------------------------
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
+Source code can now be found within the CSSEmbed project:
+http://github.com/nzakas/cssembed
View
@@ -1,11 +0,0 @@
-src.dir = src
-lib.dir = lib
-doc.dir = doc
-build.dir = build
-product.name = datauri
-version.number = 0.2.1
-jar.name = ${product.name}-${version.number}.jar
-core.jar.name = ${product.name}-core-${version.number}.jar
-dist.package.name = ${product.name}-${version.number}
-class.version = 1.5
-main.class = net.nczonline.web.datauri.DataURI
View
@@ -1,79 +0,0 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<project name="DataURI" default="build.jar" basedir=".">
-
- <target name="clean" depends="-load.properties">
- <delete dir="${build.dir}" quiet="true"/>
- </target>
-
- <target name="-load.properties">
- <property file="ant.properties"/>
- </target>
-
- <target name="-init" depends="-load.properties">
- <mkdir dir="${build.dir}"/>
- </target>
-
- <target name="build.classes" depends="-init">
- <mkdir dir="${build.dir}/classes"/>
- <javac srcdir="${src.dir}"
- destdir="${build.dir}/classes"
- includes="**/*.java"
- deprecation="off"
- debug="on"
- target="${class.version}"
- source="${class.version}">
- <classpath>
- <pathelement location="${lib.dir}/jargs-1.0.jar"/>
- </classpath>
- </javac>
- </target>
-
- <target name="build.jar" depends="build.classes">
- <mkdir dir="${build.dir}/jar"/>
- <unjar src="${lib.dir}/jargs-1.0.jar" dest="${build.dir}/jar"/>
- <copy todir="${build.dir}/jar">
- <fileset dir="${build.dir}/classes" includes="**/*.class"/>
- </copy>
- <jar destfile="${build.dir}/${jar.name}" basedir="${build.dir}/jar">
- <manifest>
- <attribute name="Main-Class" value="${main.class}"/>
- </manifest>
- </jar>
- </target>
-
- <!-- make sure to run "clean" before this if you've already run build.jar -->
- <target name="build.core.jar" depends="build.classes">
- <mkdir dir="${build.dir}/core-jar"/>
- <copy todir="${build.dir}/core-jar">
- <fileset dir="${build.dir}/classes" includes="**/*.class"/>
- </copy>
- <jar destfile="${build.dir}/${core.jar.name}" basedir="${build.dir}/core-jar">
- <manifest>
- <attribute name="Main-Class" value="${main.class}"/>
- </manifest>
- </jar>
- </target>
-
- <!-- build all jars -->
- <target name="build.all.jars" depends="clean,build.core.jar,build.jar"></target>
-
- <target name="build.dist.package" depends="build.jar">
- <mkdir dir="${build.dir}/${dist.package.name}"/>
- <mkdir dir="${build.dir}/${dist.package.name}/build"/>
- <copy file="${build.dir}/${jar.name}" todir="${build.dir}/${dist.package.name}/build"/>
- <copy todir="${build.dir}/${dist.package.name}">
- <fileset dir=".">
- <include name="ant.properties"/>
- <include name="build.xml"/>
- <include name="doc/**/*"/>
- <include name="lib/**/*"/>
- <include name="src/**/*"/>
- <exclude name="**/.git"/>
- </fileset>
- </copy>
- <zip destfile="${build.dir}/${dist.package.name}.zip"
- basedir="${build.dir}"
- includes="${dist.package.name}/**/*"/>
- </target>
-
-</project>
View
Binary file not shown.
Oops, something went wrong.

0 comments on commit 0f99528

Please sign in to comment.