Community
Participate
Working Groups
I20050117 APT needs to have a classpath entry on the classpath without the corresponding resource in the workspace. Right now this creates a problem marker and the project is not built. We should add an 'optional' attribute on the classpath entry that - when true- would force the entry to be ignored if the resource doesn't exist.
Added IClasspathAttribute#OPTIONAL for the name of the optional attribute. The possible values for this attributes are "true" or "false". When not present, "false" is assumed. If the value of this attribute is "true", the classpath entry is optional. If the underlying resource or jar file doesn't exist, no error is reported and the classpath entry is ignored. Added tests ClasspathTests#testOptionalEntry1-3.
Verified for 3.2 M5 using build I20060214-0010.