1 19 20 package org.netbeans.modules.web.project.ant; 21 22 import java.io.File ; 23 import java.io.IOException ; 24 import java.io.PrintWriter ; 25 import java.util.LinkedList ; 26 import java.util.StringTokenizer ; 27 import java.util.ArrayList ; 28 import org.apache.jasper.JasperException; 29 import org.apache.jasper.compiler.Localizer; 30 31 36 public class JspC extends org.apache.jasper.JspC { 37 38 public static void main(String arg[]) { 39 if (arg.length == 0) { 40 System.out.println(Localizer.getMessage("jspc.usage")); 41 } else { 42 try { 43 JspC jspc = new JspC(); 44 jspc.setArgs(arg); 45 jspc.execute(); 46 } catch (JasperException je) { 47 System.err.println(je); 48 System.exit(1); 50 } 51 } 52 } 53 54 public boolean isSmapSuppressed(){ 55 return false; 56 } 57 58 public boolean isSmapDumped(){ 59 return true; 60 } 61 62 public boolean getMappedFile() { 63 return true; 64 } 65 66 } 67 | Popular Tags |