SlickEdit Community

SlickEdit Product Discussion => SlickEditĀ® => Slick-CĀ® Macro Programming => Topic started by: LongSteve on July 04, 2006, 08:36:53 am

Title: ant build window like Eclipses'
Post by: LongSteve on July 04, 2006, 08:36:53 am
I'm not a big fan of Eclipse, but one feature it has that I really like is the ant window that displays the targets for your choosen build script as a tree view.  Building those targets is then a simple double click away.  SlickEdit has the Build->Execute Ant Target menu option, which does pretty much the same thing, but requires more mouse (trackball in my case) movement.

I've been wanting to implement a tree view window that shows the ant targets and allows building them.  Can anyone give me any pointers on where to start?  I've scanned the ant support macro files and I think ant_GetTargetList and ant_target_form might give me some clues.  It's the tree view I don't really understand however.

Any help would be appreciated, and I'll post anything I come up with.

Cheers,

   Steve
Title: Re: ant build window like Eclipses'
Post by: pchandra on July 11, 2006, 02:44:09 pm
If you need help with the tree view, have a look at unittest.sh and unittest.e. Those macro files implement the integrated unit testing tool window for SlickEdit, which is largely comprised of tree controls. In particular, search for calls to "_Tree", as pretty much everything related to the tree view is done with functions that begin with "_Tree".