Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Question about building projects
Question about building projects [message #319922] Wed, 05 September 2007 16:44 Go to next message
Eclipse UserFriend
Originally posted by: ku_long.hotmail.com

Hey,

In our plug-in, we use our special compiler to compile
projects not general java SDK. Each project will have
a compile command. According to the design of our compiler,
it is not efficient to execute compile commands one by
one; it is supposed to create compile commands for all
the projects which are going to be compiled and then
execute them in a batch (our compiler can optimize the
compile process). Thus, I am wondering, in eclipse, is
it possible for me to know how many projects are going
to be compiled? For example, if we chose "build all",
"build project", "build working set", different numbers
of projects will be compiled. If I can get the information
about how many or what project eclipse is going to compile,
I can try to catch the compile commands and run them in
a batch at the end.

Thanks.

Raymond
Re: Question about building projects [message #319969 is a reply to message #319922] Thu, 06 September 2007 10:28 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ku_long.hotmail.com

I am waiting online for the answer, can anyone help me?
Thanks.
Re: Question about building projects [message #319972 is a reply to message #319922] Thu, 06 September 2007 10:31 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ku_long.hotmail.com

Forgot to say that we have our builder class which
extends IncrementalProjectBuilder. Thus, if I can
get the information that how many or what projects
eclipse is going to build, I will try to cache the
commands and run them in a batch later on. Is that
possible? :-)
Re: Question about building projects [message #320032 is a reply to message #319972] Mon, 10 September 2007 10:13 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ku_long.hotmail.com

Can anyone help me out?:-)
Re: Question about building projects [message #320102 is a reply to message #319922] Tue, 11 September 2007 16:54 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ku_long.Hotmail.com

Can anyone help me out!!! :-)
Re: Question about building projects [message #320104 is a reply to message #319922] Tue, 11 September 2007 17:36 Go to previous message
Eclipse UserFriend
Originally posted by: eclipseng.arthorne.com

There is some limited information available in IResourceChangeEvent
(PRE_BUILD event). The getSource() method will tell you if it's a
project build or a workspace build. However, the actual build is fairly
complicated, and the set of builders that will actually be invoked
cannot be computed in advance in the general case.
--

Raymond wrote:
> Hey,
>
> In our plug-in, we use our special compiler to compile
> projects not general java SDK. Each project will have
> a compile command. According to the design of our compiler, it is not
> efficient to execute compile commands one by one; it is supposed to
> create compile commands for all the projects which are going to be
> compiled and then execute them in a batch (our compiler can optimize the
> compile process). Thus, I am wondering, in eclipse, is it possible for
> me to know how many projects are going to be compiled? For example, if
> we chose "build all", "build project", "build working set", different
> numbers
> of projects will be compiled. If I can get the information
> about how many or what project eclipse is going to compile,
> I can try to catch the compile commands and run them in
> a batch at the end.
> Thanks.
>
> Raymond
>
Previous Topic:How to save a programmatically defined Command?
Next Topic:Preferences n ListEditor
Goto Forum:
  


Current Time: Sat May 10 03:13:55 EDT 2025

Powered by FUDForum. Page generated in 0.02817 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top