Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.jk.ant.compilers
Class MsvcCompiler  view MsvcCompiler download MsvcCompiler.java

java.lang.Object
  extended byorg.apache.tools.ant.ProjectComponent
      extended byorg.apache.tools.ant.Task
          extended byorg.apache.jk.ant.SoTask
              extended byorg.apache.jk.ant.compilers.CompilerAdapter
                  extended byorg.apache.jk.ant.compilers.MsvcCompiler

public class MsvcCompiler
extends CompilerAdapter

Compile using Microsoft Visual C++ v6.0


Field Summary
(package private)  org.apache.tools.ant.util.GlobPatternMapper co_mapperS
           
 
Fields inherited from class org.apache.jk.ant.compilers.CompilerAdapter
compileList, oldestO, oldestOFile, so
 
Fields inherited from class org.apache.jk.ant.SoTask
altSoFiles, apxs, buildDir, cflags, compiler, debug, defines, depends, errorstream, exports, imports, includes, libs, linkOpts, module, modules, optG, optimize, optWgcc, outputstream, profile, resources, soExt, soFile, src, srcList, streamhandler
 
Fields inherited from class org.apache.tools.ant.Task
description, location, target, taskName, taskType, wrapper
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
project
 
Constructor Summary
MsvcCompiler()
           
 
Method Summary
private  void addCCArgs(org.apache.tools.ant.types.Commandline cmd, java.lang.String source, java.lang.String[] includeList)
          common compiler args
 void compileSingleFile(org.apache.jk.ant.Source sourceObj)
          Compile using msvc
 java.lang.String[] getTargetFiles(org.apache.jk.ant.Source src)
          Return the files that depend on a src file.
 void setSoTask(org.apache.jk.ant.SoTask so)
           
 
Methods inherited from class org.apache.jk.ant.compilers.CompilerAdapter
addDebug, addDefines, addExtraFlags, addIncludes, addOptimize, addProfile, compile, displayError, execute, findCompileList, getCompiledFiles, needCompile, removeOFiles
 
Methods inherited from class org.apache.jk.ant.SoTask
addAltSoFile, addApacheConfig, addDef, addExport, addImport, addJniConfig, addLinkOpt, addNLMModule, addResource, addSrc, checkDepend, closeStreamHandler, createDepends, createIncludes, createLibs, createStreamHandler, duplicateTo, execute, findCompilerAdapter, findLinkerAdapter, findSourceFiles, setBuildDir, setCflags, setDebug, setExtension, setGccWarn, setModule, setOptimize, setProfile, setSoDir, setSoFile, setTarget, setTaskDebug
 
Methods inherited from class org.apache.tools.ant.Task
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
getProject, setProject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

co_mapperS

org.apache.tools.ant.util.GlobPatternMapper co_mapperS
Constructor Detail

MsvcCompiler

public MsvcCompiler()
Method Detail

getTargetFiles

public java.lang.String[] getTargetFiles(org.apache.jk.ant.Source src)
Description copied from class: CompilerAdapter
Return the files that depend on a src file. The first item should be the .o file used for linking.

Specified by:
getTargetFiles in class CompilerAdapter

setSoTask

public void setSoTask(org.apache.jk.ant.SoTask so)
Overrides:
setSoTask in class CompilerAdapter

compileSingleFile

public void compileSingleFile(org.apache.jk.ant.Source sourceObj)
                       throws org.apache.tools.ant.BuildException
Compile using msvc

Overrides:
compileSingleFile in class CompilerAdapter

addCCArgs

private void addCCArgs(org.apache.tools.ant.types.Commandline cmd,
                       java.lang.String source,
                       java.lang.String[] includeList)
common compiler args