Re: junit4 test runners

2011-06-09 Thread Steve Loughran
On 06/09/2011 11:58 AM, Steve Loughran wrote: I'm doing something non-ant related, but I'm wondering if anyone has seen this problem here, as it's the closest to what I'm trying to do 1. I have some code that is a test runner for Junit3.8.x classes, it works. 2. I am tr

junit4 test runners

2011-06-09 Thread Steve Loughran
I'm doing something non-ant related, but I'm wondering if anyone has seen this problem here, as it's the closest to what I'm trying to do 1. I have some code that is a test runner for Junit3.8.x classes, it works. 2. I am trying to flip the ivy version to junit 4.8.2 something. 3. I rerun my tes

Re: class BuildTimeoutException extends BuildException

2010-10-28 Thread Steve Loughran
On 27/10/10 18:34, Jesse Glick wrote: On 10/27/2010 06:01 AM, Steve Loughran wrote: 4. we leave the error strings alone for fear of [...fear itself?] #4 irritates me, I'd like some details about which subprocess got killed, but if we are searching for the string in Ant's own codebas

Re: class BuildTimeoutException extends BuildException

2010-10-27 Thread Steve Loughran
On 27/10/10 11:01, Steve Loughran wrote: I'm thinking we need a specific class BuildTimeoutException that extends BuildException I'll do the coding... Of course, there is a well documented exception of just that name in org.apache.tools.ant.taskdefs.optional.testing Which impl

class BuildTimeoutException extends BuildException

2010-10-27 Thread Steve Loughran
I'm thinking we need a specific class BuildTimeoutException that extends BuildException -Java.java looks for the specific error message "Timeout: killed the sub-process" in Exec.java to recognise a timeout, and doesn't even share the constant string across classes. -my own code looks for "Pa

Re: move-test fails on Windows7

2010-04-21 Thread Steve Loughran
Stefan Bodewig wrote: Hi, my work machine has been "upgraded" from XP to Win7 and now I get an error in test-move-caseonly: abc was not renamed aBc at line 31 , column 80 This is true for trunk as well as Ant 1.8.0. Does anybody else see this or is it something specific to my (still incomp

Re: And calling python

2010-04-16 Thread Steve Loughran
On 16/04/2010 00:56, Antoine Levy Lambert wrote: This would be more a user question. Anyway, ant can execute python with the task. What is hard is to return something to ant. Maybe if the python script prints out what ant needs to capture on systemout, then using the outputproperty attribute of

Re: svn commit: r901218 - in /ant/core/trunk: WHATSNEW src/main/org/apache/tools/ant/taskdefs/optional/ssh/Scp.java

2010-01-20 Thread Steve Loughran
Antoine Levy Lambert wrote: I think it is OK to commit bug fixes, but not OK to introduce new concepts. Just my 2cents. OK. I'll leave out the junit stuff as they are trying to be more robust against OOM errors, and they are trickier to test that they actually work without causing damage -

Re: svn commit: r901218 - in /ant/core/trunk: WHATSNEW src/main/org/apache/tools/ant/taskdefs/optional/ssh/Scp.java

2010-01-20 Thread Steve Loughran
Having just checked this in, I was struck by a thought of guilt: should I have done this given we are in the RC phase? I'm just looking at what (minor) changes I have in my local ant build (this & some better error and OOM handling in the junit result formatters). I've stuck this in, but tech

Re: [VOTE][RESULT] name for target-group

2010-01-05 Thread Steve Loughran
Antoine Levy Lambert wrote: I am thinking of building the first ant 1.8.0 release candidate tomorrow. I need to get my docs together; won't be able to do it today in EU working hours. what is the timetable for getting doc patches into the release chain?

Re: svn commit: r894136 - /ant/sandbox/antlibs/git/trunk/src/main/org/apache/ant/git/AbstractGitTask.java

2010-01-05 Thread Steve Loughran
k...@apache.org wrote: + throw new BuildException("The repository [ "+ getGitRepo()+ " ] specified is not recognised"); + } A UK spelling of recognised is just going to lead to more bugreps, we need a phrase that is more locale-neutral --

Re: Tentative 1.8.0 Release Proposal

