Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Pre & Post build steps in CDT
Pre & Post build steps in CDT [message #244958] Tue, 08 January 2008 04:35 Go to next message
Eclipse UserFriend
Originally posted by: ravindranathm.jataayusoft.com

Dear all,

I am a new comer to Eclipse. I have installed Eclipse Europa with CDT, on
WinXP with MinGW.

While I am able to build project, the pre and/or post build steps do not
seem to work. For testing this, i have mentioned a very simple echo
command in the pre-build step. However I get an error as below.


**** Internal Builder is used for build ****
echo E:\CPP\CSocket\trunk\development\source_code\Debug
Internal Builder: Exec error:Launching failed
Build error occurred, build is stopped
Time consumed: 266 ms.

It looks like Eclipse is not able to find the echo command? Note that I
do not have cygwin installed, and so expect Eclipse to use the windows OS
commands.

regards,
rv
Re: Pre & Post build steps in CDT [message #244968 is a reply to message #244958] Tue, 08 January 2008 07:55 Go to previous message
Eclipse UserFriend
Originally posted by: dmsubs.NOSPAM.consertum.com

Unlike *nix, I think that echo is built in to cmd.exe - that is, there is no
such thing as echo.exe. The pre/post build is trying to exec echo.exe and thus
it won't work. To confirm, try using "cmd /c echo whatever".

--
Derek


Ravindranath wrote:
> Dear all,
>
> I am a new comer to Eclipse. I have installed Eclipse Europa with CDT,
> on WinXP with MinGW.
>
> While I am able to build project, the pre and/or post build steps do not
> seem to work. For testing this, i have mentioned a very simple echo
> command in the pre-build step. However I get an error as below.
>
>
> **** Internal Builder is used for build ****
> echo E:\CPP\CSocket\trunk\development\source_code\Debug
> Internal Builder: Exec error:Launching failed
> Build error occurred, build is stopped
> Time consumed: 266 ms.
> It looks like Eclipse is not able to find the echo command? Note that I
> do not have cygwin installed, and so expect Eclipse to use the windows
> OS commands.
>
> regards,
> rv
>
Previous Topic:printing in Internet Explorer
Next Topic:Eclipse "freezes" UI temporarily
Goto Forum:
  


Current Time: Fri Nov 08 23:21:22 GMT 2024

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

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

Back to the top