Re: Reasons why Java 7 got me excited about Ant 2

2012-02-26 Thread wolfgang häfelinger
/www.youtube.com/watch?v=yNRS1ssLPdQ > [8] > https://blogs.oracle.com/javaspotlight/entry/java_spotlight_episode_59_alan > [9] http://openjdk.java.net/projects/nio/presentations/TS-5052.pdf > [10] > http://marxsoftware.blogspot.com/2011/03/jdk-7-new-interfaces-classes-enums-and.html > > >

Re: Regarding exec task

2012-02-12 Thread wolfgang häfelinger
within ant. > > Is it possible to make the Execute class in ant extensible so that it becomes > possible to plugin our own implementation of Process class. > > > Thanks > > Vimil -- Wolfgang Häfelinger - To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org For additional commands, e-mail: dev-h...@ant.apache.org

Re: [DISCUSS] EasyAnt: Ant based pre packaged build system for java projects

2008-01-14 Thread Wolfgang Häfelinger
ot; rather than following the Macro path I proposed? Regards, Wolfgang Häfelinger Research & Architecture | Dir. 2.7.0.2 European Patent Office Patentlaan 3-9 | 2288 EE Rijswijk | The Netherlands Tel. +31 (0)70 340 4931 [EMAIL PROTECTED] http://www.epo.org "Dominique Devienne" &

Re: [DISCUSS] EasyAnt: Ant based pre packaged build system for java projects

2008-01-14 Thread Wolfgang Häfelinger
get attributes. > Q2: Do others feel (like me) that we should also have a mean to > override a target's content (task list) while keeping the overridden > target's dependency list? This must be the soul of this whole upcoming framework. It's an absolutley must.

Re: [DISCUSS] EasyAnt: Ant based pre packaged build system for java projects

2008-01-14 Thread Wolfgang Häfelinger
Assume also: Do you want this before your "start-server" or after it or in parallel? And you you need to extend Ant with "before" and "after" of course. Regards, Wolfgang Häfelinger Research & Architecture | Dir. 2.7.0.2 European Pate

Re: [DISCUSS] EasyAnt: Ant based pre packaged build system for java projects

2008-01-14 Thread Wolfgang Häfelinger
> So every concrete simple target like became > > > ... > > This looks pretty ugly this me! I believe that this whole discussion focusses too much on targets instead of macros. Macros are a very powerfull feature and they deserve much more attention! Why not simply:

Re: [DISCUSS] EasyAnt: Ant based pre packaged build system for java projects

2008-01-10 Thread Wolfgang Häfelinger
quot;Ant Developers List" To "Ant Developers List" cc Subject Re: [DISCUSS] EasyAnt: Ant based pre packaged build system for java projects On Jan 10, 2008 5:29 PM, Wolfgang Häfelinger <[EMAIL PROTECTED]> wrote: > >> it is certainly something that already exists in

RE: [DISCUSS] EasyAnt: Ant based pre packaged build system for java projects

2008-01-10 Thread Wolfgang Häfelinger
nagement and all those pretty reports... Regards, Wolfgang Häfelinger Research & Architecture | Dir. 2.7.0.2 European Patent Office Patentlaan 3-9 | 2288 EE Rijswijk | The Netherlands Tel. +31 (0)70 340 4931 [EMAIL PROTECTED] http://www.epo.org "Gilles Scokart" <[EMAIL PROTECTED]>

Re: ApacheCon Presentation

2007-11-15 Thread Wolfgang Häfelinger
t; the problem in different ways. Kev, you didn't take the most obvious solution into account: 5. REPLACE ANT WITH MAVEN !! And this is a real pitty cause Ant is the better solution, almost at least. Just add some coool features please .. Regards, Wolfgang Häfelinger Research & Architec

Re: ApacheCon Presentation

2007-11-15 Thread Wolfgang Häfelinger
to "burry" in the Ant core. Just the namespace implies the artefacts to be used. Regards, Wolfgang Häfelinger Research & Architecture | Dir. 2.7.0.2 European Patent Office Patentlaan 3-9 | 2288 EE Rijswijk | The Netherlands Tel. +31 (0)70 340 4931 [EMAIL PROTECTED] http://www.epo.org

Re: ApacheCon Presentation

2007-11-14 Thread Wolfgang Häfelinger
re some kind of namespace interceptor in Ant's source code? I'm just asking cause I have never seen such a beast... Regards, Wolfgang Häfelinger Research & Architecture | Dir. 2.7.0.2 European Patent Office Patentlaan 3-9 | 2288 EE Rijswijk | The Netherlands Tel. +31 (0)70 340

Re: ApacheCon Presentation

2007-11-14 Thread Wolfgang Häfelinger
Peter, I'm missing the 'download' part in the example you gave. It appears that you expect your jars already to be present in ${commons.dir}, and even in a nicely structured way. To much too assume. It should all be handled by Ant's core .. Regards, Wolfgang Häfelinger Res

Re: ApacheCon Presentation

