There's no built-in support for dynamic web projects but it's possible to
convert regular Java projects by editing the .project file and adding the
necessary builders/natures.

http://greatwebguy.com/programming/eclipse/converting-a-java-project-to-a-dynamic-web-project-in-eclipse/

You can also do so programmatically in your buildfile by adding
"eclipse.natures" and "eclipse.builders" statements,

define 'foo' do
  eclipse.builders [
    'org.eclipse.wst.common.project.facet.core.builder',
    'org.eclipse.jdt.core.javabuilder',
    # etc
  ]

  eclipse.natures [
    'org.eclipse.wst.common.project.facet.core.nature',
    'org.eclipse.jdt.core.javanature',
    # etc
  ]

end

The above is just an example (incomplete/untested).  If you end up needing
this on several project, it's easy to create an extra plugin that would
factor out this code for reuse.

alex


On Sun, Jan 6, 2013 at 6:28 AM, Odelya Holiday <[email protected]> wrote:

> Hi!
>
> I saw that buildr has a plugin for Eclipse.
>
> However, this plugin is good only for regular Java projects.
>
> Is there a plugin for a dynamic web project?
>
> Thanks
>
> --
> Odelya
>

Reply via email to