[VOTE] Release Manuals of Last Five Ant Releases
Hi, I don't really think this requires a vote since I've just repackaged existing distributions (see buildfile at the end of the mail for details), but it won't hurt. In http://people.apache.org/~bodewig/manual/ there are ZIP and tar.gz/bz2 files containing the manuals of the releases 1.6.5 to 1.8.1. The contents are similar to the manual tarballs that will be created by the distribution target in trunk's build.xml. I'd like to release those to the public, so please cast your vote: [ ] +1 release them [ ] 0 don't care [ ] -1 no, don't release them The plan is to create a manual directory inside Ant's distribution area right next to the source and binaries directories and copy over all files from http://people.apache.org/~bodewig/manual/. In addition I'd create -current symlinks just like we have for source and binaries. Once the mirrors have picked up all files I'd delete the archives for 1.6.5 to 1.8.0 so they remain on archives.apache.org only. Furthermore I'll add a new download page for the manual and link to it from the cover page (if you are looking for an older version ...) and the API docs page (if you are looking for javadocs ...) of the Ant website. Stefan PS: this is how I created the files, most of it stolen from trunk's build.xml. project mkdir dir=work/ macrodef name=checksums-mvn description=only md5 and sha1 are needed for the maven directory structure element name=resources implicit=true/ sequential checksum algorithm=md5 resources/ /checksum checksum algorithm=sha1 resources/ /checksum /sequential /macrodef macrodef name=checksums element name=resources implicit=true/ sequential checksums-mvn resources/ /checksums-mvn checksum fileext=.sha512 algorithm=sha-512 resources/ /checksum /sequential /macrodef macrodef name=get-and-zip attribute name=version/ sequential get src=http://archive.apache.org/dist/ant/binaries/apache-a...@{version}-bin.tar.bz2; dest=work/ untar src=work/apache-a...@{version}-bin.tar.bz2 dest=work compression=bzip2/ mkdir dir=work/manual/ zip destfile=work/manual/apache-a...@{version}-manual.zip zipfileset dir=work/apache-a...@{version}/docs/manual prefix=apache-a...@{version}/ zipfileset file=work/apache-a...@{version}/NOTICE prefix=apache-a...@{version}/ /zip tar longfile=gnu destfile=work/manual/apache-a...@{version}-manual.tar tarfileset dir=work/apache-a...@{version}/docs/manual prefix=apache-a...@{version}/ tarfileset file=work/apache-a...@{version}/NOTICE prefix=apache-a...@{version}/ /tar gzip destfile=work/manual/apache-a...@{version}-manual.tar.gz src=work/manual/apache-a...@{version}-manual.tar/ bzip2 destfile=work/manual/apache-a...@{version}-manual.tar.bz2 src=work/manual/apache-a...@{version}-manual.tar/ delete file=work/manual/apache-a...@{version}-manual.tar/ /sequential /macrodef get-and-zip version=1.6.5/ get-and-zip version=1.7.0/ get-and-zip version=1.7.1/ get-and-zip version=1.8.0/ get-and-zip version=1.8.1/ checksums fileset dir=work/manual/ exclude name=**/*.asc/ exclude name=**/*.md5/ exclude name=**/*.sha1/ exclude name=**/*.sha512/ /fileset /checksums /project - To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org For additional commands, e-mail: dev-h...@ant.apache.org
Re: Distributing Docs: Manual or whole Site?
On 2010-07-17, Jan Matèrne wrote: Should we generate an Eclipse plugin (for newer versions)? https://svn.apache.org/repos/asf/ant/sandbox/antlibs/manual4eclipse I'm not familiar with it in any way. Does it still work with recent versions of Eclipse? What does it do in the first place? Stefan - To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org For additional commands, e-mail: dev-h...@ant.apache.org
Re: [VOTE] Release Manuals of Last Five Ant Releases
+1 release the manuals On Mon, Jul 19, 2010 at 3:21 PM, Stefan Bodewig bode...@apache.org wrote: Hi, I don't really think this requires a vote since I've just repackaged existing distributions (see buildfile at the end of the mail for details), but it won't hurt. In http://people.apache.org/~bodewig/manual/ there are ZIP and tar.gz/bz2 files containing the manuals of the releases 1.6.5 to 1.8.1. The contents are similar to the manual tarballs that will be created by the distribution target in trunk's build.xml. I'd like to release those to the public, so please cast your vote: [ ] +1 release them [ ] 0 don't care [ ] -1 no, don't release them The plan is to create a manual directory inside Ant's distribution area right next to the source and binaries directories and copy over all files from http://people.apache.org/~bodewig/manual/. In addition I'd create -current symlinks just like we have for source and binaries. Once the mirrors have picked up all files I'd delete the archives for 1.6.5 to 1.8.0 so they remain on archives.apache.org only. Furthermore I'll add a new download page for the manual and link to it from the cover page (if you are looking for an older version ...) and the API docs page (if you are looking for javadocs ...) of the Ant website. Stefan PS: this is how I created the files, most of it stolen from trunk's build.xml. project mkdir dir=work/ macrodef name=checksums-mvn description=only md5 and sha1 are needed for the maven directory structure element name=resources implicit=true/ sequential checksum algorithm=md5 resources/ /checksum checksum algorithm=sha1 resources/ /checksum /sequential /macrodef macrodef name=checksums element name=resources implicit=true/ sequential checksums-mvn resources/ /checksums-mvn checksum fileext=.sha512 algorithm=sha-512 resources/ /checksum /sequential /macrodef macrodef name=get-and-zip attribute name=version/ sequential get src=http://archive.apache.org/dist/ant/binaries/apache-a...@{version}-bin.tar.bz2; dest=work/ untar src=work/apache-a...@{version}-bin.tar.bz2 dest=work compression=bzip2/ mkdir dir=work/manual/ zip destfile=work/manual/apache-a...@{version}-manual.zip zipfileset dir=work/apache-a...@{version}/docs/manual prefix=apache-a...@{version}/ zipfileset file=work/apache-a...@{version}/NOTICE prefix=apache-a...@{version}/ /zip tar longfile=gnu destfile=work/manual/apache-a...@{version}-manual.tar tarfileset dir=work/apache-a...@{version}/docs/manual prefix=apache-a...@{version}/ tarfileset file=work/apache-a...@{version}/NOTICE prefix=apache-a...@{version}/ /tar gzip destfile=work/manual/apache-a...@{version}-manual.tar.gz src=work/manual/apache-a...@{version}-manual.tar/ bzip2 destfile=work/manual/apache-a...@{version}-manual.tar.bz2 src=work/manual/apache-a...@{version}-manual.tar/ delete file=work/manual/apache-a...@{version}-manual.tar/ /sequential /macrodef get-and-zip version=1.6.5/ get-and-zip version=1.7.0/ get-and-zip version=1.7.1/ get-and-zip version=1.8.0/ get-and-zip version=1.8.1/ checksums fileset dir=work/manual/ exclude name=**/*.asc/ exclude name=**/*.md5/ exclude name=**/*.sha1/ exclude name=**/*.sha512/ /fileset /checksums /project - To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org For additional commands, e-mail: dev-h...@ant.apache.org - To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org For additional commands, e-mail: dev-h...@ant.apache.org
Re: [VOTE] Release Manuals of Last Five Ant Releases
On Mon, Jul 19, 2010 at 10:59 AM, Peter Reilly peter.kitt.rei...@gmail.com wrote: +1 release the manuals +1 as well. --DD - To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org For additional commands, e-mail: dev-h...@ant.apache.org
Re: Import and project helpers
On Jul 19, 2010, at 4:12 AM, Nicolas Lalevée wrote: On Friday 16 July 2010 18:07:57 Matt Benson wrote: On Jul 16, 2010, at 8:25 AM, Nicolas Lalevée wrote: Hi, I did some other experiment with the groovy frontend to ant recently. And I would like to be able to make a groovy build file import an xml build file and vice versa. As far as I can tell, in order to do this, a simple change would be needed in ImportTask. Rather than doing this in importResource: helper.parse(getProject(), importedResource); we would do something like: ProjectHelper subHelper = ProjectHelperRepository.getInstance().getProjectHelperForBuildFile( importedResource); // push current stacks into the sub helper subHelper.getImportStack().addAll(helper.getImportStack()); subHelper.getExtensionStack().addAll(helper.getExtensionStack()); getProject().addReference(ProjectHelper.PROJECTHELPER_REFERENCE, subHelper); subHelper.parse(getProject(), importedResource); // push back the stacks from the sub helper to the main one getProject().addReference(ProjectHelper.PROJECTHELPER_REFERENCE, helper); helper.getImportStack().clear(); helper.getImportStack().addAll(subHelper.getImportStack()); helper.getExtensionStack().clear(); helper.getExtensionStack().addAll(subHelper.getExtensionStack()); For the little tests I have done with the groovy frontend, it seems to work quite well. Actually it seems so simple that I am wondering if I might have missed some side effect. Did I ? I suppose it's possible you missed something, but it seems okay. If it were me, I might work out a way to make the subHelper send its imports/extensions directly back to the top-level ProjectHelper rather than so much clearing and replacing, but I'll admit to being somewhat paranoid. I think I got paranoid too but the other way: I didn't want to change the API of ProjectHelper that might be implemented around the world and bring backward compatibility issues. I didn't actually pick up on where there was an actual API change? Being backward-compatibility-obsessed as a project, we should expand rather than change our APIs... -Matt Thanks for the review, I will commit that probably with some additionnal unit tests. Nicolas -Matt At least the unit tests showed me that I did nothing that wrong. Nicolas - To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org For additional commands, e-mail: dev-h...@ant.apache.org - To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org For additional commands, e-mail: dev-h...@ant.apache.org - To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org For additional commands, e-mail: dev-h...@ant.apache.org - To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org For additional commands, e-mail: dev-h...@ant.apache.org
Re: [VOTE] Release Manuals of Last Five Ant Releases
+1 as well. Antoine On 7/19/2010 12:27 PM, Dominique Devienne wrote: On Mon, Jul 19, 2010 at 10:59 AM, Peter Reilly peter.kitt.rei...@gmail.com wrote: +1 release the manuals +1 as well. --DD - To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org For additional commands, e-mail: dev-h...@ant.apache.org
Re: [VOTE] Release Manuals of Last Five Ant Releases
+1 On 19-7-2010 16:21, Stefan Bodewig wrote: Hi, I don't really think this requires a vote since I've just repackaged existing distributions (see buildfile at the end of the mail for details), but it won't hurt. Inhttp://people.apache.org/~bodewig/manual/ there are ZIP and tar.gz/bz2 files containing the manuals of the releases 1.6.5 to 1.8.1. The contents are similar to the manual tarballs that will be created by the distribution target in trunk's build.xml. I'd like to release those to the public, so please cast your vote: [ ] +1 release them [ ] 0 don't care [ ] -1 no, don't release them The plan is to create a manual directory inside Ant's distribution area right next to the source and binaries directories and copy over all files fromhttp://people.apache.org/~bodewig/manual/. In addition I'd create -current symlinks just like we have for source and binaries. Once the mirrors have picked up all files I'd delete the archives for 1.6.5 to 1.8.0 so they remain on archives.apache.org only. Furthermore I'll add a new download page for the manual and link to it from the cover page (if you are looking for an older version ...) and the API docs page (if you are looking for javadocs ...) of the Ant website. Stefan PS: this is how I created the files, most of it stolen from trunk's build.xml. project mkdir dir=work/ macrodef name=checksums-mvn description=only md5 and sha1 are needed for the maven directory structure element name=resources implicit=true/ sequential checksum algorithm=md5 resources/ /checksum checksum algorithm=sha1 resources/ /checksum /sequential /macrodef macrodef name=checksums element name=resources implicit=true/ sequential checksums-mvn resources/ /checksums-mvn checksum fileext=.sha512 algorithm=sha-512 resources/ /checksum /sequential /macrodef macrodef name=get-and-zip attribute name=version/ sequential get src=http://archive.apache.org/dist/ant/binaries/apache-a...@{version}-bin.tar.bz2; dest=work/ untar src=work/apache-a...@{version}-bin.tar.bz2 dest=work compression=bzip2/ mkdir dir=work/manual/ zip destfile=work/manual/apache-a...@{version}-manual.zip zipfileset dir=work/apache-a...@{version}/docs/manual prefix=apache-a...@{version}/ zipfileset file=work/apache-a...@{version}/NOTICE prefix=apache-a...@{version}/ /zip tar longfile=gnu destfile=work/manual/apache-a...@{version}-manual.tar tarfileset dir=work/apache-a...@{version}/docs/manual prefix=apache-a...@{version}/ tarfileset file=work/apache-a...@{version}/NOTICE prefix=apache-a...@{version}/ /tar gzip destfile=work/manual/apache-a...@{version}-manual.tar.gz src=work/manual/apache-a...@{version}-manual.tar/ bzip2 destfile=work/manual/apache-a...@{version}-manual.tar.bz2 src=work/manual/apache-a...@{version}-manual.tar/ delete file=work/manual/apache-a...@{version}-manual.tar/ /sequential /macrodef get-and-zip version=1.6.5/ get-and-zip version=1.7.0/ get-and-zip version=1.7.1/ get-and-zip version=1.8.0/ get-and-zip version=1.8.1/ checksums fileset dir=work/manual/ exclude name=**/*.asc/ exclude name=**/*.md5/ exclude name=**/*.sha1/ exclude name=**/*.sha512/ /fileset /checksums /project - To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org For additional commands, e-mail: dev-h...@ant.apache.org - To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org For additional commands, e-mail: dev-h...@ant.apache.org
AW: Distributing Docs: Manual or whole Site?
Should we generate an Eclipse plugin (for newer versions)? https://svn.apache.org/repos/asf/ant/sandbox/antlibs/manual4eclipse I'm not familiar with it in any way. Does it still work with recent versions of Eclipse? What does it do in the first place? First it will scans the Ant manual table of content files by starting from a given file - like like a spider. With the scanned information it generates a toc.xml which is needed for Eclipse Help. It writes a plugin.xml with static content, too. (m4e/) In a second step it checks the internal links and 'imports' external files (mainly images from cover.html), so that these are included in the EclipseHelp plugin too. Scanning of the toc.html's depend on XML syntax, so I had updated earlier versions (when I wrote these tasks). Not sure which was the first version which works with these tasks. Also the structure of the manual has changed recently (only one task list). I think, this 'should' work, but tests are better ;-) I'll try generating the help plugins ... Jan - To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org For additional commands, e-mail: dev-h...@ant.apache.org
Re: [VOTE] Release Manuals of Last Five Ant Releases
[ ] +1 release them [ ] 0 don't care [ ] -1 no, don't release them +1 Conor - To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org For additional commands, e-mail: dev-h...@ant.apache.org