From: Ken W. <fuz...@ho...> - 2001-04-10 20:48:19
|
Brian, This is very cool. I hadn't played with the project viewer before this but this made me interested. I'm not real impressed with the project viewer as a whole but the ant target stuff is very nice. You could technically break it off as a plugin all on its own. >From: Brian Knowles <BrianK@PSSG.com> >Reply-To: jed...@li... >To: "'jed...@li...'" ><jed...@li...> >Subject: [ jEdit-users ] Attempt at ProjectViewer/Ant integration... >Date: Tue, 10 Apr 2001 10:36:37 -0700 > >For the adventurous ant user (read: beta level code)... > >http://www.jedit.org/devel/ProjectViewer_ant.zip > >A hacked version of the ProjectViewer plugin that contains rudimentary >support for running Ant tasks has been uploaded. The changes add a new tab >to the ProjectViewer plugin which lists all of the "build.xml" files in >your >project and expands each to display the available targets. > >To install, extract it to your .jedit/jars directory or your jEdit >3.0.2/jars directory, depending where you install your plugins. Make sure >it >is the only version of ProjectViewer installed. > >When you double click on a target, it runs "ant -emacs -buildfile ><buildfile> <target>" in the console. Warnings and errors will be displayed >in the Error List. > >As you can see, it assumes you have installed Ant and added the correct Ant >shell-script to your path (as per Ant install instructions: >http://jakarta.apache.org/ant/manual/index.html). > >When you double click a build file, it loads it in a buffer for editing. > >If there is an error in the ant script syntax, the build file should >display >a "broken" image and send the error to the error list. So far, I haven't >added build file reloading so you must restart ProjectViewer for the file >to >be re-parsed :-( Also, the error doesn't get removed at the right times. > >If this is interesting to people, I'll spend some more time re-architecting >and cleaning the code up and maybe even working on some of the TODO items >for ProjectViewer (some are badly needed). Or, perhaps an entirely >different >approach might be proposed. A VFS-based project system, similar to >favorites, seems like an interesting idea. > >=Brian > >PS: The latest source for ProjectViewer does not seem to be in CVS, any >committers want to update it? > >-- >----------------------------------------------- >jEdit Users' List >jEd...@li... >http://lists.sourceforge.net/lists/listinfo/jedit-users _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com |