Author: ludovicc-guest Date: 2010-07-25 21:02:20 +0000 (Sun, 25 Jul 2010) New Revision: 12813
Added: trunk/antlr3/debian/libantlr3-gunit-java-doc.doc-base.api trunk/antlr3/debian/libantlr3-gunit-java-doc.install Modified: trunk/antlr3/debian/antlr3.poms trunk/antlr3/debian/changelog trunk/antlr3/debian/control trunk/antlr3/debian/maven.cleanIgnoreRules trunk/antlr3/debian/maven.rules trunk/antlr3/debian/rules trunk/antlr3/debian/scripts/antlr3.1 Log: * Rebuild with a newer version of maven-debian-helper (Closes: #587499) * maven.rules: transform antlr 3 versions to '3.x' instead of 'debian' * Split packaging of gUnit jar into new libantlr3-gunit-java package and gUnit Maven plugin into new antlr3-gunit-maven-plugin package, split Maven plugin for Antlr into new antlr3-maven-plugin package (Closes: #588005) * Update dependencies of antlr3, remove the dependencies coming from those 3 new packages. Modified: trunk/antlr3/debian/antlr3.poms =================================================================== --- trunk/antlr3/debian/antlr3.poms 2010-07-25 20:42:58 UTC (rev 12812) +++ trunk/antlr3/debian/antlr3.poms 2010-07-25 21:02:20 UTC (rev 12813) @@ -1,6 +1,6 @@ pom.xml runtime/Java/pom.xml tool/pom.xml -antlr3-maven-plugin/pom.xml -gunit/pom.xml -gunit-maven-plugin/pom.xml +antlr3-maven-plugin/pom.xml --package=antlr3-maven-plugin +gunit/pom.xml --package=libantlr3-gunit-java +gunit-maven-plugin/pom.xml --package=antlr3-gunit-maven-plugin Modified: trunk/antlr3/debian/changelog =================================================================== --- trunk/antlr3/debian/changelog 2010-07-25 20:42:58 UTC (rev 12812) +++ trunk/antlr3/debian/changelog 2010-07-25 21:02:20 UTC (rev 12813) @@ -1,5 +1,16 @@ -antlr3 (3.2-4) UNRELEASED; urgency=low +antlr3 (3.2-4) unstable; urgency=low + [ Ludovic Claude ] + * Rebuild with a newer version of maven-debian-helper (Closes: #587499) + * maven.rules: transform antlr 3 versions to '3.x' instead of 'debian' + * Split packaging of gUnit jar into new libantlr3-gunit-java package + and gUnit Maven plugin into new antlr3-gunit-maven-plugin package, + split Maven plugin for Antlr into new antlr3-maven-plugin package + (Closes: #588005) + * Update dependencies of antlr3, remove the dependencies coming from + those 3 new packages. + + [ Niels Thykier ] * Fixed a typo in the control so antlr3 now properly suggests antlr3-gcj. * Reduced the alternative JREs to headless versions. @@ -7,7 +18,7 @@ * Replaced B-D on default-jdk-builddep with gcj-native-helper and default-jdk. - -- Niels Thykier <ni...@thykier.net> Tue, 29 Jun 2010 22:41:44 +0200 + -- Ludovic Claude <ludovic.cla...@laposte.net> Wed, 21 Jul 2010 23:22:09 +0200 antlr3 (3.2-3) unstable; urgency=low Modified: trunk/antlr3/debian/control =================================================================== --- trunk/antlr3/debian/control 2010-07-25 20:42:58 UTC (rev 12812) +++ trunk/antlr3/debian/control 2010-07-25 21:02:20 UTC (rev 12813) @@ -4,7 +4,7 @@ Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org> Uploaders: Ludovic Claude <ludovic.cla...@laposte.net>, Michael Koch <konque...@gmx.de> Build-Depends: debhelper (>= 7), cdbs, default-jdk, - maven-debian-helper (>= 1.0), libstringtemplate-java (>= 3.2.1), + maven-debian-helper (>= 1.1), libstringtemplate-java (>= 3.2.1), libantlr-maven-plugin-java (>= 2.1), libmaven-plugin-testing-java, libmaven-javadoc-plugin-java, default-jdk-doc, gcj-native-helper Standards-Version: 3.9.0 @@ -14,7 +14,7 @@ Package: antlr3 Architecture: all -Depends: ${misc:Depends}, ${maven:Depends}, +Depends: ${misc:Depends}, default-jre-headless | java2-runtime-headless | java5-runtime-headless | java6-runtime-headless, libstringtemplate-java @@ -59,3 +59,77 @@ . This package provides the API documentation for ANTLR 3 +Package: antlr3-maven-plugin +Architecture: all +Depends: ${misc:Depends}, antlr3 (>= ${source:Version}), + libmaven2-core-java, libplexus-compiler-api-java +Description: Maven plugin for ANTLR 3 + ANTLR, ANother Tool for Language Recognition, (formerly PCCTS) is + a language tool that provides a framework for constructing recognizers, + compilers, and translators from grammatical descriptions containing C++ + or Java actions [You can use PCCTS 1.xx to generate C-based parsers]. + . + This package provides the Maven plugin that allow to compile ANTLR 3 + grammars during a Maven build + +Package: libantlr3-gunit-java +Architecture: all +Depends: ${misc:Depends}, antlr3 (>= ${source:Version}), junit4 +Suggests: antlr3-gunit-maven-plugin +Description: Unit Test framework for ANTLR grammars + gUnit is a "Unit Test" framework for ANTLR grammars. It provides a simple + way to write and run automated tests for ANTLR grammars in a manner similar + to Java unit testing framework jUnit. The basic idea is to create a bunch of + input/output pairs for rules in a grammar and gUnit will verify the expected + output/result. The input can be a single line or multiple lines of strings or + even an external file. The output can be simply success or failure, an + abstract syntax tree (AST), a rule return value, or some text output which + could be a rule's template return value. The current version of gUnit has 2 + main functions, interpreter and jUnit generator. The interpreter interprets + your gUnit script and runs unit tests using Java reflection to invoke methods + in your parser objects. The generator, on the other hand, translates your + gUnit script to jUnit Java code that you can compile and execute by hand. + +Package: libantlr3-gunit-java-doc +Architecture: all +Section: doc +Depends: ${misc:Depends}, antlr3-doc, junit4-doc +Suggests: libantlr3-gunit-java +Description: API documentation for gUnit + gUnit is a "Unit Test" framework for ANTLR grammars. It provides a simple + way to write and run automated tests for ANTLR grammars in a manner similar + to Java unit testing framework jUnit. The basic idea is to create a bunch of + input/output pairs for rules in a grammar and gUnit will verify the expected + output/result. The input can be a single line or multiple lines of strings or + even an external file. The output can be simply success or failure, an + abstract syntax tree (AST), a rule return value, or some text output which + could be a rule's template return value. The current version of gUnit has 2 + main functions, interpreter and jUnit generator. The interpreter interprets + your gUnit script and runs unit tests using Java reflection to invoke methods + in your parser objects. The generator, on the other hand, translates your + gUnit script to jUnit Java code that you can compile and execute by hand. + . + This package provides the API documentation for gUnit for ANTLR 3 + +Package: antlr3-gunit-maven-plugin +Architecture: all +Depends: ${misc:Depends}, libantlr3-gunit-java (>= ${source:Version}), + libmaven2-core-java, libplexus-compiler-api-java +Description: Maven plugin for gUnit, a unit test framework for ANTLR grammars + gUnit is a "Unit Test" framework for ANTLR grammars. It provides a simple + way to write and run automated tests for ANTLR grammars in a manner similar + to Java unit testing framework jUnit. The basic idea is to create a bunch of + input/output pairs for rules in a grammar and gUnit will verify the expected + output/result. The input can be a single line or multiple lines of strings or + even an external file. The output can be simply success or failure, an + abstract syntax tree (AST), a rule return value, or some text output which + could be a rule's template return value. The current version of gUnit has 2 + main functions, interpreter and jUnit generator. The interpreter interprets + your gUnit script and runs unit tests using Java reflection to invoke methods + in your parser objects. The generator, on the other hand, translates your + gUnit script to jUnit Java code that you can compile and execute by hand. + . + This package provides the Maven plugin that allow to run gUnit tests during + a Maven build + + Added: trunk/antlr3/debian/libantlr3-gunit-java-doc.doc-base.api =================================================================== --- trunk/antlr3/debian/libantlr3-gunit-java-doc.doc-base.api (rev 0) +++ trunk/antlr3/debian/libantlr3-gunit-java-doc.doc-base.api 2010-07-25 21:02:20 UTC (rev 12813) @@ -0,0 +1,10 @@ +Document: libantlr3-gunit-java +Title: API Javadoc for gUnit for ANTLR 3 +Author: ANTLR developers +Abstract: This is the API Javadoc provided for the + gUnit testing framework for Antlr3. +Section: Programming + +Format: HTML +Index: /usr/share/doc/libantlr3-gunit-java/api/index.html +Files: /usr/share/doc/libantlr3-gunit-java/api/* Added: trunk/antlr3/debian/libantlr3-gunit-java-doc.install =================================================================== --- trunk/antlr3/debian/libantlr3-gunit-java-doc.install (rev 0) +++ trunk/antlr3/debian/libantlr3-gunit-java-doc.install 2010-07-25 21:02:20 UTC (rev 12813) @@ -0,0 +1,2 @@ +gunit/target/apidocs/* usr/share/doc/libantlr3-gunit-java/api + Modified: trunk/antlr3/debian/maven.cleanIgnoreRules =================================================================== --- trunk/antlr3/debian/maven.cleanIgnoreRules 2010-07-25 20:42:58 UTC (rev 12812) +++ trunk/antlr3/debian/maven.cleanIgnoreRules 2010-07-25 21:02:20 UTC (rev 12813) @@ -14,3 +14,8 @@ # from the POM # junit junit jar s/3\..*/3.x/ org.antlr antlr3-maven-plugin maven-plugin * +org.apache.maven.plugins maven-assembly-plugin maven-plugin * +org.apache.maven.plugins maven-project-info-reports-plugin maven-plugin * +org.apache.maven.wagon wagon-ssh-external jar * +org.codehaus.mojo buildnumber-maven-plugin maven-plugin * +org.codehaus.mojo findbugs-maven-plugin maven-plugin * Modified: trunk/antlr3/debian/maven.rules =================================================================== --- trunk/antlr3/debian/maven.rules 2010-07-25 20:42:58 UTC (rev 12812) +++ trunk/antlr3/debian/maven.rules 2010-07-25 21:02:20 UTC (rev 12813) @@ -17,9 +17,12 @@ # junit junit jar s/3\..*/3.x/ antlr antlr jar s/2\..*/2.x/ * junit junit jar s/4\..*/4.x/ * -org.antlr stringtemplate jar s/3\..*/3.x/ * -# TODO: update this version when there is a new upstream version of antlr3 -org.antlr antlr3-maven-plugin maven-plugin s/.*/3.2/ +org.antlr antlr * s/3\..*/3.x/ * +org.antlr antlr-master * s/3\..*/3.x/ * +org.antlr antlr-runtime * s/3\..*/3.x/ * +#org.antlr antlr-maven-plugin maven-plugin s/3\..*/3.2/ * +org.antlr gunit * s/3\..*/3.x/ * +org.antlr stringtemplate * s/3\..*/3.x/ * s/org.apache.maven.shared/org.apache.maven.plugin-testing/ maven-plugin-testing * s/.*/debian/ * s/org.apache.maven.shared/org.apache.maven.plugin-testing/ maven-plugin-testing-harness * s/.*/debian/ * s/org.apache.maven.shared/org.apache.maven.plugin-testing/ maven-plugin-testing-tools * s/.*/debian/ * Modified: trunk/antlr3/debian/rules =================================================================== --- trunk/antlr3/debian/rules 2010-07-25 20:42:58 UTC (rev 12812) +++ trunk/antlr3/debian/rules 2010-07-25 21:02:20 UTC (rev 12813) @@ -23,7 +23,7 @@ # Bootstrap the build with the generated sources taken from a normal run of # mvn install on the Antlr source code before-mvn-build:: PLUGIN_ARGS += -Dmaven.test.skip=true -Duse.maven.repo.local=true -before-mvn-build:: +before-mvn-build:: unpatch-poms cp -r debian/generated-sources/antlr3/* tool/src/main/java mh_patchpoms -pantlr3 --debian-build --keep-pom-version -idebian/maven.bootstrap.ignoreRules --maven-repo=$(DEB_MAVEN_REPO) $(DEB_MAVEN_INVOKE) $(PLUGIN_ARGS) -N $(DEB_MAVEN_BUILD_TARGET) $(DEB_MAVEN_INSTALL_TARGET) @@ -42,6 +42,7 @@ binary-post-install/antlr3:: mh_linkrepojar -pantlr3 runtime/Java/pom.xml /usr/share/java/antlr3-runtime.jar mh_linkrepojar -pantlr3 tool/pom.xml /usr/share/java/antlr3.jar + mh_linkrepojar -plibantlr3-gunit-java gunit/pom.xml /usr/share/java/antlr3-gunit.jar dh_installman -pantlr3 binary-post-install/antlr3-gcj:: binary-post-install/antlr3 Modified: trunk/antlr3/debian/scripts/antlr3.1 =================================================================== --- trunk/antlr3/debian/scripts/antlr3.1 2010-07-25 20:42:58 UTC (rev 12812) +++ trunk/antlr3/debian/scripts/antlr3.1 2010-07-25 21:02:20 UTC (rev 12813) @@ -21,7 +21,7 @@ .B java org.antlr.Tool .B or .B antlr3 -[\fIargs\fR] \fIfile.g\fR \[fIfile2.g\fR \fIfile3.g\fR ...] +[\fIargs\fR] \fIfile.g\fR \[ \fIfile2.g\fR \fIfile3.g\fR ...] .br .SH "DESCRIPTION" ANTLR, ANother Tool for Language Recognition, (formerly PCCTS) is a _______________________________________________ pkg-java-commits mailing list pkg-java-comm...@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-java-commits