2007-11-14 Thread Wolfgang Häfelinger
sooner rather than later, [..] I'm in favor of "sooner" :-) Of course, if I'm the only one missing "auto-download" then it doesn't make sense to ask for it. Regards, Wolfgang Häfelinger Research & Architecture | Dir. 2.7.0.2 European Patent Office Patentlaa

Re: ApacheCon Presentation

2007-11-14 Thread Wolfgang Häfelinger
ly one who is annoyed by putting 3rdparty libs in Ant's home directory? Regards, Wolfgang Häfelinger Research & Architecture | Dir. 2.7.0.2 European Patent Office Patentlaan 3-9 | 2288 EE Rijswijk | The Netherlands Tel. +31 (0)70 340 4931 [EMAIL PROTECTED] http://www.epo.org Kev J

Wolfgang Häfelinger is out of the office.

2007-06-14 Thread Wolfgang Häfelinger
I will be out of the office starting 14-06-2007 and will not return until 20-06-2007. I will respond to your message when I return. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Wolfgang Häfelinger is out of the office.

2007-06-11 Thread Wolfgang Häfelinger
I will be out of the office starting 11-06-2007 and will not return until 12-06-2007. I will respond to your message when I return. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Wolfgang Häfelinger is out of the office.

2007-04-08 Thread Wolfgang Häfelinger
I will be out of the office starting 04-04-2007 and will not return until 10-04-2007. I will respond to your message when I return. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Wolfgang Häfelinger is out of the office.

2007-03-16 Thread Wolfgang Häfelinger
I will be out of the office starting 17-03-2007 and will not return until 26-03-2007. I will respond to your message when I return. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Wolfgang Häfelinger is out of the office.

2007-02-22 Thread Wolfgang Häfelinger
I will be out of the office starting 23-02-2007 and will not return until 27-02-2007. I will respond to your message when I return. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

tracing macros?

2007-02-20 Thread Wolfgang Häfelinger
Hey, I'm using macrodef a lot (a really great feature). What I'm looking for is a simple way of tracing which macro is invoked. Something like "entring macro .. ", "leaving macro ..". So derived a Trace class from org.apache.tools.ant.taskdefs.Sequential, some- thing like: public class Tra

Re: Proposed roadmap

2007-01-03 Thread Wolfgang Häfelinger
lly" <[EMAIL PROTECTED]> 03-01-2007 16:57 Please respond to "Ant Developers List" To "Ant Developers List" cc Subject Re: Proposed roadmap On 1/3/07, Wolfgang Häfelinger <[EMAIL PROTECTED]> wrote: > >> 3. I dont actually like EL handling as

Re: Proposed roadmap

2007-01-03 Thread Wolfgang Häfelinger
nge Kidding? Steve Loughran <[EMAIL PROTECTED]> 03-01-2007 14:58 Please respond to "Ant Developers List" To Ant Developers List cc Subject Re: Proposed roadmap Wolfgang Häfelinger wrote: > * 1.9 > - add EL (?from jsp/jsf - properties or references?) >

Re: Proposed roadmap

2007-01-03 Thread Wolfgang Häfelinger
* 1.9 - add EL (?from jsp/jsf - properties or references?) Since EL is a really cool feature and simplifies JSP development so much, I would like to give it a much higher priority (1.7.x)... it possible to "Peter Reilly" <[EMAIL PROTECTED]> 29-12-2006 17:43 Please respond to "Ant Devel

Wolfgang Häfelinger is out of the office.

2006-08-24 Thread Wolfgang Häfelinger
I will be out of the office starting 25-08-2006 and will not return until 05-09-2006. I will respond to your message when I return. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Wolfgang Häfelinger is out of the office.

2006-06-28 Thread Wolfgang Häfelinger
I will be out of the office starting 29-06-2006 and will not return until 24-07-2006. I will respond to your message when I return. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: using multiple properties in the 'if' and 'unless' conditions

2006-06-26 Thread Wolfgang Häfelinger
nd change it's evaluation on demand: fall back to whatever was there before using "test" Btw, we need to have a quota character. For example Wolfgang. Steve Loughran <[EMAIL PROTECTED]> 26-06-2006 13:17 Please respond to "Ant Developers List"

Re: using multiple properties in the 'if' and 'unless' conditions

2006-06-26 Thread Wolfgang Häfelinger
, you also need a lot of imagniation to understand what you can do with Ant, right? The only problem with "&" is that it is an "XML" character as well. Wolfgang. Stefan Bodewig <[EMAIL PROTECTED]> 25-06-2006 11:42 Please respond to "Ant Developers

Re: using multiple properties in the 'if' and 'unless' conditions

2006-06-23 Thread Wolfgang Häfelinger
Just out of curiousity: What would so bad introducing an "expression language"? After all, there's no need to express everything in (clumsy) XML just because we are able to do so. I believe that an expression language, escpecially for testing, would simplify Ant scripting considerably. Wolfga

Re: how to access a MacroDef?

2006-06-13 Thread Wolfgang Häfelinger
; Re: how to access a MacroDef? > > > > > > > Thanks, > > I have entered a bug report on this. When I was writing presetdef, > I had a lot of similar problems and as a result there is a number > of places in the code that contain checks for presets

