file

Top  Previous  Next

- exists [false] (true|false)

- directory [false] (true|false)

- mkdirs [false] (true|false)

 

Attributes

 

exists: Set this attribute to "true" if you require that the file exists.

 

directory: Set this attribute to "true" if you require that this file be a directory.

 

mkdirs: Set this attribute to "true" if you require that the parent directories be made.

 

The Schema

 

<schema packageScope="com.wickedfastsolutions.demo.domain">
  <configuration>
      <propertiesFile type="file" exists="true">application.properties</propertiesFile>
      <webRoot type="file" directory="true">/www</webRoot>
      <userDirectory type="file" directory="true">/user/admin</userDirectory>
  </configuration>
</schema>