Description:
Imports Java source files, class files and/or resources from the file system into VAJ. These imports can be specified with a fileset.
Parameters
Attribute | Description | Required |
vajProject | imported files are added to this VAJ project | yes |
importSources | import source files (default: "yes") | no |
importResources | import resource files (default: "yes") | no |
importClasses | import class files (default: "no") | no |
remote | name and port of a remote tool server. (format: <servername>:<port no>). If this attribute is set, the tasks will be executed on the specified tool server. | no |
Parameters specified as nested elements
fileset
A FileSet specifies the files to import.
Example
<vajimport project="Test" importClasses="true"> <fileset dir="${import.dir}"> <include name="com/sample/**/*.class"/> <exclude name="com/sample/test/**"/> </fileset> </vajimport>This example imports all class files in the directory ${import.dir}/com/sample excluding those in the subdirectory test