2009-12-22 Thread Steve Loughran
Stefan Bodewig wrote: On 2009-12-18, Stefan Bodewig wrote: If I'd be the one to create the release, I'll need some help by Kev and/or Antoine to become able to compile the optional tasks with commercial dependencies. That being said, if Antoine wants to take things over, I'll happily let him

Re: ant 1.7. Finding undefined variables

2009-05-26 Thread Steve Loughran
Dominique Devienne wrote: On Wed, May 20, 2009 at 2:28 PM, Dave Pawson wrote: 2009/5/20 Dominique Devienne : Yes, that's what I generate. Except I run through the properties file and the build file to ensure I get all the (used) properties! As apposed to what I remembered to put in (and didn't

Re: distribution of ivy with ant

2009-05-26 Thread Steve Loughran
Enis Soztutar wrote: I don't know if it is discussed previously but I was wondering why ivy is not included in the ant distribution. More and more projects previously depending on ant start to use ivy, but the build files are cluttered with ivy-download, check-ivy-antlib, etc. Technically ivy i

Re: schema for junit xml output

2009-03-19 Thread Steve Loughran
Peter Reilly wrote: The google-test people are going to to change the output from to (with a command-line switch). They have some extra attributes, and do not populate some attributes and elements. but the output is understood by hudson without mod to hudson. well, all the tools are one XSL

Re: Anybody planning to attend ApacheCon in Amsterdam late March?

2009-02-17 Thread Steve Loughran
Stefan Bodewig wrote: On 2009-02-05, Jimmy Zhao wrote: Personally, I think my talk is more like a workshop or tutorial, it might not so technical, but it would be interesting if people who want to know a new way to do testing -- via AntUnit. It may as well interesting to us who work on AntUn

Re: Should I open a vote ? (Re: svn commit: r740252 - in /ant/ivy/updatesite/trunk/dist: ./ features/ plugins/)

2009-02-17 Thread Steve Loughran
Xavier Hanin wrote: On Sat, Feb 14, 2009 at 9:20 PM, Maarten Coene wrote: Creating a 2.0.1 release is ok for me. I'm willing to create the release if no-one else volunteers... I've taken a quick look at the changes in JIRA, I think IVY-970 contains the biggest change, but I think we can incl

Re: Integration of antunit in junit

2009-01-15 Thread Steve Loughran
Gilles Scokart wrote: While testing ant tasks in my toy project (deco), I have used antunit. It is very useful, but I found one limitation: I couldn't not run the ant-unit tests in the junit runner of my ide. ant-testutils.jar provides some support for that, but requires to duplicate all antuni

Re: FileSet with copy fails with NPE..

2008-12-12 Thread Steve Loughran
Raja Nagendra Kumar wrote: Pl. find the fix for the same in ProjectComponent We are defining a GOBAL_DEFAULT_PROJECT which would be same as the first non null setProject call parameter. getProject() value on any tag if null, the non null GOBAL_DEFAULT_PROJECT value is assumed with debug log mes

Re: [VOTE] IvyDE 2.0.0.beta1 Release

2008-11-27 Thread Steve Loughran
Nicolas Lalevée wrote: I have built a release candidate for IvyDE 2.0.0.beta1 You can download the distribution from this URL: http://people.apache.org/~hibou/ivyde-2.0.0.beta1/ And a staging update site has been setup there: http://peopl

Re: javac task problem in Java 6

2008-11-06 Thread Steve Loughran
Jesse Glick wrote: Jess Holle wrote: We've seen this before where A depends on B which /internally/ depends upon C and then suddenly one has to have C around to compile A. Although this is not forbidden by the JLS (as far as I know), it does seem undesirable. If you know of particular example

Re: [VOTE] Adopt Java 1.4 as a minimum requirement for core/trunk

2008-10-31 Thread Steve Loughran
Stefan Bodewig wrote: This is not that much based on features available (although I consider using NIO in StreamPumper) but more on "where do we test". The vote is simple. If you vote +1 then we make 1.4 the minimum requirement, if you vote -1 it will stay at 1.3. This is a code change and thu

Re: Where next: 1.7.2 or 1.8.0?

2008-10-28 Thread Steve Loughran
Stefan Bodewig wrote: Hi, the current trunk doesn't contain many big or risky changes, the biggest new things probably are the changed PropertyHelper[1], FileProvider and local properties. I seriously consider adding the changes made by the EasyAnt proposal. OTOH trunk contains a bunch of bug

