Login | Register
My pages Projects Community openCollabNet

Discussions > cvs > CVS update: /antelope/src/ise/antelope/common/, /antelope/, /antelope/testcase/, /antelope/src/ise/antelope/plugin/, /antelope/src/ise/library/

antelope
Discussion topic

Hide all messages in topic

All messages in topic

CVS update: /antelope/src/ise/antelope/common/, /antelope/, /antelope/testcase/, /antelope/src/ise/antelope/plugin/, /antelope/src/ise/library/

Author ezust
Full name Alan Ezust
Date 2006-03-18 16:16:09 PST
Message User: ezust
Date: 2006/03/18 16:16:09

Added:
   antelope/.cvsignore
   antelope/testcase/build.xml

Modified:
   antelope/src/ise/ant​elope/common/version​.txt
   antelope/src/ise/ant​elope/common/AntProg​ressListener.java
   antelope/build-plugin.xml
   antelope/src/ise/ant​elope/plugin/Antelop​eShell.java
   antelope/src/ise/lib​rary/FontDialog.java​

Log:
 Patched AntelopeShell for Console 4.2.4 + removed some unused imports.

File Changes:

Directory: /antelope/src/ise/an​telope/common/
====================​====================​=====

File [changed]: version.txt
Url: http://antelope.tigr​is.org/source/browse​/antelope/src/ise/an​telope/common/versio​n.txt?r1=1.41&r2​=1.42
Delta lines: +2 -2
-------------------
--- version.txt 18 Nov 2005 20:54:35 -0000 1.41
+++ version.txt 19 Mar 2006 00:16:06 -0000 1.42
@@ -1,2 +1,2 @@
 VERSION=3.2.10
-DATE=November 9 2005
\ No newline at end of file
+DATE=March 18 2006
\ No newline at end of file

File [changed]: AntProgressListener.java
Url: http://antelope.tigr​is.org/source/browse​/antelope/src/ise/an​telope/common/AntPro​gressListener.java?r​1=1.5&r2=1.6
Delta lines: +0 -2
-------------------
--- AntProgressListener.java 11 Apr 2005 03:07:20 -0000 1.5
+++ AntProgressListener.java 19 Mar 2006 00:16:06 -0000 1.6
@@ -63,9 +63,7 @@
 
 import java.io.*;
 import java.util.*;
-import javax.xml.parsers.*;
 import org.apache.tools.ant.*;
-import org.w3c.dom.*;
 import org.xml.sax.AttributeList;
 
 /**

Directory: /antelope/
=====================

File [added]: .cvsignore
Url: http://antelope.tigr​is.org/source/browse​/antelope/.cvsignore​?rev=1.1&content​-type=text/vnd.viewc​vs-markup
Added lines: 7
--------------
.settings
build
classes
prep
dist
.classpath
.project

File [changed]: build-plugin.xml
Url: http://antelope.tigr​is.org/source/browse​/antelope/build-plug​in.xml?r1=1.14&r​2=1.15
Delta lines: +1 -1
-------------------
--- build-plugin.xml 18 Nov 2005 20:54:34 -0000 1.14
+++ build-plugin.xml 19 Mar 2006 00:16:06 -0000 1.15
@@ -1,4 +1,3 @@
-
 <project name="Antelope" default="dist" basedir=".">
    <description>
        This build file creates Antelope as a jEdit plugin.
@@ -10,6 +9,7 @@
       not work.
    ====================​====================​====================​============= -->
     <!-- read build.props to override properties set below -->
+ <property file="../build.properties" />
    <property file="build.props"/>
 
     <!-- default location of jedit.jar -->

Directory: /antelope/testcase/
==============================

File [added]: build.xml
Url: http://antelope.tigr​is.org/source/browse​/antelope/testcase/b​uild.xml?rev=1.1​&content-type=text/v​nd.viewcvs-markup
Added lines: 23
---------------
<project name="antelopetest"
        default="testy" basedir=".">
    <description>
       Testcase for Antelope
    </description>

    <property name="propertyfile.user" value="${user.home}​/build.properties" />
    <property name="propertyfile.local" value="${basedir}/b​uild.properties" />

    <!-- Load properties from the files -->
    <property file="${propertyfil​e.user}"/>
    <property file="${propertyfil​e.local}"/>

    <property name="docbook.dir" value="foobar" />
    
    <target name="testy">
      <echo message="docbook.dir​=${docbook.dir}" />


    </target>

</project>


Directory: /antelope/src/ise/an​telope/plugin/
====================​====================​=====

File [changed]: AntelopeShell.java
Url: http://antelope.tigr​is.org/source/browse​/antelope/src/ise/an​telope/plugin/Antelo​peShell.java?r1=1.1​&r2=1.2
Delta lines: +93 -76
---------------------
--- AntelopeShell.java 15 Feb 2004 22:15:18 -0000 1.1
+++ AntelopeShell.java 19 Mar 2006 00:16:07 -0000 1.2
@@ -1,88 +1,105 @@
-// $Id: AntelopeShell.java,v 1.1 2004/02/15 22:15:18 danson Exp $
+// $Id: AntelopeShell.java,v 1.2 2006/03/19 00:16:07 ezust Exp $
 /*
-* Based on the Apache Software License, Version 1.1
-*
-* Copyright (c) 2002 Dale Anson. All rights reserved.
-*
-* Redistribution and use in source and binary forms, with or without
-* modification, are permitted provided that the following conditions
-* are met:
-*
-* 1. Redistributions of source code must retain the above copyright
-* notice, this list of conditions and the following disclaimer.
-*
-* 2. Redistributions in binary form must reproduce the above copyright
-* notice, this list of conditions and the following disclaimer in
-* the documentation and/or other materials provided with the
-* distribution.
-*
-* 3. The end-user documentation included with the redistribution, if
-* any, must include the following acknowlegement:
-* "This product includes software developed by Dale Anson,
-* danson at users dot sourceforge dot net."
-* Alternately, this acknowlegement may appear in the software itself,
-* if and wherever such third-party acknowlegements normally appear.
-*
-* 4. The name "Antelope" must not be used to endorse or promote products derived
-* from this software without prior written permission. For written
-* permission, please contact danson at users dot sourceforge dot net.
-*
-* 5. Products derived from this software may not be called "Antelope"
-* nor may "Antelope" appear in their names without prior written
-* permission of Dale Anson.
-*
-* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
-* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
-* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-* DISCLAIMED. IN NO EVENT SHALL DALE ANSON OR ANY PROJECT
-* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
-* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
-* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
-* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-* SUCH DAMAGE.
-* ====================​====================​====================​========
-*/
+ * Based on the Apache Software License, Version 1.1
+ *
+ * Copyright (c) 2002 Dale Anson. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in
+ * the documentation and/or other materials provided with the
+ * distribution.
+ *
+ * 3. The end-user documentation included with the redistribution, if
+ * any, must include the following acknowlegement:
+ * "This product includes software developed by Dale Anson,
+ * danson at users dot sourceforge dot net."
+ * Alternately, this acknowlegement may appear in the software itself,
+ * if and wherever such third-party acknowlegements normally appear.
+ *
+ * 4. The name "Antelope" must not be used to endorse or promote products derived
+ * from this software without prior written permission. For written
+ * permission, please contact danson at users dot sourceforge dot net.
+ *
+ * 5. Products derived from this software may not be called "Antelope"
+ * nor may "Antelope" appear in their names without prior written
+ * permission of Dale Anson.
+ *
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ * DISCLAIMED. IN NO EVENT SHALL DALE ANSON OR ANY PROJECT
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
+ * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+ * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
+ * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ * ====================​====================​====================​========
+ */
 
 package ise.antelope.plugin;
 
 import console.*;
 
 /**
- * A Console shell to display Ant output. Also uses the "stop" button to
- * stop a running build.
+ * A Console shell to display Ant output. Also uses the "stop" button to stop a
+ * running build.
+ *
+ * 2006-03-18 Patched for Console 4.2.4
+ *
+ * @version $Id: AntelopeShell.java,v 1.2 2006/03/19 00:16:07 ezust Exp $
  *
  * @author Dale Anson, danson at germane-software dot com
+ *
+ *
  */
