Re: Dual Java Compilers/Replacement for antcontrib

2011-02-16 Thread Niklas Matthies
is is purely a compile-time issue, and only a problem when source code compatibility with JDK 1.5 is a requirement. It doesn't cause any problems at runtime. -- Niklas Matthies On Tue 2011-02-15 at 18:32h, Toomey, Kevin H (CTO Org) wrote on user: > Might not be the same but I remember on

Re: Wisdom of using ":" in property name

2011-02-01 Thread Niklas Matthies
o, not a good thing to use in property values. Yeah, because of broken tools. ;) (This reminds me of how Majordomo choked on slashes I used to have in email address localparts, although having those is perfectly valid according to RFC x822...)

Re: Set a default value to property.

2010-11-30 Thread Niklas Matthies
I don't think this (emitting a warning) was ever the case. Setting and overriding defaults this way is one of the basic techniques in Ant. It should probably be made more explicit in the manual. -- Niklas Matthies On Tue 2010-11-30 at 14:30h, Scot P. Floess wrote on user: > > Actual

Re: Set a default value to property.

2010-11-30 Thread Niklas Matthies
How is this different from just ? -- Niklas Matthies On Tue 2010-11-30 at 14:11h, Scot P. Floess wrote on user: > > Here is something I like to use... I macrodef'd it out so I can call it > for many properties that require

Re: Apply argument wrapping with msiexec

2010-11-10 Thread Niklas Matthies
implementation would only add quotes if the string didn't already contain quotes around the whitespace, there wouldn't be a problem. As a workaround, I would suggest writing the command to a temporary batch file and execute that. -- Niklas Matthies [1] From ProcessImpl.java version

Re: simplify copy with regexpmapper (mapper/regexp)

2010-09-17 Thread Niklas Matthies
On Fri 2010-09-17 at 14:54h, Stefan Bodewig wrote on user: > On 2010-09-17, Niklas Matthies wrote: : > > But "flatten" also cuts away all sub-directories. > > Absolutely, hence "since you really want to remove all dirs". > > > If for example the files

Re: simplify copy with regexpmapper (mapper/regexp)

2010-09-17 Thread Niklas Matthies
py are Java source files under multiple source roots, "flatten" would also remove the Java package directories from the file paths, instead of just the part above the source roots. -- Niklas Matthies - To unsubscr

Re: insert .reg files

2010-09-03 Thread Niklas Matthies
teProcess > error= > 193, %1 is not a valid Win32 application, You should run regedit.exe /s foo.reg or reg.exe import foo.reg -- Niklas Matthies - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For addi

Re: AW: Conditional target problem

2010-08-19 Thread Niklas Matthies
y visibility issues with antcall? You lose Ant's target dependency management once you're in a macrodef. Without that dependency management, you might as well use some scripting language (with more human-friendly syntax than XML ;)) instead of An

Re: Conditional target problem

2010-08-18 Thread Niklas Matthies
I filed an enhancement request related to this topic: http://issues.apache.org/bugzilla/show_bug.cgi?id=49776 -- Niklas Matthies - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h

Re: Conditional target problem

2010-08-18 Thread Niklas Matthies
new Ant instance. Properties and references set within the call won't be visible after the call returns, and targets executed before the call might be executed again within the call. It's very different from having a target as a dependency. Replacing one with the other has all sort

Conditional target problem

2010-08-17 Thread Niklas Matthies
instance, without creating redundancies? -- Niklas Matthies - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org

Re: Multiline regex matches

2010-08-17 Thread Niklas Matthies
using a TokenFilter. Assuming that everything is streamed (don't know whether that's the case), this could be very efficient. -- Niklas Matthies - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional c

Re: Multiline regex matches

2010-08-17 Thread Niklas Matthies
On Tue 2010-08-17 at 19:37h, Stefan Bodewig wrote on user: > On 2010-08-17, Niklas Matthies wrote: : > > If the condition would support resources, I could use that, > > but it only supports the string attribute. > > Since you are looking at a single file, you can use load

Multiline regex matches

2010-08-17 Thread Niklas Matthies
;t perform multiline matches. Specifying "(?m:${regex})" doesn't work. If the condition would support resources, I could use that, but it only supports the string attribute. Any other ideas? -- Niklas Matthies ---

Re: multiple artifact confs: wanting AND instead of OR

2009-07-28 Thread Niklas Matthies
ions, where an explicit combination configuration or separate modules wouldn't be a better solution. The cute pet or the coffee drink examples don't make any sense to me. ;) -- Niklas Matthies

Re: equal weights in specialMeaning on latest-revision

2009-01-08 Thread Niklas Matthies
ublications a status 'local' rather than 'integration' (where 'local' would be even "lower" than 'integration'), then you could switch your local build dependencies individually between "latest.local" and "latest.integration". -- Niklas Matthies

Managing JRE/JDK dependencies

2008-11-24 Thread Niklas Matthies
opy of the JDK on a shared network filesystem, but we don't think it's a good idea to use JDKs remotely. Any ideas/suggestions/experiences? -- Niklas Matthies

Re: buildnumber Ant task & automated updates of ivy.xml

2008-11-20 Thread Niklas Matthies
sources with the auto-incremented build number? -- Niklas Matthies

Re: Ivy with archiva

2008-11-12 Thread Niklas Matthies
; though I'm on usenet). There was a time when inline replying was as prevalent on mailing lists as on usenet... ;) -- Niklas Matthies -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?

Re: Reinforce dependency control

2008-10-08 Thread Niklas Matthies
le-time dependencies of a module (the dependencies needed for compiling a client against the module) to the actual dependencies of the module's public API, as opposed to restricting the module's private build-time compilation dependencies to the minimum. I'm not aware of any tool that can check the former, though. -- Niklas Matthies

Re: tag missing from ivy.xml

2008-06-03 Thread Niklas Matthies
t with the revision attribute. -- Niklas Matthies

Re: Using the configuration as part of the artifact pattern

2008-02-05 Thread Niklas Matthies
task can be used to do this, in particular it has support for merging manifest files. -- Niklas Matthies