To build prg and folders with spaces by IDE

Moderator: Rathinagiri

Post Reply
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

To build prg and folders with spaces by IDE

Post 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 3303 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 3281 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 257 times
Last edited by Pablo César on Thu Nov 03, 2016 2:56 pm, edited 3 times in total.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
User avatar
srvet_claudio
Posts: 2193
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: To build prg and folders with spaces by IDE

Post by srvet_claudio »

Thanks for remember me.
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
User avatar
danielmaximiliano
Posts: 2612
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Contact:

Re: To build prg and folders with spaces by IDE

Post by danielmaximiliano »

:cry: ya lo habia comentado hace tiempo
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

To build prg and folders with spaces by IDE

Post 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. :)
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
Post Reply