-public class AntelopeShell extends Shell {
+public class AntelopeShell extends Shell
+{
 
    private Thread runner = null;
 
- public AntelopeShell() {
- super( "Antelope" );
+ public AntelopeShell()
+ {
+ super("Antelope");
    }
 
- public void printInfoMessage( Output output ) {
- output.print( null, "Antelope shell, shows output of running Ant targets." );
+ public void printInfoMessage(Output output)
+ {
+ output.print(null, "Antelope shell, shows output of running Ant targets.");
    }
 
- public void execute( Console console, Output output, String command ) {}
-
    /**
     * Stops the build process.
     */
- public void stop( Console console ) {
- if ( runner != null && runner.isAlive() )
+ public void stop(Console console)
+ {
+ if (runner != null && runner.isAlive())
          runner.interrupt();
    }
 
- public boolean waitFor( Console console ) {
+ public boolean waitFor(Console console)
+ {
       return false;
    }
 
- public void setRunner( Thread runner ) {
+ public void setRunner(Thread runner)
+ {
       this.runner = runner;
    }
+
+ public void execute(Console console, String input, Output output, Output error,
+ String command)
+ {
+ // TODO Auto-generated method stub
+
+ }
 }

Directory: /antelope/src/ise/library/
====================​=================

File [changed]: FontDialog.java
Url: http://antelope.tigr​is.org/source/browse​/antelope/src/ise/li​brary/FontDialog.jav​a?r1=1.2&r2=1.3
Delta lines: +4 -4
-------------------
--- FontDialog.java 8 May 2004 02:42:56 -0000 1.2
+++ FontDialog.java 19 Mar 2006 00:16:07 -0000 1.3
@@ -1,4 +1,4 @@
-// $Id: FontDialog.java,v 1.2 2004/05/08 02:42:56 danson Exp $
+// $Id: FontDialog.java,v 1.3 2006/03/19 00:16:07 ezust Exp $
 
 package ise.library;
 
@@ -22,7 +22,7 @@
  * <code>showFont​Dialog</code>.​ This minimizes the number of objects created.
  *
  * @author Dale Anson
- * @version $Revision: 1.2 $
+ * @version $Revision: 1.3 $
  */
 public class FontDialog extends JDialog {
 
@@ -316,7 +316,7 @@
       _parent = parent;
       GUIUtils.center( parent, _fd );
       _fd.pack();
- _fd.show();
+ _fd.setVisible(true);
       Font font = _fd.getSelectedFont();
       _fd.dispose();
       if ( !_fd.didCancel() )
@@ -333,7 +333,7 @@
    public static void main( String[] args ) {
       JFrame f = new JFrame();
       FontDialog fd = new FontDialog( f );
- fd.show();
+ fd.setVisible(true);
       System.out.println( fd.getSelectedFont() );
       System.exit( 0 );
    }
Messages per page: