Workspace Options
This dialogue enables you to configure and setup your workspace.
In AnyJ, a project is called a workspace.
Each workspace consists of a set of directories containing sourcecode,
classfiles, or .jar files (the latter in case of libraries/beans which come without
sourcecode).
A workspace should contain all libraries used in that workspace. This ensures full
functionality of the completion & intellisense features provided by AnyJ.
A good analogy is to think of the project as containing a sourcepath (similar to
the classpath).
Each project dir can be assigned different flags, represented by CheckBoxes:
- readonly
By setting this checkbox, all files contained in the corresponding directory will
be "soft"-readonly (without use of the OS filesystem flags). This may be useful if a
libraries source should be protected from being changed by accident.
- Exclude from Index Building
advises AnyJ not to scan files in the corresponding directory. This is useful
if you just want to view some files but don't want AnyJ to index them. E.g., you
are working on a new version of a library and want to check an older version. Indexing
both versions of the library would be rather confusing to AnyJ (Intelli*ense, Code Completion).
Source index based features will not work on files residing in an excluded
directory.
- Scan class instead of java
tells AnyJ to scan .class files instead of Java files. Some information (such as
parameter names and JavaDoc Popups) will not be available on those classes.
Use only if there are no sources available.
- invisible in FileTree
lets you apply settings to a directory without seeing another entry in the
FileTree. This is useful especially if you wish to make use of what we call
override settings.
Example:
You've added a directory "\foo\bar\source". Unfortunately there is a subdirectory
"\foo\bar\source\oldversion" which should not be indexed. It is now possible to
override the settings
of "\foo\bar\source" by adding "\foo\bar\source\oldversion" to your project
and choose different options ( including the invisible option,
because "\foo\bar\source" is already visible in your FileTree).
- Check for changes on build
tells AnyJ to look for changed files (F7, "Build Changed") respectively to rebuild files (Ctrl F7, "Rebuild All") residing in this directory.
If you create a workspace from one of AnyJ's templates, the workspace should already be
configured properly. When creating a new workspace, AnyJ gets the paths to the
system libraries from the Properties. If you want to change the location of library
permanently, change the appropriate "Library.xxx" property according. Note that this
will only affect newly created projects. The paths in already existing projects are not changed.