There is an API that supports the classpath entry publish/export attribute:
org.eclipse.jst.j2ee.classpathdep.UpdateClasspathAttributeUt il (the
addDependencyAttribute() and removeDependencyAttribute() methods are the
most directly relevant). See http://wiki.eclipse.org/ClasspathEntriesPublishExportSupport for more
information about this classpath entry publish/export support.
For other dependency types (i.e. those encoded in the MANIFEST.MF classpath
or the component file, e.g. EAR-to-module project dependencies, module
project-to-module project dependencies, etc.), DataModel operations exist
that you can execute. Look at the following DataModelProvider classes and
their uses in the WTP code base to get started:
Hope this helps,
"Raster" <email@example.com> wrote in message
> In case any one is interested. I was able to do this by setting the
> attribute to the classpath entry for the maven container.