org.apache.tools.ant.taskdefs.optional.dotnet
Class JSharp
- SelectorContainer
Compile J# source down to a managed .NET application.
J# is not Java. But it is the language closest to Java in the .NET framework.
This task compiles jsharp source (.java files), and
generates a .NET managed exe or dll.
- ant1.6
Visual J++ online documentation
REFERENCE_OPTION, additionalModules, debug, definitionList, executable, extraOptions, mainClass, referenceFilesets, resources, targetType, utf8output |
JSharp()- constructor inits everything and set up the search pattern
|
addCompilerSpecificOptions, addDefine, addReference, addReferenceFilesets, addResource, addResources, clear, createNetCommand, createResourceParameter, execute, fillInSharedParameters, getAdditionalModulesParameter, getDebug, getDebugParameter, getDefinitionsDelimiter, getDefinitionsParameter, getDestFileParameter, getExecutable, getExtraOptions, getExtraOptionsParameter, getFailOnError, getFileExtension, getFilePattern, getIncludeDefaultReferences, getIncludeDefaultReferencesParameter, getMainClass, getMainClassParameter, getOptimize, getOptimizeParameter, getReferenceDelimiter, getReferenceFilesParameter, getReferencesParameter, getTargetType, getTargetTypeParameter, getUtf8OutputParameter, getWarnLevel, getWarnLevelParameter, getWin32IconParameter, getWin32Res, getWin32ResParameter, isFileManagedBinary, isUseResponseFile, notEmpty, setAdditionalModules, setDebug, setDestDir, setExecutable, setExtraOptions, setFailOnError, setIncludeDefaultReferences, setMainClass, setOptimize, setReferenceFiles, setReferences, setTargetType, setTargetType, setUseResponseFile, setUtf8Output, setWarnLevel, setWin32Icon, setWin32Res, validate |
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 |
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 |
JSharp
public JSharp()
constructor inits everything and set up the search pattern
addCompilerSpecificOptions
protected void addCompilerSpecificOptions(NetCommand command)
add jvc specific commands
- addCompilerSpecificOptions in interface DotnetCompile
command -
createResourceParameter
protected String createResourceParameter(DotnetResource resource)
from a resource, get the resource param
- createResourceParameter in interface DotnetCompile
resource -
- a string containing the resource param, or a null string
to conditionally exclude a resource.
getFileExtension
public String getFileExtension()
Get the extension of filenames to compile.
- getFileExtension in interface DotnetCompile
- The string extension of files to compile.
getReferenceDelimiter
public String getReferenceDelimiter()
Get the delimiter that the compiler uses between references.
For example, c# will return ";"; VB.NET will return ","
- getReferenceDelimiter in interface DotnetCompile
- The string delimiter for the reference string.
setBaseAddress
public void setBaseAddress(String baseAddress)
setPureJava
public void setPureJava(boolean pureJava)
do we want pure java (default, true) or corrupted J#?
pureJava -
setSecureScoping
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.
secureScoping -
Copyright B) 2000-2005 Apache Software Foundation. All Rights Reserved.