Re: Compiling fails on JDK 1.3

2008-10-16 Thread Steve Loughran
Stefan Bodewig wrote: On Fri, 10 Oct 2008, Jan Materne <[EMAIL PROTECTED]> wrote: I tried a build on JDK 1.3/WinXP-SP2, but that failed. The constructor FileOutputStream(File, boolean) was added in JDK 1.4. Should be easy to fix, I'm just not sure whether it needs to be.

Re: AW: Ant @ CIServer "TeamCity"

2008-10-03 Thread Steve Loughran
release process. Amazon AWS Auth doesnt even want to talk to you if your clock is 8 hours out, so there goes some of our functional tests, for example. -- Steve Loughran http://www.1060.org/blogxter/publish/5 Author: Ant in Action http://antbook.org

Re: Ant @ CIServer "TeamCity"

2008-10-02 Thread Steve Loughran
[EMAIL PROTECTED] wrote: Notifications by the CI server [1] are now send to [EMAIL PROTECTED] So you'll could get a little more traffic in the future. BTW - now I saw that Apache is hosting a Hudson [2] instance [3]. Jan [1] http://ant.apache.org/nightlies.html [2] https://hudson.dev.java.n

Re: Why is undocumented?

2008-09-22 Thread Steve Loughran
Stefan Bodewig wrote: The task has been added in the 1.7 timeframe but I don't see it documented anywhere (some of our tests use it). Does anybody remember whether we didn't want people to know the task is there (see ) or just forgot to document it? Is that the task to check that a JAR is sign

Re: DirectoryScanner performance

2008-09-18 Thread Steve Loughran
Kevin Jackson wrote: The tests are not through yet, but one thing was so surprising to me that I wanted to show it upfront: Running the matchall target (of sr/etc/performance/dirscanner.xml): Ant 1.6.5 1 min 30 s ~ 19 MB Ant 1.7.0 3 min 53 s ~ 24 MB Ant 1.7

Re: and basedir

2008-09-05 Thread Steve Loughran
Dominique Devienne wrote: On Fri, Aug 29, 2008 at 8:48 AM, Stefan Bodewig <[EMAIL PROTECTED]> wrote: Now if only would work the same ;-) We disagree here. Definitely. Just the fact that you documented the whole mess about <*ant*>'s basedir nightmare is enough of a hint to me that not doing t

Re: [VOTE] Release AntUnit 1.1 Beta 1

2008-09-02 Thread Steve Loughran
Stefan Bodewig wrote: On Wed, 27 Aug 2008, Stefan Bodewig <[EMAIL PROTECTED]> wrote: The vote runs for a week and needs 3 PMC member +1s to pass (and more +1s than -1s). Six days and two PMC member votes later. I'd appreciate it if any other PMC member could take a look at the proposed beta

Re: Allowing antlibs to contribute diagnostics & version info

2008-09-01 Thread Steve Loughran
Jeffrey E Care wrote: I haven't looked at the code in question, but I would think the hardest part of this whole effort would be providing the means for Ant to look up antlib version info. I'm actually fairly enthusiastic about using the combination of existing arguments, mostly just because of

Re: File Name wiht NLS Special Characters

2008-09-01 Thread Steve Loughran
Stefan Bodewig wrote: On Mon, 25 Aug 2008, <[EMAIL PROTECTED]> wrote: Folks, I'm trying to run the Jax-ws APT ant task on file with a NLS name: S_BASIC_ÃÑÑÖÏÑG_Bean.java I don't think you are asking on the correct list. There may be people on the user list who use the same task (I don't ev

Re: Anybody familiar with ChoiceFormat? Issue 44659

2008-09-01 Thread Steve Loughran
Stefan Bodewig wrote: On Fri, 22 Aug 2008, Matt Benson <[EMAIL PROTECTED]> wrote: Looking back at this again, I think having the number formatted according to the US Locale would be more confusing than by the default Locale, speaking without the perspective of a person who typically uses e.g. .

Re: Trying (and failing) to build the nightly snapshot

2008-08-04 Thread Steve Loughran
} You'll see this: This is a problem: bar:${from.b.properties} That's because property expansion takes place when the properties files are loaded. If you want properties from b.properties, load it before a.properties -- Steve Loughran http://www.1060.org/blogxter

