Re: [PATCH] Execute.java patch for OpenVMS

2005-07-06 Thread Steve Loughran
Knut Wannheden wrote: Hi all! A long time ago I submitted some patches to get Ant running on OpenVMS. There didn't seem to be much interest in this at the time, but I've now noticed that there actually seem to be people using it and requesting enhancements. I here have a quite embarassing

Re: XJ - xml extension for Java

2005-07-06 Thread Steve Loughran
Kev Jackson wrote: Since you are i hibernate user that may be one of the major reasons for you to switch (i know i will, eventually) to use the annotations and EJB3 hibernate stuff. I actually find Hibernate* to not be as good as advertised, but then I don't think the EJB3 stuff adds

Re: XJ - xml extension for Java

2005-07-05 Thread Steve Loughran
Alexey Solofnenko wrote: On JavaOne SUN presented something similar for Java 7. The syntax is not finilized yet - there are problems - characters are used in Java generics. They thinking about using # character, but it does not look good. IBM's compiler does not support generics - it is 1.4

Re: How to pipe output to input?

2005-07-04 Thread Steve Loughran
Kev Jackson wrote: As with most bits of unix (i.e. symlinks), it is a shame that the Nt implementation isnt as seamless as the unix one. it means we can't easily work with it to provide a portable pipe mechanism that the OS handles. But if you can stick to unix, pipes make a good IPC

Re: XJ - xml extension for Java

2005-07-04 Thread Steve Loughran
Kev Jackson wrote: Thought you may find this of interest. IBM have a new way of processing XML docs within Java. http://www.research.ibm.com/xj/samples/sample2.html Very cool page showing how this all works (cool in firefox anyway). I like the way you can construct objects from inlined xml

Re: how to add customized classes to ant, customize report generated by junitreport

2005-06-24 Thread Steve Loughran
suganya subramanian wrote: Hi, I have a couple of questions 1. How do I add another class file to the ant bundle, so that it can be deployed as a single bundle along with the jar files of ant? you dont, you create a new JAR which can go on the classpath of Ant, containing your new tasks,

Re: How to pipe output to input?

2005-06-24 Thread Steve Loughran
Matt Benson wrote: --- Steve Loughran [EMAIL PROTECTED] wrote: [SNIP] I see. It is a lot easier to delegate to the OS, isnt it: exec executable=mkfifo osfamily=unix arg file=./pipe / /exec Well! I am ashamed to say I had never encountered the mkfifo command. My only contact

Re: How to pipe output to input?

2005-06-23 Thread Steve Loughran
Peter Nabbefeld wrote: Hello, I've asked this question on the users list, but it seems nobody knows there: Is it possible to create two java processes (with fork=true) and pipe the output of one process into the other? Not yet :) Ant1.6.2 added the notion of the ioredirector to exec and

Re: How to pipe output to input?

2005-06-23 Thread Steve Loughran
Matt Benson wrote: --- Steve Loughran [EMAIL PROTECTED] wrote: Peter Nabbefeld wrote: Hello, I've asked this question on the users list, but it seems nobody knows there: Is it possible to create two java processes (with fork=true) and pipe the output of one process into the other

Re: How to pipe output to input?

2005-06-23 Thread Steve Loughran
Matt Benson wrote: --- Steve Loughran [EMAIL PROTECTED] wrote: -Matt Interesting design. I would have done a namedpipe id= / datatype that did the synchronisation; producers and consumers would sync by choice of pipename. That could work, for isolation. How would you specify the roles

Re: How to pipe output to input?

2005-06-23 Thread Steve Loughran
Matt Benson wrote: Hmm. I don't know for sure to which part you were referring. My lack here is that of having a clue how to delegate this to the OS as you suggested, especially in elegant Java form, or further how to make such applicable to I/O-intensive processes that are NOT native

Re: FileUtils.close()

2005-06-22 Thread Steve Loughran
Kev Jackson wrote: Alexey N. Solofnenko wrote: Maybe just ioex.printStackTrace()? I thought it would be better to log to the specific calling task (although getting the error message from the exception makes perfect sense). I seem to recall a complaint about close silent behaviour with

Re: cvs commit: ant/src/main/org/apache/tools/ant/taskdefs EchoXML.java

