iAnywhere Water System User Manual

Chapter 4 Reverse Engineering
161
Reverse engineering Java files from a source directory
Reverse engineering .java source files from a source directory requires that
you follow the same procedure as when you reverse engineer independent
.java files, the only difference being that you select a directory in which
several .java files are located and not individual files. This gives you the
advantage of reversing groups of files that belong to the same model or
package.
Often Java library files are interdependent as they belong to the same model
and are therefore located in the same directory. In this case, if you do not
reverse engineer all the library files located in the directory, your model may
be incomplete.
When you reverse engineer a directory, all the sub-directories and the Java
files contained in them are reversed. In this case, each sub-directory becomes
a package within the model.
v To reverse engineer Java files from a source directory:
1 Select LanguageReverse Engineer Java.
The Reverse Java dialog box appears.
2 Select the Directory radio button.