[Geoserver-devel] Re: available task in ant & eclipse

Ok, I think something might be wrong with eclipse's ant? Earlier today
I downloaded ant 5, so I could find a way to work around not having
available as a task. Opened up the manual for the ant core tasks, and
there it is. Ok, then I look at the build file, Jody says it doesn't
work with 1.3.8. Ok, download 1.3, to look at the manual, to see what
I might be able to use instead, where I'm limited. available is a
totally valid task for 1.3. So I grab 1.1, just to see. And, uh, it's
there too. So this is a core task that has been there since version
1.1, as far as I can tell. That said, I can't get it running on
eclipse either. Ideas anyone? I did a bit of google searching and
found nothing, but my time is short, so maybe someone can find a
solution? I do find it odd that none of us on eclipse can get the
available task to work. I don't think I wrote it wrong, and it works
on the command line...

Chris

----- Original Message -----
From: <cholmes@anonymised.com>
To: <jgarnett@anonymised.com>
Cc: <geoserver-devel@lists.sourceforge.net>
Sent: Thursday, April 08, 2004 10:33 AM
Subject: [Geoserver-devel] (no subject)

Darn, I was slightly worried this might happen, but no one complained
yesterday, and there was an available tag in then. It's no ant

plug-in

magic or extensions. It's actually just the latest version - 1.6,
(which is at 1.6.1, so I think perfectly reasonable to upgrade). I'll
try a bit today to figure out a way to do what I want with the 1.5
tags, but the available tag is really quite useful. If it's not too
hard I'll do that, as it would be nice to not force users to upgrade,
but I don't think that would be an incredibly bad thing as the latest
ant is stable and it would only be people working with the source

code,

not the war file. That said I personally can't figure out how to
upgrade ant in eclipse yet.

----- Original Message -----
From: "Jody Garnett" <jgarnett@anonymised.com>
To: "Geoserver-devel" <geoserver-devel@lists.sourceforge.net>
Sent: Thursday, April 08, 2004 2:55 AM
Subject: [Geoserver-devel] ant build broken

> Fails on line 66 :
>
> <available file="${basedir}/conf" type="dir"
> property="conf.folder.present"/>
> <available file="${basedir}/server/geoserver" type="dir"
> property="server.built"/>
>
>
> Apaprently it does not know what the element available means - Chris
are
> you using some magic ant plug-ins or extensions?
> Commented out the offending code for now, Chis can fix this in his
timezone.
>
> Jody
>
>
>

----------------------------------------------------------
This mail sent through IMP: https://webmail.limegroup.com/

Quoting cholmes@anonymised.com:

Ok, I think something might be wrong with eclipse's ant? Earlier today
I downloaded ant 5, so I could find a way to work around not having
available as a task. Opened up the manual for the ant core tasks, and
there it is. Ok, then I look at the build file, Jody says it doesn't
work with 1.3.8. Ok, download 1.3, to look at the manual, to see what
I might be able to use instead, where I'm limited. available is a
totally valid task for 1.3. So I grab 1.1, just to see. And, uh, it's
there too. So this is a core task that has been there since version
1.1, as far as I can tell. That said, I can't get it running on
eclipse either. Ideas anyone? I did a bit of google searching and
found nothing, but my time is short, so maybe someone can find a
solution? I do find it odd that none of us on eclipse can get the
available task to work. I don't think I wrote it wrong, and it works
on the command line...

You can set eclipse up to use an external ANT (is that what you did?)- but most
of our developers won't right off the bat.
The latest eclipse M8 uses ant 6 (and a horrible new look). It has a lot of
actually ant changes so it may help. Just check it handles you available element
correctly.

Hope this helps?

Jody