Re: [Fwd: Ant 1.7.1 binary distribution seems to be corrupt.]

2008-08-01 Thread Steve Loughran
Steve Loughran wrote: anyone seen this? I will try from the apache.org site -everything is valid on the apache.or and eu.apache.org sites, so something is up at their end, not ours -- Steve Loughran http://www.1060.org/blogxter/publish/5 Author: Ant in Action

[Fwd: Ant 1.7.1 binary distribution seems to be corrupt.]

2008-08-01 Thread Steve Loughran
y registered in England (number 1026167) with its registered office at 1 Churchill Place, London, E14 5HP. This email may relate to or be sent from other members of the Barclays Group. _______ -- Steve Loughran http://www.1060.org/b

Re: Trying (and failing) to build the nightly snapshot

2008-07-29 Thread Steve Loughran
PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Steve Loughran http://www.1060.org/blogxter/publish/5 Author: Ant in Action http://antbook.org/ - To unsubscribe, e-mail: [EMAIL PR

Re: Maven Repo Stuff for ant 1.7.1

2008-07-09 Thread Steve Loughran
Stefan Bodewig wrote: Hi all, I followed our release instructions which say I need to copy the jars and poms generated by Ant's distribution target to /repo/m1-ibiblio-rsync-repository on people.a.o Does anybody who is more familiar than myself know whether this (1) still has the desired eff

Re: Issue 45190 and Ant 1.7.1

2008-06-18 Thread Steve Loughran
Kevin Jackson wrote: Hi Stefan, I fixed https://issues.apache.org/bugzilla/show_bug.cgi?id=45190 with a rather trivial patch http://svn.apache.org/viewvc?view=rev&revision=668624 and now the reporter asks whether this could go into 1.7.1. While I understand that he needs the bug fixed, I also

Re: get timeout patch

2008-06-09 Thread Steve Loughran
does it work on java1.4 and below? -- Steve Loughran http://www.1060.org/blogxter/publish/5 Author: Ant in Action http://antbook.org/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: Adding magic properties for targets?

2008-06-02 Thread Steve Loughran
James Fuller wrote: wouldn't it be great if property names were qnames and then we could do ant:default-target ant:targets-invoked though I do not think the default namespace e.g. antlib:org.apache.tools.ant is wholly appropriate as it concerns itself with ant libraries. I know ant doesn'

Re: Adding magic properties for targets?

2008-06-02 Thread Steve Loughran
Dominique Devienne wrote: I'd add that those properties, if made available, should probably be prefixed with ant., to make it clear they are "built-in". Perhaps: ant.default-target ant.targets-invoked I'm +0 on adding these "static" properties. Since we're at it, we may also want to expose ant

Re: Tiny patch to enable Recursion in Ant

2008-05-28 Thread Steve Loughran
he old one and reopen it), that would e the right place to attach a patch to enable it. I could imagine a task to set a property to the current target ...maybe even something for a complete stack trace/list of imports that is live -- Steve Loughran http://www.1060.org/bl

Re: Merge 641903 from trunk to 1.7 branch?

2008-03-28 Thread Steve Loughran
To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Steve Loughran http://www.1060.org/blogxter/publish/5 Author: Ant in Action http://antbook.org/ -

Re: [Vote] 1.7.1beta2

2008-03-25 Thread Steve Loughran
te on these tarballs has been proposed, so Available tarballs at http://people.apache.org/dist/ant/v1.7.1beta2/ are ready: yes [ x ] (+1) no [ ] (-1) my vote yes [ x ] (+1) no [ ] (-1) -- Steve Loughran http://www.1060.org/blogxter/publish/5 Author: Ant in Action

handling of malformed zip/tar/bzip files

2008-03-18 Thread Steve Loughran
them. -- Steve Loughran http://www.1060.org/blogxter/publish/5 Author: Ant in Action http://antbook.org/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

anyone seen ftp failing?

2008-03-14 Thread Steve Loughran
For some reason, I can't reliably ftp up to upload.sourceforge.net from a CentOS VM I've set up for builds. I can upload one file, but then it stops release.ftp-upload: [echo] FTP target is upload.sourceforge.net [ftp] Opening FTP connection to upload.sourceforge.net [ftp] con

Re: Ivy Maven 2 Compatibility

