Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Don't Want To Build Project Before Running External Tool
Don't Want To Build Project Before Running External Tool [message #125103] Tue, 26 October 2004 13:30 Go to next message
Eclipse UserFriend
Hello,

I'm using eclipse 3.0 and CDT 2.0.1 to build ICU
(http://oss.software.ibm.com/icu) on Linux. I've set up an external tool
to run the configure script that must be run *before* building ICU. When
I run this tool, eclipse first tries to build the project, which in the
best case means that it does a lot of work that will need to be done
again as soon as the configure script is run.

Is there any way to tell eclipse to not do a build before running the
external tool? Failing that, is there a way to stop a build?

Regards,
Eric Mader
IBM GCoC - San José
5600 Cottle Rd. M/S 50-2/B11
San Jose, CA 95193
Re: Don't Want To Build Project Before Running External Tool [message #125338 is a reply to message #125103] Thu, 28 October 2004 10:24 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mark.melvin.dspfactory.com

Eric Mader wrote:

> Hello,
>
> I'm using eclipse 3.0 and CDT 2.0.1 to build ICU
> (http://oss.software.ibm.com/icu) on Linux. I've set up an external tool
> to run the configure script that must be run *before* building ICU. When
> I run this tool, eclipse first tries to build the project, which in the
> best case means that it does a lot of work that will need to be done
> again as soon as the configure script is run.
>
> Is there any way to tell eclipse to not do a build before running the
> external tool? Failing that, is there a way to stop a build?
>
> Regards,
> Eric Mader
> IBM GCoC - San José
> 5600 Cottle Rd. M/S 50-2/B11
> San Jose, CA 95193

Well, I know with Ant scripts anyway - there is a checkbox setting for
the builder to not build before executing. Is it the same for external
tools? Right-click project -> Properties -> Builders, click on your
external tool and the Edit.. button.

Mark.
Re: Don't Want To Build Project Before Running External Tool [message #125351 is a reply to message #125338] Thu, 28 October 2004 15:07 Go to previous messageGo to next message
Eclipse UserFriend
I don't see that option for external tools. In fact, I don't even see it
for Ant scripts... just some options for running the builder during
"clean", "manual" or "auto" builds.

Regards,
Eric

Mark Melvin wrote:
> Eric Mader wrote:
>
>> Hello,
>>
>> I'm using eclipse 3.0 and CDT 2.0.1 to build ICU
>> (http://oss.software.ibm.com/icu) on Linux. I've set up an external
>> tool to run the configure script that must be run *before* building
>> ICU. When I run this tool, eclipse first tries to build the project,
>> which in the best case means that it does a lot of work that will need
>> to be done again as soon as the configure script is run.
>>
>> Is there any way to tell eclipse to not do a build before running the
>> external tool? Failing that, is there a way to stop a build?
>>
>> Regards,
>> Eric Mader
>> IBM GCoC - San José
>> 5600 Cottle Rd. M/S 50-2/B11
>> San Jose, CA 95193
>
>
> Well, I know with Ant scripts anyway - there is a checkbox setting for
> the builder to not build before executing. Is it the same for external
> tools? Right-click project -> Properties -> Builders, click on your
> external tool and the Edit.. button.
>
> Mark.
Re: Don't Want To Build Project Before Running External Tool [message #125377 is a reply to message #125351] Thu, 28 October 2004 15:30 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mark.melvin.dspfactory.com

Sorry! My mistake. The dialog I was thinking of was when you
right-click an Ant script and click Run -> Ant Build... There is a
Build tab there that let's you specify whether to build first or not.
The dialog looked so similar to the project builder dialog I assumed it
was the same one. Sorry.

What about Window -> Preferences -> Run/Debug -> Launching and uncheck
"Build (if required) before launching"?

Mark.

Eric Mader wrote:

> I don't see that option for external tools. In fact, I don't even see it
> for Ant scripts... just some options for running the builder during
> "clean", "manual" or "auto" builds.
>
> Regards,
> Eric
>
> Mark Melvin wrote:
>
>> Eric Mader wrote:
>>
>>> Hello,
>>>
>>> I'm using eclipse 3.0 and CDT 2.0.1 to build ICU
>>> (http://oss.software.ibm.com/icu) on Linux. I've set up an external
>>> tool to run the configure script that must be run *before* building
>>> ICU. When I run this tool, eclipse first tries to build the project,
>>> which in the best case means that it does a lot of work that will
>>> need to be done again as soon as the configure script is run.
>>>
>>> Is there any way to tell eclipse to not do a build before running the
>>> external tool? Failing that, is there a way to stop a build?
>>>
>>> Regards,
>>> Eric Mader
>>> IBM GCoC - San José
>>> 5600 Cottle Rd. M/S 50-2/B11
>>> San Jose, CA 95193
>>
>>
>>
>> Well, I know with Ant scripts anyway - there is a checkbox setting for
>> the builder to not build before executing. Is it the same for
>> external tools? Right-click project -> Properties -> Builders, click
>> on your external tool and the Edit.. button.
>>
>> Mark.
Re: Don't Want To Build Project Before Running External Tool [message #125390 is a reply to message #125377] Thu, 28 October 2004 17:14 Go to previous messageGo to next message
Eclipse UserFriend
Mark Melvin wrote:
> Sorry! My mistake. The dialog I was thinking of was when you
> right-click an Ant script and click Run -> Ant Build... There is a
> Build tab there that let's you specify whether to build first or not.
> The dialog looked so similar to the project builder dialog I assumed it
> was the same one. Sorry.
>
> What about Window -> Preferences -> Run/Debug -> Launching and uncheck
> "Build (if required) before launching"?
>
> Mark.

Well, that might work, but in general, I *want* it to build before
launching. I just don't want it to try and build before I run the
external tool that gets thing ready to be built...

Eric
Re: Don't Want To Build Project Before Running External Tool [message #125480 is a reply to message #125103] Fri, 29 October 2004 21:31 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: martin.atrenta.com

Eric Mader wrote:

> Hello,

> I'm using eclipse 3.0 and CDT 2.0.1 to build ICU
> (http://oss.software.ibm.com/icu) on Linux. I've set up an external tool
> to run the configure script that must be run *before* building ICU. When
> I run this tool, eclipse first tries to build the project, which in the
> best case means that it does a lot of work that will need to be done
> again as soon as the configure script is run.

> Is there any way to tell eclipse to not do a build before running the
> external tool? Failing that, is there a way to stop a build?

> Regards,
> Eric Mader
> IBM GCoC - San José
> 5600 Cottle Rd. M/S 50-2/B11
> San Jose, CA 95193
Eric,
Did you try the following:?
click on a source file (so properties will show)
Project -> properties
Builders -> edit
add the run requirements for your tool
after OK, still on the Builder pane, select your custom builder & then
select UP until it is at the top.
Then your Builder tool runs before the make file that runs the compilation.
If you want to stop the normal build running, deselect the Generated
Makefile Builder. If you want to run normal build without your extra tool,
deselect your build tool.

Martin Baynes
Atrenta Inc,
San Jose CA
Re: Don't Want To Build Project Before Running External Tool [message #125599 is a reply to message #125480] Mon, 01 November 2004 15:11 Go to previous messageGo to next message
Eclipse UserFriend
Martin Baynes wrote:
> Eric Mader wrote:
>
>
>>Hello,
>
>
>>I'm using eclipse 3.0 and CDT 2.0.1 to build ICU
>>(http://oss.software.ibm.com/icu) on Linux. I've set up an external tool
>>to run the configure script that must be run *before* building ICU. When
>>I run this tool, eclipse first tries to build the project, which in the
>>best case means that it does a lot of work that will need to be done
>>again as soon as the configure script is run.
>
>
>>Is there any way to tell eclipse to not do a build before running the
>>external tool? Failing that, is there a way to stop a build?
>
>
>>Regards,
>>Eric Mader
>>IBM GCoC - San José
>>5600 Cottle Rd. M/S 50-2/B11
>>San Jose, CA 95193
>
> Eric,
> Did you try the following:?
> click on a source file (so properties will show)
> Project -> properties
> Builders -> edit
> add the run requirements for your tool
> after OK, still on the Builder pane, select your custom builder & then
> select UP until it is at the top.
> Then your Builder tool runs before the make file that runs the compilation.
> If you want to stop the normal build running, deselect the Generated
> Makefile Builder. If you want to run normal build without your extra tool,
> deselect your build tool.
>
> Martin Baynes
> Atrenta Inc,
> San Jose CA

I'm talking about *CDT* and an *External Tool* not Java and a builder.
There is no notion of an order in the setup for an external tool, as far
as I can tell.

All I want is a way to say "don't build the project before running this
tool."

Regards,
Eric Mader
Re: Don't Want To Build Project Before Running External Tool [message #132393 is a reply to message #125599] Mon, 20 December 2004 17:50 Go to previous message
Eclipse UserFriend
Eric Mader wrote:
> Martin Baynes wrote:
>
>> Eric Mader wrote:
>>
>>
>>> Hello,
>>
>>
>>
>>> I'm using eclipse 3.0 and CDT 2.0.1 to build ICU
>>> (http://oss.software.ibm.com/icu) on Linux. I've set up an external
>>> tool to run the configure script that must be run *before* building
>>> ICU. When I run this tool, eclipse first tries to build the project,
>>> which in the best case means that it does a lot of work that will
>>> need to be done again as soon as the configure script is run.
>>
>>
>>
>>> Is there any way to tell eclipse to not do a build before running the
>>> external tool? Failing that, is there a way to stop a build?
>>
>>
>>
>>> Regards,
>>> Eric Mader
>>> IBM GCoC - San José
>>> 5600 Cottle Rd. M/S 50-2/B11
>>> San Jose, CA 95193
>>
>>
>> Eric,
>> Did you try the following:?
>> click on a source file (so properties will show)
>> Project -> properties
>> Builders -> edit
>> add the run requirements for your tool
>> after OK, still on the Builder pane, select your custom builder & then
>> select UP until it is at the top.
>> Then your Builder tool runs before the make file that runs the
>> compilation.
>> If you want to stop the normal build running, deselect the Generated
>> Makefile Builder. If you want to run normal build without your extra
>> tool,
>> deselect your build tool.
>> Martin Baynes
>> Atrenta Inc,
>> San Jose CA
>
>
> I'm talking about *CDT* and an *External Tool* not Java and a builder.
> There is no notion of an order in the setup for an external tool, as far
> as I can tell.
>
> All I want is a way to say "don't build the project before running this
> tool."
>
> Regards,
> Eric Mader
>

I never got an answer to this question. Is there really no way to tell
CDT that I don't want it to build the project before running a
particular tool? Is there some other way that I should be running the
configure script? Should I submit a bug about this?

I would really appreciate an official answer to this question - it's
very frustrating to have to build my project twice each time the
configure script changes.

Regards,
Eric Mader
Previous Topic:GDB is not working
Next Topic:Code Documentation
Goto Forum:
  


Current Time: Fri May 09 21:27:53 EDT 2025

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

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

Back to the top