2005-06-22 Thread Steve Loughran
Stefan Bodewig wrote: On Tue, 21 Jun 2005, Matt Benson [EMAIL PROTECTED] wrote: Oops. You can't blame me, though. I don't. Luckily I still use JDK 1.3 at work to catch this sort of problem. I no longer have access to a 1.2 JDK (haven't tried whether my old Blackdown version still works

Re: using one task in another, project.createTask()

2005-06-16 Thread Steve Loughran
Anderson, Rob (Global Trade) wrote: Ant Gurus, I am having a little trouble using the XSLTProcess task from within the logger/listener that I am writing. Here is the code that is causing me greif: XSLTProcess xslt = (XSLTProcess) project.createTask(xslt); xslt.setBasedir(new File(.));

Re: cvs commit: ant/src/main/org/apache/tools/ant Diagnostics.java

2005-06-13 Thread Steve Loughran
[EMAIL PROTECTED] wrote: stevel 2005/06/12 16:15:57 Modified:src/main/org/apache/tools/ant/taskdefs defaults.properties src/main/org/apache/tools/ant Diagnostics.java Added: src/main/org/apache/tools/ant/taskdefs DiagnosticsTask.java Log: Little something

Re: google summer code: ant-xdocs and another idea about ANT

2005-06-10 Thread Steve Loughran
xiaofeng xia wrote: Hi, I am a first year Ph.D student majoring in Computational Math at Emory University. I want to participate the Summer of Google Code. I am especially interested in the project ant-xdocs on http://wiki.apache.org/general/SummerOfCode2005 . Can you let me know who is going

Re: Can you help me!!!

2005-06-09 Thread Steve Loughran
Phil Weighill-Smith wrote: As to your varying new content, simply handle this with parameters to your XSLT or something like that (perhaps even having different conditional targets that handle different EJB configuration setups in addition to parameterized XSLTs). Don't panic, take a deep

Re: Updates to the Maven Artifact Ant tasks

2005-06-08 Thread Steve Loughran
Brett Porter wrote: Hi, This is primarily for Steve and Nicola Ken as I'm not sure if/how closely they follow the Maven lists. Just wanted to let you know about the changes I dropped in for the dependencies and related tasks. Hopefully it is inline with the feedback you'd been providing. -

Re: Updates to the Maven Artifact Ant tasks

2005-06-08 Thread Steve Loughran
Brett Porter wrote: Hi, This is primarily for Steve and Nicola Ken as I'm not sure if/how closely they follow the Maven lists. - full support for external configuration (proxies, authentication info, repository mirrors, local repository location). The search order is ~/.ant/settings.xml,

Re: Google Summer of Code, Apache ANT project ideas?

2005-06-06 Thread Steve Loughran
Erik Hatcher wrote: Doug - I've added it as project ID ant-xdocs to that wiki page. As for technologies - I'm not sure if Velocity and XDoclet are the best technologies to use right now. Let's solicit input from others here on their architecture ideas. +1 to XDoclet; the only

Re: Google Summer of Code, Apache ANT project ideas?

2005-06-06 Thread Steve Loughran
Don Stewart wrote: As an alternative to directly using the Java 1.5 annotations you could user the JSR-175 backport of the annotations spec. Also on codehaus as http://backport175.codehaus.org/ Cheers Don yes, except we have to deal with building on OSS javac compilers; I dont think jikes

Re: cvs commit: ant/docs/manual/OptionalTasks ftp.html

2005-06-01 Thread Steve Loughran
Steve Cohen wrote: Steve Loughran wrote: [EMAIL PROTECTED] wrote: scohen 2005/05/29 17:40:21 Modified:src/testcases/org/apache/tools/ant/taskdefs/optional/net FTPTest.java src/main/org/apache/tools/ant/taskdefs/optional/net FTP.java

Re: cvs commit: ant/docs/manual/OptionalTasks ftp.html

2005-05-30 Thread Steve Loughran
[EMAIL PROTECTED] wrote: scohen 2005/05/29 17:40:21 Modified:src/testcases/org/apache/tools/ant/taskdefs/optional/net FTPTest.java src/main/org/apache/tools/ant/taskdefs/optional/net FTP.java

Re: Ant Logging isVerbose()?

2005-05-30 Thread Steve Loughran
Stefan Bodewig wrote: On Mon, 30 May 2005, Steve Cohen [EMAIL PROTECTED] wrote: In log4j, commons-logging, etc. a common pattern is if (isDebugEnabled()) { // some expensive string building to put message together log.debug(expensiveMessage); } I don't see such functionality in Ant

Re: [offtopic] jspc?

2005-05-27 Thread Steve Loughran
Kev Jackson wrote: Quick question I'm working on a rather boring web app with Spring/Hibernate etc (insert current fad in Java Web Frameworks here). And I was just browsing around and saw jspc, and I remembered that there was an ant task.. Is there any benefit at all from running jspc

Re: [offtopic] jspc?

2005-05-27 Thread Steve Loughran
Martin Gainty wrote: As far as your production build goes it is always Better to play safe Jspc compiler will catch goofy errors such as those who doubly define their error page in jsp missing taglibs..Much better to be safe and compile beforehand. Which adapter you use is a topic unto itself

Re: cvs commit: ant/docs/manual/CoreTasks echoxml.html

2005-05-26 Thread Steve Loughran
Matt Benson wrote: --- Matt Benson [EMAIL PROTECTED] wrote: --- Phil Weighill Smith [EMAIL PROTECTED] wrote: More along the lines of will it work with something like: echoxml example document/ /example with more than=one root node/ /with /echoxml ha, no, but

Re: How to include an xml file in path

2005-05-26 Thread Steve Loughran
sma3har wrote: I tried fileset dir=Sample/src/props casesensitive=yes includes=SampleMapConfig.xml/ I would like to include xml file in path while executing java. But doesn't work. Somebody please help. This is the kind of question the user mail list exists for, not the developer one

Re: cvs commit: ant/src/etc/testcases/taskdefs/optional/net ftp.xml

2005-05-26 Thread Steve Loughran
Steve Cohen wrote: Antoine: OK, I've taken a look. Here is the problem, or maybe I don't understand EnumeratedAttribute fully. In response to a suggestion of Steve Loughran the other day, I've implemented all of my new attributes with the convention that a value of means Don't set

Re: http tasks

2005-05-26 Thread Steve Loughran
James Fuller wrote: what they really need is a functional test harness. I had some .pl code up on iseran.com that tested a bit of it, but we should really create a WAR and bring it up in Jetty or something. why not jmeter ? All the test harness really is is some things that are served up

Re: installation instructions for ant under jpackage

2005-05-26 Thread Steve Loughran
Steve Cohen wrote: what is fetch.xml? Sounds interesting. I thought you knew; you updated lib/libraries.properties like you did, that being the property file that drives it. 1. get the maven dependency tasks for ant; stick them in ant home 2. set up your proxy settings in ANT_OPTS, if

Re: installation instructions for ant under jpackage

2005-05-26 Thread Steve Loughran
Steve Cohen wrote: Steve Loughran wrote: Steve Cohen wrote: what is fetch.xml? Sounds interesting. I thought you knew; you updated lib/libraries.properties like you did, that being the property file that drives it. Actually, I grepped through the source for jakarta-commons and found

Re: libraries

2005-05-25 Thread Steve Loughran
Matt Benson wrote: Just curious... are we going to remove this from CVS? (no rush) yes. First I want to get to a stage with my revised (uncommitted) where the tests pass, then commit it, tag it and pull everything. I cant do it this week as my laptop is on loan, and that is where the code

Re: cvs commit: ant/docs/manual/CoreTasks echoxml.html

2005-05-25 Thread Steve Loughran
Matt Benson wrote: --- Alexey Solofnenko [EMAIL PROTECTED] wrote: Why not to add this functionality into normal echo? I suppose if you wanted to use entities, echo already can do this (clumsily). This task (OUCH actually doesn't compile b/c I forgot a file) was exceedingly easy and enforces

Re: cvs commit: ant/src/main/org/apache/tools/ant/taskdefs/compilers CompilerAdapterFactory.java

2005-05-24 Thread Steve Loughran
[EMAIL PROTECTED] wrote: jkf 2005/05/23 14:52:35 Modified:src/main/org/apache/tools/ant/taskdefs/email EmailTask.java src/main/org/apache/tools/ant Main.java src/main/org/apache/tools/ant/taskdefs/optional/javah

Re: [Fwd: Some Thoughts on Ant 1.3 and 2.0]

2005-05-24 Thread Steve Loughran
Stefan Bodewig wrote: On Tue, 24 May 2005, Jan Materne [EMAIL PROTECTED] wrote: But I like the 3rd paragraph I still do as well. I'm just not sure that XML Schema would be the way to go. no, I think we all under stand XSD that much better now :( /** Returns all names of

Re: Can Ant know ANT_HOME?

2005-05-23 Thread Steve Loughran
Antoine Levy-Lambert wrote: Steve Cohen wrote: Alexey Solofnenko wrote: Please use ${ant.home} property. - Alexey. On 5/22/05, Steve Cohen [EMAIL PROTECTED] wrote: I am trying to write a simple build.xml for debugging Ant setups. One of the things I would like to know is what ANT_HOME

Re: [VOTE] Ant 1.6.5 release

2005-05-23 Thread Steve Loughran
Antoine Levy-Lambert wrote: Hello, I propose to release Ant 1.6.5 on Thursday, June 2nd. This will be a pure bug fix release. [+1] Yes [] No - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: [VOTE] Shut down the 1.6 branch after 1.6.5

2005-05-23 Thread Steve Loughran
Kev Jackson wrote: Stefan Bodewig wrote: Hi, it's my strong belief that part of the reason the javah and move bugs made it into 1.6.3 is that our branches are living too long. The same happened to 1.5.2 (which required 1.5.3 quickly) because the 1.5 branch lived to long (IMHO). In my

[Fwd: Some Thoughts on Ant 1.3 and 2.0]

2005-05-23 Thread Steve Loughran
This is just something I have in my archive from long ago, discussion on what was needed for Ant 1.3 and up. I note that some of them, like XML docs, are still on the todo list :( Original Message Subject: Some Thoughts on Ant 1.3 and 2.0 Date: 27 Oct 2000 14:29:07 +0200

Re: [Fwd: Some Thoughts on Ant 1.3 and 2.0]

2005-05-23 Thread Steve Loughran
Stefan Bodewig wrote: On Mon, 23 May 2005, Steve Loughran [EMAIL PROTECTED] wrote: This is just something I have in my archive from long ago, discussion on what was needed for Ant 1.3 and up. Someday I'll go and dig out a five year old mail to hold against you ;-) pick one where I dont

echoxml

2005-05-23 Thread Steve Loughran
We need an echo task that takes well formed XML and spits it out. Is this really the best we have? escaped cdata in an echo task? echo file=${target.pom}![CDATA[project modelVersion4.0.0/modelVersion groupId${m2.groupID}/groupId artifactId${artifact.name}/artifactId

Re: a find class task?

2005-05-20 Thread Steve Loughran
Peter Reilly wrote: I have a vague memory that someone wrote a find class task. One gives it a task, and it returns the jar file that it was located in. Can anyone remember where it was done? whichresource - To unsubscribe,

Re: libraries and m2 artifact :

2005-05-19 Thread Steve Loughran
Brett Porter wrote: On 5/17/05, Dominique Devienne [EMAIL PROTECTED] wrote: I've used a more lenient model for my transitive dependency. The exact version used to build something is recorded, but which version of a given dependency to use is left up to the client. This is pretty much what is in

Re: AW: cvs commit: ant/src/main/org/apache/tools/ant/taskdefs CopyPa th.java defaults.properties

2005-05-18 Thread Steve Loughran
[EMAIL PROTECTED] wrote: Mmh, would it make more sense to add nested paths to copy? See 20635 [1]. I looked at copy, and felt it was complex enough as it was. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: cvs commit: ant/xdocs external.xml

2005-05-18 Thread Steve Loughran
Stefan Bodewig wrote: On Wed, 18 May 2005, Jan Materne [EMAIL PROTECTED] wrote: Some characters broken? Looks as if Steve's editor had saved the file as UTF-8 instead of ISO-8859-1. Should be fixed now. Has there been more than this one character? Interesting. My linux boxes treat everything

checksum and case

2005-05-18 Thread Steve Loughran
It looks like the case of the extension of the checksum task is that of the algorithm used, even though that is case insensitive MD5 - .MD5 SHA - .SHA md5 - .md5 sha - .sha - .MD5 I am not convinced this is the right thing to do. It'd be easy to use checksum to have code that worked on

Re: cvs commit: ant WHATSNEW

2005-05-17 Thread Steve Loughran
[EMAIL PROTECTED] wrote: --- mapper.html 29 Apr 2005 18:58:12 - 1.26 +++ mapper.html 16 May 2005 22:40:22 - 1.27 looks to me like a 12 hour delay in mail list mail right now; that new spam attack must be bringing down the network. -steve

Re: cvs commit: ant WHATSNEW

2005-05-17 Thread Steve Loughran
Stefan Bodewig wrote: On 16 May 2005, [EMAIL PROTECTED] wrote: src/main/org/apache/tools/ant/types/optional AbstractScriptComponent.java ScriptMapper.java Those two have picked up the wrong copyright template in your IDE. oops. will fix. dont want any LGPL stuff in there. Also they need to get

typefound and namespaces

2005-05-16 Thread Steve Loughran
I'm updating fetch.xml to -get the maven2 tasks -use that to retrieve the rest Now, here is a problem. I can probe for the m2 tasks in two ways. 1. I can look for the class, that implements the task or the antlib resource 2. I can use typefound. But how does (2) work with namespaced stuff? I want

Re: cvs commit: ant/src/main/org/apache/tools/ant Main.java

2005-05-16 Thread Steve Loughran
Peter Reilly wrote: [EMAIL PROTECTED] wrote: stevel 2005/05/13 14:57:23 @@ -424,6 +413,15 @@ throw new BuildException( Niceness value is out of the range 1-10); } +} else if (arg.equals(-cp) ||

Re: libraries and m2 artifact :

2005-05-16 Thread Steve Loughran
Stefan Bodewig wrote: On Thu, 05 May 2005, Steve Loughran [EMAIL PROTECTED] wrote: I am thinking of stopping all work on libraries, embracing the maven2 stuff instead. Sounds reasonable if you can make it do everything you intended to do with libraries. I am having mixed fun here. With a new

mapping in zipfileset

2005-05-16 Thread Steve Loughran
One thing that the artifact stuff throws up is a need to take a fileset or path (currently only a path, but I've filed a bugrep there:) ) and turn it into war/lib With copypath you can do it via an intermediate directory. Question is, should we make it easier? -allow a path as a param for

Re: [VOTE] include FTP task revisions in 1.6.4 release

2005-05-15 Thread Steve Loughran
Steve Cohen wrote: Steve Loughran wrote: Steve Cohen wrote: Shall the newly added FTP task revisions be incorporated into release 1.6.4? Motivation: I understand this comes in under the wire and may cause justifiable trepidation among some. I still favor adding it to the release because: 1

Re: [VOTE] include FTP task revisions in 1.6.4 release

2005-05-15 Thread Steve Loughran
have any issue with change. I just dont believe in premature releases of untested stuff. Since Steve Loughran is talking about a July release rather than the six months I'd heard bandied about earlier, I am less insistent on getting it in for 1.6.4. I'd estimate a summer release of 1.7beta

Re: cvs commit: ant/src/testcases/org/apache/tools/ant/taskdefs/optional/junit JUnitReportTest.java

2005-05-14 Thread Steve Loughran
Stephane Bailliez wrote: [EMAIL PROTECTED] wrote: [...] -//XXX there seems to be a bug in xerces 1.3.0 that doesn't like file object -// will investigate later. It does not use the given directory but -// the vm dir instead ? Works fine with

Re: cvs commit: ant/src/testcases/org/apache/tools/ant/taskdefs/optional/junit JUnitReportTest.java

2005-05-14 Thread Steve Loughran
Alexey Solofnenko wrote: We do not support 1.1 any more. - Alexey. On 5/13/05, Stephane Bailliez [EMAIL PROTECTED] wrote: Alexey Solofnenko wrote: Another, question - why not to use File.toURL() method instead? JDK 1.2+ method. (yeah sounds like it was last century :) I think I was the first

Re: [VOTE] include FTP task revisions in 1.6.4 release

2005-05-14 Thread Steve Loughran
Steve Cohen wrote: Shall the newly added FTP task revisions be incorporated into release 1.6.4? Motivation: I understand this comes in under the wire and may cause justifiable trepidation among some. I still favor adding it to the release because: 1) The tasks add some important new

Re: [Bug 28444] - Import: Target Handling Bug

2005-05-13 Thread Steve Loughran
Phil Weighill-Smith wrote: I missed the beginning of this thread but just want to say that I personally think that import is the best feature in Ant today (apart from Ant's being in the first place, that is)! I find it hard to work with in a big project. problems -risk of adding a new target in an

Re: Commercial products on the related products page?

2005-05-13 Thread Steve Loughran
Stefan Bodewig wrote: Hi, Slava Imeshev of Viewtier Systems sent me a private email asking whether it was OK to include links to commercial products on our related projects page. The original email - minus the actual patch and Slava's phone number - is reproduced below (with Slava's permission,

Re: [Bug 28444] - Import: Target Handling Bug

2005-05-13 Thread Steve Loughran
Nicola Ken Barozzi wrote: Steve Loughran wrote: Phil Weighill-Smith wrote: I missed the beginning of this thread but just want to say that I personally think that import is the best feature in Ant today (apart from Ant's being in the first place, that is)! I find it hard to work with in a big

Re: SVN repo?

2005-05-12 Thread Steve Loughran
Stefan Bodewig wrote: On Thu, 12 May 2005, Kev Jackson [EMAIL PROTECTED] wrote: As a committer you really would need to use http*s*. I think that's the point :) I'm not a committer, I know. I may not be the youngest around here, but I still manage to keep track of a few people ;-) What I tried

Re: [patch] FTP.java - adding support for new features in commons-net 1.4.0 and performance improvement

2005-05-11 Thread Steve Loughran
Steve Cohen wrote: Since there is apparently an Ant 1.6.4 version coming out on May 19th and since Neeme Praks has already submitted a patch to accomodate it, why not try to get this into that release? As the author of the commons-net code that Mr. Praks is relying on, and an Ant committer, I

Re: [patch] FTP.java - adding support for new features in commons-net 1.4.0 and performance improvement

2005-05-11 Thread Steve Loughran
Neeme Praks wrote: Steve Loughran wrote: I worry about releasing any change to code without giving it time to stabilise and beta test. Last minute this won't break anything patches always break something. Always. At least in my experience. If commons1.4.0 is incompatible with shipping ftp

Re: [VOTE] Ant 1.6.4 release

2005-05-10 Thread Steve Loughran
Antoine Levy-Lambert wrote: Do we want to release ant 1.6.4 on Thursday, May 19th (this would at least suit Eclipse) [ +1] Yes [ ] No steve - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: [VOTE] Ant 1.6.4 release

2005-05-10 Thread Steve Loughran
Antoine Levy-Lambert wrote: Do we want to release ant 1.6.4 on Thursday, May 19th (this would at least suit Eclipse) [+1 ] Yes [ ] No steve - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: [Fwd: [ANNOUNCEMENT] Commons-Net 1.4.0 Released]

2005-05-10 Thread Steve Loughran
Jose Alberto Fernandez wrote: From: Steve Cohen [mailto:[EMAIL PROTECTED] Jose Alberto Fernandez wrote: Why not move the task or its new version into jakerta-commons and provide us with a ready to go feature full antlib. That would allow us to start decoupling things from the main ANT

Re: PGP tasks

2005-05-09 Thread Steve Loughran
Matt Benson wrote: --- Stefan Bodewig [EMAIL PROTECTED] wrote: On Sat, 7 May 2005, Brett Porter [EMAIL PROTECTED] wrote: [SNIP] though we probably have to have a bit of discussion about objectives and gather together interested people first anyway. We can do that on commons-dev, and create the

Re: AW: PropertySet.iterator()

2005-04-21 Thread Steve Loughran
or public class Something #ifdef JAVA15 implements Iterable, Closeable #endif -and we pump all the source through m5 , velocity, whatever. just a thought :) [EMAIL PROTECTED] wrote: Ok - inlined ... Jan build.xml ---88888888-

Re: java.lang.Iterable

2005-04-21 Thread Steve Loughran
Steve Loughran wrote: Peter Reilly wrote: [EMAIL PROTECTED] wrote: I had a project where a code generator inserts one interface statement - and that what missing. So I created just an empty interface to make the compiler happy. Couldnt we backport the Iterable interface? I played a little

Re: cvs commit: ant/src/main/org/apache/tools/ant/taskdefs Chmod.java

2005-04-20 Thread Steve Loughran
Stefan Bodewig wrote: On 19 Apr 2005, [EMAIL PROTECTED] wrote: + lint for Microsoft Windows NT-based systems, including Windows 2000, XP and + successors/li winnt or windowsnt, please Your opinion is noted. How about winnt ? -steve

Re: [VOTE] Ant 1.6.3 release

2005-04-20 Thread Steve Loughran
Antoine Levy-Lambert wrote: Do we want to release Ant 1.6.3 on Thursday, April 28th ? Yes [+1 ] No [ ] Steve - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: cvs commit: ant/src/main/org/apache/tools/ant/taskdefs Chmod.java

2005-04-20 Thread Steve Loughran
[EMAIL PROTECTED] wrote: stevel 2005/04/19 15:23:39 Modified:docs/manual/CoreTasks conditions.html src/main/org/apache/tools/ant/taskdefs/condition Os.java src/main/org/apache/tools/ant/taskdefs Chmod.java Log: Os gets -specific test for nt based

Re: regression in handling of java failures

2005-04-14 Thread Steve Loughran
Stefan Bodewig wrote: On Tue, 12 Apr 2005, Steve Loughran [EMAIL PROTECTED] wrote: I have it on reliable authority (chapter 5 of java development with ant), You trust that, even though you know who's written it? I trust the chapters that Erik wrote :) that Ant1.5 would fail with a location

Re: cvs commit: ant/src/main/org/apache/tools/ant/util JavaEnvUtils.java

2005-04-14 Thread Steve Loughran
[EMAIL PROTECTED] wrote: bodewig 2005/04/14 00:38:07 Modified:src/main/org/apache/tools/ant/util JavaEnvUtils.java Log: untabify sorry, I was using eclipse. I didnt even think about tabs, as all the IDEs I normally use are set up right. Back on IDEA now... -steve

Re: junit test runner enhancements

2005-04-14 Thread Steve Loughran
Stefan Bodewig wrote: On Tue, 12 Apr 2005, Steve Loughran [EMAIL PROTECTED] wrote: I'm thinking of what would it take to modify JUnitTestRunner to We have enhancement requests to do so in batchtest. It may be easier to write a testcase selector. Stefan I think you cant see if a class is abstract

Re: regression in handling of java failures

2005-04-14 Thread Steve Loughran
Stefan Bodewig wrote: On Tue, 12 Apr 2005, Kev Jackson [EMAIL PROTECTED] wrote: Looks like it was there in Ant 1.5 final (Java.run()), but now it's missing I still think it will get added somewhere up-stream, I may be wrong. Steve, is there a location when your build fails? nope. try it yourself

Re: junit test runner enhancements

2005-04-13 Thread Steve Loughran
Phil Weighill Smith wrote: Steve, I've not written any code to help here, but thought the following issue could also be considered: When executing a test class that has no test methods what-so-ever (e.g. someone comments out all tests for some reason) the runner currently barfs instead of ignoring

regression in handling of java failures

2005-04-12 Thread Steve Loughran
I have it on reliable authority (chapter 5 of java development with ant), that Ant1.5 would fail with a location error when you tried to run java without a class on the classpath. But now I see a stack trace and not a location: [echo] running the diary program [java] Could not find

Re: Ant Jar doubt

2005-04-12 Thread Steve Loughran
Raja Nagendra Kumar wrote: Hi, When ever we jar I see in the manifest 'Ant-Version: Apache Ant 1.6.2' this line. Could any one tell me how to avoid this. I dont know if there is a way to do this (yet) And also I want to put few properties of mine in a way the squence of these properties are

Re: Ant Jar doubt

2005-04-12 Thread Steve Loughran
Raja Nagendra Kumar wrote: Hi, Thanks for the reply. My reply in-line - Original Message - From: Steve Loughran [EMAIL PROTECTED] To: Ant Developers List [EMAIL PROTECTED] Sent: Tuesday, April 12, 2005 4:41 PM Subject: Re: Ant Jar doubt Raja Nagendra Kumar wrote: Hi, When ever we jar I

Re: Drop 1.2/1.3 support in Ant 1.7 (or sometime)?

2005-04-07 Thread Steve Loughran
Stefan Bodewig wrote: On Wed, 06 Apr 2005, Jesse Glick [EMAIL PROTECTED] wrote: Has anyone given thought to when we drop support for running Ant on JDK 1.2/1.3? These releases are pretty old by now and AFAIK all major platforms have had a decent 1.4 port for a while. We still have a customer who

Re: Drop 1.2/1.3 support in Ant 1.7 (or sometime)?

2005-04-07 Thread Steve Loughran
Martijn Kruithof wrote: Jesse Glick wrote: Stefan Bodewig wrote: All in all I'm -0.5 on dropping JDK 1.2 for Ant 1.7 and -0.75 on dropping JDK 1.3 for Ant 1.7. BTW dropping JDK 1.2 support but supporting JDK 1.3 doesn't buy us a lot; few new APIs or other features were added in JDK 1.3, as it

Re: cvs commit: ant/src/main/org/apache/tools/ant Diagnostics.java

2005-04-07 Thread Steve Loughran
Peter Reilly wrote: [EMAIL PROTECTED] wrote: stevel 2005/04/07 10:07:34 Modified:src/main/org/apache/tools/ant Diagnostics.java Log: [EMAIL PROTECTED] my junit reports are apparently an hour old. One hour, Daylight saving Time ? clearly so. But its the same on both my systems, and

Re: [VOTE] Alexey Solofnenko

2005-04-06 Thread Steve Loughran
Conor MacNeill wrote: I would like to propose Alexey Solofnenko as an Ant committer. Alexey is a long time contributor to Ant and is also active on our user list helping people with good suggestions and ideas. here's my +1 +1 Steve

junit and summertime

2005-04-06 Thread Steve Loughran
Are everyone's junitreport reports showing their current clock time? Mine is still in winter time, even though the clock and filesystem have all adapted... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: cvs commit: ant/src/main/org/apache/tools/ant/taskdefs VerifyJar.java

2005-04-06 Thread Steve Loughran
[EMAIL PROTECTED] wrote: mbenson 2005/04/06 08:49:29 Modified:src/main/org/apache/tools/ant/taskdefs VerifyJar.java Log: Work around jdk 1.4.2(no _version) jarsigner bug. Revision ChangesPath 1.3 +20 -4 ant/src/main/org/apache/tools/ant/taskdefs/VerifyJar.java

Re: cvs commit: ant/src/testcases/org/apache/tools/ant/taskdefs SignJarTest.java

2005-03-30 Thread Steve Loughran
Kev Jackson wrote: Well, a bit of hackery and you can verify that JAR is signed. But there is *nothing* to verify that the signature itself is trusted. Essentially jarsigner -verify is a worthless piece of junk from the security perspective. Who'd have thought that a commit message would

Re: [EMAIL PROTECTED]: Project test-ant (in module ant) failed

2005-03-30 Thread Steve Loughran
Gump Integration Build wrote: To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [EMAIL PROTECTED] Project test-ant has an issue affecting its community

Re: cvs commit: ant/src/testcases/org/apache/tools/ant/taskdefs SignJarTest.java

2005-03-30 Thread Steve Loughran
Kev Jackson wrote: Here are my current plans -pull the declaration of verifyjar, tests, etc. -I'd leave the code over in optional, always excluded, with a here is why this is broken comment. Its aim is to warn off others. -Not attempt to use jar signing as a way of verifying JAR downloads in

signjar -verify

2005-03-24 Thread Steve Loughran
Clearly myself and everyone who filed a bugrep asking for verifying that -verify on signjar could be used to programatically verify JAR files were working under the mistaken assumption that signjar changed its return value for unverified JARs. it doesnt, it returns 0. thus the only way to

Re: cvs commit: ant/src/main/org/apache/tools/ant/taskdefs SignJar.java

2005-03-23 Thread Steve Loughran
Stefan Bodewig wrote: On 22 Mar 2005, [EMAIL PROTECTED] wrote: let's see what gump thinks. Gump currently is disabled during the infra-thon since our infrastructure friends are randomly enabling and disabling stuff. no problem You have modified the indentation of the license, BTW. oops. I hit

Re: cvs commit: ant/src/main/org/apache/tools/ant/taskdefs SignJar.java

2005-03-23 Thread Steve Loughran
Peter Reilly wrote: [EMAIL PROTECTED] wrote: stevel 2005/03/22 09:20:06 Modified:src/main/org/apache/tools/ant/taskdefs SignJar.java Log: This is an interim checkin, with new features and some refactoring. All existing (minimal) tests should work, let's see what gump thinks. This is

Re: complex signing logic in signjar

2005-03-23 Thread Steve Loughran
Erik Hatcher wrote: It's becoming more and more used. Several projects I've been involved in that use WebStart use signjar. Erik we use it here too; the changes I am making are initially to simplify our life for bulk operations, before I get into the real problem of using it in library to

Re: cvs commit: ant/src/main/org/apache/tools/ant/taskdefs SignJar.java

2005-03-23 Thread Steve Loughran
[EMAIL PROTECTED] wrote: stevel 2005/03/23 02:24:43 Modified:src/main/org/apache/tools/ant/taskdefs SignJar.java Log: can't have checkstyle whining, can we? Revision ChangesPath 1.49 +32 -0 ant/src/main/org/apache/tools/ant/taskdefs/SignJar.java Index:

complex signing logic in signjar

2005-03-22 Thread Steve Loughran
I am reworking signjar to do filesets with dest dirs, and the dependency logic is causing trouble: protected boolean isUpToDate(File jarFile, File signedjarFile) { if (null == jarFile) { return false; } if (null != signedjarFile) { if

Re: complex signing logic in signjar

2005-03-22 Thread Steve Loughran
Stefan Bodewig wrote: Steve, I think signjar is one of the least used tasks in Ant. IIRC we even shipped a version of Ant where signjar didn't work at all (I think Ant 1.2) and it took quite some time until anybody complained. On Tue, 22 Mar 2005, Steve Loughran [EMAIL PROTECTED] wrote: Why dont

Re: complex signing logic in signjar

2005-03-22 Thread Steve Loughran
Steve Loughran wrote: I am reworking signjar to do filesets with dest dirs, and the dependency logic is causing trouble: protected boolean isUpToDate(File jarFile, File signedjarFile) { if (null == jarFile) { return false; } if (null != signedjarFile

Re: complex signing logic in signjar

2005-03-22 Thread Steve Loughran
Stefan Bodewig wrote: On Tue, 22 Mar 2005, Steve Loughran [EMAIL PROTECTED] wrote: -no source file: out of date -source==dest: false or check signature -else: check timestamp maybe if the timestamp check says the destfile is newer than (or as new as) the source then check the signature as well

styletest breaking?

2005-03-22 Thread Steve Loughran
[junit] Testsuite: org.apache.tools.ant.taskdefs.StyleTest [junit] Tests run: 10, Failures: 0, Errors: 1, Time elapsed: 1.099 sec [junit] Testcase: testDirectoryHierarchyWithDirMatching(org.apache.tools.ant.taskdefs.StyleTest): Caused an ERROR [junit]

<    2   3   4   5   6   7   8   9   10   11   >