Thread: [Japi-cvs] SF.net SVN: japi:[640] common/trunk/commonBuild.xml
Status: Beta
Brought to you by:
christianhujer
From: <chr...@us...> - 2008-10-06 12:23:28
|
Revision: 640 http://japi.svn.sourceforge.net/japi/?rev=640&view=rev Author: christianhujer Date: 2008-10-06 12:23:19 +0000 (Mon, 06 Oct 2008) Log Message: ----------- Added package information to jars. Modified Paths: -------------- common/trunk/commonBuild.xml Modified: common/trunk/commonBuild.xml =================================================================== --- common/trunk/commonBuild.xml 2008-10-06 12:22:52 UTC (rev 639) +++ common/trunk/commonBuild.xml 2008-10-06 12:23:19 UTC (rev 640) @@ -173,6 +173,11 @@ <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/" /> + <section name="${module.package.path}"> + <attribute name="Package-Title" value="${module.package}" /> + <attribute name="Package-Version" value="${module.version}" /> + <attribute name="Package-Vendor" value="Christian Hujer + the JAPI Developers" /> + </section> </manifest> </jar> <tar tarfile="${distPath}.doc.tar" longfile="gnu"> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2008-12-26 14:43:21
|
Revision: 735 http://japi.svn.sourceforge.net/japi/?rev=735&view=rev Author: christianhujer Date: 2008-12-26 14:43:17 +0000 (Fri, 26 Dec 2008) Log Message: ----------- Added automatic setting of module.version / distName. Modified Paths: -------------- common/trunk/commonBuild.xml Modified: common/trunk/commonBuild.xml =================================================================== --- common/trunk/commonBuild.xml 2008-12-25 17:54:46 UTC (rev 734) +++ common/trunk/commonBuild.xml 2008-12-26 14:43:17 UTC (rev 735) @@ -30,6 +30,23 @@ <property file="developer.properties" /> <property file="module.properties" /> +<basename property="dir.version" file="${user.dir}" /> +<dirname property="parent" file="${user.dir}" /> +<basename property="parentRegion" file="${parent}" /> +<exec outputproperty="svnversion" executable="svnversion"> + <env key="LC_ALL" value="C" /> +</exec> +<condition property="module.version" value="trunk-${svnversion}"> + <equals arg1="trunk" arg2="${dir.version}" /> +</condition> +<condition property="module.version" value="branch-${dir.version}-${svnversion}"> + <equals arg1="branches" arg2="${parentRegion}" /> +</condition> +<condition property="module.version" value="${dir.version}"> + <equals arg1="tags" arg2="${parentRegion}" /> +</condition> +<property name="module.version" value="${parentRegion}-${dir.version}-${svnversion}" /> + <property name="commonPath" value="common" /> <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...> - 2009-02-01 18:19:05
|
Revision: 787 http://japi.svn.sourceforge.net/japi/?rev=787&view=rev Author: christianhujer Date: 2009-02-01 18:18:59 +0000 (Sun, 01 Feb 2009) Log Message: ----------- Updated module settings namespacing. Modified Paths: -------------- common/trunk/commonBuild.xml Modified: common/trunk/commonBuild.xml =================================================================== --- common/trunk/commonBuild.xml 2009-02-01 17:38:36 UTC (rev 786) +++ common/trunk/commonBuild.xml 2009-02-01 18:18:59 UTC (rev 787) @@ -27,9 +27,15 @@ ~ @author <a href="mailto:ch...@ri...">Christian Hujer</a> --> +<!-- The file developer.properties allows developers to override defaults. + ~ For building it is optional. + ~ It is only required for specific ant tasks like freshmeat. + --> <property file="developer.properties" /> -<property file="module.properties" /> +<!-- The file module.properties must exist in each module that is built using common. --> +<property file="module.properties" prefix="module" /> + <basename property="dir.version" file="${user.dir}" /> <dirname property="parent" file="${user.dir}" /> <basename property="parentRegion" file="${parent}" /> @@ -86,7 +92,7 @@ projectname = "japi" branchname = "${module.name}" version = "${module.version}" - focus = "${update.focus}" + focus = "${module.update.focus}" > <changes file="LatestNews" /> <urlblock This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2009-02-15 14:24:44
|
Revision: 898 http://japi.svn.sourceforge.net/japi/?rev=898&view=rev Author: christianhujer Date: 2009-02-15 14:24:43 +0000 (Sun, 15 Feb 2009) Log Message: ----------- Bumped copyright year for javadoc. Modified Paths: -------------- common/trunk/commonBuild.xml Modified: common/trunk/commonBuild.xml =================================================================== --- common/trunk/commonBuild.xml 2009-02-15 13:29:55 UTC (rev 897) +++ common/trunk/commonBuild.xml 2009-02-15 14:24:43 UTC (rev 898) @@ -274,7 +274,7 @@ 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>" + bottom = "<div style="text-align:center;">© 2005-2009 Christian Hujer. All rights reserved. See <a href="{@docRoot}/copyright.html">copyright</a></div>" serialwarn = "yes" charset = "utf-8" docencoding = "utf-8" @@ -325,7 +325,7 @@ 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>" + bottom = "<div style="text-align:center;">© 2005-2009 Christian Hujer. All rights reserved. See <a href="{@docRoot}/copyright.html">copyright</a></div>" serialwarn = "yes" charset = "utf-8" docencoding = "utf-8" This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2009-02-15 18:34:22
|
Revision: 900 http://japi.svn.sourceforge.net/japi/?rev=900&view=rev Author: christianhujer Date: 2009-02-15 18:34:16 +0000 (Sun, 15 Feb 2009) Log Message: ----------- Improve support for applications in common build. Modified Paths: -------------- common/trunk/commonBuild.xml Modified: common/trunk/commonBuild.xml =================================================================== --- common/trunk/commonBuild.xml 2009-02-15 15:41:47 UTC (rev 899) +++ common/trunk/commonBuild.xml 2009-02-15 18:34:16 UTC (rev 900) @@ -162,11 +162,70 @@ todir="classes/production/${module.shortname}" > <fileset dir="src/prj" includes="net/**/*.properties" /> + <fileset dir="src/prj" includes="net/**/*.xml" /> <fileset dir="src/prj" includes="META-INF/services/**" /> </copy> + <copy + todir="classes/production/${module.shortname}" + > + <fileset dir="lib" includes="LICENSE-*" /> + <fileset dir="." includes="COPYING" /> + </copy> </target> <target + name = "build" + description = "Creates and packs the main archive." + depends = "buildApp, buildLib" +/> + +<target + name = "buildApp" + depends = "compile" + if = "module.main.class" +> + <mkdir dir="dist" /> + <jar destfile="${distPath}.jar"> + <zipfileset dir="classes/production/${module.shortname}" /> + <zipgroupfileset dir="lib" includes="*.jar" excludes="LICENSE-*.jar" /> + <manifest> + <attribute name="Main-Class" value="${module.main.class}" /> + <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/" /> + <section name="${module.package.path}"> + <attribute name="Package-Title" value="${module.package}" /> + <attribute name="Package-Version" value="${module.version}" /> + <attribute name="Package-Vendor" value="Christian Hujer + the JAPI Developers" /> + </section> + </manifest> + </jar> +</target> + +<target + name = "buildLib" + depends = "compile" + unless = "module.main.class" +> + <mkdir dir="dist" /> + <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/" /> + <section name="${module.package.path}"> + <attribute name="Package-Title" value="${module.package}" /> + <attribute name="Package-Version" value="${module.version}" /> + <attribute name="Package-Vendor" value="Christian Hujer + the JAPI Developers" /> + </section> + </manifest> + </jar> +</target> + +<target name = "dist" description = "Creates and packs distribution archives." depends = "clean, compile, test, doc" This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2009-02-16 03:25:33
|
Revision: 915 http://japi.svn.sourceforge.net/japi/?rev=915&view=rev Author: christianhujer Date: 2009-02-16 03:25:30 +0000 (Mon, 16 Feb 2009) Log Message: ----------- Removed bogus redundancy in main jar creation. Modified Paths: -------------- common/trunk/commonBuild.xml Modified: common/trunk/commonBuild.xml =================================================================== --- common/trunk/commonBuild.xml 2009-02-16 03:16:46 UTC (rev 914) +++ common/trunk/commonBuild.xml 2009-02-16 03:25:30 UTC (rev 915) @@ -228,7 +228,7 @@ <target name = "dist" description = "Creates and packs distribution archives." - depends = "clean, compile, test, doc" + depends = "clean, compile, test, doc, build" > <delete dir="dist" /> <mkdir dir="dist" /> @@ -266,20 +266,6 @@ <!-- 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/" /> - <section name="${module.package.path}"> - <attribute name="Package-Title" value="${module.package}" /> - <attribute name="Package-Version" value="${module.version}" /> - <attribute name="Package-Vendor" value="Christian Hujer + the JAPI Developers" /> - </section> - </manifest> - </jar> <tar tarfile="${distPath}.doc.tar" longfile="gnu"> <tarfileset dir="." prefix="${module.name}-${module.version}"> <include name="docs/**" /> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2009-02-23 07:21:14
|
Revision: 1089 http://japi.svn.sourceforge.net/japi/?rev=1089&view=rev Author: christianhujer Date: 2009-02-23 07:21:11 +0000 (Mon, 23 Feb 2009) Log Message: ----------- Improved license inclusion. Modified Paths: -------------- common/trunk/commonBuild.xml Modified: common/trunk/commonBuild.xml =================================================================== --- common/trunk/commonBuild.xml 2009-02-23 06:24:03 UTC (rev 1088) +++ common/trunk/commonBuild.xml 2009-02-23 07:21:11 UTC (rev 1089) @@ -178,13 +178,12 @@ <fileset dir="src/prj" includes="net/**/*.properties" /> <fileset dir="src/prj" includes="net/**/*.xml" /> <fileset dir="src/prj" includes="META-INF/services/**" /> - </copy> - <copy - todir="classes/production/${module.shortname}" - > <fileset dir="lib" includes="LICENSE-*" /> - <fileset dir="." includes="COPYING" /> </copy> + <copy + file="COPYING" + tofile="classes/production/${module.shortname}/LICENSE-${module.shortname}" + /> </target> <target This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2009-02-23 23:49:12
|
Revision: 1164 http://japi.svn.sourceforge.net/japi/?rev=1164&view=rev Author: christianhujer Date: 2009-02-23 23:49:06 +0000 (Mon, 23 Feb 2009) Log Message: ----------- Improved linking, removed bogus and unused source path. Modified Paths: -------------- common/trunk/commonBuild.xml Modified: common/trunk/commonBuild.xml =================================================================== --- common/trunk/commonBuild.xml 2009-02-23 23:40:48 UTC (rev 1163) +++ common/trunk/commonBuild.xml 2009-02-23 23:49:06 UTC (rev 1164) @@ -51,6 +51,9 @@ --> <property file="developer.properties" /> +<!-- If the developer did not specify a location for the package information of the java api documentation, try this one. --> +<property name="user.javadoc.link" value="${java.home}/../docs/api/" /> + <!-- The file module.properties must exist in each module that is built using common. --> <property file="module.properties" prefix="module" /> @@ -346,16 +349,12 @@ 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" /--><!-- This is handled via packageset. --> - </sourcepath> + <link offline="true" href="http://java.sun.com/javase/6/docs/api/" packagelistLoc="${java.home}/../docs/api/" /> <packageset dir="src/prj" defaultexcludes="yes" @@ -397,15 +396,12 @@ 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}" /> - </sourcepath> + <link offline="true" href="http://java.sun.com/javase/6/docs/api/" packagelistLoc="${java.home}/../docs/api/" /> <packageset dir="src/doc" defaultexcludes="yes" /> <packageset dir="src/prj" defaultexcludes="yes" /> <packageset dir="src/tst" defaultexcludes="yes" /> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2009-02-24 01:24:50
|
Revision: 1165 http://japi.svn.sourceforge.net/japi/?rev=1165&view=rev Author: christianhujer Date: 2009-02-24 01:24:48 +0000 (Tue, 24 Feb 2009) Log Message: ----------- Fixed bogus taglets lib for javadoc in target privateDoc. Modified Paths: -------------- common/trunk/commonBuild.xml Modified: common/trunk/commonBuild.xml =================================================================== --- common/trunk/commonBuild.xml 2009-02-23 23:49:06 UTC (rev 1164) +++ common/trunk/commonBuild.xml 2009-02-24 01:24:48 UTC (rev 1165) @@ -405,16 +405,16 @@ <packageset dir="src/doc" defaultexcludes="yes" /> <packageset dir="src/prj" defaultexcludes="yes" /> <packageset dir="src/tst" defaultexcludes="yes" /> - <taglet name="net.sf.japi.taglets.FixmeTaglet" path="${commonPath}/antlib/japi-lib-taglets-trunk.jar" /> - <taglet name="net.sf.japi.taglets.HistoryTaglet" 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" /> + <taglet name="net.sf.japi.taglets.FixmeTaglet" path="${commonPath}/antlib.auto/japi-lib-taglets.jar" /> + <taglet name="net.sf.japi.taglets.HistoryTaglet" path="${commonPath}/antlib.auto/japi-lib-taglets.jar" /> + <taglet name="net.sf.japi.taglets.InvariantTaglet" path="${commonPath}/antlib.auto/japi-lib-taglets.jar" /> + <taglet name="net.sf.japi.taglets.NoteTaglet" path="${commonPath}/antlib.auto/japi-lib-taglets.jar" /> + <taglet name="net.sf.japi.taglets.PostconditionTaglet" path="${commonPath}/antlib.auto/japi-lib-taglets.jar" /> + <taglet name="net.sf.japi.taglets.PreconditionTaglet" path="${commonPath}/antlib.auto/japi-lib-taglets.jar" /> + <taglet name="net.sf.japi.taglets.ReturnValueTaglet" path="${commonPath}/antlib.auto/japi-lib-taglets.jar" /> + <taglet name="net.sf.japi.taglets.TodoTaglet" path="${commonPath}/antlib.auto/japi-lib-taglets.jar" /> + <taglet name="net.sf.japi.taglets.WarningTaglet" path="${commonPath}/antlib.auto/japi-lib-taglets.jar" /> + <taglet name="net.sf.japi.taglets.XxxTaglet" path="${commonPath}/antlib.auto/japi-lib-taglets.jar" /> </javadoc> </target> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2009-02-24 08:41:13
|
Revision: 1183 http://japi.svn.sourceforge.net/japi/?rev=1183&view=rev Author: christianhujer Date: 2009-02-24 08:41:08 +0000 (Tue, 24 Feb 2009) Log Message: ----------- Fixed bug - can't define downloaded tasks on top-level before download. Modified Paths: -------------- common/trunk/commonBuild.xml Modified: common/trunk/commonBuild.xml =================================================================== --- common/trunk/commonBuild.xml 2009-02-24 08:34:56 UTC (rev 1182) +++ common/trunk/commonBuild.xml 2009-02-24 08:41:08 UTC (rev 1183) @@ -90,10 +90,6 @@ <available property="hasPack200" file="${commonPath}/antlib.auto/Pack200Task.jar" /> <available property="hasTaglets" file="${commonPath}/antlib.auto/japi-lib-taglets.jar" /> -<taskdef name="freshmeat" classpath="${commonPath}/antlib.auto/antmeat.jar" classname="de.frewert.ant.freshmeat.Announcement" /> -<taskdef name="pack200" classpath="${commonPath}/antlib.auto/Pack200Task.jar" classname="com.sun.tools.apache.ant.pack200.Pack200Task" /> -<taskdef name="unpack200" classpath="${commonPath}/antlib.auto/Pack200Task.jar" classname="com.sun.tools.apache.ant.pack200.Unpack200Task" /> - <!-- targets are sorted alphabetically. --> <target @@ -125,6 +121,7 @@ description = "announce new version on freshmeat.net" depends = "getAntmeat" > + <taskdef name="freshmeat" classpath="${commonPath}/antlib.auto/antmeat.jar" classname="de.frewert.ant.freshmeat.Announcement" /> <echo>Announcing. Press return to start announcing this release at FreshMeat.</echo> <input /> <echo><![CDATA[ @@ -268,6 +265,9 @@ description = "Creates and packs distribution archives." depends = "clean, compile, test, doc, build, getPack200" > + <taskdef name="pack200" classpath="${commonPath}/antlib.auto/Pack200Task.jar" classname="com.sun.tools.apache.ant.pack200.Pack200Task" /> + <taskdef name="unpack200" classpath="${commonPath}/antlib.auto/Pack200Task.jar" classname="com.sun.tools.apache.ant.pack200.Unpack200Task" /> + <mkdir dir="dist" /> <parallel> <tar tarfile="${distPath}.src.tar" longfile="gnu"> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2009-02-24 08:42:12
|
Revision: 1184 http://japi.svn.sourceforge.net/japi/?rev=1184&view=rev Author: christianhujer Date: 2009-02-24 08:42:09 +0000 (Tue, 24 Feb 2009) Log Message: ----------- Fixed bug - wrong attribute name on get task. Modified Paths: -------------- common/trunk/commonBuild.xml Modified: common/trunk/commonBuild.xml =================================================================== --- common/trunk/commonBuild.xml 2009-02-24 08:41:08 UTC (rev 1183) +++ common/trunk/commonBuild.xml 2009-02-24 08:42:09 UTC (rev 1184) @@ -100,7 +100,7 @@ <target name="getPack200" unless="hasPack200"> <mkdir dir="${commonPath}/antlib.auto" /> - <get src="https://java-pack200-ant-task.dev.java.net/files/documents/1526/6272/ant-task.zip" dest="${commonPath}/antlib.auto/ant-task.zip" usetimestamps="true" /> + <get src="https://java-pack200-ant-task.dev.java.net/files/documents/1526/6272/ant-task.zip" dest="${commonPath}/antlib.auto/ant-task.zip" usetimestamp="true" /> <unzip src="${commonPath}/antlib.auto/ant-task.zip"> <patternset includes="Pack200Task.jar" /> </unzip> @@ -108,7 +108,7 @@ <target name="getAntmeat" unless="hasAntmeat"> <mkdir dir="${commonPath}/antlib.auto" /> - <get src="http://downloads.sourceforge.net/antmeat/antmeat-0.3.zip" dest="${commonPath}/antlib.auto/antmeat-0.3.zip" usetimestamps="true" /> + <get src="http://downloads.sourceforge.net/antmeat/antmeat-0.3.zip" dest="${commonPath}/antlib.auto/antmeat-0.3.zip" usetimestamp="true" /> <unzip src="${commonPath}/antlib.auto/antmeat-0.3.zip" dest="${commonPath}/antlib.auto"> <patternset includes="**/*.jar" /> </unzip> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2009-02-24 08:43:14
|
Revision: 1185 http://japi.svn.sourceforge.net/japi/?rev=1185&view=rev Author: christianhujer Date: 2009-02-24 08:43:10 +0000 (Tue, 24 Feb 2009) Log Message: ----------- Fixed bug - dest attribute missing on unzip task. Modified Paths: -------------- common/trunk/commonBuild.xml Modified: common/trunk/commonBuild.xml =================================================================== --- common/trunk/commonBuild.xml 2009-02-24 08:42:09 UTC (rev 1184) +++ common/trunk/commonBuild.xml 2009-02-24 08:43:10 UTC (rev 1185) @@ -101,7 +101,7 @@ <target name="getPack200" unless="hasPack200"> <mkdir dir="${commonPath}/antlib.auto" /> <get src="https://java-pack200-ant-task.dev.java.net/files/documents/1526/6272/ant-task.zip" dest="${commonPath}/antlib.auto/ant-task.zip" usetimestamp="true" /> - <unzip src="${commonPath}/antlib.auto/ant-task.zip"> + <unzip src="${commonPath}/antlib.auto/ant-task.zip" dest="${commonPath}/antlib.auto"> <patternset includes="Pack200Task.jar" /> </unzip> </target> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2009-02-24 08:47:13
|
Revision: 1186 http://japi.svn.sourceforge.net/japi/?rev=1186&view=rev Author: christianhujer Date: 2009-02-24 08:47:10 +0000 (Tue, 24 Feb 2009) Log Message: ----------- Handle bogus Pack200 zip file. Modified Paths: -------------- common/trunk/commonBuild.xml Modified: common/trunk/commonBuild.xml =================================================================== --- common/trunk/commonBuild.xml 2009-02-24 08:43:10 UTC (rev 1185) +++ common/trunk/commonBuild.xml 2009-02-24 08:47:10 UTC (rev 1186) @@ -102,7 +102,8 @@ <mkdir dir="${commonPath}/antlib.auto" /> <get src="https://java-pack200-ant-task.dev.java.net/files/documents/1526/6272/ant-task.zip" dest="${commonPath}/antlib.auto/ant-task.zip" usetimestamp="true" /> <unzip src="${commonPath}/antlib.auto/ant-task.zip" dest="${commonPath}/antlib.auto"> - <patternset includes="Pack200Task.jar" /> + <patternset includes="**/*Pack200Task.jar" /> + <mapper type="flatten" /> </unzip> </target> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2009-02-27 12:22:52
|
Revision: 1199 http://japi.svn.sourceforge.net/japi/?rev=1199&view=rev Author: christianhujer Date: 2009-02-27 12:22:48 +0000 (Fri, 27 Feb 2009) Log Message: ----------- Fixed path to pmd jar. Modified Paths: -------------- common/trunk/commonBuild.xml Modified: common/trunk/commonBuild.xml =================================================================== --- common/trunk/commonBuild.xml 2009-02-27 11:58:59 UTC (rev 1198) +++ common/trunk/commonBuild.xml 2009-02-27 12:22:48 UTC (rev 1199) @@ -502,7 +502,7 @@ </target> <target name="pmd" description="Performs quality checks using PMD." depends="compile,getPmd"> - <taskdef name="pmd" classpath="${commonPath}/antlib.auto/pmd-4.2.5/lib/pmd-4.2.5.jar" classname="net.sourceforge.pmd.ant.PMDTask"/> + <taskdef name="pmd" classpath="${commonPath}/antlib.auto/pmd-4.2.5.jar" classname="net.sourceforge.pmd.ant.PMDTask"/> <pmd shortFilenames="true" failOnError="true" failOnRuleViolation="true"> <ruleset>${commonPath}/pmd_checks.xml</ruleset> <formatter type="text" toConsole="true" /> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2009-05-23 14:42:30
|
Revision: 1327 http://japi.svn.sourceforge.net/japi/?rev=1327&view=rev Author: christianhujer Date: 2009-05-23 14:42:28 +0000 (Sat, 23 May 2009) Log Message: ----------- Add PMD to test target. Modified Paths: -------------- common/trunk/commonBuild.xml Modified: common/trunk/commonBuild.xml =================================================================== --- common/trunk/commonBuild.xml 2009-05-23 14:39:36 UTC (rev 1326) +++ common/trunk/commonBuild.xml 2009-05-23 14:42:28 UTC (rev 1327) @@ -463,7 +463,7 @@ </javadoc> </target> -<target name="test" description="Performs all tests (static and dynamic)" depends="checkstyle, unittest" /> +<target name="test" description="Performs all tests (static and dynamic)" depends="checkstyle, unittest, pmd" /> <target name="getJunit" unless="hasJunit"> <get src="http://downloads.sourceforge.net/junit/junit-4.5.jar" dest="${commonPath}/antlib.auto/junit.jar" usetimestamp="true" /> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2009-05-23 16:37:03
|
Revision: 1329 http://japi.svn.sourceforge.net/japi/?rev=1329&view=rev Author: christianhujer Date: 2009-05-23 16:36:55 +0000 (Sat, 23 May 2009) Log Message: ----------- Enable -Xlint:all for javac. Modified Paths: -------------- common/trunk/commonBuild.xml Modified: common/trunk/commonBuild.xml =================================================================== --- common/trunk/commonBuild.xml 2009-05-23 15:34:37 UTC (rev 1328) +++ common/trunk/commonBuild.xml 2009-05-23 16:36:55 UTC (rev 1329) @@ -204,6 +204,7 @@ target="${javaversion}" debug="yes" > + <compilerarg value="-Xlint:all" /> <classpath refid="class.path" /> <exclude name="**/package-info.java" /> </javac> @@ -480,6 +481,7 @@ target="${javaversion}" debug="yes" > + <compilerarg value="-Xlint:all" /> <classpath refid="class.path" /> <classpath location="${commonPath}/antlib.auto/junit.jar" /> <classpath location="classes/production/${module.shortname}" /> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2009-05-23 16:38:36
|
Revision: 1330 http://japi.svn.sourceforge.net/japi/?rev=1330&view=rev Author: christianhujer Date: 2009-05-23 16:38:35 +0000 (Sat, 23 May 2009) Log Message: ----------- Add findbugs. Modified Paths: -------------- common/trunk/commonBuild.xml Modified: common/trunk/commonBuild.xml =================================================================== --- common/trunk/commonBuild.xml 2009-05-23 16:36:55 UTC (rev 1329) +++ common/trunk/commonBuild.xml 2009-05-23 16:38:35 UTC (rev 1330) @@ -91,6 +91,7 @@ <available property="hasPack200" file="${commonPath}/antlib.auto/Pack200Task.jar" /> <available property="hasPmd" file="${commonPath}/antlib.auto/pmd-4.2.5.jar" /> <available property="hasTaglets" file="${commonPath}/antlib.auto/japi-lib-taglets.jar" /> +<available property="hasFindbugs" file="${commonPath}/antlib.auto/findbugs-1.3.8/lib/findbugs-ant.jar" /> <!-- targets are sorted alphabetically. --> @@ -538,3 +539,22 @@ </fileset> </pmd> </target> + +<target name="getFindbugs" unless="hasFindbugs"> + <mkdir dir="${commonPath}/antlib.auto" /> + <get src="http://downloads.sourceforge.net/findbugs/findbugs-1.3.8.tar.gz" dest="${commonPath}/antlib.auto/findbugs-1.3.8.tar.gz" usetimestamp="true" /> + <untar src="${commonPath}/antlib.auto/findbugs-1.3.8.tar.gz" dest="${commonPath}/antlib.auto" compression="gzip" /> +</target> + +<target name="findbugs" description="Performs quality checks using FindBugs." depends="compile,getFindbugs"> + <taskdef classpath="${commonPath}/antlib.auto/findbugs-1.3.8/lib/findbugs-ant.jar" name="findbugs" classname="edu.umd.cs.findbugs.anttask.FindBugsTask" /> + <findbugs + home="${commonPath}/antlib.auto/findbugs-1.3.8/" + output="emacs" + reportLevel="low" + > + <sourcePath path="src/prj" /> + <class location="classes/production/${module.shortname}" /> + <auxClasspath refid="class.path" /> + </findbugs> +</target> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2009-07-25 12:40:37
|
Revision: 1361 http://japi.svn.sourceforge.net/japi/?rev=1361&view=rev Author: christianhujer Date: 2009-07-25 12:40:30 +0000 (Sat, 25 Jul 2009) Log Message: ----------- Change common build to include {@include} and {@listing} taglets. Note: This will temporarily result in recoverable javadoc errors until the new taglets jar is published. Modified Paths: -------------- common/trunk/commonBuild.xml Modified: common/trunk/commonBuild.xml =================================================================== --- common/trunk/commonBuild.xml 2009-07-25 12:39:50 UTC (rev 1360) +++ common/trunk/commonBuild.xml 2009-07-25 12:40:30 UTC (rev 1361) @@ -415,6 +415,8 @@ <taglet name="net.sf.japi.taglets.TodoTaglet" path="${commonPath}/antlib.auto/japi-lib-taglets.jar" /> <taglet name="net.sf.japi.taglets.WarningTaglet" path="${commonPath}/antlib.auto/japi-lib-taglets.jar" /> <taglet name="net.sf.japi.taglets.XxxTaglet" path="${commonPath}/antlib.auto/japi-lib-taglets.jar" /> + <taglet name="net.sf.japi.taglets.IncludeTaglet" path="${commonPath}/antlib.auto/japi-lib-taglets.jar;${commonPath}/antlib.auto/java2html.jar" /> + <taglet name="net.sf.japi.taglets.ListingTaglet" path="${commonPath}/antlib.auto/japi-lib-taglets.jar;${commonPath}/antlib.auto/java2html.jar" /> </javadoc> </target> @@ -462,6 +464,8 @@ <taglet name="net.sf.japi.taglets.TodoTaglet" path="${commonPath}/antlib.auto/japi-lib-taglets.jar" /> <taglet name="net.sf.japi.taglets.WarningTaglet" path="${commonPath}/antlib.auto/japi-lib-taglets.jar" /> <taglet name="net.sf.japi.taglets.XxxTaglet" path="${commonPath}/antlib.auto/japi-lib-taglets.jar" /> + <taglet name="net.sf.japi.taglets.IncludeTaglet" path="${commonPath}/antlib.auto/japi-lib-taglets.jar;${commonPath}/antlib.auto/java2html.jar" /> + <taglet name="net.sf.japi.taglets.ListingTaglet" path="${commonPath}/antlib.auto/japi-lib-taglets.jar;${commonPath}/antlib.auto/java2html.jar" /> </javadoc> </target> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2009-07-26 10:41:58
|
Revision: 1374 http://japi.svn.sourceforge.net/japi/?rev=1374&view=rev Author: christianhujer Date: 2009-07-26 10:41:50 +0000 (Sun, 26 Jul 2009) Log Message: ----------- Fix issue with JUnit for PMD. Modified Paths: -------------- common/trunk/commonBuild.xml Modified: common/trunk/commonBuild.xml =================================================================== --- common/trunk/commonBuild.xml 2009-07-25 14:26:45 UTC (rev 1373) +++ common/trunk/commonBuild.xml 2009-07-26 10:41:50 UTC (rev 1374) @@ -542,6 +542,9 @@ <target name="pmd" description="Performs quality checks using PMD." depends="compile,getPmd"> <taskdef name="pmd" classpath="${commonPath}/antlib.auto/pmd-4.2.5.jar" classname="net.sourceforge.pmd.ant.PMDTask"/> <pmd shortFilenames="true" failOnError="true" failOnRuleViolation="true"> + <auxclasspath refid="class.path" /> + <auxclasspath location="${commonPath}/antlib.auto/junit.jar" /> + <auxclasspath location="classes/production/${module.shortname}" /> <ruleset>${commonPath}/pmd_checks.xml</ruleset> <formatter type="text" toConsole="true" /> <fileset dir="src/prj"> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2009-09-29 20:41:29
|
Revision: 1380 http://japi.svn.sourceforge.net/japi/?rev=1380&view=rev Author: christianhujer Date: 2009-09-29 20:41:21 +0000 (Tue, 29 Sep 2009) Log Message: ----------- Do not write the md5sums to a file. SourceForge generates them automatically now. Instead write them to stdout so the uploading developer can verify them with the generated sums on SourceForge. Modified Paths: -------------- common/trunk/commonBuild.xml Modified: common/trunk/commonBuild.xml =================================================================== --- common/trunk/commonBuild.xml 2009-09-21 19:51:34 UTC (rev 1379) +++ common/trunk/commonBuild.xml 2009-09-29 20:41:21 UTC (rev 1380) @@ -359,7 +359,7 @@ <checksum format="MD5SUM"> <fileset dir="." includes="${distPath}*" /> </checksum> - <concat destfile="${distPath}.md5sums"> + <concat> <fileset dir="." includes="${distPath}*.MD5" /> </concat> <delete> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2010-06-18 21:28:38
|
Revision: 1409 http://japi.svn.sourceforge.net/japi/?rev=1409&view=rev Author: christianhujer Date: 2010-06-18 21:28:32 +0000 (Fri, 18 Jun 2010) Log Message: ----------- Fix issues with findbugs. Modified Paths: -------------- common/trunk/commonBuild.xml Modified: common/trunk/commonBuild.xml =================================================================== --- common/trunk/commonBuild.xml 2010-05-26 08:11:28 UTC (rev 1408) +++ common/trunk/commonBuild.xml 2010-06-18 21:28:32 UTC (rev 1409) @@ -83,6 +83,7 @@ <path id="class.path"> <fileset dir="." includes="lib/*.jar" excludes="lib/LICENSE-*.jar" /> <fileset dir="${commonPath}" includes="lib/*.jar" excludes="lib/LICENSE-*.jar" /> + <fileset dir="${japiUserPath}" includes="antlib.auto/findbugs-1.3.8/lib/findbugs.jar" /> </path> <available property="has3rdparty" file="lib/annotations.jar" /> @@ -546,6 +547,7 @@ <auxclasspath refid="class.path" /> <auxclasspath location="${japiUserPath}/antlib.auto/junit.jar" /> <auxclasspath location="classes/production/${module.shortname}" /> + <auxclasspath location="classes/test/${module.shortname}" /> <ruleset>${commonPath}/pmd_checks.xml</ruleset> <formatter type="text" toConsole="true" /> <fileset dir="src/prj"> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2009-02-16 04:06:00
|
Revision: 919 http://japi.svn.sourceforge.net/japi/?rev=919&view=rev Author: christianhujer Date: 2009-02-16 04:05:56 +0000 (Mon, 16 Feb 2009) Log Message: ----------- Fixed bug in commonBuild.xml: build jar was accidently removed. Modified Paths: -------------- common/trunk/commonBuild.xml Modified: common/trunk/commonBuild.xml =================================================================== --- common/trunk/commonBuild.xml 2009-02-16 03:50:11 UTC (rev 918) +++ common/trunk/commonBuild.xml 2009-02-16 04:05:56 UTC (rev 919) @@ -230,7 +230,6 @@ description = "Creates and packs distribution archives." depends = "clean, compile, test, doc, build" > - <delete dir="dist" /> <mkdir dir="dist" /> <parallel> <tar tarfile="${distPath}.src.tar" longfile="gnu"> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2009-02-24 01:27:54
|
Revision: 1166 http://japi.svn.sourceforge.net/japi/?rev=1166&view=rev Author: christianhujer Date: 2009-02-24 01:27:53 +0000 (Tue, 24 Feb 2009) Log Message: ----------- Added missing junit to privateDoc classpath. Modified Paths: -------------- common/trunk/commonBuild.xml Modified: common/trunk/commonBuild.xml =================================================================== --- common/trunk/commonBuild.xml 2009-02-24 01:24:48 UTC (rev 1165) +++ common/trunk/commonBuild.xml 2009-02-24 01:27:53 UTC (rev 1166) @@ -401,6 +401,7 @@ overview = "src/overview.html" --> <classpath refid="class.path" /> + <classpath location="${commonPath}/antlib.auto/junit.jar" /> <link offline="true" href="http://java.sun.com/javase/6/docs/api/" packagelistLoc="${java.home}/../docs/api/" /> <packageset dir="src/doc" defaultexcludes="yes" /> <packageset dir="src/prj" defaultexcludes="yes" /> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2009-02-27 12:35:23
|
Revision: 1200 http://japi.svn.sourceforge.net/japi/?rev=1200&view=rev Author: christianhujer Date: 2009-02-27 12:35:12 +0000 (Fri, 27 Feb 2009) Log Message: ----------- Add missing files to pmd. Modified Paths: -------------- common/trunk/commonBuild.xml Modified: common/trunk/commonBuild.xml =================================================================== --- common/trunk/commonBuild.xml 2009-02-27 12:22:48 UTC (rev 1199) +++ common/trunk/commonBuild.xml 2009-02-27 12:35:12 UTC (rev 1200) @@ -497,6 +497,8 @@ <get src="http://downloads.sourceforge.net/pmd/pmd-bin-4.2.5.zip" dest="${commonPath}/antlib.auto/pmd-bin-4.2.5.zip" usetimestamp="true" /> <unzip src="${commonPath}/antlib.auto/pmd-bin-4.2.5.zip" dest="${commonPath}/antlib.auto"> <patternset includes="**/lib/pmd-4.2.5.jar" /> + <patternset includes="**/lib/jaxen-1.1.1.jar" /> + <patternset includes="**/lib/asm-3.1.jar" /> <mapper type="flatten" /> </unzip> </target> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2009-02-28 13:45:19
|
Revision: 1201 http://japi.svn.sourceforge.net/japi/?rev=1201&view=rev Author: christianhujer Date: 2009-02-28 13:45:16 +0000 (Sat, 28 Feb 2009) Log Message: ----------- [ 2648725 ] Generate md5 checksums for released files Modified Paths: -------------- common/trunk/commonBuild.xml Modified: common/trunk/commonBuild.xml =================================================================== --- common/trunk/commonBuild.xml 2009-02-27 12:35:12 UTC (rev 1200) +++ common/trunk/commonBuild.xml 2009-02-28 13:45:16 UTC (rev 1201) @@ -342,6 +342,15 @@ </parallel> <delete file="${distPath}.src.tar" /> <delete file="${distPath}.doc.tar" /> + <checksum format="MD5SUM"> + <fileset dir="." includes="${distPath}*" /> + </checksum> + <concat destfile="${distPath}.md5sums"> + <fileset dir="." includes="${distPath}*.MD5" /> + </concat> + <delete> + <fileset dir="." includes="${distPath}*.MD5" /> + </delete> </target> <target name="getTaglets" unless="hasTaglets"> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |