tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cos...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/jk/jkant/java/org/apache/jk/ant/compilers LinkerAdapter.java
Date Fri, 16 Nov 2001 22:21:53 GMT
costin      01/11/16 14:21:53

  Modified:    jk/jkant/java/org/apache/jk/ant/compilers LinkerAdapter.java
  Log:
  Same changes as in CompilerAdapter - use abstract class, base functionality.
  
  Revision  Changes    Path
  1.4       +13 -3     jakarta-tomcat-connectors/jk/jkant/java/org/apache/jk/ant/compilers/LinkerAdapter.java
  
  Index: LinkerAdapter.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/jkant/java/org/apache/jk/ant/compilers/LinkerAdapter.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- LinkerAdapter.java	2001/11/10 16:51:32	1.3
  +++ LinkerAdapter.java	2001/11/16 22:21:53	1.4
  @@ -75,18 +75,28 @@
    * reflection).</p>
    *
    * @author Jay Dickon Glanville <a href="mailto:jayglanville@home.com">jayglanville@home.com</a>
  + * @author Costin Manolache
    */
  -public interface LinkerAdapter {
  +public abstract class LinkerAdapter extends SoTask {
  +    protected SoTask so;
   
       /**
        * Sets the compiler attributes, which are stored in the Javac task.
        */
  -    void setSoTask( SoTask attributes );
  +    public void setSoTask(SoTask so ) {
  +	this.so=so;
  +    }
   
  +    public void execute() throws BuildException {
  +	findSourceFiles();
  +	link(this.srcList);
  +    }
  +
  +
       /**
        * Executes the task.
        *
        * @return has the compilation been successful
        */
  -    boolean link(Vector files) throws BuildException;
  +    public abstract boolean link(Vector srcFiles) throws BuildException;
   }
  
  
  

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message