You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@buildr.apache.org by Odelya Holiday <od...@alicanto.com> on 2013/01/06 15:28:33 UTC

Eclipse plugin for dynamic web project

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

Re: Eclipse plugin for dynamic web project

Posted by satish pokala <sa...@gmail.com>.
Can you provide a link from where we can download the eclipse plugin for
Buildr?


Thanks In Advance.



--
View this message in context: http://software.780142.n2.nabble.com/Eclipse-plugin-for-dynamic-web-project-tp7577687p7577831.html
Sent from the Apache Buildr - User mailing list archive at Nabble.com.

Re: Eclipse plugin for dynamic web project

Posted by Alex Boisvert <al...@gmail.com>.
Eclipse support (.classpath and .project generation) comes standard in
Buildr.  There is no separate download necessary.  You simply define your
project (possibly with eclipse customization as mentioned previously in
this thread) and run "buildr eclipse" to generate the project files.


On Sun, Jan 6, 2013 at 8:54 AM, Alex Boisvert <al...@gmail.com>wrote:

> 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 <od...@alicanto.com>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
>>
>
>

Re: Eclipse plugin for dynamic web project

Posted by Alex Boisvert <al...@gmail.com>.
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 <od...@alicanto.com> 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
>