[Patch] remove unused imports
just some housekeeping that I noticed when looking for something else Kev Index: FileUtils.java === RCS file: /home/cvspublic/ant/src/main/org/apache/tools/ant/util/FileUtils.java,v retrieving revision 1.71 diff -u -r1.71 FileUtils.java --- FileUtils.java 6 Oct 2004 22:41:52 - 1.71 +++ FileUtils.java 18 Nov 2004 02:47:29 - @@ -30,10 +30,8 @@ import java.io.InputStreamReader; import java.io.OutputStreamWriter; import java.io.Reader; -import java.io.PrintWriter; import java.io.Writer; import java.io.OutputStream; -import java.lang.reflect.Method; import java.net.MalformedURLException; import java.net.URL; import java.text.CharacterIterator; - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 32195] - Move task sends log output by default, and even when verbose=false
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=32195. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=32195 --- Additional Comments From [EMAIL PROTECTED] 2004-11-18 04:32 --- Ahhh - this is my misunderstanding of the documentation. Verbose reads: Log the files that are being moved. Turning this off, I assumed, meant that NO output would appear. From your reproduction below (thank you for taking the time), I see that verbose=false yields LESS output, but not total silence. To answer your question: No, I expected NOTHING to show up with verbose=false, but this was my misunderstanding. My build does a LOT of moves, and it is annoying for them all to go to the log. Then again, if something went wrong, I'd really want that log, wouldn't I? I guess what I really want is a silent/quiet flag. Is there any way to selectively suppress logging in Ant? This could be a useful general feature. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 32281] - fileset and dirset do not work with date selector
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=32281. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=32281 --- Additional Comments From [EMAIL PROTECTED] 2004-11-18 04:44 --- in isSelected in the DateType Selector, includesDirs is set to false (class variable), so if (file.isDirectory() (!includeDirs)) { return true; } should return true, unless something is changing the value of includesDirs to true, in which case this would fail. I've tried using the supplied build file to duplicate the behaviour, but it doesn't work for me - dependency problem which I don't have the time to fix right now. I can't see anything from the code that would change this value and you don't change it in the build file explicitly, perhaps it's an issue with the net.sf.antcontrib? Kev -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
CVS in general
I do have it I think, but I'm still sorting out read-write CVS access... I'll try to look at it too, but it may also be a while. If a committer has any experience accessing Apache's CVS repo from Windows using Putty/Pageant/TortoiseCVS, I'd appreciate a personal email with some basic instructions. Thanks, --DD Just a suggestion, but if you use Eclipse, you can access the CVS from with your IDE. putty direct to CVS I haven't tried, WinCVS is ok, but another application to launch. Do you need a CVS tool for manual commits or for automated (command line)/scripting purposes? As you'll have probably guessed, Windows sucks for command line tools. Kev - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 31541] - Unable to delete files with the ftp task
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=31541. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=31541 --- Additional Comments From [EMAIL PROTECTED] 2004-11-18 07:26 --- Looking at your output and the code, it looks like something is going on with the delFile method. As you're specifying a fileset (I assume from the build.xml included below), the task looks inside the fileset and then perorms the desired action, in this case delFile. I think for some reason, the FTPClient object can't delete the file on the server, but the warning message that the file couldn't be deleted will be swallowed and the # processed won't be incremented if skipFailedTransfers is set to false. Normally this would produce a BuildException, except in your case it isn't, which is pretty strange. Can you try it with verbose=true and see if it logs a skipping file message? -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: using fileset and date selector to get dirs unmofidied for 30 minutes
On Wed, 17 Nov 2004, Rob Anderson [EMAIL PROTECTED] wrote: On Tue, 16 Nov 2004, Rob Anderson [EMAIL PROTECTED] wrote: It looks like the dirset does not support Selectors. It does. DirSet extends AbstractFileSet and AbstractFileSet implements SelectorContainer, If you find it doesn't work then it is a bug and a report (preferrably with a unit test ;-) would be very much appreciated. Unit test? Yeah, that JUnit thing, you know 8-) Would a build.xml suffice? If it was self contained, that would be a great help. Stefan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 32126] - Condition IsSigned to check if a jarfile is signed
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=32126. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=32126 --- Additional Comments From [EMAIL PROTECTED] 2004-11-18 10:21 --- I second the request for an attachment ;-) The condition sounds useful - and should be used by the SignJar task internally once committed. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: ant/docs/manual dirtasks.html
bodewig 2004/11/18 01:44:28 Modified:docs/manual dirtasks.html Log: Clarify patterns, PR: 32148 Revision ChangesPath 1.23 +9 -0 ant/docs/manual/dirtasks.html Index: dirtasks.html === RCS file: /home/cvs/ant/docs/manual/dirtasks.html,v retrieving revision 1.22 retrieving revision 1.23 diff -u -r1.22 -r1.23 --- dirtasks.html 20 Apr 2004 12:48:43 - 1.22 +++ dirtasks.html 18 Nov 2004 09:44:28 - 1.23 @@ -65,6 +65,15 @@ of files. These patterns look very much like the patterns used in DOS and UNIX:/p p'*' matches zero or more characters, '?' matches one character./p + +pIn general, patterns are considered relative paths, relative to a +task dependent base directory (the dir attribute in the case of +codelt;filesetgt;/code). Only files found below that base +directory are considered. So while a pattern like +code../foo.java/code is possible, it will not match anything when +applied since the base directory's parent is never scanned for +files./p + pbExamples:/b/p p code*.java/codenbsp;nbsp;matchesnbsp;nbsp;code.java/code, - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: ant/docs/manual dirtasks.html
bodewig 2004/11/18 01:45:11 Modified:docs/manual Tag: ANT_16_BRANCH dirtasks.html Log: merge Revision ChangesPath No revision No revision 1.20.2.4 +9 -0 ant/docs/manual/dirtasks.html Index: dirtasks.html === RCS file: /home/cvs/ant/docs/manual/dirtasks.html,v retrieving revision 1.20.2.3 retrieving revision 1.20.2.4 diff -u -r1.20.2.3 -r1.20.2.4 --- dirtasks.html 20 Apr 2004 12:52:20 - 1.20.2.3 +++ dirtasks.html 18 Nov 2004 09:45:10 - 1.20.2.4 @@ -66,6 +66,15 @@ of files. These patterns look very much like the patterns used in DOS and UNIX:/p p'*' matches zero or more characters, '?' matches one character./p + +pIn general, patterns are considered relative paths, relative to a +task dependent base directory (the dir attribute in the case of +codelt;filesetgt;/code). Only files found below that base +directory are considered. So while a pattern like +code../foo.java/code is possible, it will not match anything when +applied since the base directory's parent is never scanned for +files./p + pbExamples:/b/p p code*.java/codenbsp;nbsp;matchesnbsp;nbsp;code.java/code, - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 32148] - path/fileset confusing when using relative paths and .. (parent directory)
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=32148. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=32148 [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||WONTFIX --- Additional Comments From [EMAIL PROTECTED] 2004-11-18 10:46 --- This is by design. I've added the following blurb to the manual in the section talking about patterns: In general, patterns are considered relative paths, relative to a task dependent base directory (the dir attribute in the case of fileset). Only files found below that base directory are considered. So while a pattern like ../foo.java is possible, it will not match anything when applied since the base directory's parent is never scanned for files. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 32114] - javadoc package specifications
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=32114. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=32114 --- Additional Comments From [EMAIL PROTECTED] 2004-11-18 10:48 --- Can't you use a packageset instead of a fileset? -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: ant/src/main/org/apache/tools/ant/helper ProjectHelper2.java
peterreilly2004/11/18 01:48:59 Modified:.WHATSNEW src/main/org/apache/tools/ant/helper ProjectHelper2.java Log: Set the location for the default target (the location will be the project tag) PR: 32267 Reported by: Yves Martin Revision ChangesPath 1.686 +3 -0 ant/WHATSNEW Index: WHATSNEW === RCS file: /home/cvs/ant/WHATSNEW,v retrieving revision 1.685 retrieving revision 1.686 diff -u -r1.685 -r1.686 --- WHATSNEW 16 Nov 2004 21:46:46 - 1.685 +++ WHATSNEW 18 Nov 2004 09:48:59 - 1.686 @@ -157,6 +157,9 @@ * Properties.propertyNames() should be used instead of .keys(). Bugzilla report 27261. +* Target location is not set for default target. + Bugzilla report 32267. + Changes from Ant 1.6.1 to Ant 1.6.2 === 1.51 +3 -0 ant/src/main/org/apache/tools/ant/helper/ProjectHelper2.java Index: ProjectHelper2.java === RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/helper/ProjectHelper2.java,v retrieving revision 1.50 retrieving revision 1.51 diff -u -r1.50 -r1.51 --- ProjectHelper2.java 12 Nov 2004 11:07:12 - 1.50 +++ ProjectHelper2.java 18 Nov 2004 09:48:59 - 1.51 @@ -601,6 +601,9 @@ boolean nameAttributeSet = false; Project project = context.getProject(); +// Set the location of the implicit target associated with the project tag +context.getImplicitTarget().setLocation( +new Location(context.getLocator())); /** XXX I really don't like this - the XML processor is still * too 'involved' in the processing. A better solution (IMO) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: ant/src/main/org/apache/tools/ant/helper ProjectHelper2.java
peterreilly2004/11/18 01:49:25 Modified:.Tag: ANT_16_BRANCH WHATSNEW src/main/org/apache/tools/ant/helper Tag: ANT_16_BRANCH ProjectHelper2.java Log: sync Revision ChangesPath No revision No revision 1.503.2.144 +3 -0 ant/WHATSNEW Index: WHATSNEW === RCS file: /home/cvs/ant/WHATSNEW,v retrieving revision 1.503.2.143 retrieving revision 1.503.2.144 diff -u -r1.503.2.143 -r1.503.2.144 --- WHATSNEW 28 Oct 2004 08:48:48 - 1.503.2.143 +++ WHATSNEW 18 Nov 2004 09:49:24 - 1.503.2.144 @@ -66,6 +66,9 @@ * Properties.propertyNames() should be used instead of .keys(). Bugzilla report 27261. +* Target location is not set for default target. + Bugzilla report 32267. + Changes from Ant 1.6.1 to Ant 1.6.2 === No revision No revision 1.33.2.18 +3 -0 ant/src/main/org/apache/tools/ant/helper/ProjectHelper2.java Index: ProjectHelper2.java === RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/helper/ProjectHelper2.java,v retrieving revision 1.33.2.17 retrieving revision 1.33.2.18 diff -u -r1.33.2.17 -r1.33.2.18 --- ProjectHelper2.java 12 Nov 2004 11:08:00 - 1.33.2.17 +++ ProjectHelper2.java 18 Nov 2004 09:49:25 - 1.33.2.18 @@ -601,6 +601,9 @@ boolean nameAttributeSet = false; Project project = context.getProject(); +// Set the location of the implicit target associated with the project tag +context.getImplicitTarget().setLocation( +new Location(context.getLocator())); /** XXX I really don't like this - the XML processor is still * too 'involved' in the processing. A better solution (IMO) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 32267] - Target location is not set for default target
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=32267. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=32267 [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Additional Comments From [EMAIL PROTECTED] 2004-11-18 10:51 --- Ok, I have committed a change to set the location for the default target. Now, why do you need the location of the target?. You should have the location of the task that is creating your task. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: ant/src/main/org/apache/tools/zip ZipEntry.java
bodewig 2004/11/18 02:17:47 Modified:src/main/org/apache/tools/zip ZipEntry.java Log: Some Gump based Kaffe debugging Revision ChangesPath 1.19 +6 -1 ant/src/main/org/apache/tools/zip/ZipEntry.java Index: ZipEntry.java === RCS file: /home/cvs/ant/src/main/org/apache/tools/zip/ZipEntry.java,v retrieving revision 1.18 retrieving revision 1.19 diff -u -r1.18 -r1.19 --- ZipEntry.java 16 Nov 2004 08:37:41 - 1.18 +++ ZipEntry.java 18 Nov 2004 10:17:47 - 1.19 @@ -430,6 +430,11 @@ if (msg == null) { msg = getDisplayableMessage(ite); } +if (nested != null) { +nested.printStackTrace(); +} else { +ite.printStackTrace(); +} throw new RuntimeException(InvocationTargetException setting the + compressed size of + ze + : + msg); - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: ant/xdocs/stylesheets templates.vm
bodewig 2004/11/18 04:22:20 Modified:docs antnews.html bindownload.html bylaws.html contributors.html cvs.html external.html faq.html index.html legal.html license.html mail.html mission.html problems.html projects.html resources.html srcdownload.html docs/projects index.html docs/projects/antidote design.html index.html module.html news.html xdocs/stylesheets templates.vm Log: ApacheCon is over Revision ChangesPath 1.94 +1 -6 ant/docs/antnews.html Index: antnews.html === RCS file: /home/cvs/ant/docs/antnews.html,v retrieving revision 1.93 retrieving revision 1.94 diff -u -r1.93 -r1.94 --- antnews.html 2 Nov 2004 11:25:16 - 1.93 +++ antnews.html 18 Nov 2004 12:22:18 - 1.94 @@ -81,12 +81,7 @@ div class=bluebar/div div class=menucontainer -div align=center - a href=http://ApacheCon.Com/2004/US/;img width=170 height=100 - border=0 - src=http://ApacheCon.Com/2004/US/logos/logo_only.gif; - alt=ApacheCon! title=Come to ApacheCon!//a -/div + div class=menu ul li class=menuheaderApache Ant 1.54 +1 -6 ant/docs/bindownload.html Index: bindownload.html === RCS file: /home/cvs/ant/docs/bindownload.html,v retrieving revision 1.53 retrieving revision 1.54 diff -u -r1.53 -r1.54 --- bindownload.html 16 Nov 2004 08:44:16 - 1.53 +++ bindownload.html 18 Nov 2004 12:22:18 - 1.54 @@ -73,12 +73,7 @@ div class=bluebar/div div class=menucontainer -div align=center - a href=http://ApacheCon.Com/2004/US/;img width=170 height=100 - border=0 - src=http://ApacheCon.Com/2004/US/logos/logo_only.gif; - alt=ApacheCon! title=Come to ApacheCon!//a -/div + div class=menu ul li class=menuheaderApache Ant 1.15 +1 -6 ant/docs/bylaws.html Index: bylaws.html === RCS file: /home/cvs/ant/docs/bylaws.html,v retrieving revision 1.14 retrieving revision 1.15 diff -u -r1.14 -r1.15 --- bylaws.html 2 Nov 2004 11:25:16 - 1.14 +++ bylaws.html 18 Nov 2004 12:22:18 - 1.15 @@ -75,12 +75,7 @@ div class=bluebar/div div class=menucontainer -div align=center - a href=http://ApacheCon.Com/2004/US/;img width=170 height=100 - border=0 - src=http://ApacheCon.Com/2004/US/logos/logo_only.gif; - alt=ApacheCon! title=Come to ApacheCon!//a -/div + div class=menu ul li class=menuheaderApache Ant 1.50 +1 -6 ant/docs/contributors.html Index: contributors.html === RCS file: /home/cvs/ant/docs/contributors.html,v retrieving revision 1.49 retrieving revision 1.50 diff -u -r1.49 -r1.50 --- contributors.html 2 Nov 2004 11:25:16 - 1.49 +++ contributors.html 18 Nov 2004 12:22:18 - 1.50 @@ -75,12 +75,7 @@ div class=bluebar/div div class=menucontainer -div align=center - a href=http://ApacheCon.Com/2004/US/;img width=170 height=100 - border=0 - src=http://ApacheCon.Com/2004/US/logos/logo_only.gif; - alt=ApacheCon! title=Come to ApacheCon!//a -/div + div class=menu ul li class=menuheaderApache Ant 1.30 +1 -6 ant/docs/cvs.html Index: cvs.html === RCS file: /home/cvs/ant/docs/cvs.html,v retrieving revision 1.29 retrieving revision 1.30 diff -u -r1.29 -r1.30 --- cvs.html 2 Nov 2004 11:25:16 - 1.29 +++ cvs.html 18 Nov 2004 12:22:18 - 1.30 @@ -75,12 +75,7 @@ div class=bluebar/div div class=menucontainer -div align=center - a href=http://ApacheCon.Com/2004/US/;img width=170 height=100 - border=0 - src=http://ApacheCon.Com/2004/US/logos/logo_only.gif; - alt=ApacheCon! title=Come to ApacheCon!//a -/div + div class=menu ul li class=menuheaderApache Ant 1.188 +1 -6 ant/docs/external.html Index: external.html === RCS file:
Re: repository
Version 0.3 of the dependencies task is now available. It includes repository types and a dependencies-mapper. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 32114] - javadoc package specifications
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=32114. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=32114 --- Additional Comments From [EMAIL PROTECTED] 2004-11-18 14:36 --- The problem I have is that I'm running a doclet that only generates Javadoc for specifically annotated classes. I don't want to have to maintain an explicity defined packageset as developers are very likely to forget to update this when adding new classes that have this annotation. What I want to do is define the fileset to use a selector that only lists the source files that have the specific annotation within them and only have the packages that those files exist within get generated to the final Javadoc output. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: ant/src/testcases/org/apache/tools/ant/taskdefs/cvslib ChangeLogWriterTest.java
stevel 2004/11/18 07:24:26 Modified:src/testcases/org/apache/tools/ant/taskdefs/cvslib ChangeLogWriterTest.java Log: patch to stop java1.5 whining about character encodings. Revision ChangesPath 1.2 +2 -2 ant/src/testcases/org/apache/tools/ant/taskdefs/cvslib/ChangeLogWriterTest.java Index: ChangeLogWriterTest.java === RCS file: /home/cvs/ant/src/testcases/org/apache/tools/ant/taskdefs/cvslib/ChangeLogWriterTest.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- ChangeLogWriterTest.java 11 Nov 2004 17:27:43 - 1.1 +++ ChangeLogWriterTest.java 18 Nov 2004 15:24:26 - 1.2 @@ -41,9 +41,9 @@ private ChangeLogWriter writer = new ChangeLogWriter(); public void testNonUTF8Characters() throws Exception { -CVSEntry entry = new CVSEntry(new Date(), Señorita, 2003 2004 3 5); +CVSEntry entry = new CVSEntry(new Date(), Se\u00f1orita, 2003 2004 3 5); entry.addFile(Medicare review.doc, 1.1); -entry.addFile(Eléments de style, 1.2); +entry.addFile(El\u00e8ments de style, 1.2); CVSEntry[] entries = { entry }; ByteArrayOutputStream output = new ByteArrayOutputStream(); - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: ant/src/main/org/apache/tools/ant/taskdefs/repository - New directory
stevel 2004/11/18 07:44:18 ant/src/main/org/apache/tools/ant/taskdefs/repository - New directory - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: ant/src/main/org/apache/tools/ant/taskdefs Get.java
stevel 2004/11/18 08:00:18 Modified:src/main/org/apache/tools/ant/taskdefs/optional/repository Repository.java Library.java MavenRepository.java HttpRepository.java RepositoryRef.java GetLibraries.java src/etc/testcases/taskdefs/optional getlibraries.xml src/testcases/org/apache/tools/ant/taskdefs/optional/repository GetLibrariesTest.java src/main/org/apache/tools/ant/taskdefs Get.java Added: src/main/org/apache/tools/ant/taskdefs/repository EnabledLibraryElement.java ScheduledUpdatePolicy.java EnabledLibraryElementList.java AbsentFilesPolicy.java TimestampPolicy.java BaseLibraryPolicy.java LibraryPolicy.java ForceUpdatePolicy.java NoUpdatePolicy.java AssertDownloaded.java Log: Updated getlibraries code, plus new classes. After this checkin I'm about to move and rename some of the existing stuff. Revision ChangesPath 1.3 +9 -2 ant/src/main/org/apache/tools/ant/taskdefs/optional/repository/Repository.java Index: Repository.java === RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/optional/repository/Repository.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- Repository.java 2 Nov 2004 23:37:21 - 1.2 +++ Repository.java 18 Nov 2004 16:00:17 - 1.3 @@ -99,11 +99,18 @@ /** * fetch a library from the repository * - * @param library + * @param library library to fetch * + * @param useTimestamp flag to indicate the timestamp of the lib should be used * @return */ -public abstract boolean fetch(Library library) throws IOException; +public abstract boolean fetch(Library library, boolean useTimestamp) throws IOException; +/** + * this is a string that uniquely describes the repository + * and can be used for equality tests iacross/i instances. + * @return + */ +public abstract String getRepositoryURI(); } 1.3 +126 -52 ant/src/main/org/apache/tools/ant/taskdefs/optional/repository/Library.java Index: Library.java === RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/optional/repository/Library.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- Library.java 30 Oct 2004 21:03:44 - 1.2 +++ Library.java 18 Nov 2004 16:00:17 - 1.3 @@ -18,8 +18,9 @@ package org.apache.tools.ant.taskdefs.optional.repository; import org.apache.tools.ant.BuildException; -import org.apache.tools.ant.Project; +import org.apache.tools.ant.taskdefs.repository.EnabledLibraryElement; import org.apache.tools.ant.types.Path; +import org.apache.tools.ant.util.FileUtils; import java.io.File; @@ -28,7 +29,30 @@ * * @since Ant1.7 */ -public class Library { +public class Library implements EnabledLibraryElement { + +/** + * enabled flag + */ +private boolean enabled = true; + +/** + * turn policy on/off + * + * @param enabled + */ +public void setEnabled(boolean enabled) { +this.enabled = enabled; +} + +/** + * are we enabled + * + * @return true if [EMAIL PROTECTED] #enabled} is set + */ +public boolean getEnabled() { +return enabled; +} //project ant private String project; @@ -52,14 +76,12 @@ private File libraryFile; /** - * if clause + * we fetch every library by default; note the enabled/disabled + * flag has precedence, and this flag is not visible in the XML */ -private String ifClause; +private boolean toFetch=true; -/** - * unless clause - */ -private String unlessClause; +private boolean fetched=false; public static final String ERROR_NO_ARCHIVE = No archive defined; public static final String ERROR_NO_PROJECT = No project defined; @@ -70,6 +92,7 @@ * suffix */ private String suffix = jar; +public static final String ERROR_FILE_IS_A_DIR = Library file is a directory:; /** @@ -155,38 +178,6 @@ } /** - * a property that must be set for the library to be considered a dependency - * @return - */ -public String getIf() { -return ifClause; -} - -/** - * a property that must be set for the library to be considered a dependency
cvs commit: ant/src/testcases/org/apache/tools/ant/taskdefs/optional/repository GetLibrariesTest.java
stevel 2004/11/18 08:25:05 Modified:src/main/org/apache/tools/ant/taskdefs defaults.properties src/main/org/apache/tools/ant/taskdefs/repository AbsentFilesPolicy.java AssertDownloaded.java BaseLibraryPolicy.java ForceUpdatePolicy.java LibraryPolicy.java NoUpdatePolicy.java ScheduledUpdatePolicy.java TimestampPolicy.java src/main/org/apache/tools/ant/types defaults.properties Added: src/main/org/apache/tools/ant/taskdefs/repository HttpRepository.java Libraries.java Library.java MavenRepository.java Repository.java RepositoryRef.java src/etc/testcases/taskdefs libraries.xml src/testcases/org/apache/tools/ant/taskdefs LibrariesTest.java Removed: src/main/org/apache/tools/ant/taskdefs/optional/repository GetLibraries.java HttpRepository.java Library.java MavenRepository.java Repository.java RepositoryRef.java src/etc/testcases/taskdefs/optional getlibraries.xml src/testcases/org/apache/tools/ant/taskdefs/optional/repository GetLibrariesTest.java Log: 1. Move from optional.repository to tasks.repository 2. rename libraries Revision ChangesPath 1.160 +1 -1 ant/src/main/org/apache/tools/ant/taskdefs/defaults.properties Index: defaults.properties === RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/defaults.properties,v retrieving revision 1.159 retrieving revision 1.160 diff -u -r1.159 -r1.160 --- defaults.properties 25 Oct 2004 23:13:38 - 1.159 +++ defaults.properties 18 Nov 2004 16:25:03 - 1.160 @@ -80,6 +80,7 @@ presetdef=org.apache.tools.ant.taskdefs.PreSetDef macrodef=org.apache.tools.ant.taskdefs.MacroDef nice=org.apache.tools.ant.taskdefs.Nice +libraries=org.apache.tools.ant.taskdefs.repository.Libraries # optional tasks image=org.apache.tools.ant.taskdefs.optional.image.Image @@ -203,7 +204,6 @@ scriptdef=org.apache.tools.ant.taskdefs.optional.script.ScriptDef ildasm=org.apache.tools.ant.taskdefs.optional.dotnet.Ildasm apt=org.apache.tools.ant.taskdefs.Apt -getlibraries=org.apache.tools.ant.taskdefs.optional.repository.GetLibraries # deprecated ant tasks (kept for back compatibility) starteam=org.apache.tools.ant.taskdefs.optional.scm.AntStarTeamCheckOut 1.2 +1 -3 ant/src/main/org/apache/tools/ant/taskdefs/repository/AbsentFilesPolicy.java Index: AbsentFilesPolicy.java === RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/repository/AbsentFilesPolicy.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- AbsentFilesPolicy.java18 Nov 2004 16:00:18 - 1.1 +++ AbsentFilesPolicy.java18 Nov 2004 16:25:03 - 1.2 @@ -16,8 +16,6 @@ */ package org.apache.tools.ant.taskdefs.repository; -import org.apache.tools.ant.taskdefs.optional.repository.GetLibraries; - import java.util.ListIterator; /** @@ -36,7 +34,7 @@ * @throws org.apache.tools.ant.BuildException * if needed */ -public boolean beforeConnect(GetLibraries owner, ListIterator libraries) { +public boolean beforeConnect(Libraries owner, ListIterator libraries) { owner.markMissingLibrariesForFetch(); return true; } 1.2 +2 -3 ant/src/main/org/apache/tools/ant/taskdefs/repository/AssertDownloaded.java Index: AssertDownloaded.java === RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/repository/AssertDownloaded.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- AssertDownloaded.java 18 Nov 2004 16:00:18 - 1.1 +++ AssertDownloaded.java 18 Nov 2004 16:25:03 - 1.2 @@ -17,7 +17,6 @@ package org.apache.tools.ant.taskdefs.repository; import org.apache.tools.ant.BuildException; -import org.apache.tools.ant.taskdefs.optional.repository.GetLibraries; import java.util.ListIterator; @@ -54,7 +53,7 @@ * @throws org.apache.tools.ant.BuildException * if needed */ -public boolean beforeConnect(GetLibraries owner, ListIterator libraries) { +public boolean beforeConnect(Libraries owner, ListIterator libraries) { if(count==null) { throw new BuildException(ERROR_NO_COUNT); } @@ -70,7 +69,7 @@ * @throws
documentation
I have lots of docs pending, both on the repository and on the smartfrog deployment stuff @work, which is in a separate CVS codebase for extra fun. This is an incentive for me to do what I've been thinking of for a while, redo the xdoclet stuff for -latest xdoclet -datatypes alongside tasks -optional/required/default tags -XSL - XHTML (not that I have anything against velocity...) -make it properly usable in external projects Anyone want to muck in? Especially someone with xdoclet/xsl/velocity skills, or just time on hands. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: documentation
From: Steve Loughran [mailto:[EMAIL PROTECTED] I have lots of docs pending, both on the repository and on the smartfrog deployment stuff @work, which is in a separate CVS codebase for extra fun. This is an incentive for me to do what I've been thinking of for a while, redo the xdoclet stuff for -latest xdoclet -datatypes alongside tasks -optional/required/default tags -XSL - XHTML (not that I have anything against velocity...) -make it properly usable in external projects Anyone want to muck in? Especially someone with xdoclet/xsl/velocity skills, or just time on hands. I started doing some of it, but had to let it go by lack of time recently :-( I'm definitely interested, especially if it can be used for external antlibs too (becomes part of Ant distro). Having a standard way to document Ant tasks/types would only foster more reuse of such external AntLibs I think, and a more consistent way to document them all. --DD PS: As I said before, I heavily lean towards XSL myself. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 32295] New: - FilterChain description references nonexistent page regexp.html
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=32295. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=32295 Summary: FilterChain description references nonexistent page regexp.html Product: Ant Version: 1.6.2 Platform: All URL: http://ant.apache.org/manual/CoreTypes/filterchain.html OS/Version: All Status: NEW Severity: normal Priority: P2 Component: Documentation AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] URL http://ant.apache.org/manual/CoreTypes/filterchain.html, after anchor #linecontainsregexp, references URL http://ant.apache.org/manual/CoreTypes/regexp.html: LineContainsRegExp Filter which includes only those lines that contain the user-specified regular expression matching strings. See Regexp Type for the description of the nested element regexp and of the choice of regular expression implementation. However, the referenced URL does not exist, and returns an HTTP 404 error. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 32295] - FilterChain description references nonexistent page regexp.html
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=32295. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=32295 [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Additional Comments From [EMAIL PROTECTED] 2004-11-18 17:59 --- fixed in cvs -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[PATCH] Formatting changes
Put code around a ton of places where it was just lt;taggt;. And a few other minor format changes as well. (such as removing the space from tags like lt;tagname /gt;), and correcting #169; to copy;, and adding All Rights Reserved to copyright statements. Attached as a gzip file, since it's over the 100k mailing list size. -- Larry - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: ant/docs/manual/CoreTypes filterchain.html
mbenson 2004/11/18 10:02:34 Modified:docs/manual/CoreTypes Tag: ANT_16_BRANCH filterchain.html Log: Merge Revision ChangesPath No revision No revision 1.13.2.9 +3 -3 ant/docs/manual/CoreTypes/filterchain.html Index: filterchain.html === RCS file: /home/cvs/ant/docs/manual/CoreTypes/filterchain.html,v retrieving revision 1.13.2.8 retrieving revision 1.13.2.9 diff -u -r1.13.2.8 -r1.13.2.9 --- filterchain.html 16 Nov 2004 08:13:34 - 1.13.2.8 +++ filterchain.html 18 Nov 2004 18:02:33 - 1.13.2.9 @@ -421,7 +421,7 @@ H4Example:/H4 -This replaces occurences of the string #64;DATE#64; in the data +This replaces occurrences of the string #64;DATE#64; in the data with today's date and stores it in the property ${src.file.replaced} BLOCKQUOTEPRE lt;tstamp/gt; @@ -968,7 +968,7 @@ careful not to use this on very large input. H4Examples:/H4 -Replace the first occurance of package with //package. +Replace the first occurrence of package with //package. BLOCKQUOTEPRE lt;tokenfiltergt; lt;filetokenizer/gt; @@ -1136,7 +1136,7 @@ /TABLE H4Examples:/H4 -Replace all occurances of hello with world, ignoring case. +Replace all occurrences of hello with world, ignoring case. BLOCKQUOTEPRE lt;tokenfiltergt; - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 27739] - sql insert statement fails on '--' strings
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=27739. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=27739 [EMAIL PROTECTED] changed: What|Removed |Added OS/Version||All --- Additional Comments From [EMAIL PROTECTED] 2004-11-18 19:05 --- The -- string is considered an SQL comment to end of line. However, if the -- occurs within a delimited string, the SQL task still treats it as a comment to end of line, as this simple task doesn't attempt to parse for string fields in the sql statement. A workaround is to use the keepformat=true flag, but this turns comment processing off entirely. It also has a nasty habit of disliking trailing spaces after the semicolon. A workaround for this, is to remove all trailing spaces in any SQL files you want to process using this comment, as well as removing all comments from the sql file. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: CVS in general
On Thu, 18 Nov 2004 10:48:32 +0700, Kevin Jackson [EMAIL PROTECTED] wrote: I do have it I think, but I'm still sorting out read-write CVS access... I'll try to look at it too, but it may also be a while. If a committer has any experience accessing Apache's CVS repo from Windows using Putty/Pageant/TortoiseCVS, I'd appreciate a personal email with some basic instructions. Thanks, --DD I don't remember where I got it, but I have been using a cvs command line client for about 5 years. I just keep moving it from Windows computer to computer. But here is a link that may give you what you want: http://www-mrsrl.stanford.edu/labprivate/cvs_cmdwin.html - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 32300] New: - Allow multiple targets for ant task
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=32300. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=32300 Summary: Allow multiple targets for ant task Product: Ant Version: 1.6.2 Platform: Other OS/Version: All Status: NEW Severity: normal Priority: P2 Component: Core tasks AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Please change the ant task to allow multiple targets to be specified in a single property, whitespace-separated. Currently only one target can be specified in the 'target' attribute. Suggested implementation alternatives: 1) allow multiple targets in current 'target' attribute; 2) add new property 'targets'; I suggest the first approach is taken, since spaces are not allowed in a target name anyway, I guess. I will append an example to explain what approach I'm taking. I have a shell script that calls a first Ant build file, which generates a second Ant build file and then passes control to that build file, with the arguments passed to the shell script :-) If you need me to explain this in more detail, let me know. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 32300] - Allow multiple targets for ant task
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=32300. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=32300 [EMAIL PROTECTED] changed: What|Removed |Added CC||[EMAIL PROTECTED] -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 32300] - Allow multiple targets for ant task
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=32300. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=32300 --- Additional Comments From [EMAIL PROTECTED] 2004-11-18 22:16 --- Created an attachment (id=13494) -- (http://issues.apache.org/bugzilla/attachment.cgi?id=13494action=view) First build file (a.xml) Download a.xml and b.xml and then execute this a.xml as follows: ant -buildfile a.xml -Dargs='target_b_1 target_b_2' -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 32300] - Allow multiple targets for ant task
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=32300. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=32300 --- Additional Comments From [EMAIL PROTECTED] 2004-11-18 22:17 --- Created an attachment (id=13495) -- (http://issues.apache.org/bugzilla/attachment.cgi?id=13495action=view) Second build file (b.xml) Download a.xml and b.xml and then execute this a.xml as follows: ant -buildfile a.xml -Dargs='target_b_1 target_b_2' -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 32300] - Allow multiple targets for ant task
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=32300. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=32300 --- Additional Comments From [EMAIL PROTECTED] 2004-11-18 22:28 --- Created an attachment (id=13496) -- (http://issues.apache.org/bugzilla/attachment.cgi?id=13496action=view) Patch for the docs/manual/CoreTasks/ant.html (documentation). Possible change to the docs/manual/CoreTasks/ant.html file. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 32300] - Allow multiple targets for ant task
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=32300. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=32300 [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Additional Comments From [EMAIL PROTECTED] 2004-11-18 22:29 --- The CVS HEAD versions of ant and subant allow nested target elements to be specified. A single dependencies analysis is performed so: anttarget name=foo /target name=bar //ant behaves like: target name=foobar depends=foo,bar / ant target=foobar / (this is not how the implementation works, only an illustration of the outcome) -Matt -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 11098] - Targets specified on command line rerun dependencies
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=11098. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=11098 [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Additional Comments From [EMAIL PROTECTED] 2004-11-18 22:31 --- In the CVS HEAD version of Ant you can specify, using the -D property command- line argument: -Dant.executor.class=org.apache.tools.ant.helper.SingleCheckExecutor And the targets specified on the command-line will be executed with a single dependency check. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 32300] - Allow multiple targets for ant task
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=32300. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=32300 --- Additional Comments From [EMAIL PROTECTED] 2004-11-18 22:33 --- For your information, when I execute the command I proposed, I get the following output: $ ant -buildfile a.xml -Dargs='target_b_1 target_b_2' Buildfile: a.xml target_a_1: [echo] Arguments: target_b_1 target_b_2 BUILD FAILED /home/ernst/a.xml:6: Following error occured while executing this line Target `target_b_1 target_b_2' does not exist in this project. Total time: 0 seconds Now when I add the -verbose option I get this: $ ant -verbose -buildfile a.xml -Dargs='target_b_1 target_b_2' Apache Ant version 1.6.1 compiled on February 12 2004 Buildfile: a.xml Detected Java version: 1.4 in: /opt/sun-jdk-1.4.2.06/jre Detected OS: Linux parsing buildfile /home/ernst/a.xml with URI = file:///home/ernst/a.xml Project base dir set to: /home/ernst Build sequence for target `target_a_1' is [target_a_1] Complete build sequence is [target_a_1, ] target_a_1: [echo] Arguments: target_b_1 target_b_2 Project base dir set to: /home/ernst [ant] calling target target_b_1 target_b_2 in build file /home/ernst/b.xml parsing buildfile /home/ernst/b.xml with URI = file:///home/ernst/b.xml Project base dir set to: /home/ernst [ant] Entering /home/ernst/b.xml... [ant] Exiting /home/ernst/b.xml. BUILD FAILED /home/ernst/a.xml:6: Following error occured while executing this line Target `target_b_1 target_b_2' does not exist in this project. at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:537) at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:385) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269) at org.apache.tools.ant.Task.perform(Task.java:364) at org.apache.tools.ant.Target.execute(Target.java:301) at org.apache.tools.ant.Target.performTasks(Target.java:328) at org.apache.tools.ant.Project.executeTarget(Project.java:1215) at org.apache.tools.ant.Project.executeTargets(Project.java:1063) at org.apache.tools.ant.Main.runBuild(Main.java:632) at org.apache.tools.ant.Main.startAnt(Main.java:183) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:197) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:56) Caused by: Target `target_b_1 target_b_2' does not exist in this project. at org.apache.tools.ant.Project.tsort(Project.java:1666) at org.apache.tools.ant.Project.topoSort(Project.java:1588) at org.apache.tools.ant.Project.executeTarget(Project.java:1192) at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:383) ... 10 more --- Nested Exception --- Target `target_b_1 target_b_2' does not exist in this project. at org.apache.tools.ant.Project.tsort(Project.java:1666) at org.apache.tools.ant.Project.topoSort(Project.java:1588) at org.apache.tools.ant.Project.executeTarget(Project.java:1192) at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:383) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269) at org.apache.tools.ant.Task.perform(Task.java:364) at org.apache.tools.ant.Target.execute(Target.java:301) at org.apache.tools.ant.Target.performTasks(Target.java:328) at org.apache.tools.ant.Project.executeTarget(Project.java:1215) at org.apache.tools.ant.Project.executeTargets(Project.java:1063) at org.apache.tools.ant.Main.runBuild(Main.java:632) at org.apache.tools.ant.Main.startAnt(Main.java:183) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:197) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:56) Total time: 0 seconds -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 32300] - Allow multiple targets for ant task
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=32300. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=32300 [EMAIL PROTECTED] changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED | --- Additional Comments From [EMAIL PROTECTED] 2004-11-18 22:38 --- Matt, I have no possibility of splitting the arguments up so I may pass them to separate target/ subelements. Is there a way to pass all arguments at once using a single property value? Ernst -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 32300] - Allow multiple targets for ant task
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=32300. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=32300 --- Additional Comments From [EMAIL PROTECTED] 2004-11-18 22:56 --- Nothing just yet. What makes you think spaces are not allowed in target names? They most certainly are. Not necessarily recommended, but allowed. You could always use exec to call Ant with -Dant.executor.class=org.apache.tools.ant.helper.SingleCheckExecutor as an argument. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: ant/src/main/org/apache/tools/ant/taskdefs/repository HttpRepository.java
stevel 2004/11/18 15:28:37 Modified:src/main/org/apache/tools/ant/taskdefs/repository HttpRepository.java Log: In use, you need to know why your build file has paused for so long. Revision ChangesPath 1.2 +1 -2 ant/src/main/org/apache/tools/ant/taskdefs/repository/HttpRepository.java Index: HttpRepository.java === RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/repository/HttpRepository.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- HttpRepository.java 18 Nov 2004 16:25:03 - 1.1 +++ HttpRepository.java 18 Nov 2004 23:28:37 - 1.2 @@ -220,9 +220,8 @@ public boolean fetch(Library library, boolean useTimestamp) throws IOException { String path = getRemoteLibraryURL(library); -logVerbose(Library URL= + path); +log(Downloading +path + to + library.getAbsolutePath()); URL remoteURL=new URL(path); -logVerbose(destination = + library.getAbsolutePath()); long start, finish; start = System.currentTimeMillis(); boolean success=get(remoteURL, library.getLibraryFile(),useTimestamp, - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]