Thread: [Japi-cvs] SF.net SVN: japi: [349] common/trunk/commonBuild.xml
Status: Beta
Brought to you by:
christianhujer
From: <chr...@us...> - 2007-05-19 12:34:15
|
Revision: 349 http://svn.sourceforge.net/japi/?rev=349&view=rev Author: christianhujer Date: 2007-05-19 05:34:12 -0700 (Sat, 19 May 2007) Log Message: ----------- Added commonBuild.xml to unify the build of the different JAPI modules. Added Paths: ----------- common/trunk/commonBuild.xml Added: common/trunk/commonBuild.xml =================================================================== --- common/trunk/commonBuild.xml (rev 0) +++ common/trunk/commonBuild.xml 2007-05-19 12:34:12 UTC (rev 349) @@ -0,0 +1,155 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- vim:set filetype=ant: --> +<!-- + ~ Common build.xml for use in multiple projects. + ~ + ~ @author <a href="mailto:ch...@ri...">Christian Hujer</a> + --> +<target name="compile" description="Compiles this module."> + <property name="javaversion" value="1.5" /> + <mkdir dir="classes/production/${module.shortname}" /> + <mkdir dir="classes/test/${module.shortname}" /> + <javac + srcdir="src" + destdir="classes/production/${module.shortname}" + encoding="utf-8" + source="${javaversion}" + target="${javaversion}" + debug="yes" + > + <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="Creates distribution archives."> + <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,README,INSTALL,COPYING" /> + <!-- TODO --> + </tarfileset> + </tar> + <zip destfile="${distName}.src.zip"> + <zipfileset dir="." prefix="${module.name}-${module.version}"> + <include name="src/**" /> + <include name="build.xml,README,INSTALL,COPYING" /> + <!-- TODO --> + </zipfileset> + </zip> + <jar destfile="${distName}.src.jar"> + <zipfileset dir="." prefix="${module.name}-${module.version}"> + <include name="src/**" /> + <include name="build.xml,README,INSTALL,COPYING" /> + <!-- TODO --> + </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="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/**" /> + </tarfileset> + </tar> + <zip destfile="${distName}.doc.zip"> + <zipfileset dir="." prefix="${module.name}-${module.version}"> + <include name="docs/**" /> + </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 API documentation" +> + <mkdir dir="docs/api" /> + <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}" + > + <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> Property changes on: common/trunk/commonBuild.xml ___________________________________________________________________ Name: svn:mime-type + text/xml Name: svn:eol-style + LF This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2007-06-07 11:50:20
|
Revision: 355 http://svn.sourceforge.net/japi/?rev=355&view=rev Author: christianhujer Date: 2007-06-07 04:50:18 -0700 (Thu, 07 Jun 2007) Log Message: ----------- Quickfix for classpath issue. Added doc to dist depends list. Modified Paths: -------------- common/trunk/commonBuild.xml Modified: common/trunk/commonBuild.xml =================================================================== --- common/trunk/commonBuild.xml 2007-06-07 11:16:20 UTC (rev 354) +++ common/trunk/commonBuild.xml 2007-06-07 11:50:18 UTC (rev 355) @@ -30,6 +30,7 @@ > <classpath> <fileset dir="lib" includes="*.jar" excludes="LICENSE-*.jar" /> + <fileset dir="common/lib" includes="*.jar" excludes="LICENSE-*.jar" /> </classpath> <exclude name="test/**/*.java" /> </javac> @@ -44,7 +45,7 @@ <target name = "dist" description = "Creates and packs distribution archives." - depends = "clean, compile" + depends = "clean, compile, doc" > <delete dir="dist" /> <mkdir dir="dist" /> @@ -146,7 +147,8 @@ overview = "src/overview.html" --> <classpath> - <fileset dir="lib" includes="annotations.jar" /> + <fileset dir="lib" includes="*.jar" excludes="LICENSE-*.jar" /> + <fileset dir="common/lib" includes="*.jar" excludes="LICENSE-*.jar" /> </classpath> <sourcepath> <pathelement path="${user.javadoc.javasrc}" /> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2007-06-13 19:51:42
|
Revision: 398 http://svn.sourceforge.net/japi/?rev=398&view=rev Author: christianhujer Date: 2007-06-13 12:51:35 -0700 (Wed, 13 Jun 2007) Log Message: ----------- Added freshmeat announce. Restructured properties. Modified Paths: -------------- common/trunk/commonBuild.xml Modified: common/trunk/commonBuild.xml =================================================================== --- common/trunk/commonBuild.xml 2007-06-13 19:33:57 UTC (rev 397) +++ common/trunk/commonBuild.xml 2007-06-13 19:51:35 UTC (rev 398) @@ -5,6 +5,12 @@ ~ ~ @author <a href="mailto:ch...@ri...">Christian Hujer</a> --> + +<property file="../module.properties" /> +<property file="../developer.properties" /> +<property name="distName" value="${module.name}-${module.version}" /> +<property name="distPath" value="dist/${distName}" /> + <taskdef name="pack200" classpath="common/antlib/Pack200Task.jar" classname="com.sun.tools.apache.ant.pack200.Pack200Task" /> <taskdef name="freshmeat" classpath="common/antlib/antmeat.jar" classname="de.frewert.ant.freshmeat.Announcement" /> @@ -50,30 +56,29 @@ > <delete dir="dist" /> <mkdir dir="dist" /> - <property name="distName" value="dist/${module.name}-${module.version}" /> <parallel> - <tar tarfile="${distName}.src.tar"> + <tar tarfile="${distPath}.src.tar"> <tarfileset dir="." prefix="${module.name}-${module.version}"> <include name="src/**" /> <include name="build.xml,README,INSTALL,COPYING" /> <!-- TODO --> </tarfileset> </tar> - <zip destfile="${distName}.src.zip"> + <zip destfile="${distPath}.src.zip"> <zipfileset dir="." prefix="${module.name}-${module.version}"> <include name="src/**" /> <include name="build.xml,README,INSTALL,COPYING" /> <!-- TODO --> </zipfileset> </zip> - <jar destfile="${distName}.src.jar"> + <jar destfile="${distPath}.src.jar"> <zipfileset dir="." prefix="${module.name}-${module.version}"> <include name="src/**" /> <include name="build.xml,README,INSTALL,COPYING" /> <!-- TODO --> </zipfileset> </jar> - <jar destfile="${distName}.jar"> + <jar destfile="${distPath}.jar"> <zipfileset dir="classes/production/${module.shortname}" /> <manifest> <attribute name="Implementation-Title" value="${module.name}" /> @@ -82,30 +87,30 @@ <attribute name="Implementation-URL" value="http://sourceforge.net/projects/japi/" /> </manifest> </jar> - <tar tarfile="${distName}.doc.tar"> + <tar tarfile="${distPath}.doc.tar"> <tarfileset dir="." prefix="${module.name}-${module.version}"> <include name="docs/**" /> </tarfileset> </tar> - <zip destfile="${distName}.doc.zip"> + <zip destfile="${distPath}.doc.zip"> <zipfileset dir="." prefix="${module.name}-${module.version}"> <include name="docs/**" /> </zipfileset> </zip> - <jar destfile="${distName}.doc.jar"> + <jar destfile="${distPath}.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" /> + <gzip src="${distPath}.src.tar" destfile="${distPath}.src.tar.gz" /> + <bzip2 src="${distPath}.src.tar" destfile="${distPath}.src.tar.bz2" /> + <gzip src="${distPath}.doc.tar" destfile="${distPath}.doc.tar.gz" /> + <bzip2 src="${distPath}.doc.tar" destfile="${distPath}.doc.tar.bz2" /> <pack200 - src="${distName}.jar" - destfile="${distName}.pack.gz" + src="${distPath}.jar" + destfile="${distPath}.pack.gz" gzipoutput="true" stripdebug="true" effort="9" @@ -114,8 +119,8 @@ deflatehint="false" /> </parallel> - <delete file="${distName}.src.tar" /> - <delete file="${distName}.doc.tar" /> + <delete file="${distPath}.src.tar" /> + <delete file="${distPath}.doc.tar" /> </target> <target @@ -174,3 +179,36 @@ <tag enabled="true" name="xxx" description="XXX:" /> </javadoc> </target> + +<target + name = "announce" + description = "announce new version on freshmeat.net" +> + <echo>Announcing. Press return to start announcing this release at FreshMeat.</echo> + <input /> + <echo><![CDATA[ + <freshmeat + username = "${user.freshmeat.username}" + password = "${user.freshmeat.password}" + > + <printlicenses/> + <printreleasefoci/> + <publish + projectname = "japi" + branchname = "Default" + version = "${module.version}" + focus = "${update.focus}" + > + <changes file="LatestNews" /> + <urlblock + homepage = "http://japi.sourceforge.net/" + cvs = "http://cvs.sourceforge.net/viewcvs.py/japi/" + mailinglist = "http://sourceforge.net/mailarchive/forum.php?forum=japi-users" + tgz = "http://prdownloads.sourceforge.net/japi/${distName}.src.tar.gz?download" + bz2 = "http://prdownloads.sourceforge.net/japi/${distName}.src.tar.bz2?download" + zip = "http://prdownloads.sourceforge.net/japi/${distName}.src.zip?download" + /> + </publish> + </freshmeat> + ]]></echo> +</target> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2007-06-13 19:53:47
|
Revision: 400 http://svn.sourceforge.net/japi/?rev=400&view=rev Author: christianhujer Date: 2007-06-13 12:53:43 -0700 (Wed, 13 Jun 2007) Log Message: ----------- Fixed bug with properties paths. Modified Paths: -------------- common/trunk/commonBuild.xml Modified: common/trunk/commonBuild.xml =================================================================== --- common/trunk/commonBuild.xml 2007-06-13 19:53:09 UTC (rev 399) +++ common/trunk/commonBuild.xml 2007-06-13 19:53:43 UTC (rev 400) @@ -6,8 +6,8 @@ ~ @author <a href="mailto:ch...@ri...">Christian Hujer</a> --> -<property file="../module.properties" /> -<property file="../developer.properties" /> +<property file="module.properties" /> +<property file="developer.properties" /> <property name="distName" value="${module.name}-${module.version}" /> <property name="distPath" value="dist/${distName}" /> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2007-06-13 20:56:26
|
Revision: 406 http://svn.sourceforge.net/japi/?rev=406&view=rev Author: christianhujer Date: 2007-06-13 13:56:24 -0700 (Wed, 13 Jun 2007) Log Message: ----------- Parametrized common path. Modified Paths: -------------- common/trunk/commonBuild.xml Modified: common/trunk/commonBuild.xml =================================================================== --- common/trunk/commonBuild.xml 2007-06-13 20:45:26 UTC (rev 405) +++ common/trunk/commonBuild.xml 2007-06-13 20:56:24 UTC (rev 406) @@ -10,9 +10,10 @@ <property file="developer.properties" /> <property name="distName" value="${module.name}-${module.version}" /> <property name="distPath" value="dist/${distName}" /> +<property name="commonPath" value="common" /> -<taskdef name="pack200" classpath="common/antlib/Pack200Task.jar" classname="com.sun.tools.apache.ant.pack200.Pack200Task" /> -<taskdef name="freshmeat" classpath="common/antlib/antmeat.jar" classname="de.frewert.ant.freshmeat.Announcement" /> +<taskdef name="pack200" classpath="${commonPath}/antlib/Pack200Task.jar" classname="com.sun.tools.apache.ant.pack200.Pack200Task" /> +<taskdef name="freshmeat" classpath="${commonPath}/antlib/antmeat.jar" classname="de.frewert.ant.freshmeat.Announcement" /> <target name = "clean" @@ -37,7 +38,7 @@ > <classpath> <fileset dir="lib" includes="*.jar" excludes="LICENSE-*.jar" /> - <fileset dir="common/lib" includes="*.jar" excludes="LICENSE-*.jar" /> + <fileset dir="${commonPath}/lib" includes="*.jar" excludes="LICENSE-*.jar" /> </classpath> <exclude name="test/**/*.java" /> </javac> @@ -154,7 +155,7 @@ --> <classpath> <fileset dir="lib" includes="*.jar" excludes="LICENSE-*.jar" /> - <fileset dir="common/lib" includes="*.jar" excludes="LICENSE-*.jar" /> + <fileset dir="${commonPath}/lib" includes="*.jar" excludes="LICENSE-*.jar" /> </classpath> <sourcepath> <pathelement path="${user.javadoc.javasrc}" /> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2007-06-13 21:11:48
|
Revision: 407 http://svn.sourceforge.net/japi/?rev=407&view=rev Author: christianhujer Date: 2007-06-13 14:11:47 -0700 (Wed, 13 Jun 2007) Log Message: ----------- Made moule name = branch name. Modified Paths: -------------- common/trunk/commonBuild.xml Modified: common/trunk/commonBuild.xml =================================================================== --- common/trunk/commonBuild.xml 2007-06-13 20:56:24 UTC (rev 406) +++ common/trunk/commonBuild.xml 2007-06-13 21:11:47 UTC (rev 407) @@ -196,7 +196,7 @@ <printreleasefoci/> <publish projectname = "japi" - branchname = "Default" + branchname = "${module.name}" version = "${module.version}" focus = "${update.focus}" > This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2007-06-14 20:04:15
|
Revision: 408 http://svn.sourceforge.net/japi/?rev=408&view=rev Author: christianhujer Date: 2007-06-14 13:04:11 -0700 (Thu, 14 Jun 2007) Log Message: ----------- Improved classpath handling. Modified Paths: -------------- common/trunk/commonBuild.xml Modified: common/trunk/commonBuild.xml =================================================================== --- common/trunk/commonBuild.xml 2007-06-13 21:11:47 UTC (rev 407) +++ common/trunk/commonBuild.xml 2007-06-14 20:04:11 UTC (rev 408) @@ -12,6 +12,11 @@ <property name="distPath" value="dist/${distName}" /> <property name="commonPath" value="common" /> +<path id="class.path"> + <fileset dir="." includes="lib/*.jar" excludes="lib/LICENSE-*.jar" /> + <fileset dir="${commonPath}" includes="lib/*.jar" excludes="lib/LICENSE-*.jar" /> +</path> + <taskdef name="pack200" classpath="${commonPath}/antlib/Pack200Task.jar" classname="com.sun.tools.apache.ant.pack200.Pack200Task" /> <taskdef name="freshmeat" classpath="${commonPath}/antlib/antmeat.jar" classname="de.frewert.ant.freshmeat.Announcement" /> @@ -36,10 +41,7 @@ target="${javaversion}" debug="yes" > - <classpath> - <fileset dir="lib" includes="*.jar" excludes="LICENSE-*.jar" /> - <fileset dir="${commonPath}/lib" includes="*.jar" excludes="LICENSE-*.jar" /> - </classpath> + <classpath refid="class.path" /> <exclude name="test/**/*.java" /> </javac> <copy @@ -153,10 +155,7 @@ <!-- overview = "src/overview.html" --> - <classpath> - <fileset dir="lib" includes="*.jar" excludes="LICENSE-*.jar" /> - <fileset dir="${commonPath}/lib" includes="*.jar" excludes="LICENSE-*.jar" /> - </classpath> + <classpath refid="class.path" /> <sourcepath> <pathelement path="${user.javadoc.javasrc}" /> <pathelement path="src" /> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2007-06-25 13:41:55
|
Revision: 430 http://svn.sourceforge.net/japi/?rev=430&view=rev Author: christianhujer Date: 2007-06-25 06:41:54 -0700 (Mon, 25 Jun 2007) Log Message: ----------- Added properties files to the files that are checked with checkstyle. Modified Paths: -------------- common/trunk/commonBuild.xml Modified: common/trunk/commonBuild.xml =================================================================== --- common/trunk/commonBuild.xml 2007-06-25 12:46:45 UTC (rev 429) +++ common/trunk/commonBuild.xml 2007-06-25 13:41:54 UTC (rev 430) @@ -57,7 +57,7 @@ <checkstyle config="${commonPath}/sun_checks.xml" > - <fileset dir="src" includes="**/*.java" /> + <fileset dir="src" includes="**/*.java,**/*.properties" /> </checkstyle> </target> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2007-06-30 17:13:53
|
Revision: 483 http://svn.sourceforge.net/japi/?rev=483&view=rev Author: christianhujer Date: 2007-06-30 10:13:52 -0700 (Sat, 30 Jun 2007) Log Message: ----------- Added missing file to dist src include list. Modified Paths: -------------- common/trunk/commonBuild.xml Modified: common/trunk/commonBuild.xml =================================================================== --- common/trunk/commonBuild.xml 2007-06-30 17:12:40 UTC (rev 482) +++ common/trunk/commonBuild.xml 2007-06-30 17:13:52 UTC (rev 483) @@ -124,21 +124,33 @@ <tar tarfile="${distPath}.src.tar"> <tarfileset dir="." prefix="${module.name}-${module.version}"> <include name="src/**" /> - <include name="build.xml,README,INSTALL,COPYING" /> + <include name="common/**" /> + <include name="devlib/**" /> + <include name="lib/**" /> + <include name="*.iml,build.xml,module.properties" /> + <include name="CHANGES,COPYING,CREDITS,INSTALL,LICENSE,MAINTAINERS,NEWS,README" /> <!-- TODO --> </tarfileset> </tar> <zip destfile="${distPath}.src.zip"> <zipfileset dir="." prefix="${module.name}-${module.version}"> <include name="src/**" /> - <include name="build.xml,README,INSTALL,COPYING" /> + <include name="common/**" /> + <include name="devlib/**" /> + <include name="lib/**" /> + <include name="*.iml,build.xml,module.properties" /> + <include name="CHANGES,COPYING,CREDITS,INSTALL,LICENSE,MAINTAINERS,NEWS,README" /> <!-- TODO --> </zipfileset> </zip> <jar destfile="${distPath}.src.jar"> <zipfileset dir="." prefix="${module.name}-${module.version}"> <include name="src/**" /> - <include name="build.xml,README,INSTALL,COPYING" /> + <include name="common/**" /> + <include name="devlib/**" /> + <include name="lib/**" /> + <include name="*.iml,build.xml,module.properties" /> + <include name="CHANGES,COPYING,CREDITS,INSTALL,LICENSE,MAINTAINERS,NEWS,README" /> <!-- TODO --> </zipfileset> </jar> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2007-07-05 20:48:24
|
Revision: 499 http://svn.sourceforge.net/japi/?rev=499&view=rev Author: christianhujer Date: 2007-07-05 13:48:04 -0700 (Thu, 05 Jul 2007) Log Message: ----------- [ 1748267 ] missing ant target for performing unit tests Modified Paths: -------------- common/trunk/commonBuild.xml Modified: common/trunk/commonBuild.xml =================================================================== --- common/trunk/commonBuild.xml 2007-07-05 20:07:53 UTC (rev 498) +++ common/trunk/commonBuild.xml 2007-07-05 20:48:04 UTC (rev 499) @@ -11,6 +11,7 @@ <property name="distName" value="${module.name}-${module.version}" /> <property name="distPath" value="dist/${distName}" /> <property name="commonPath" value="common" /> +<property name="javaversion" value="1.5" /> <path id="class.path"> <fileset dir="." includes="lib/*.jar" excludes="lib/LICENSE-*.jar" /> @@ -31,9 +32,7 @@ </target> <target name="compile" description="Compiles this module."> - <property name="javaversion" value="1.5" /> <mkdir dir="classes/production/${module.shortname}" /> - <mkdir dir="classes/test/${module.shortname}" /> <javac srcdir="src" destdir="classes/production/${module.shortname}" @@ -44,6 +43,8 @@ > <classpath refid="class.path" /> <exclude name="test/**/*.java" /> + <exclude name="doc/**/*.java" /> + <exclude name="**/package-info.java" /> </javac> <copy todir="classes/production/${module.shortname}" @@ -61,6 +62,48 @@ </checkstyle> </target> +<target name="test" description="Performs JUnit tests." depends="compile"> + <mkdir dir="classes/test/${module.shortname}" /> + <mkdir dir="docs/test" /> + <javac + srcdir="src" + destdir="classes/test/${module.shortname}" + encoding="utf-8" + source="${javaversion}" + target="${javaversion}" + debug="yes" + > + <classpath refid="class.path" /> + <classpath location="classes/production/${module.shortname}" /> + <include name="test/**/*.java" /> + <exclude name="**/package-info.java" /> + </javac> + <copy + todir="classes/production/${module.shortname}" + > + <fileset dir="src" includes="test/**/*.properties" /> + </copy> + <junit printsummary="yes" haltonfailure="no"> + <classpath refid="class.path" /> + <classpath location="classes/production/${module.shortname}" /> + <classpath location="classes/test/${module.shortname}" /> + <formatter type="plain" /> + <formatter type="xml" /> + <batchtest todir="docs/test"> + <fileset dir="src"> + <include name="test/**/*Test.java" /> + <exclude name="test/**/Abstract*Test.java" /> + </fileset> + </batchtest> + </junit> + <junitreport todir="docs/test"> + <fileset dir="docs/test"> + <include name="TEST-*.xml" /> + </fileset> + <report format="frames" todir="docs/test" /> + </junitreport> +</target> + <target name = "doc" description = "Creates public API documentation" This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2007-07-05 21:14:39
|
Revision: 502 http://svn.sourceforge.net/japi/?rev=502&view=rev Author: christianhujer Date: 2007-07-05 14:06:34 -0700 (Thu, 05 Jul 2007) Log Message: ----------- [ 1748270 ] ant should have a target for creating private documentation Modified Paths: -------------- common/trunk/commonBuild.xml Modified: common/trunk/commonBuild.xml =================================================================== --- common/trunk/commonBuild.xml 2007-07-05 20:59:31 UTC (rev 501) +++ common/trunk/commonBuild.xml 2007-07-05 21:06:34 UTC (rev 502) @@ -157,6 +157,57 @@ </target> <target + name = "privateDoc" + description = "Creates private documentation" +> + <mkdir dir="docs/private" /> + <javadoc + destdir = "docs/private" + access = "private" + author = "yes" + version = "yes" + locale = "en_US" + use = "yes" + splitindex = "yes" + windowtitle = "JAPI Library ${module.title} ${module.version} private documentation" + doctitle = "JAPI<br />Yet another Java API<br />Library ${module.title} ${module.version} private documentation" + header = "JAPI Library ${module.title} ${module.version}<br />private Documentation" + footer = "JAPI<br />Yet another Java API<br />Library ${module.title} ${module.version} private 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 refid="class.path" /> + <sourcepath> + <pathelement path="${user.javadoc.javasrc}" /> + <pathelement path="src" /> + </sourcepath> + <packageset + dir="src" + defaultexcludes="yes" + > + </packageset> + <taglet name="net.sf.japi.taglets.FixmeTaglet" path="${commonPath}/antlib/japi-lib-taglets-trunk.jar" /> + <taglet name="net.sf.japi.taglets.InvariantTaglet" path="${commonPath}/antlib/japi-lib-taglets-trunk.jar" /> + <taglet name="net.sf.japi.taglets.NoteTaglet" path="${commonPath}/antlib/japi-lib-taglets-trunk.jar" /> + <taglet name="net.sf.japi.taglets.PostconditionTaglet" path="${commonPath}/antlib/japi-lib-taglets-trunk.jar" /> + <taglet name="net.sf.japi.taglets.PreconditionTaglet" path="${commonPath}/antlib/japi-lib-taglets-trunk.jar" /> + <taglet name="net.sf.japi.taglets.ReturnValueTaglet" path="${commonPath}/antlib/japi-lib-taglets-trunk.jar" /> + <taglet name="net.sf.japi.taglets.TodoTaglet" path="${commonPath}/antlib/japi-lib-taglets-trunk.jar" /> + <taglet name="net.sf.japi.taglets.WarningTaglet" path="${commonPath}/antlib/japi-lib-taglets-trunk.jar" /> + <taglet name="net.sf.japi.taglets.XxxTaglet" path="${commonPath}/antlib/japi-lib-taglets-trunk.jar" /> + </javadoc> +</target> + +<target name = "dist" description = "Creates and packs distribution archives." depends = "clean, compile, doc, checkstyle, test" This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2007-07-05 21:20:12
|
Revision: 501 http://svn.sourceforge.net/japi/?rev=501&view=rev Author: christianhujer Date: 2007-07-05 13:59:31 -0700 (Thu, 05 Jul 2007) Log Message: ----------- [ 1748269 ] ant dist should run checkstyle first Modified Paths: -------------- common/trunk/commonBuild.xml Modified: common/trunk/commonBuild.xml =================================================================== --- common/trunk/commonBuild.xml 2007-07-05 20:52:11 UTC (rev 500) +++ common/trunk/commonBuild.xml 2007-07-05 20:59:31 UTC (rev 501) @@ -83,7 +83,7 @@ > <fileset dir="src" includes="test/**/*.properties" /> </copy> - <junit printsummary="yes" haltonfailure="no"> + <junit printsummary="yes" haltonfailure="yes"> <classpath refid="class.path" /> <classpath location="classes/production/${module.shortname}" /> <classpath location="classes/test/${module.shortname}" /> @@ -159,7 +159,7 @@ <target name = "dist" description = "Creates and packs distribution archives." - depends = "clean, compile, doc" + depends = "clean, compile, doc, checkstyle, test" > <delete dir="dist" /> <mkdir dir="dist" /> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2007-07-09 19:23:58
|
Revision: 523 http://svn.sourceforge.net/japi/?rev=523&view=rev Author: christianhujer Date: 2007-07-09 12:23:55 -0700 (Mon, 09 Jul 2007) Log Message: ----------- [ 1750244 ] test properties included in exe / lib jars Modified Paths: -------------- common/trunk/commonBuild.xml Modified: common/trunk/commonBuild.xml =================================================================== --- common/trunk/commonBuild.xml 2007-07-07 16:29:18 UTC (rev 522) +++ common/trunk/commonBuild.xml 2007-07-09 19:23:55 UTC (rev 523) @@ -79,7 +79,7 @@ <exclude name="**/package-info.java" /> </javac> <copy - todir="classes/production/${module.shortname}" + todir="classes/test/${module.shortname}" > <fileset dir="src" includes="test/**/*.properties" /> </copy> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2007-07-09 19:27:07
|
Revision: 524 http://svn.sourceforge.net/japi/?rev=524&view=rev Author: christianhujer Date: 2007-07-09 12:27:05 -0700 (Mon, 09 Jul 2007) Log Message: ----------- Removed warnings about long file names when creating distribution tar. Resulting tar can be read with gnu tar only anyway. Modified Paths: -------------- common/trunk/commonBuild.xml Modified: common/trunk/commonBuild.xml =================================================================== --- common/trunk/commonBuild.xml 2007-07-09 19:23:55 UTC (rev 523) +++ common/trunk/commonBuild.xml 2007-07-09 19:27:05 UTC (rev 524) @@ -215,7 +215,7 @@ <delete dir="dist" /> <mkdir dir="dist" /> <parallel> - <tar tarfile="${distPath}.src.tar"> + <tar tarfile="${distPath}.src.tar" longfile="gnu"> <tarfileset dir="." prefix="${module.name}-${module.version}"> <include name="src/**" /> <include name="common/**" /> @@ -257,7 +257,7 @@ <attribute name="Implementation-URL" value="http://sourceforge.net/projects/japi/" /> </manifest> </jar> - <tar tarfile="${distPath}.doc.tar"> + <tar tarfile="${distPath}.doc.tar" longfile="gnu"> <tarfileset dir="." prefix="${module.name}-${module.version}"> <include name="docs/**" /> </tarfileset> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2007-07-09 21:36:59
|
Revision: 528 http://svn.sourceforge.net/japi/?rev=528&view=rev Author: christianhujer Date: 2007-07-09 14:36:57 -0700 (Mon, 09 Jul 2007) Log Message: ----------- Sorted items alphabetically. Introduced new all target that should replace compile with most callers. Modified Paths: -------------- common/trunk/commonBuild.xml Modified: common/trunk/commonBuild.xml =================================================================== --- common/trunk/commonBuild.xml 2007-07-09 21:28:03 UTC (rev 527) +++ common/trunk/commonBuild.xml 2007-07-09 21:36:57 UTC (rev 528) @@ -3,14 +3,19 @@ <!-- ~ Common build.xml for use in multiple projects. ~ + ~ Note: + ~ Taskdefs and targets are sorted alphabetically. + ~ Properties are also sorted alphabetically unless they depend on each other. + ~ ~ @author <a href="mailto:ch...@ri...">Christian Hujer</a> --> +<property file="developer.properties" /> <property file="module.properties" /> -<property file="developer.properties" /> + +<property name="commonPath" value="common" /> <property name="distName" value="${module.name}-${module.version}" /> <property name="distPath" value="dist/${distName}" /> -<property name="commonPath" value="common" /> <property name="javaversion" value="1.5" /> <path id="class.path"> @@ -18,11 +23,60 @@ <fileset dir="${commonPath}" includes="lib/*.jar" excludes="lib/LICENSE-*.jar" /> </path> +<taskdef classpath="${commonPath}/antlib/checkstyle-all-4.3.jar" resource="checkstyletask.properties" /> +<taskdef name="freshmeat" classpath="${commonPath}/antlib/antmeat.jar" classname="de.frewert.ant.freshmeat.Announcement" /> <taskdef name="pack200" classpath="${commonPath}/antlib/Pack200Task.jar" classname="com.sun.tools.apache.ant.pack200.Pack200Task" /> -<taskdef name="freshmeat" classpath="${commonPath}/antlib/antmeat.jar" classname="de.frewert.ant.freshmeat.Announcement" /> -<taskdef classpath="${commonPath}/antlib/checkstyle-all-4.3.jar" resource="checkstyletask.properties" /> +<!-- targets are sorted alphabetically. --> + <target + name = "all" + description = "incrementally executes all standard build targets." + depends = "compile, checkstyle, test" +/> + +<target + name = "announce" + description = "announce new version on freshmeat.net" +> + <echo>Announcing. Press return to start announcing this release at FreshMeat.</echo> + <input /> + <echo><![CDATA[ + <freshmeat + username = "${user.freshmeat.username}" + password = "${user.freshmeat.password}" + > + <printlicenses/> + <printreleasefoci/> + <publish + projectname = "japi" + branchname = "${module.name}" + version = "${module.version}" + focus = "${update.focus}" + > + <changes file="LatestNews" /> + <urlblock + homepage = "http://japi.sourceforge.net/" + cvs = "http://cvs.sourceforge.net/viewcvs.py/japi/" + mailinglist = "http://sourceforge.net/mailarchive/forum.php?forum=japi-users" + tgz = "http://prdownloads.sourceforge.net/japi/${distName}.src.tar.gz?download" + bz2 = "http://prdownloads.sourceforge.net/japi/${distName}.src.tar.bz2?download" + zip = "http://prdownloads.sourceforge.net/japi/${distName}.src.zip?download" + /> + </publish> + </freshmeat> + ]]></echo> +</target> + +<target name="checkstyle" description="Runs checkstyle over the source code."> + <checkstyle + config="${commonPath}/sun_checks.xml" + > + <fileset dir="src" includes="**/*.java,**/*.properties" /> + </checkstyle> +</target> + +<target name = "clean" description = "Cleans Sandbox" > @@ -54,56 +108,92 @@ </copy> </target> -<target name="checkstyle" description="Runs checkstyle over the source code."> - <checkstyle - config="${commonPath}/sun_checks.xml" - > - <fileset dir="src" includes="**/*.java,**/*.properties" /> - </checkstyle> +<target + name = "dist" + description = "Creates and packs distribution archives." + depends = "clean, compile, checkstyle, test, doc" +> + <delete dir="dist" /> + <mkdir dir="dist" /> + <parallel> + <tar tarfile="${distPath}.src.tar" longfile="gnu"> + <tarfileset dir="." prefix="${module.name}-${module.version}"> + <include name="src/**" /> + <include name="common/**" /> + <include name="devlib/**" /> + <include name="lib/**" /> + <include name="*.iml,build.xml,module.properties" /> + <include name="CHANGES,COPYING,CREDITS,INSTALL,LICENSE,MAINTAINERS,NEWS,README" /> + <!-- TODO --> + </tarfileset> + </tar> + <zip destfile="${distPath}.src.zip"> + <zipfileset dir="." prefix="${module.name}-${module.version}"> + <include name="src/**" /> + <include name="common/**" /> + <include name="devlib/**" /> + <include name="lib/**" /> + <include name="*.iml,build.xml,module.properties" /> + <include name="CHANGES,COPYING,CREDITS,INSTALL,LICENSE,MAINTAINERS,NEWS,README" /> + <!-- TODO --> + </zipfileset> + </zip> + <jar destfile="${distPath}.src.jar"> + <zipfileset dir="." prefix="${module.name}-${module.version}"> + <include name="src/**" /> + <include name="common/**" /> + <include name="devlib/**" /> + <include name="lib/**" /> + <include name="*.iml,build.xml,module.properties" /> + <include name="CHANGES,COPYING,CREDITS,INSTALL,LICENSE,MAINTAINERS,NEWS,README" /> + <!-- TODO --> + </zipfileset> + </jar> + <jar destfile="${distPath}.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="${distPath}.doc.tar" longfile="gnu"> + <tarfileset dir="." prefix="${module.name}-${module.version}"> + <include name="docs/**" /> + </tarfileset> + </tar> + <zip destfile="${distPath}.doc.zip"> + <zipfileset dir="." prefix="${module.name}-${module.version}"> + <include name="docs/**" /> + </zipfileset> + </zip> + <jar destfile="${distPath}.doc.jar"> + <zipfileset dir="." prefix="${module.name}-${module.version}"> + <include name="docs/**" /> + </zipfileset> + </jar> + </parallel> + <parallel> + <gzip src="${distPath}.src.tar" destfile="${distPath}.src.tar.gz" /> + <bzip2 src="${distPath}.src.tar" destfile="${distPath}.src.tar.bz2" /> + <gzip src="${distPath}.doc.tar" destfile="${distPath}.doc.tar.gz" /> + <bzip2 src="${distPath}.doc.tar" destfile="${distPath}.doc.tar.bz2" /> + <pack200 + src="${distPath}.jar" + destfile="${distPath}.pack.gz" + gzipoutput="true" + stripdebug="true" + effort="9" + keepfileorder="false" + modificationtime="latest" + deflatehint="false" + /> + </parallel> + <delete file="${distPath}.src.tar" /> + <delete file="${distPath}.doc.tar" /> </target> -<target name="test" description="Performs JUnit tests." depends="compile"> - <mkdir dir="classes/test/${module.shortname}" /> - <mkdir dir="docs/test" /> - <javac - srcdir="src" - destdir="classes/test/${module.shortname}" - encoding="utf-8" - source="${javaversion}" - target="${javaversion}" - debug="yes" - > - <classpath refid="class.path" /> - <classpath location="classes/production/${module.shortname}" /> - <include name="test/**/*.java" /> - <exclude name="**/package-info.java" /> - </javac> - <copy - todir="classes/test/${module.shortname}" - > - <fileset dir="src" includes="test/**/*.properties" /> - </copy> - <junit printsummary="yes" haltonfailure="yes"> - <classpath refid="class.path" /> - <classpath location="classes/production/${module.shortname}" /> - <classpath location="classes/test/${module.shortname}" /> - <formatter type="plain" /> - <formatter type="xml" /> - <batchtest todir="docs/test"> - <fileset dir="src"> - <include name="test/**/*Test.java" /> - <exclude name="test/**/Abstract*Test.java" /> - </fileset> - </batchtest> - </junit> - <junitreport todir="docs/test"> - <fileset dir="docs/test"> - <include name="TEST-*.xml" /> - </fileset> - <report format="frames" todir="docs/test" /> - </junitreport> -</target> - <target name = "doc" description = "Creates public API documentation" @@ -207,121 +297,44 @@ </javadoc> </target> -<target - name = "dist" - description = "Creates and packs distribution archives." - depends = "clean, compile, doc, checkstyle, test" -> - <delete dir="dist" /> - <mkdir dir="dist" /> - <parallel> - <tar tarfile="${distPath}.src.tar" longfile="gnu"> - <tarfileset dir="." prefix="${module.name}-${module.version}"> - <include name="src/**" /> - <include name="common/**" /> - <include name="devlib/**" /> - <include name="lib/**" /> - <include name="*.iml,build.xml,module.properties" /> - <include name="CHANGES,COPYING,CREDITS,INSTALL,LICENSE,MAINTAINERS,NEWS,README" /> - <!-- TODO --> - </tarfileset> - </tar> - <zip destfile="${distPath}.src.zip"> - <zipfileset dir="." prefix="${module.name}-${module.version}"> - <include name="src/**" /> - <include name="common/**" /> - <include name="devlib/**" /> - <include name="lib/**" /> - <include name="*.iml,build.xml,module.properties" /> - <include name="CHANGES,COPYING,CREDITS,INSTALL,LICENSE,MAINTAINERS,NEWS,README" /> - <!-- TODO --> - </zipfileset> - </zip> - <jar destfile="${distPath}.src.jar"> - <zipfileset dir="." prefix="${module.name}-${module.version}"> - <include name="src/**" /> - <include name="common/**" /> - <include name="devlib/**" /> - <include name="lib/**" /> - <include name="*.iml,build.xml,module.properties" /> - <include name="CHANGES,COPYING,CREDITS,INSTALL,LICENSE,MAINTAINERS,NEWS,README" /> - <!-- TODO --> - </zipfileset> - </jar> - <jar destfile="${distPath}.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="${distPath}.doc.tar" longfile="gnu"> - <tarfileset dir="." prefix="${module.name}-${module.version}"> - <include name="docs/**" /> - </tarfileset> - </tar> - <zip destfile="${distPath}.doc.zip"> - <zipfileset dir="." prefix="${module.name}-${module.version}"> - <include name="docs/**" /> - </zipfileset> - </zip> - <jar destfile="${distPath}.doc.jar"> - <zipfileset dir="." prefix="${module.name}-${module.version}"> - <include name="docs/**" /> - </zipfileset> - </jar> - </parallel> - <parallel> - <gzip src="${distPath}.src.tar" destfile="${distPath}.src.tar.gz" /> - <bzip2 src="${distPath}.src.tar" destfile="${distPath}.src.tar.bz2" /> - <gzip src="${distPath}.doc.tar" destfile="${distPath}.doc.tar.gz" /> - <bzip2 src="${distPath}.doc.tar" destfile="${distPath}.doc.tar.bz2" /> - <pack200 - src="${distPath}.jar" - destfile="${distPath}.pack.gz" - gzipoutput="true" - stripdebug="true" - effort="9" - keepfileorder="false" - modificationtime="latest" - deflatehint="false" - /> - </parallel> - <delete file="${distPath}.src.tar" /> - <delete file="${distPath}.doc.tar" /> -</target> - -<target - name = "announce" - description = "announce new version on freshmeat.net" -> - <echo>Announcing. Press return to start announcing this release at FreshMeat.</echo> - <input /> - <echo><![CDATA[ - <freshmeat - username = "${user.freshmeat.username}" - password = "${user.freshmeat.password}" +<target name="test" description="Performs JUnit tests." depends="compile"> + <mkdir dir="classes/test/${module.shortname}" /> + <mkdir dir="docs/test" /> + <javac + srcdir="src" + destdir="classes/test/${module.shortname}" + encoding="utf-8" + source="${javaversion}" + target="${javaversion}" + debug="yes" > - <printlicenses/> - <printreleasefoci/> - <publish - projectname = "japi" - branchname = "${module.name}" - version = "${module.version}" - focus = "${update.focus}" - > - <changes file="LatestNews" /> - <urlblock - homepage = "http://japi.sourceforge.net/" - cvs = "http://cvs.sourceforge.net/viewcvs.py/japi/" - mailinglist = "http://sourceforge.net/mailarchive/forum.php?forum=japi-users" - tgz = "http://prdownloads.sourceforge.net/japi/${distName}.src.tar.gz?download" - bz2 = "http://prdownloads.sourceforge.net/japi/${distName}.src.tar.bz2?download" - zip = "http://prdownloads.sourceforge.net/japi/${distName}.src.zip?download" - /> - </publish> - </freshmeat> - ]]></echo> + <classpath refid="class.path" /> + <classpath location="classes/production/${module.shortname}" /> + <include name="test/**/*.java" /> + <exclude name="**/package-info.java" /> + </javac> + <copy + todir="classes/test/${module.shortname}" + > + <fileset dir="src" includes="test/**/*.properties" /> + </copy> + <junit printsummary="yes" haltonfailure="yes"> + <classpath refid="class.path" /> + <classpath location="classes/production/${module.shortname}" /> + <classpath location="classes/test/${module.shortname}" /> + <formatter type="plain" /> + <formatter type="xml" /> + <batchtest todir="docs/test"> + <fileset dir="src"> + <include name="test/**/*Test.java" /> + <exclude name="test/**/Abstract*Test.java" /> + </fileset> + </batchtest> + </junit> + <junitreport todir="docs/test"> + <fileset dir="docs/test"> + <include name="TEST-*.xml" /> + </fileset> + <report format="frames" todir="docs/test" /> + </junitreport> </target> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2007-07-10 19:13:50
|
Revision: 531 http://svn.sourceforge.net/japi/?rev=531&view=rev Author: christianhujer Date: 2007-07-10 12:13:49 -0700 (Tue, 10 Jul 2007) Log Message: ----------- [ 1751333 ] doc files included in exe / lib jars Modified Paths: -------------- common/trunk/commonBuild.xml Modified: common/trunk/commonBuild.xml =================================================================== --- common/trunk/commonBuild.xml 2007-07-09 21:53:16 UTC (rev 530) +++ common/trunk/commonBuild.xml 2007-07-10 19:13:49 UTC (rev 531) @@ -103,7 +103,7 @@ <copy todir="classes/production/${module.shortname}" > - <fileset dir="src" includes="**/*.properties" excludes="test/**/*.properties" /> + <fileset dir="src" includes="net/**/*.properties" /> <fileset dir="src" includes="META-INF/services/**" /> </copy> </target> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2007-08-11 22:48:18
|
Revision: 570 http://japi.svn.sourceforge.net/japi/?rev=570&view=rev Author: christianhujer Date: 2007-08-11 15:48:16 -0700 (Sat, 11 Aug 2007) Log Message: ----------- [ 1772452 ] ant doc should document API only Modified Paths: -------------- common/trunk/commonBuild.xml Modified: common/trunk/commonBuild.xml =================================================================== --- common/trunk/commonBuild.xml 2007-08-11 18:42:06 UTC (rev 569) +++ common/trunk/commonBuild.xml 2007-08-11 22:48:16 UTC (rev 570) @@ -226,13 +226,14 @@ <classpath refid="class.path" /> <sourcepath> <pathelement path="${user.javadoc.javasrc}" /> - <pathelement path="src" /> + <!--pathelement path="src" /--><!-- This is handled via packageset. --> </sourcepath> <packageset dir="src" defaultexcludes="yes" > <include name="net/**" /> + <exclude name="test/net/**" /> </packageset> <taglet name="net.sf.japi.taglets.FixmeTaglet" path="${commonPath}/antlib/japi-lib-taglets-trunk.jar" /> <taglet name="net.sf.japi.taglets.InvariantTaglet" path="${commonPath}/antlib/japi-lib-taglets-trunk.jar" /> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2007-09-23 19:49:25
|
Revision: 612 http://japi.svn.sourceforge.net/japi/?rev=612&view=rev Author: christianhujer Date: 2007-09-23 12:49:21 -0700 (Sun, 23 Sep 2007) Log Message: ----------- Renamed unittest to test. New target test now performs static and dynamic tests, currently checkstyle and junit. Modified Paths: -------------- common/trunk/commonBuild.xml Modified: common/trunk/commonBuild.xml =================================================================== --- common/trunk/commonBuild.xml 2007-09-23 19:28:14 UTC (rev 611) +++ common/trunk/commonBuild.xml 2007-09-23 19:49:21 UTC (rev 612) @@ -32,7 +32,7 @@ <target name = "all" description = "incrementally executes all standard build targets." - depends = "compile, checkstyle, test" + depends = "compile, test" /> <target @@ -111,7 +111,7 @@ <target name = "dist" description = "Creates and packs distribution archives." - depends = "clean, compile, checkstyle, test, doc" + depends = "clean, compile, test, doc" > <delete dir="dist" /> <mkdir dir="dist" /> @@ -300,7 +300,9 @@ </javadoc> </target> -<target name="test" description="Performs JUnit tests." depends="compile"> +<target name="test" description="Performs all tests (static and dynamic)" depends="checkstyle, unittest" /> + +<target name="unittest" description="Performs JUnit tests." depends="compile"> <mkdir dir="classes/test/${module.shortname}" /> <mkdir dir="docs/test" /> <javac This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2007-10-12 19:00:33
|
Revision: 627 http://japi.svn.sourceforge.net/japi/?rev=627&view=rev Author: christianhujer Date: 2007-10-12 12:00:32 -0700 (Fri, 12 Oct 2007) Log Message: ----------- Fixed bug in javac task: wrong srcdir. Modified Paths: -------------- common/trunk/commonBuild.xml Modified: common/trunk/commonBuild.xml =================================================================== --- common/trunk/commonBuild.xml 2007-09-30 14:03:43 UTC (rev 626) +++ common/trunk/commonBuild.xml 2007-10-12 19:00:32 UTC (rev 627) @@ -107,7 +107,7 @@ <target name="compile" description="Compiles this module."> <mkdir dir="classes/production/${module.shortname}" /> <javac - srcdir="src" + srcdir="src/prj" destdir="classes/production/${module.shortname}" encoding="utf-8" source="${javaversion}" This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |