The File Dependency builder is useful when you export a collection of project files to share with another developer in the form of an archive file.
You can use the Import and Export functionality available in the Eclipse File
menu to share files among projects in the form of an IBM® WebSphere® Portlet Factory archive. The archive is a compact file of various project components and artifacts. In the File Dependency builder, you can specify any files that must be included in the archive.
Files exhibiting dependencies in a model might include HTML files, image files, Java source files and class files, and any other models that the current model uses for Linked Model or Import Model builder calls.
If you are including Java source or class files in the model dependency list, ensure that they are in (or below) one of the following directories:
Ensuring that Java source and class files are in these directories is required so that when you install the package on another machine, any models, builders, projects, or anything else using the Java source and class files can find them.
Using the File Dependency builder adds the files you specify in the List input to the dependencies list when this model is packaged for export.
When you export a package containing this model, clicking Select Dependencies ...
displays a list of files you specified.
Parent topic: Builder help
About using the builder call editor
About sharing project resources
Creating an archive