2008-03-14 Thread Steve Loughran
d to StAX in the process. This is likely going to introduce some small quirks >> we need to iron out (like the hack I added to parse Trygve's name - why did we ever >> allow that!) -- Steve Loughran http://www.1060.org/blogxter/publish/5

Re: [VOTE] Ant 1.7.1 beta

2008-03-12 Thread Steve Loughran
] (+0) No, it's not ready [ ] (-1) Thanks, Kev - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Steve Loughran http://www.1060.org/blogxter/publish/5 Author

Re: Hackathon in Amsterdam next months?

2008-03-07 Thread Steve Loughran
Petar Tahchiev wrote: Hi guys, I will (probably) attend the whole conference, too. Steve,I would like to meet you - I will (probably) be around the HP booth. That would be cool; I will be manning the booth at some point in the week, no doubt.

Re: Hackathon in Amsterdam next months?

2008-03-07 Thread Steve Loughran
o cool demos of deploying things onto Amazon EC2 using google talk as the communications layer during the half-hour in the morning when everyone checks their email -- Steve Loughran http://www.1060.org/blogxter/publish/5 Author: Ant in Action htt

Re: [DISCUSS] Ivy 2.0.0-beta2 announcement

2008-03-03 Thread Steve Loughran
at the API level, it is already being in production builds in many large Java projects. As -you want to give people a big reason to test now (get your bugs fixed) -reassure it is in use. Certainly we use the alphas at work. -- Steve Loughran http://www.1060.

Re: Ivy settings ant error

2008-02-28 Thread Steve Loughran
tells you off for being naughty -- Steve Loughran http://www.1060.org/blogxter/publish/5 Author: Ant in Action http://antbook.org/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: AW: Tasks in parallel

2008-02-28 Thread Steve Loughran
ly want to upload the changed bits of the changed files. -- Steve Loughran http://www.1060.org/blogxter/publish/5 Author: Ant in Action http://antbook.org/ - To unsubscribe, e-mail: [EMAIL PROT

Re: 1.7.1 - Beta Vote

