org.apache.tools.ant.taskdefs.optional.dotnet
Class JSharp

java.lang.Object
  |
  +--org.apache.tools.ant.ProjectComponent
        |
        +--org.apache.tools.ant.Task
              |
              +--org.apache.tools.ant.taskdefs.MatchingTask
                    |
                    +--org.apache.tools.ant.taskdefs.optional.dotnet.DotnetBaseMatchingTask
                          |
                          +--org.apache.tools.ant.taskdefs.optional.dotnet.DotnetCompile
                                |
                                +--org.apache.tools.ant.taskdefs.optional.dotnet.JSharp
All Implemented Interfaces:
SelectorContainer

public class JSharp
extends DotnetCompile

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.

Since:
ant1.6
See Also:
Visual J++ online documentation

Nested Class Summary
 
Nested classes 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
additionalModules, debug, definitionList, executable, extraOptions, mainClass, REFERENCE_OPTION, 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
JSharp()
           
 
Method Summary
protected  void addCompilerSpecificOptions(NetCommand command)
          add jvc specific commands
protected  java.lang.String createResourceParameter(DotnetResource resource)
          from a resource, get the resource param
 java.lang.String getFileExtension()
          Get the extension of filenames to compile.
 java.lang.String getReferenceDelimiter()
          Get the delimiter that the compiler uses between references.
 void setBaseAddress(java.lang.String baseAddress)
           
 void setPureJava(boolean pureJava)
          do we want pure java (default, true) or corrupted J#?
 void setSecureScoping(boolean secureScoping)
          Make package scoped code visible to the current assembly only (default: false) .NET does not have package scoping.
protected  void validate()
          validation code
 
Methods inherited from class org.apache.tools.ant.taskdefs.optional.dotnet.DotnetCompile
addDefine, addReference, addReferenceFilesets, addResource, addResources, clear, createNetCommand, execute, fillInSharedParameters, getAdditionalModulesParameter, getDebug, getDebugParameter, getDefinitionsDelimiter, getDefinitionsParameter, getDestFileParameter, getExecutable, getExtraOptions, getExtraOptionsParameter, getFailOnError, getFilePattern, getIncludeDefaultReferences, getIncludeDefaultReferencesParameter, getMainClass, getMainClassParameter, getOptimize, getOptimizeParameter, 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
 
Methods inherited from class org.apache.tools.ant.taskdefs.optional.dotnet.DotnetBaseMatchingTask
addFilesAndExecute, addFilesToCommand, addSrc, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList, buildFileList,