mmanders    01/11/16 13:32:24

  Modified:    jk/jkant/java/org/apache/jk/ant/compilers MwldLinker.java
  Log:
  Added alternate targets (since NLM names are limited to 8.3).
  
  Revision  Changes    Path
  1.5       +15 -0     
jakarta-tomcat-connectors/jk/jkant/java/org/apache/jk/ant/compilers/MwldLinker.java
  
  Index: MwldLinker.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-tomcat-connectors/jk/jkant/java/org/apache/jk/ant/compilers/MwldLinker.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- MwldLinker.java   2001/11/12 23:31:58     1.4
  +++ MwldLinker.java   2001/11/16 21:32:24     1.5
  @@ -81,6 +81,21 @@
           so.setExtension(".nlm");
           so.duplicateTo( this );
           project.setProperty("netware", "true");
  +
  +        Enumeration e=altSoFiles.elements();
  +        while (e.hasMoreElements())
  +        {
  +            JkData data = (JkData) e.nextElement();
  +            String altSo = data.getValue();
  +            if (altSo == null) 
  +                continue;
  +            else
  +            {
  +                so.setTarget(altSo);    // set it on the master copy
  +                setTarget(altSo);       // set it on ourself
  +                break;
  +            }
  +        }
       }
   
       public void execute() throws BuildException {
  
  
  

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

Reply via email to