
Automatically create directory
If the "Create directory if necessary" option is selected, then
the export wizard automatically creates necessary directories without prompting the user.
Automatically create repository
If the "Create repository if necessary" option is selected,
then the export wizard automatically creates necessary repositories without prompting the
user.
.java file options
If the "Import only if source has changed" option is selected,
when any .java source file is imported, its contents will be compared
against the source in the workspace. If the source is the same, the file
will not be supported and no new type editions will be created. If the
"Ignore whitespace differences" option is enabled, the source
comparison will ignore any whitespace differences when doing this
comparison. This will filter out simple reformatting changes or line end
differences, etc.
Method order
When exporting Java source, the export wizard can generate the Java file such that the
methods in that Java file appear in a specific order.
- Alphabetical
- constructors first
- all other methods in alphabetical order
- Constructor/Static/Instance
- constructors first
- static methods in alphabetical order
- all other methods in alphabetical order
- Constructor/Static/Instance, Public/Other
- public constructors first
- all other constructors
- public static methods in alphabetical order
- all other static methods in alphabetical order
- public methods in alphabetical order
- all other methods in alphabetical order
- Default (VisualAge for Java default ordering)
- VA Java 3.0.x
- all constructors
- all other methods in alphabetical order
- VA Java 3.5
- Same as Import Order/Source View Order
- Import Order
- all methods and constructs in the order in which they
were imported from a *.java file
- all new constructors
- all new methods in alphabetical order
- this is the default for VA Java 3.5 (same as Source View order)
- Public/Other
- all public constructors
- all public methods in alphabetical order
- all other constructors
- all other methods in alphabetical order
- Public/Other, Constructor/Static/Instance
- all public constructors
- all public static methods in alphabetical order
- all other public methods in alphabetical order
- all other constructors
- all other static methods in alphabetical order
- all other methods in alphabetical order
Add blank line between methods
If the "Add blank line between methods" option is selected, then the export
wizard automatically ensures that at least one blank line appears between each exported
method. The number of blanks lines that should appear can be set from one to five.
Suppress all other whitespace between
elements
Suppresses all whitespace (e.g., blank lines) between elements except
for blank lines explicitly added using the previous option.
Format method source
If the "Format method source" option is selected, then the export wizard
formats each method that is exported, without changing the methods current in your
VisualAge workspace or in the VisualAge repository.
Note that VA Assist also allows you to define your own custom
code formatter and use that one rather than the default VA Java code
formatter.
Change method indentation
If the "Change method indentation" option is selected, then for each method,
the export wizard determines the line in the method with the smallest indentation, strips
that indentation amount from each line in the method, and then adds the indentation
specified.
Convert method indentation
If the "Convert method indentation" option is selected, then for each method,
the export wizard converts the line indentation to spaces or to tabs depending upon
whether the "Convert tabs to spaces" or the "Convert spaces to tabs"
radio button is selected.
Convert all tabs to spaces
If the "Convert all tabs to spaces" option is selected, then for each method,
the export wizard converts all of the tabs into spaces regardless of where they appear on
a line.
Trim trailing blanks
If the "Trim trailing blanks" option is selected, then all spaces and tabs
appearing at the end of a line will be removed.
Convert line ends
If the "Convert line ends" option is selected, then the line ends will be
converted to the specified type:
- Cr Lf = carriage return followed by a line feed
- Cr = just a carriage return
- Lf = just a line feed
Remember method line numbers
If the "Remember line numbers" option is selected, then the system will
remember the starting line numbers of each method. This is important, if you are
interested in using the Goto Line Number feature provided
by VA Assist. Recording the line numbers does take time and can cause the export process
to execute two or three times slower than normal. If that is a concern, you might want to
consider turning this option off.
Export sets
Export Sets may be imported, exported, deleted
and reported on with these options.