|
Add Copy of | Click this button to have a copy of an element added to the currently selected element in the output layout tree.
From the context menu, select the desired element type, then specify the source element location.
The following options are available: - Library Files: if this option is selected, the files from the Classes section
of a library will be included in the artifact. So doing, the JAR archives will be copied as is; as for the directories,
their contents will be copied rather than the whole directories.
- Module Output: if this option is selected, the production output of the selected module will be copied; the test output will not be included in the artifact.
- Module Test Output: if this option is selected, the compiled classes from tests roots of a module will be included into an artifact.
- Artifact: select this option to have the current artifact contain the output of another artifact (a directory or an archive).
Appoint the artifact to include in the Choose Artifacts, that opens.
-
The entire output of the selected artifact will be copied to the specified place in the output of the target artifact.
-
If the output directory of the included artifact contains files produced by an external process (e.g. by an Ant task specified as post-processing task for the artifact
or the output directory points to an existing folder on disk), all these files will be copied to the target artifact as well
as the files explicitly specified in the output layout of the included artifact.
- File: the specified file will be copied to the specified location.
- Directory Content: in this case, the content of the directory, and the nested subdirectories will be copied recursively.
- Extracted Directory: the specified archive or a directory within such archive will be unpacked to the specified location.
- JavaEE Facet Resource: this option is available, when Web, EJB, or JavaEE Application facets are enabled.
If this option is selected, the descriptors will be copied, as well as the web root (in case of the web facet).
- GWT Compiler Output: this option is available, when GWT facet is enabled. If this option is selected,
on building an artifact for the selected facet, a GWT compiler will be launched, and its output will be copied to the specified location.
|