I guess this brings up a bigger issue (again) which is when will we
modernize Ant?
I know that backwards compatibility is a huge thing, so I don't want
to step on toes, but it sure would be nice to be able to read and
contribute to ant's code with java6 features instead of java4
features.
java4 a
Sounds like an overcomplicated, brittle and error prone way to develop code.
jon
On Thu, Oct 28, 2010 at 2:51 AM, Marco Sambin - NeoLogica <
marco.sam...@neologica.it> wrote:
> Hi.
>
> I am using a ANT task in my build.xml in order to implement a
> kind
> of "conditional compilation" in my Net
2010 at 08:21, Mark Salter
> wrote:
> > On 28/08/2010 22:39, Jon Stevens wrote:
> >> http://ant.apache.org/bindownload.cgi
> >>
> >> no way to download ant.
> >>
> > Source and manual download links exhibit same result:-
> >
> > Internal
http://ant.apache.org/bindownload.cgi
no way to download ant.
e:
> [this would be a good question for the u...@ant list ;-)]
>
> On 2010-07-14, Jon Stevens wrote:
>
>> say i have this:
>
>>
>>
>>
>>
>>
>>
>&g
say i have this:
but i want to exclude some files from the WEB-INF/lib that are
included in the all.classpath... how would i do that?
jon
-
avoid even the existing logic of an ivy-cachepath (unless the
> dependencies have changed), then the build speed issue would be
> resolved.
>
> Jeff
>
> On Sat, 2010-07-03 at 23:06 -0700, Jon Stevens wrote:
>> Hi all,
>>
>> For those of you frustrated with the co
Hi all,
For those of you frustrated with the complexity of Maven and Ivy
dependency management, Sweetened is a great ant only solution for
dealing with your jar files. It is blazing fast, easy to understand
and integrates really well with Eclipse.
http://code.google.com/p/sweetened/
I'd like to
Maybe it is just me, but it seems vastly more efficient to just write out
the correct string than call Integer.toHexString().
Also, don't forget to update WHATSNEW since this is potentially a backwards
incompatible change.
jon
On Tue, Jun 29, 2010 at 12:51 AM, Stefan Bodewig wrote:
> On 2010-
>
> By now I tend to agree with Jon that DOMElementWriter should encode \n,
> \r and \t when writing attribute values (and only when writing attribute
> values).
>
> Stefan
>
Thank you.
jon
>
> Don't get hand up on the textual representation of the XML file. This
>
>
>
> and this
>
>
>
>
> is exactly the same thing as far as XML is concerned.
>
>
And what about:
which ends up like this after 'echoxml'...
?
jon
On Sun, Jun 27, 2010 at 10:35 AM, Dominique Devienne wrote:
> On Sat, Jun 26, 2010 at 6:54 PM, Jon Stevens wrote:
> > For example, attr="&" comes out as attr="&" and not attr="&"... I
> > don't have to write attr="&&quo
uld come out as attr="
", not attr="\n"
jon
On Sat, Jun 26, 2010 at 12:07 PM, Antoine Levy-Lambert wrote:
> Hello Jon,
>
> do not forget that the ant build file is also written in xml.
>
> To do what you want, you need to write this :
>
>
>
>
&
Here is a better example:
[8][ //tmp ]% ant
Buildfile: build.xml
BUILD SUCCESSFUL
Total time: 0 seconds
Not what I was expecting.
jon
On Fri, Jun 25, 2010 at 5:02 PM, Jon Stevens wrote:
> Say you have an element like this:
>
>
>
> If you want to load that through
Say you have an element like this:
If you want to load that through an XMLFragment and then output it later,
the DOMElementWriter.encode() method doesn't case properly for non-printable
characters.
The quick fix for me in this case was to overload that method and add this:
case
Ok, how do I do the same thing with the war task lib directory?
need to put a reference to my union in here.
jon
On Fri, Jun 25, 2010 at 9:47 AM, Jon Stevens wrote:
> sweet. works like a charm (even though it is a bit non-intuitive). mind if
> i submit a diff to t
sweet. works like a charm (even though it is a bit non-intuitive). mind if i
submit a diff to the tar documentation page with this example?
jon
On Thu, Jun 24, 2010 at 9:10 PM, Stefan Bodewig wrote:
> On 2010-06-25, Jon Stevens wrote:
>
> > Now, I'd like to reference th
I've got my class which extends Union typedef. Inside of it are a bunch of
FileList's which in turn have a bunch of FileResources.
Now, I'd like to reference that Union within a ... something
like this:
> Sorry to step late into the thread but you know you can change the ant used
> in Eclipse ?
> In the preferences look into Ant / Runtime and change the "Ant Home".
>
> Nicolas
Sure, but getting a company full of java developers to all do that is
pretty much impossible. =) I have a hard enough ti
On Mon, Jun 14, 2010 at 2:06 AM, Stefan Bodewig wrote:
> Since that method is final (at
> least in 1.8.0) you can't even override it.
Yea, can we talk about this? It seems like there is a lot of places
where ant discourages people from being able to override stuff. Is
there a good reason for tha
ng.
> Patches are always welcome to improve it :-)
>
> Could you give more info about what is not working with this example?
> I just tried myself an I didn't had a problem...
>
> Maarten
>
>
>
>
> - Original Message
> From: Jon Stevens
> To: An
Other than the documentation on the website is confusing and broken,
none from me! =)
http://ant.apache.org/ivy/history/latest-milestone/tutorial/start.html
This does not work. If I'm new to the project, I'd expect to be able
to copy/paste something from the fi
Ok, new question. Say I have a build.xml that looks like this:
javac.classpath: ${toString:javac.classpath}
spath extends Union.
When the ${
On Thu, Jun 10, 2010 at 10:58 AM, Jon Stevens wrote:
> the getCollection() method on my spath element is called. However, the
> scope attribute on the spath is null. (ie: I've overrided
> getCollection() and this.scope is null). I'm not sure why this is
> getting nulled
> I think you've later seen that you don't since all the attributes of the
> are available via as well. Using Ant 1.8.0 you can even
> do a sfile.as(FileProvider.class) to get access to the java.io.File
> instance itself.
>
> Yep, absolutely. That's why I suggested tagging a whole resource
> co
On Wed, Jun 9, 2010 at 3:06 AM, Stefan Bodewig wrote:
> [I appologize for reshuffling your post but this way my response make
> mode sense, at least to me 8-)]
I sometimes ramble. Thanks! =)
> Letting the IDE force the Ant version upon you somewhat defeats the
> purpose of an IDE independent bui
lternative to being able to specify your dependencies in your ant
build file and then use those to produce your Eclipse .classpath and
launch config files. All I want is something simple and fast and just
works. =)
thanks,
jon
On Tue, Jun 8, 2010 at 7:14 AM, Stefan Bodewig wrote:
> On 2010-06-04, Jon
ection to transform the
> resources of some other resource collection to your new resource type.
> This approach is probably your best best because then your resources
> should be usable by whatever other tasks know how to deal with
> filesystem-based resources.
>
> HTH,
> M
Anyone? Stefan?
On Fri, Jun 4, 2010 at 11:52 AM, Jon Stevens wrote:
> Hi all,
>
> Been a long long time since I've been around these parts, so apologies
> if this has been covered before.
>
> What I'd like to do is be able to add a couple of attributes to the
> el
Hi all,
Been a long long time since I've been around these parts, so apologies
if this has been covered before.
What I'd like to do is be able to add a couple of attributes to the
element that lives in a and then get access to those
attributes in my Task. I've mucked around for the last couple
30 matches
Mail list logo