newFolder

Creates a folder by the specified name if it doesn't already exist.

See also <workingSet>


Tag Summary
 
required <newFolder name="value" />
 
full tag <newFolder name="value" project="value" show="value" />

Required Attributes
 
name The name of the folder to be created.

Optional Attributes
 
project The name of the project in which to create the folder. If omitted, the project defaults to the project containing the file against which this pattern was applied.
show Indicates whether this folder is to be included in the working set created by the application of this pattern. One of "true" (include the folder in the working set), "false" (do not include the folder), "folder" (iclude the folder) and "project" (include the entire project containing the folder)

Example
 
<newFolder
        name="tree/src"
        project="My Java Project"
        show="true" />

This newFolder tag will ensure that a folder named "src" exists in a folder named "tree" in existing project "My Java Project". If this pattern is building a working set, then this folder and all of its contents should be included in that working set.


© Copyright IBM Corporation 2000, 2006. All Rights Reserved.