How to add a builder for javanature. [message #176254] |
Wed, 01 September 2004 13:30  |
Eclipse User |
|
|
|
Originally posted by: vikram.naik.patni.com
Hello,
We need to do some post javabuild process, for that can we add a builder
to javanature ?
Please comment.
Thanks & Regards,
Vikram.
|
|
|
|
|
|
Re: How to add a builder for javanature. [message #176366 is a reply to message #176289] |
Thu, 02 September 2004 02:41   |
Eclipse User |
|
|
|
Originally posted by: vikram.naik.patni.com
Adding an Ant build would mean, its upto the developer to customize the
project created, manually adding the builder. We want this to be
implicit, if a project of java nature is created, along with java
builder, builder supplied by us should be added.
With Ant after some 10 - 15 runs in the IDE, we always get OutOfMemory
Errors.
The builder we are planning is supposed to zip the class files &
resources in that project to be thrown at particular location.
Thanks,
Vikram.
Darin Swanson wrote:
> Please indicate why you think that adding an ant build is heavy weight?
> You can scope when the build occurs, what type of build triggers it, and the
> builds are pretty fast :-)
> I don't see how adding a plugin is any less heavy weight.
>
> Darins
>
> "Vikram Naik" <vikram.naik@patni.com> wrote in message
> news:41360A48.2010105@patni.com...
>
>>Hi Darins,
>>
>>Thanks for the quick response. We are trying to make a jar after the
>>class files compiled.
>>Invoking ant process after change or build is bit too heavy.
>>
>>Can you please suggest how to add another builder ( probably a plugin ) ?
>>
>>Thanks,
>>Vikram.
>>
>>
>>
>>Darin Swanson wrote:
>>
>>>More simply you could add an external tool builder that is positioned to
>
> run
>
>>>after the Java builder
>>>Right click on your project->Builders
>>>
>>>HTH
>>>Darins
>>>
>>>"Vikram Naik" <vikram.naik@patni.com> wrote in message
>>>news:ch50tv$963$1@eclipse.org...
>>>
>>>
>>>>Hello,
>>>>
>>>>We need to do some post javabuild process, for that can we add a builder
>>>>to javanature ?
>>>>
>>>>Please comment.
>>>>
>>>>Thanks & Regards,
>>>>Vikram.
>>>>
>>>
>>>
>>>
>
>
|
|
|
Re: How to add a builder for javanature. [message #176422 is a reply to message #176366] |
Thu, 02 September 2004 12:51   |
Eclipse User |
|
|
|
Thanks Vikram.
Just some more notes:
The Ant builder would be an External tool builder and these builds are
shared with the project via your version control (the .project file is
modified and a .launch file is added in a special ".externalToolBuilders"
folder in the project hierarchy). All developers would get the builder for
"free"
The OOM is unfortunate. The best workarounds for these leaks is to launch
the build in a separate JRE. See the JRE tab of the Ant launch configuration
either for "normal" Ant builds or for external tool builder Ant builds.
An Ant external tool builder would handle your case nicely. We do exactly
what you are requesting this for several of the Ant integration and debug
plugins developed within Eclipse.
Good luck with whatever you decide
Darins
"Vikram Naik" <vikram.naik@patni.com> wrote in message
news:ch6f9m$ba1$1@eclipse.org...
>
> Adding an Ant build would mean, its upto the developer to customize the
> project created, manually adding the builder. We want this to be
> implicit, if a project of java nature is created, along with java
> builder, builder supplied by us should be added.
>
> With Ant after some 10 - 15 runs in the IDE, we always get OutOfMemory
> Errors.
>
> The builder we are planning is supposed to zip the class files &
> resources in that project to be thrown at particular location.
>
> Thanks,
> Vikram.
>
>
> Darin Swanson wrote:
> > Please indicate why you think that adding an ant build is heavy weight?
> > You can scope when the build occurs, what type of build triggers it, and
the
> > builds are pretty fast :-)
> > I don't see how adding a plugin is any less heavy weight.
> >
> > Darins
> >
> > "Vikram Naik" <vikram.naik@patni.com> wrote in message
> > news:41360A48.2010105@patni.com...
> >
> >>Hi Darins,
> >>
> >>Thanks for the quick response. We are trying to make a jar after the
> >>class files compiled.
> >>Invoking ant process after change or build is bit too heavy.
> >>
> >>Can you please suggest how to add another builder ( probably a plugin )
?
> >>
> >>Thanks,
> >>Vikram.
> >>
> >>
> >>
> >>Darin Swanson wrote:
> >>
> >>>More simply you could add an external tool builder that is positioned
to
> >
> > run
> >
> >>>after the Java builder
> >>>Right click on your project->Builders
> >>>
> >>>HTH
> >>>Darins
> >>>
> >>>"Vikram Naik" <vikram.naik@patni.com> wrote in message
> >>>news:ch50tv$963$1@eclipse.org...
> >>>
> >>>
> >>>>Hello,
> >>>>
> >>>>We need to do some post javabuild process, for that can we add a
builder
> >>>>to javanature ?
> >>>>
> >>>>Please comment.
> >>>>
> >>>>Thanks & Regards,
> >>>>Vikram.
> >>>>
> >>>
> >>>
> >>>
> >
> >
>
|
|
|
|
|
Re: How to add a builder for javanature. [message #176752 is a reply to message #176514] |
Mon, 06 September 2004 23:11  |
Eclipse User |
|
|
|
"Vikram Naik" <vikram.naik@patni.com> wrote in message
news:chf0tt$te9$1@eclipse.org...
> Thanks everyone for your respone.
>
> Tried to use Ant as build option, unfortunately found that when the ant
> is ran in separate VM, and the output option is turned off, the console
> removed from view, something goes wrong with the build.
>
> As the project can be build quite often while code development, didnt
> want to distract the developer with the output generated from the Ant
> process. But seems there is some limitation over there.
>
Could you please take the time to detail what went wrong? I am always
interested in limitations that can be removed :-)
Darins
|
|
|
Powered by
FUDForum. Page generated in 0.04224 seconds