Update of /cvsroot/displaytag/display09
In directory sc8-pr-cvs1:/tmp/cvs-serv18251
Added Files:
build.properties build.xml
Log Message:
Initial entry.
--- NEW FILE: build.properties ---
# COMPILATION PROPERTIES
# For JDK 1.1/1.2, classic is the default. For JDK 1.3/1.4, modern is the default.
# If you wish to use a different compiler interface than those supplied, write a class
# that implements the CompilerAdapter interface (package
org.apache.tools.ant.taskdefs.compilers).
# Supply the full classname in the "build.compiler" property.
# If you have jikes available on the classpath, put 'jikes' here. Jikes compiles much
faster!
build.compiler = modern
# Directs the compiler to try to generate faster code by inlining static, final and
private methods.
# This option may slow down compilation, make larger class files, and/or make it
difficult to debug.
# This option informs the compiler that all generated class files are guaranteed to be
delivered and
# upgraded as a unit, enabling optimizations that may otherwise break binary
compatibility.
# Use this option with discretion.
compile.optimize = off
# Starts the compiler in debugging mode.
compile.debug = on
# Indicates whether source should be compiled with deprecation information.
compile.deprecation = on
# Indicates whether -nowarn switch should be passed to the compiler.
compile.nowarn = off
# BUILD DIRECTORY PROPERTIES
lib.dir = lib
dist.dir = target
build.dir = ${dist.dir}/build
src.dir = src
java.dir = ${src.dir}
# NAMING PROPERTIES
Name = DisplayTag
name = displaytag
version = 0.9
packages=org.apache.taglibs.display
--- NEW FILE: build.xml ---
<?xml version="1.0"?>
<project name="displaytag" default="jar">
<property file="build.properties"/>
<property file="${user.home}/build.properties"/>
<property environment="env"/>
<path id="class.path">
<fileset dir="${lib.dir}">
<include name="**/*.jar"/>
</fileset>
</path>
<target name="init">
<tstamp>
<format property="TODAY" pattern="d-MM-yy"/>
</tstamp>
<mkdir dir="${build.dir}"/>
<mkdir dir="${dist.dir}"/>
</target>
<target name="prepare" depends="init">
</target>
<target name="compile" depends="prepare">
<echo>+---------------------------------------------------+</echo>
<echo>| |</echo>
<echo>| C O M P I L I N G S O U R C E S |</echo>
<echo>| |</echo>
<echo>+---------------------------------------------------+</echo>
<mkdir dir="${build.dir}/classes"/>
<javac
destdir="${build.dir}/classes"
classpathref="class.path"
debug="${compile.debug}"
deprecation="${compile.deprecation}"
optimize="${compile.optimize}"
nowarn="${compile.nowarn}"
>
<src path="${java.dir}"/>
</javac>
</target>
<target name="jar" depends="compile">
<echo>+--------------------------------------------------------------------+</echo>
<echo>|
|</echo>
<echo>| P A C K A G I N G J A R
|</echo>
<echo>|
|</echo>
<echo>+--------------------------------------------------------------------+</echo>
<jar destfile="${dist.dir}/${name}.jar">
<fileset dir="${build.dir}/classes"/>
</jar>
</target>
<target name="clean">
<delete dir="${dist.dir}"/>
</target>
</project>
-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
displaytag-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/displaytag-devel