Methods Summary |
---|
protected void | addCompilerSpecificOptions(NetCommand command)add jvc specific commands
if (pureJava) {
command.addArgument("/x:all");
}
if (secureScoping) {
command.addArgument("/securescoping");
}
|
protected void | createResourceParameter(NetCommand command, DotnetResource resource){@inheritDoc}
resource.getParameters(getProject(), command, true);
|
public java.lang.String | getFileExtension()Get the extension of filenames to compile.
return ".java";
|
public java.lang.String | getReferenceDelimiter()Get the delimiter that the compiler uses between references.
For example, c# will return ";"; VB.NET will return ","
return ";";
|
public void | setBaseAddress(java.lang.String baseAddress)Set the base address attribute.
this.baseAddress = baseAddress;
|
public void | setPureJava(boolean pureJava)do we want pure java (default, true) or corrupted J#?
this.pureJava = 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.
this.secureScoping = secureScoping;
|
protected void | validate()validation code
super.validate();
if (getDestFile() == null) {
throw new BuildException("DestFile was not specified");
}
|