mmanders    01/11/16 13:32:16

  Modified:    jk/jkant/java/org/apache/jk/ant SoTask.java
  Log:
  Added alternate targets (since NLM names are limited to 8.3).
  
  Revision  Changes    Path
  1.20      +12 -0     
jakarta-tomcat-connectors/jk/jkant/java/org/apache/jk/ant/SoTask.java
  
  Index: SoTask.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-tomcat-connectors/jk/jkant/java/org/apache/jk/ant/SoTask.java,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- SoTask.java       2001/11/12 23:34:47     1.19
  +++ SoTask.java       2001/11/16 21:32:16     1.20
  @@ -122,6 +122,7 @@
       protected Vector exports    = new Vector();     // used by the NetWare, win32 
linkers
       protected Vector modules    = new Vector();     // used by the NetWare linker
       protected Vector linkOpts   = new Vector();     // used by the NetWare, win32 
linkers
  +    protected Vector altSoFiles = new Vector();     // used by the NetWare linker
   
       // Computed fields 
       protected Vector compileList; // [Source]
  @@ -164,6 +165,7 @@
        so.compileList=compileList;
        so.compiler=compiler;
        so.co_mapper=co_mapper;
  +     so.altSoFiles=altSoFiles;
       }
   
       /**  @deprecated use setTarget
  @@ -242,6 +244,16 @@
       public void addNLMModule(JkData module) {
        module.setProject( project );
           modules.add(module);
  +    }
  +
  +    /**
  +     * Add an alternate target since some platforms (NetWare) have file name
  +     * limitations.
  +     * 
  +     */
  +    public void addAltSoFile(JkData altSo) {
  +     altSo.setProject( project );
  +        altSoFiles.add(altSo);
       }
   
       /** Set the target for this compilation. Don't include any
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to