<vjc> Compiles Visual J# programs using VJC, Microsoft's J# compiler.
| Attribute | Description | Required |
|---|
| securescoping | Specifies whether package-scoped members are accessible outside of the assembly. In other words, package scope is treated as assembly scope when emitting metadata. By default, secure scoping is off. Corresponds to the /securescoping flag. | False |
| X | Specifies whether to disable language extensions. Corresponds to the /x flag. | False |
| libpath | Specifies the location of assemblies referenced by way of the /reference flag. Corresponds to the /libpath:dir[;dir2] flag. | False |
| jcpa | Associate Java-language/COM package names. Corresponds to the /jcpa:package=namespace and /jcpa:@filename flags. | False |
| codepage | Specifies the code page to use for all source code files in the compilation. Corresponds to the /codepage flag. | False |
| output | Output directory for the compilation target. | True |
| target | Output type (library or exe). | True |
| debug | Generate debug output (true/false). | False |
| define | Define conditional compilation symbol(s). Corresponds to /d[efine]: flag. | False |
| win32icon | Icon to associate with the application. Corresponds to /win32icon: flag. | False |
| warnaserror | Instructs the compiler to treat all warnings as errors (true/false). Default is "false." | False |
| main | Specifies which type contains the Main method that you want to use as the entry point into the program. | False |
| failonerror | Determines whether task failure stops the build or is just reported. Default is "true." | False |
| verbose | Task reports detailed build log messages. Default is "false." | False |
| if | If true then the task will be executed; otherwise skipped. Default is "true." | False |
| unless | Opposite of if. If false then the task will be executed; otherwise skipped. Default is "false." | False |
Example
<vjc target="exe" output="helloworld.exe" debug="true">
<sources>
<includes name="helloworld.jsl"/>
</sources>
</vjc>