|Re: Programatically adding facets to a pre-existing project [message #204629 is a reply to message #204494]
||Fri, 16 November 2007 16:01
Registered: July 2009
ProjectFacetsManager handles our core usecase of upgrading a facet-less |
preject to our new facet beautifully! One issue I'm hitting is that
because we depend on jst.java and jst.web, I need to be able to set the
jst.web Content directory path in some circumstances. By default, it
sets the content dir to 'WebContent', but there are instances were I
need to set that to something different. I am familiar with setting
facet properties via the DataModel, but does that apply when using the
ProjectFacetsManager api's? Sorry if I'm missing something obvious here.
Also, does anybody happen to know if jst.web can have no content
directory set? That is, having WEB-INF at the root of the project,
instead of buried in the content dir?
Mike Bourgeois wrote:
> Actually after reading the project thread below I think I'm all set.
> Looks like ProjectFacetsManager does everything I need to know about.
Powered by FUDForum
. Page generated in 0.03880 seconds