Login | Register
My pages Projects Community openCollabNet

Discussions > dev > Re: ANT diagrams

antelope
Discussion topic

Back to topic list

Re: ANT diagrams

Author Dale Anson <danson at germane-software dot com>
Full name Dale Anson <danson at germane-software dot com>
Date 2004-04-12 12:21:11 PDT
Message Hi Bob,

Thanks for the pointer to giANT. I didn't know about that project. It
looks like you're heading in the same direction I've been thinking of. I
have seen a few other projects doing similar graphing of Ant build
files, GRAND and AntGraph are two that look decent. They both rely on
platform specific code, though, which is what got me to looking at GEF
again.

I haven't got too deep into it yet. I have 5 or 6 classes that read a
build file and use a JGraph to show the basic dependencies. I also want
to be able to recurse into <import>ed build files and to look inside
targets to recurse into any <ant> or <antcall> or relatives from
AntContrib. I'm not saving anything at all, my thought was to save the
graph as a build file, but it would need to be able to retain the
comments and formatting of the original file.

Besides just showing a dependency graph, I also have on the roadmap the
ability to make build files by drag and drop. I had initially thought to
use a JTree and have done some preliminary work seeing if that is
feasible. It looks okay, it uses a tree constructed out of an Ant dtd to
make targets, types, and tasks and a JTree to construct the build file,
but I think that using a GEF approach may be a much nicer way to go.

I haven't put any of this into cvs yet, I really should create a branch
and add it in, both the GEF stuff and the JTree stuff, that is.

And for GEF, has anyone looked at abstracting the logging? It looks to
me like it would be fairly straight forward. There's already a package
for a LogManager. I think having a Logger interface that includes the
log4j Logger methods, then the LogManager could load the appropriate
logger from a configuration file setting. Another class meeting the
Logger interface could wrap the java.util.logging.Logger, so simply
changing the configuration file would be enough to use it.

I'd like to look into your project a bit more, but off hand, it looks
like it would be a good fit to combine the projects. Like you, I really
don't want to spend a lot of time on something that you've already got a
good start on!

Dale



Bob Tarling wrote:

> Hi Dale
>
> I thought I'd follow up from your email on the GEF list.
>
> How are you progressing with producing dependancy diagrams in Antelope?
> Will any demonstration be available if I get latest CVS?
>
> I'd really like to know if my time is being wasted on the giANT project.
> I see no point in developing yet another ant editor myself and would be
> happy to combine projects.
>
> Had you put much thought into requirements of the diagram in antelope?
> Is it just a view or were you planning editing through the diagram also?
>
> How are you saving and retrieving diagrams? Is this as a namespace in
> the build script or as a seperate file?
>
> If you want to take a look at the giANT project you will have to build
> all of http://swidgets.tigris.org http://mdiworkbench.tigris.org and
> http://giant.tigris.org. I have yet to get any of these projects to
> their first release.
>
> Regards
>
> Bob.

--------------------​--------------------​--------------------​---------
To unsubscribe, e-mail: dev-unsubscribe@ante​lope.tigris.org
For additional commands, e-mail: dev-help at antelope dot tigris dot org

« Previous message in topic | 2 of 5 | Next message in topic »

Messages

Show all messages in topic

ANT diagrams Bob Tarling <bob dot tarling at ntlworld dot com> Bob Tarling <bob dot tarling at ntlworld dot com> 2004-04-12 09:20:47 PDT
     Re: ANT diagrams Dale Anson <danson at germane-software dot com> Dale Anson <danson at germane-software dot com> 2004-04-12 12:21:11 PDT
         Re: ANT diagrams Bob Tarling <bob dot tarling at ntlworld dot com> Bob Tarling <bob dot tarling at ntlworld dot com> 2004-04-12 13:42:52 PDT
             Re: ANT diagrams Dale Anson <danson at germane-software dot com> Dale Anson <danson at germane-software dot com> 2004-04-12 14:39:39 PDT
                 Re: ANT diagrams Bob Tarling <bob dot tarling at ntlworld dot com> Bob Tarling <bob dot tarling at ntlworld dot com> 2004-04-12 15:48:01 PDT
Messages per page: