You can control janett translation process completely using translate.xml file

translate.xml file may be located in input folder (Java folder) you specify in command-line
schema file for this xml located in http://mayaf.org/janett/schema/<version>/translate.xsd for example http://mayaf.org/janett/schema/0.6/translate.xsd.
A compatible version of this file included in Janett distributions (in root folder).

You can specify parameters in this file. Command-line parameters override these values.

ParameterDescriptionDefault
ModeWhich mode to use (DotNet/IKVM)DotNet
OutputFolderWhere outputs created..\<Solution>-<Mode>
SolutionVisual studio solution nameInputFolder name
Packageroot Package name-
NamespaceNamespace to replace package-
ReferenceFolderFolder which contains ProjectReferences?Lib

You can add Files element to include or exclude files (patterns are like Ant and NAnt):

<Files>
        <Include Path="src\**"/>
        <Include Path="test\**"/>
        <Exclude Path="net\sf\classifier4J\**\AllTests.java"/>
</Files>

If only Exclude tags are present default <Include Path="**"/> will be added.

In Projects tag you can specify multiple projects. Each project node can contains these attributes:

Namename of project and output folderrequired
Foldersub-folder of input folderrequired
Referencereference to other projects (comma separated)optional
AssemblyNamename of project output assemblyoptional (Name if not specified)
Guidproject Guid used by Visual Studiooptional

Also you can use Include and Exclude as child elements. for example in Classifier project:

<Projects>
        <Project Name="NClassifier" Folder="core\src\java">
                <Exclude Path="net\sf\classifier4J\bayesian\*JDBC*.java" Mode="DotNet"/>
                <Exclude Path="net\sf\classifier4J\util\Resource.java"/>
                <Exclude Path="net\sf\classifier4J\CustomizableStopWordProvider.java"/>
        </Project>
        <Project Name="UnitTests" Folder="core\src\test" Reference="NClassifier">
                <Exclude Path="net\sf\classifier4J\**\AllTests.java"/>
                <Exclude Path="net\sf\classifier4J\CustomizableStopWordProviderTest.java"/>
        </Project>
</Projects>

you can specify values repeatedly for each Mode:

<OutputFolder Mode="IKVM">..\IKVM</OutputFolder>
<OutputFolder Mode="DotNet">..\DotNet</OutputFolder>