ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/jsp/compilers JasperC.java
Date Fri, 19 Oct 2001 00:33:15 GMT
stevel      01/10/18 17:33:15

  Modified:    src/main/org/apache/tools/ant/taskdefs/optional/jsp/compilers
                        JasperC.java
  Log:
  added uriroot and uribase options
  
  Revision  Changes    Path
  1.2       +8 -1      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/jsp/compilers/JasperC.java
  
  Index: JasperC.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/jsp/compilers/JasperC.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- JasperC.java	2001/09/13 08:31:21	1.1
  +++ JasperC.java	2001/10/19 00:33:15	1.2
  @@ -120,7 +120,14 @@
               cmd.createArgument().setValue("-ieplugin");
               cmd.createArgument().setValue(jspc.getIeplugin());
           }
  -
  +        if (jspc.getUriroot() != null){
  +            cmd.createArgument().setValue("-uriroot");
  +            cmd.createArgument().setValue(jspc.getUriroot().toString());
  +        }
  +        if (jspc.getUribase() != null){
  +            cmd.createArgument().setValue("-uribase");
  +            cmd.createArgument().setValue(jspc.getUribase().toString());
  +        }
           logAndAddFilesToCompile(getJspc(), getJspc().getCompileList(), cmd);
           return cmd;
       }
  
  
  

Mime
View raw message