[Japi-cvs] SF.net SVN: japi: [411] libs/lang/trunk
Status: Beta
Brought to you by:
christianhujer
|
From: <chr...@us...> - 2007-06-14 20:44:50
|
Revision: 411
http://svn.sourceforge.net/japi/?rev=411&view=rev
Author: christianhujer
Date: 2007-06-14 13:44:48 -0700 (Thu, 14 Jun 2007)
Log Message:
-----------
Updated lang build to use new common build.
Modified Paths:
--------------
libs/lang/trunk/build.xml
Added Paths:
-----------
libs/lang/trunk/module.properties
Modified: libs/lang/trunk/build.xml
===================================================================
--- libs/lang/trunk/build.xml 2007-06-14 20:36:33 UTC (rev 410)
+++ libs/lang/trunk/build.xml 2007-06-14 20:44:48 UTC (rev 411)
@@ -17,182 +17,11 @@
~ License along with this library; if not, write to the Free Software
~ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
-->
-
+<!DOCTYPE project [
+ <!ENTITY commonBuild SYSTEM "common/commonBuild.xml">
+]>
<project name="japi lib lang" default="compile">
- <property name="module.version" value="0.1" />
- <property name="module.name" value="japi-lib-lang" />
- <property name="module.shortname" value="lang" />
- <property name="module.title" value="Lang Extensions" />
+ &commonBuild;
- <taskdef name="pack200" classpath="lib/Pack200Task.jar" classname="com.sun.tools.apache.ant.pack200.Pack200Task" />
-
- <target
- name = "clean"
- description = "Cleans Sandbox"
- >
- <delete dir="classes" />
- <delete dir="dist" />
- <delete dir="docs" />
- </target>
-
- <target
- name = "compile"
- description = "Compiles production classes"
- >
- <mkdir dir="classes/production/${module.shortname}" />
- <mkdir dir="classes/test/${module.shortname}" />
- <javac
- srcdir="src"
- destdir="classes/production/${module.shortname}"
- encoding="utf-8"
- source="1.5"
- target="1.5"
- >
- <classpath>
- <fileset dir="lib" includes="*.jar" excludes="LICENSE-*.jar" />
- </classpath>
- <exclude name="test/**/*.java" />
- </javac>
- <copy
- todir="classes/production/${module.shortname}"
- >
- <fileset dir="src" includes="**/*.properties" excludes="test/**/*.properties" />
- <fileset dir="src" includes="META-INF/services/**" />
- </copy>
- </target>
-
- <target
- name = "dist"
- description = "Packs distribution archives."
- depends = "clean, compile"
- >
- <!--depends = "clean, compile, doc"
- -->
- <delete dir="dist" />
- <mkdir dir="dist" />
- <property name="distName" value="dist/${module.name}-${module.version}" />
- <parallel>
- <tar tarfile="${distName}.src.tar">
- <tarfileset dir="." prefix="${module.name}-${module.version}">
- <include name="src/**" />
- <include name="build.xml" />
- </tarfileset>
- </tar>
- <zip destfile="${distName}.src.zip">
- <zipfileset dir="." prefix="${module.name}-${module.version}">
- <include name="src/**" />
- <include name="build.xml" />
- </zipfileset>
- </zip>
- <jar destfile="${distName}.src.jar">
- <zipfileset dir="." prefix="${module.name}-${module.version}">
- <include name="src/**" />
- <include name="build.xml" />
- </zipfileset>
- </jar>
- <jar destfile="${distName}.jar">
- <zipfileset dir="classes/production/${module.shortname}" />
- <manifest>
- <attribute name="Implementation-Title" value="${module.name}" />
- <attribute name="Implementation-Vendor" value="Christian Hujer + the JAPI Developers" />
- <attribute name="Implementation-Version" value="${module.version}" />
- <attribute name="Implementation-URL" value="http://sourceforge.net/projects/japi/" />
- </manifest>
- </jar>
- <tar tarfile="${distName}.doc.tar">
- <tarfileset dir="." prefix="${module.name}-${module.version}">
- <include name="docs/**" />
- <include name="build.xml" />
- </tarfileset>
- </tar>
- <zip destfile="${distName}.doc.zip">
- <zipfileset dir="." prefix="${module.name}-${module.version}">
- <include name="docs/**" />
- <include name="build.xml" />
- </zipfileset>
- </zip>
- <jar destfile="${distName}.doc.jar">
- <zipfileset dir="." prefix="${module.name}-${module.version}">
- <include name="docs/**" />
- </zipfileset>
- </jar>
- </parallel>
- <parallel>
- <gzip src="${distName}.src.tar" destfile="${distName}.src.tar.gz" />
- <bzip2 src="${distName}.src.tar" destfile="${distName}.src.tar.bz2" />
- <gzip src="${distName}.doc.tar" destfile="${distName}.doc.tar.gz" />
- <bzip2 src="${distName}.doc.tar" destfile="${distName}.doc.tar.bz2" />
- <pack200
- src="${distName}.jar"
- destfile="${distName}.pack.gz"
- gzipoutput="true"
- stripdebug="true"
- effort="9"
- keepfileorder="false"
- modificationtime="latest"
- deflatehint="false"
- />
- </parallel>
- <delete file="${distName}.src.tar" />
- <delete file="${distName}.doc.tar" />
- </target>
-
- <target
- name = "doc"
- description = "Creates public javadoc documentation."
- >
- <mkdir dir="docs/api" />
- <!--copy todir="docs/api" file="src/doc/api/public/copyright.html" />
- <copy todir="docs/api" file="src/doc/api/public/.htaccess" /-->
- <javadoc
- destdir = "docs/api"
- access = "protected"
- author = "yes"
- version = "yes"
- locale = "en_US"
- use = "yes"
- splitindex = "yes"
- windowtitle = "JAPI Library ${module.title} ${module.version} API documentation"
- doctitle = "JAPI<br />Yet another Java API<br />Library ${module.title} ${module.version} API documentation"
- header = "JAPI Library ${module.title} ${module.version}<br />API Documentation"
- footer = "JAPI<br />Yet another Java API<br />Library ${module.title} ${module.version} API documentation"
- bottom = "<div style=" text-align:center;">© 2005-2007 Christian Hujer. All rights reserved. See <a href="{@docRoot}/copyright.html">copyright</a></div>"
- serialwarn = "yes"
- charset = "utf-8"
- docencoding = "utf-8"
- encoding = "utf-8"
- source = "1.5"
- linksource = "yes"
- link = "${user.javadoc.link}"
- >
- <!--
- overview = "src/overview.html"
- -->
- <classpath>
- <fileset dir="lib" includes="annotations.jar" />
- </classpath>
- <sourcepath>
- <pathelement path="${user.javadoc.javasrc}" />
- <pathelement path="src" />
- </sourcepath>
- <packageset
- dir="src"
- defaultexcludes="yes"
- >
- <include name="net/**" />
- </packageset>
- <tag enabled="true" name="retval" description="Return Values:" scope="methods" />
- <tag enabled="true" name="pre" description="Preconditions:" scope="methods,constructors" />
- <tag enabled="true" name="post" description="Postconditions:" scope="methods" />
- <tag enabled="true" name="invariant" description="Invariant:" scope="methods,fields" />
- <tag enabled="true" name="note" description="Notes:" />
- <tag enabled="true" name="warning" description="Warnings:" />
- <!--tag enabled="true" name="todo" description="Todo:" /-->
- <taglet name="com.sun.tools.doclets.ToDoTaglet" path="" />
- <tag enabled="true" name="fixme" description="Fixme:" />
- <tag enabled="true" name="xxx" description="XXX:" />
- </javadoc>
- </target>
-
</project>
Added: libs/lang/trunk/module.properties
===================================================================
--- libs/lang/trunk/module.properties (rev 0)
+++ libs/lang/trunk/module.properties 2007-06-14 20:44:48 UTC (rev 411)
@@ -0,0 +1,24 @@
+#
+# JAPI libs-lang is a library that contains some useful classes regarding java.lang.
+# Copyright (C) 2007 Christian Hujer.
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+#
+
+update.focus=none
+module.version=trunk
+module.name=japi-lib-lang
+module.shortname=lang
+module.title=Lang
Property changes on: libs/lang/trunk/module.properties
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ LF
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|