api / org.gradle.plugins.ide.eclipse.model / EclipseWtpComponent / getResources

getResources

open fun getResources(): MutableList<WbResource>

Additional wb-resource elements.

For examples see docs for EclipseWtp

Only resources that link to an existing directory (WbResource#getSourcePath()) will be added to the wtp component file. The reason is that non-existing resource directory declarations lead to errors when project is imported into Eclipse.