2008-02-26 Thread Steve Loughran
Peter Reilly wrote: On Tue, Feb 26, 2008 at 3:07 PM, Steve Loughran <[EMAIL PROTECTED]> wrote: Steve Loughran wrote: > Kevin Jackson wrote: >> Hi, >> >> As I mentioned previously (although I'm a couple of days late). >> >> I'd like to

Re: 1.7.1 - Beta Vote

2008-02-26 Thread Steve Loughran
Steve Loughran wrote: Kevin Jackson wrote: Hi, As I mentioned previously (although I'm a couple of days late). I'd like to release a beta of 1.7.1 within the next two weeks. The current 1.7.1 trunk is now locked for further changes (99.9% test completion on the most troublesom

Re: 1.7.1 - Beta Vote

2008-02-26 Thread Steve Loughran
he beta of 1.7.1 is ready: [x] yes (+1) [ ] no (you missed something...) That said, I want to look at why it doesn't work on a network mounted windows drive. I'll do that this afternoon. -- Steve Loughran http://www.1060.org/blogxter/publish/5 Author: Ant in A

Re: Set up folder permission in Windows with Ant

2008-02-22 Thread Steve Loughran
ent file/directory. I would advise you avoid it unless you know what you are going. To create zip/tar files with permissions, use and filesets with explicitly listed permssions. -- Steve Loughran http://www.1060.org/blogxter/publish/5 Author: Ant in Action

Re: Merging rev 628990 to the 1.7.x branch

2008-02-20 Thread Steve Loughran
Stefan Bodewig wrote: Hi all (especially Kev 8-) Is it OK if I merge into the 1.7.x branch before we release 1.7.1 (maybe even before Kev creates the RC build, but I'd like to have his opinion here first). Currently Cactus users are forced

Re: The Cactus/JUnit-Task problem

2008-02-15 Thread Steve Loughran
Of course Petar should make sure that Gump can build Cactus so that he can hit us if we break it again. 8-) +2 -- Steve Loughran http://www.1060.org/blogxter/publish/5 Author: Ant in Action http://antbook.org/ ---

Re: [VOTE] add Nicolas Lalevée as committer

2008-02-13 Thread Steve Loughran
important to us. Here's my vote: +1 and mine +1 -- Steve Loughran http://www.1060.org/blogxter/publish/5 Author: Ant in Action http://antbook.org/ - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: Cactus 1.8 / Ant 1.8 Integration

2008-02-12 Thread Steve Loughran
d that adds a new test? -- Steve Loughran http://www.1060.org/blogxter/publish/5 Author: Ant in Action http://antbook.org/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

moving to Jira

2008-01-16 Thread Steve Loughran
d of 'declare the bug', commit with the bug ID, close the bug. This is something we sort of do in Ant, but not rigorously enough. Having just started doing some Ant work this week, I can really feel the difference that switching to bugzilla gives, its like moving backwards -ste

Re: ClasspathUtils with or vs. JavaResource

2008-01-16 Thread Steve Loughran
e (a) reuse stuff so that you can share data properly (b) not leak like a leaky-sieve, and so cause IDEs or app servers to run out of memory The classpath stuff does achieve both, but I'd have to look at all of this to see what is going on. You are clearly provoking us into a code review

Re: AW: ant java versions

2008-01-16 Thread Steve Loughran
ing list, people who annotations in javadoc. However, I can also see that we'd want to move to java 5 eventually, and we need to move from java1.3 to 1.4 first. So having a move from java1.3 for java 1.8 would seem a first a step. -- Steve Loughran http://www.1060.org/blogxter

Re: svn commit: r612091 - /ant/core/trunk/src/main/org/apache/tools/ant/types/resources/AbstractClasspathResource.java

2008-01-15 Thread Steve Loughran
[EMAIL PROTECTED] wrote: Author: jhm Date: Tue Jan 15 04:06:19 2008 New Revision: 612091 URL: http://svn.apache.org/viewvc?rev=612091&view=rev Log: - spelling - a sentence was incomplete (missing additional docs?) Modified: ant/core/trunk/src/main/org/apache/tools/ant/types/resources/Abstr

Re: AW: AW: ant java versions

2008-01-15 Thread Steve Loughran
success. What is the newest JDK version on our supported platforms? Java 6.0u4 on windows/linux, mac still trailing. The 6.04 release changed bits of the XML APIs, which was very unusual for a point release, to say the least. -- Steve Loughran http://www.1060.org/blogxter/pub

Re: AW: ant java versions

2008-01-15 Thread Steve Loughran
[EMAIL PROTECTED] wrote: this is a silly question, but I have forgotten the current values 1. What is the minimum version of Ant that 1.7.0 supports? In theory the answer is 1.2, but I doubt that anybody really still has an environment to try that. 2. What is the minimum version of Ant that 1

ant java versions

2008-01-15 Thread Steve Loughran
this is a silly question, but I have forgotten the current values 1. What is the minimum version of Ant that 1.7.0 supports? 2. What is the minimum version of Ant that 1.8 is targeting? - To unsubscribe, e-mail: [EMAIL PROTECTE

Re: Updating information on current external task

2008-01-09 Thread Steve Loughran
gets the links. I've just checked in the changes...when the site is rebuilt the changes go out. -speaking of which, how do I rebuild the site? -- Steve Loughran http://www.1060.org/blogxter/publish/5 Author: Ant in Action http://antboo

Re: Linking to log files from generated JUnit reports

2008-01-09 Thread Steve Loughran
a.util.logging levels and have that handled in the main GUI, which means we could consider better logging inside the XML file itself -as long as that doesnt break other systems. I'd like more people involvved in this; add your name to the list and let's start making

Re: Ant Documentation

2008-01-09 Thread Steve Loughran
ot; />, , so that you can choose better formatting from XML. For docbook I've used the xml toolchain that goes through LateX; printed output is very nice. -- Steve Loughran http://www.1060.org/blogxter/publish/5 Author: Ant in Ac

Re: getting JVM version info from Ant

2007-12-13 Thread Steve Loughran
ll we need. unless we want specific isSun, isGPL tests -- Steve Loughran http://www.1060.org/blogxter/publish/5 Author: Ant in Action http://antbook.org/ - To unsubscribe, e-mail: [EMAIL PROTECTED

getting JVM version info from Ant

2007-12-13 Thread Steve Loughran
Here's a question. How do I distinguish a sun jvm from a jrockit jvm in a build file, as I dont see any reliable way of doing it in an ant condition (right now)? I'm thinking we ought to analyse the jvm and maybe set some properties, or add a new condition to probe the world. -steve (I

Re: [VOTE] Release Ivy 2.0.0-beta1 (second attempt)

2007-12-10 Thread Steve Loughran
a new release attempt until next week, so if ever this one doesn't pass, I hope someone will step up to replace me as release mgr for this release. So, do you vote for the release of these binaries? my vote: [+1 ] Yes [ ] No -- Steve Loughran http://www.1060.org/blo

Re: ApacheCon Presentation

2007-11-15 Thread Steve Loughran
either separate (signed) MD5 sums, or we serve all MD5 sums up from an apache https server. without either of those, there is no way to detect malicious artifacts sneaking in. In this respect, the java world is actually behind, say the debian apt-get world. -steve -- Steve Loughran

Re: J2ee Build

2007-11-07 Thread Steve Loughran
amalorpavadoss wrote: Hi, if I want to build a J2EE program what should be correct one to use, it is NAnt or Ant... please let me konw ant, and all further questions should be on the user mail list. -- Steve Loughran http://www.1060.org/blogxter/publish/5 Author: Ant in

Re: Update [was Re: weblogic rmic]

2007-11-07 Thread Steve Loughran
(update docs to point out weblogic rmic glaring incompatibilities with ant, switch off the unit test to get a clean build) [ ] no lets bang our heads against a brick wall for a few more years trying to fix this junk -- Steve Loughran http://www.1060.org/blogxter/publish/5

Re: Update [was Re: weblogic rmic]

2007-11-06 Thread Steve Loughran
- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Steve Loughran http://www.1060.org/blogxter/publish/5 Author: Ant in Action http://antbook.org

Re: terminating running builds better

2007-11-06 Thread Steve Loughran
tests for it. This is clearly an important use case. Jesse Glick <[EMAIL PROTECTED]> Sent by: news <[EMAIL PROTECTED]> 11/03/2007 01:19 PM Please respond to "Ant Developers List" To dev@ant.apache.org cc Subject Re: terminating running builds better Ste

Re: Optional target support?

2007-11-06 Thread Steve Loughran
Jeffrey E Care wrote: "Peter Reilly" <[EMAIL PROTECTED]> wrote on 11/02/2007 02:54:38 PM: The easy way is to have a common.xml that is included in by each subproject. The common.xml would have a "foo" target with an empty implementation. Any sub project could then have there own "foo" targe

Re: terminating running builds better

2007-11-02 Thread Steve Loughran
Steve Loughran wrote: I'm midway through adding the smartfrog features to run ant builds remotely; buildexceptions will get wrapped and sent back over the wire to the caller via our friend RMI. as will, ultimately, the logs. you can use this to run build files as part of a big deplo

Re: Rmic & WebLogic failure more info

2007-11-02 Thread Steve Loughran
to handle mapping from version options in to version options in the compiler; the wlrmic one warns if any option is set. Try running the tests now -steve -- Steve Loughran http://www.1060.org/blogxter/publish/5 Author: Ant in Action http://a

Re: svn commit: r590990 - /ant/core/trunk/src/main/org/apache/tools/ant/util/WorkerAnt.java

2007-11-02 Thread Steve Loughran
Martijn Kruithof wrote: public void waitUntilFinished(long timeout) throws InterruptedException { synchronized(notify) { -if(finished) { -return; +while (!finished) { +notify.wait(timeout); } -notify

Re: Rmic & WebLogic failure more info

2007-11-02 Thread Steve Loughran
pported by weblogic rmic: http://edocs.bea.com/wls/docs81/rmi/rmi_rmic.html#662053 -vcompat is absent - so can we prevent this being passed in this test? we should filter it out from being passed down I'll file a bug and take a look at it now. -- Steve Loughran http

Re: Ant SVN Trunk - errors in LocatorTest & RmicAdvancedTest

2007-11-02 Thread Steve Loughran
- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Steve Loughran http://www.1060.org/blogxter/publish/5 Author: Ant in Action http://antbook.org/

terminating running builds better

2007-11-01 Thread Steve Loughran
I'm midway through adding the smartfrog features to run ant builds remotely; buildexceptions will get wrapped and sent back over the wire to the caller via our friend RMI. as will, ultimately, the logs. you can use this to run build files as part of a big deployment, and be able to dynamical

Re: Bugs in release branch

2007-11-01 Thread Steve Loughran
Kev Jackson wrote: The windows tests will still be failing with bad paths, but now we can decide what the correct strings are and add them to the tests, then fix any locator bugs that exist. I guess they always passed on gump as it was running on linux/bsd, which is why we didn't see any prob

Re: Bugs in release branch

2007-11-01 Thread Steve Loughran
I've tweaked the locator tests to take a string of expected values for both windows and unix systems, so we can hard code what we expect for both Steve Loughran wrote: LocatorTest.testInternationalURI FailureExpected file:/D:/L/u00f6wenbrau/aus/M/u00fcnchen to resolve

Re: Bugs in release branch

2007-11-01 Thread Steve Loughran
file is a legitimate path in windows; should map to \\hostname\file with no drive prefix We can fix (1) by declaring the expected string for windows too. (2) this is a bug to fix -- Steve Loughran http://www.1060.org/blogxter/publish/5 Author: Ant in Action http://ant

Re: Bugs in release branch -rmic

2007-11-01 Thread Steve Loughran
Kevin Jackson wrote: Hi, On Windows with JDK6, the following tests fail: I see the rmi tests on linux+the latest jdk6 too. RmicAdvancedTest.testXnew rmic.testXnew: [base-rmic] RMI Compiling 1 class to /home/slo/Java/Apache/ant/src/etc/testcases/taskdefs/rmic/build [base-rmic] rmic: er

Re: Bugs in release branch

2007-11-01 Thread Steve Loughran
Jesse Glick wrote: Stefan Bodewig wrote: file://cluster/home/ant/lib This is probably illegal too; AFAIK the host field is meaningless for a file-protocol URL. I think it is not (SMB or NFS), something like "ls //nfserver/homes/mine" translates into a file URI with host. Not on Unix; NFS mo

Re: getting const strings into antunit tests

2007-10-30 Thread Steve Loughran
Dominique Devienne wrote: On 10/30/07, Stefan Bodewig <[EMAIL PROTECTED]> wrote: On Mon, 29 Oct 2007, Steve Loughran <[EMAIL PROTECTED]> wrote: Our solution was to add a new reference, so we can extract text from a java static member [...] seems to me, we could do the same with an

getting const strings into antunit tests

2007-10-29 Thread Steve Loughran
of a resource as its contents. then we enhance antunit to have a assertion that compares two resources (we have something like this, right?), and we can just search for the specific resource in text, error logs,etc. -- Steve Loughran http://www.1060.org/blogxter/publish/5 A

Re: adding a waitfor to a sequence

2007-10-29 Thread Steve Loughran
that easy to rewrite; I've found and fixed various timeout bugs in the setup/teardown stages. Its the testing of the test task, that's the hard thing. -- Steve Loughran http://www.1060.org/blogxter/publish/5 Author: Ant in Action htt

Re: AW: adding a waitfor to a sequence

2007-10-29 Thread Steve Loughran
one will be cleaner, as I can edit WaitFor and the like to simplify the code. -- Steve Loughran http://www.1060.org/blogxter/publish/5 Author: Ant in Action http://antbook.org/ - To unsubscribe, e-ma

adding a waitfor to a sequence

2007-10-29 Thread Steve Loughran
How do I go (new Sequential).addTask(new WaitFor())? Because WaitFor is not a task, just a project component with an execute method. -steve - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Problem with Cactus and Ant

2007-10-29 Thread Steve Loughran
irrorLoader); How does cactus override execute()? Does it call super.execute(), or does it do something else? If you point us at the SVN copy of the task, we can look for ourselves and see. It may be that you are calling some internal execution stuff before a delegate is set up -- Steve Loughran

Re: Bugs in release branch

2007-10-29 Thread Steve Loughran
file:/home/ant/lib to resolve to /home/ant/lib but got D:\home\ant\lib expected:<[/home/ant/]lib> but was:<[D:\home\ant\]lib> Doesn't look like a bug to me, looks correct, assuming you are running on a Windows machine. Same for the subsequent failures. -J.

Re: Correct Task Behaviour

2007-10-17 Thread Steve Loughran
being added -there is special support for various common Java or ant types: file, path, reference -you can add your own types if you give them a string constructor -if you overload a setter with a complex type and a string, the complex one gets picked -steve -- Steve Loughran

  1   2   3   4   5   6   7   8   9   10   >