Portlet Factory, Version 6.1.2
File Dependency builder
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.
Note: 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:
- WEB-INF/work/source
- WEB-INF/work/classes
- WEB-INF/classes
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
The builder call editor allows you to specify all the input values to a builder call.
- File Dependency builder inputs
This topic describes the inputs for the File Dependency builder.
- About sharing project resources
You can share the project resources among developers.
- Creating an IBM WebSphere Portlet Factory archive
Use the Eclipse Export function available from the Eclipse File menu to create an export file that contains artifacts to be shared in development.
Library | Support |