Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
public class JSharp
extends DotnetCompile
**
/*.java
is preset as includes list and
you can not override it with an explicit includes attribute. Use
nested <src>
elements instead of the basedir
attribute if you need more control.
Visual J++ online documentation
Nested Class Summary |
Nested classes/interfaces inherited from class org.apache.tools.ant.taskdefs.optional.dotnet.DotnetCompile | |
DotnetCompile.TargetTypes |
Field Summary |
Fields inherited from class org.apache.tools.ant.taskdefs.optional.dotnet.DotnetCompile | |
REFERENCE_OPTION , additionalModules , debug , definitionList , executable , extraOptions , mainClass , referenceFilesets , resources , targetType , utf8output |
Fields inherited from class org.apache.tools.ant.taskdefs.optional.dotnet.DotnetBaseMatchingTask | |
filesets , outputFile , srcDir |
Fields inherited from class org.apache.tools.ant.taskdefs.MatchingTask | |
fileset |
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 | |
|
Method Summary | |
protected void |
|
protected String |
|
String |
|
String |
|
void |
|
void |
|
void |
|
protected void |
|
Methods inherited from class org.apache.tools.ant.taskdefs.optional.dotnet.DotnetBaseMatchingTask | |
addFilesAndExecute , addFilesToCommand , addSrc , buildFileList , getDestFile , getOutputFileTimestamp , getSrcDir , setDestFile , setSrcDir |
Methods inherited from class org.apache.tools.ant.taskdefs.MatchingTask | |
XsetIgnore , XsetItems , add , addAnd , addContains , addContainsRegexp , addCustom , addDate , addDepend , addDepth , addDifferent , addFilename , addMajority , addModified , addNone , addNot , addOr , addPresent , addSelector , addSize , addType , appendSelector , createExclude , createExcludesFile , createInclude , createIncludesFile , createPatternSet , getDirectoryScanner , getImplicitFileSet , getSelectors , hasSelectors , selectorCount , selectorElements , setCaseSensitive , setDefaultexcludes , setExcludes , setExcludesfile , setFollowSymlinks , setIncludes , setIncludesfile , setProject |
Methods inherited from class org.apache.tools.ant.Task | |
execute , 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 , log , log , setProject |
protected void addCompilerSpecificOptions(NetCommand command)
add jvc specific commands
- Overrides:
- addCompilerSpecificOptions in interface DotnetCompile
- Parameters:
command
-
protected String createResourceParameter(DotnetResource resource)
from a resource, get the resource param
- Overrides:
- createResourceParameter in interface DotnetCompile
- Parameters:
resource
-
- Returns:
- a string containing the resource param, or a null string to conditionally exclude a resource.
public String getFileExtension()
Get the extension of filenames to compile.
- Overrides:
- getFileExtension in interface DotnetCompile
- Returns:
- The string extension of files to compile.
public String getReferenceDelimiter()
Get the delimiter that the compiler uses between references. For example, c# will return ";"; VB.NET will return ","
- Overrides:
- getReferenceDelimiter in interface DotnetCompile
- Returns:
- The string delimiter for the reference string.
public void setBaseAddress(String baseAddress)
public void setPureJava(boolean pureJava)
do we want pure java (default, true) or corrupted J#?
- Parameters:
pureJava
-
public void setSecureScoping(boolean secureScoping)
Make package scoped code visible to the current assembly only (default: false) .NET does not have package scoping. Instead it has assembly, private and public. By default, package content is public to all.
- Parameters:
secureScoping
-
protected void validate() throws BuildException
validation code
- Overrides:
- validate in interface DotnetCompile
- Throws:
BuildException
- if validation failed