Re: how to access a MacroDef?

2006-06-12 Thread Wolfgang Häfelinger
e here needs to create the task that preset points to. Due to change in job, I am not currently able to modify ant code (need to set up svn at home on windross ;-), but I will a look. Peter On 6/12/06, Wolfgang Häfelinger <[EMAIL PROTECTED]> wrote: > > >

Re: how to access a MacroDef?

2006-06-12 Thread Wolfgang Häfelinger
It would be necessary to call setOwningTarget as project.createTask() does not know the current target. Peter On 6/7/06, Wolfgang Häfelinger <[EMAIL PROTECTED]> wrote: > > Allright, it appears much more easier than expected. > > ComponentHelper componenthelper; > Ob

Re: how to access a MacroDef?

2006-06-07 Thread Wolfgang Häfelinger
defs.MacroInstance; import org.apache.tools.ant.BuildException; atest = project.createTask("atest"); if (! (atest instanceof MacroInstance)) { throw new BuildException("atest is not a macro"); } atest.execute(); It would be necessar

Re: how to access a MacroDef?

2006-06-07 Thread Wolfgang Häfelinger
Allright, it appears much more easier than expected. ComponentHelper componenthelper; Object obj; MacroInstance instance; componenthelper = ComponentHelper.getComponentHelper(project()); obj = componentHelper.createComponent(mymacroname); instance= (MacroInstance)obj; instance

Re: how to access a MacroDef?

2006-06-07 Thread Wolfgang Häfelinger
>> So your 'def' is null, right? Actually it's the case that componenthelper.getTaskDefinitions().get(mymacroname); returns a object of type Class: Class C = (Class) componenthelper.getTaskDefinitions().get(mymacroname); In case 'mymacroname' contanis the name of a macrodef

how to access a MacroDef?

2006-06-06 Thread Wolfgang Häfelinger
Hi, a simple question - how can I retrieve a macro definition using ComponentHelper? I tried something like ComponentHelper componenthelper = ComponentHelper.getComponentHelper(project()); MacroDef def = (MacroDef) componenthelper.getTaskDefinitions().get(mymacroname); just in order to und

Re: how to call macros dynamically?

2006-06-06 Thread Wolfgang Häfelinger
>> For example, the above could be replaced by a single empty-target >> depending on the 4 possible package-* targets, each with an >> appropriate 'if' attribute. Or with a (limited use of >> is usually not that expensive). Sure you agree that "run-macro" is by far more elegant than working with

Re: how to call macros dynamically?

2006-06-06 Thread Wolfgang Häfelinger
ject Re: how to call macros dynamically? Is your motivation being able to have conditionals in disguise, i.e. be able to write ? Otherwise I can't see the use for this. Just curious ;-) Thanks, --DD On 6/6/06, Wolfgang Häfelinger <[EMAIL PROTECTED]> wrote: > Hi, > > I wonder how

how to call macros dynamically?

2006-06-06 Thread Wolfgang Häfelinger
Hi, I wonder how to implement a task (in Java) allowing me to execute a macro. I tried to understand how it works looking into Ant's source code, but I'm bit lost. Would be kind if someone could give me a "roadmap" how to do it .. What I'm looking for is something like .. Assume I have a macro

Re: ComponentHelper replacement

2006-05-26 Thread Wolfgang Häfelinger
ECTED]> 26-05-2006 15:29 Please respond to "Ant Developers List" To Ant Developers List cc Subject Re: ComponentHelper replacement Wolfgang Häfelinger wrote: >>>My preference is to improve Ant's API. > > > I would like to see Ant evolving i

RE: ComponentHelper replacement

2006-05-26 Thread Wolfgang Häfelinger
>> My preference is to improve Ant's API. I would like to see Ant evolving in such a way allowing me to implement a framework like Maven on top of it. >> So, the question is "can Ant evolve into a good Java API?" I have no doubt that it can be done, we just need to focus on it. However

Re: ComponentHelper replacement

2006-05-23 Thread Wolfgang Häfelinger
Hey, >> Ant's purpose is as a build tools, not a Java library. Perhaps time to change. After all, there must be a reason why Maven's community is growing :-) >> is just syntactic sugar, and is better not used >> IMHO. I disagree. It's very cool. Almost as cool as "macrodef" which I really lov

Re: ComponentHelper replacement

2006-05-23 Thread Wolfgang Häfelinger
s List" cc Subject Re: ComponentHelper replacement On 23 May 2006, at 17:26, Wolfgang Häfelinger wrote: > Hi, > > I'm heavily using to override/customize tasks. It > annoys me > and users > of my framework to see messages like > > Trying to override

ComponentHelper replacement

2006-05-23 Thread Wolfgang Häfelinger
Hi, I'm heavily using to override/customize tasks. It annoys me and users of my framework to see messages like Trying to override old definition of task junit and so I had the idea to write my "own" ComponentHelper and to hook it in via reference "ant.ComponentHelper". The idea is -