metasim     01/01/11 11:20:53

  Modified:    src/antidote/org/apache/tools/ant/gui About.java Main.java
                        version.txt
  Log:
  Cleanup and debug support.
  
  Revision  Changes    Path
  1.7       +2 -14     
jakarta-ant/src/antidote/org/apache/tools/ant/gui/About.java
  
  Index: About.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-ant/src/antidote/org/apache/tools/ant/gui/About.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- About.java        2001/01/03 14:18:16     1.6
  +++ About.java        2001/01/11 19:20:44     1.7
  @@ -66,7 +66,7 @@
   /**
    * Dialog displaying information on the application.
    * 
  - * @version $Revision: 1.6 $ 
  + * @version $Revision: 1.7 $ 
    * @author Simeon Fitch 
    */
   public class About extends JDialog {
  @@ -82,7 +82,6 @@
   
                String version = null;
                String date = null;
  -             String contributors = null;
   
                Properties props = new Properties();
   
  @@ -97,21 +96,10 @@
   
                version = props.getProperty("VERSION", "??");
                date = props.getProperty("DATE", "??");
  -             // XXX eventually this should be tokenized on commas and
  -             // presented nicely in box.
  -             contributors = props.getProperty("CONTRIBUTORS", "??");
  -
  -        StringBuffer buf = new StringBuffer();
  -        StringTokenizer tok = new StringTokenizer(contributors, ",");
  -        while(tok.hasMoreTokens()) {
  -            String name = tok.nextToken();
  -            buf.append(name);
  -            buf.append("<br>\n");
  -        }
   
                String message = context.getResources().getMessage(
                        getClass(), "message", 
  -                     new Object[] { version, date, buf.toString() });
  +                     new Object[] { version, date });
   
                String title = context.getResources().getString(
                        getClass(), "title");
  
  
  
  1.12      +8 -1      
jakarta-ant/src/antidote/org/apache/tools/ant/gui/Main.java
  
  Index: Main.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-ant/src/antidote/org/apache/tools/ant/gui/Main.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- Main.java 2001/01/10 20:46:48     1.11
  +++ Main.java 2001/01/11 19:20:46     1.12
  @@ -55,6 +55,7 @@
   import org.apache.tools.ant.gui.core.*;
   import org.apache.tools.ant.gui.util.XMLHelper;
   import org.apache.tools.ant.gui.command.LoadFileCmd;
  +import org.apache.tools.ant.gui.event.EventBus;
   import javax.swing.*;
   import java.awt.BorderLayout;
   import java.io.File;
  @@ -62,7 +63,7 @@
   /**
    * Launch point for the Antidote GUI. Configurs it as an application.
    * 
  - * @version $Revision: 1.11 $ 
  + * @version $Revision: 1.12 $ 
    * @author Simeon Fitch 
    */
   public class Main {
  @@ -90,6 +91,12 @@
               // Add the project selection menu.
               ProjectSelectionMenu ps = new ProjectSelectionMenu(context);
               ps.insertInto(menu);
  +
  +            // Add debugging items.
  +            if(context.isDebugOn()) {
  +                context.getEventBus().addMember(
  +                    EventBus.VETOING, new EventDebugMonitor());
  +            }
   
               ImageIcon icon = 
                   context.getResources().loadImageIcon("icon-small.gif");
  
  
  
  1.6       +0 -4      
jakarta-ant/src/antidote/org/apache/tools/ant/gui/version.txt
  
  Index: version.txt
  ===================================================================
  RCS file: 
/home/cvs/jakarta-ant/src/antidote/org/apache/tools/ant/gui/version.txt,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- version.txt       2000/11/12 20:00:01     1.5
  +++ version.txt       2001/01/11 19:20:48     1.6
  @@ -1,6 +1,2 @@
   [EMAIL PROTECTED]@
   [EMAIL PROTECTED]@
  -CONTRIBUTORS=\
  -    Simeon H.K. Fitch ([EMAIL PROTECTED]), \
  -    Erik Meade ([EMAIL PROTECTED]), \
  -    Ant Development Team ([EMAIL PROTECTED])
  
  
  

Reply via email to