Page 1 of 1

To build prg and folders with spaces by IDE

Posted: Thu Nov 03, 2016 1:59 pm
by Pablo César
Hi Claudio,

Do you remember this message ?

Recently I make a demo for CheckBox text to be aligned to the left and I've created a folder in my repository place with folder name:

C:\My Sources\HMG\CheckBox Text on the Left

Please note this folder contains space in its name. Which make easy to find later.

I make a Compile.bat file for building. The main batch file in C:\hmg.3.4.3 works properly, nicely according my old request (in this other topic).

But in our HMG/IDE, this doesn't work... :oops:
At the time it's coming this message error:
IDE_ERROR1.png
IDE_ERROR1.png (36.93 KiB) Viewed 3318 times
Then I've checked what IDE it's passing as parameters and I saw the fullpath and project was not quoted... :|

Is it possible to make our IDE in the next release to insert quotes in it ?
If you do this, all projects even with espaces in its names will be posible for building by IDE also.

When the IDE be corrected (in case), it would pass parameter like this:
Screen3.png
Screen3.png (14.01 KiB) Viewed 3296 times
These suggestions are TOTALLY backward compatible with any project.

I've attached this project folder for your appreciation and tests.
CheckBox Text on the Left.rar
Please unpack with special folder name
(821 Bytes) Downloaded 259 times

Re: To build prg and folders with spaces by IDE

Posted: Thu Nov 03, 2016 2:05 pm
by srvet_claudio
Thanks for remember me.

Re: To build prg and folders with spaces by IDE

Posted: Thu Nov 03, 2016 2:39 pm
by danielmaximiliano
:cry: ya lo habia comentado hace tiempo

To build prg and folders with spaces by IDE

Posted: Thu Nov 03, 2016 8:14 pm
by Pablo César
srvet_claudio wrote:Thanks for remember me.
Thanks Claudio.

I would like to undertstand following questions:

1. Our IDE it's passing 2 or/and 3 arguments as being parameterization ? This 3rd parameter it's when there is something in .hbc file.

2. Our IDE excutes the builded app ? And makes the app calling without any parameter ?

Because I'm believing that even we write/prepare the hbc file (at "Configuration" IDE's Tab) will be not ever be actioned... :?

danielmaximiliano wrote: :cry: ya lo habia comentado hace tiempo
Siii Daniel, mi intención es ilustrar con detalles para que se entienda mejor.
Porque esta solución de poner al troyecto entre comillas, es total retorcompatible. :)