Icon View Thread

The following is the text of the current message along with any replies.
Messages 11 to 16 of 16 total
Thread Command line compiling?
Tue, Sep 22 2015 10:15 AMPermanent Link

Matthew Jones

Raul wrote:

> There are no quotes around the semicolon - quotes are around file
> systems paths and semicolon is simply a separator.

Most parameter parsing code uses a quote as the start of a parameter,
and it continues to the end of the param. I've not seen this used this
way before. All of which is not relevant really, as for whatever
reason, and I've tried it three different ways, any spaces in the path
cause it to fail.

To be clear, I used:
ewbcc -sp"path to library;my path"
ewbcc "-sppath to library;my path"
ewbcc -sp"path to library";"my path"

None work if there is a space.

This works:
ewbcc -sp"pathtolibrary;mypath"

Matthew Jones
Tue, Sep 22 2015 10:33 AMPermanent Link

Raul

Team Elevate Team Elevate

On 9/22/2015 10:15 AM, Matthew Jones wrote:
> To be clear, I used:
> ewbcc -sp"path to library";"my path"
> None work if there is a space.

I tested it here as well and can confirm what you're seeing as well :
"-lp" param does not like spaces.

- i had a space in the library and it cannot then find webcore.wbs (it
is there for sure)

- if i fix that but leave a space in interface one then it complains
about webui and specifically unable to find TIconLibrary.wbi.

Changing both to non-space path makes compilation work.


Project itself can have paths though (i.e. path to project file name
with space is not a problem).

Raul


Tue, Sep 22 2015 10:48 AMPermanent Link

Matthew Jones

Raul wrote:

> I tested it here as well and can confirm what you're seeing as well :
> "-lp" param does not like spaces.

Thanks - good to have confirmation of my experiments. Probably not hard
to fix either.

--

Matthew Jones
Tue, Sep 22 2015 10:55 AMPermanent Link

Raul

Team Elevate Team Elevate

On 9/22/2015 10:33 AM, Raul wrote:
> I tested it here as well and can confirm what you're seeing as well :
> "-lp" param does not like spaces.

Just to give Tim another sample to work with using default install paths
(which have a multiple folders with spaces and running this :

ewbcc.exe "F:\temp\my ewb apps\EWBCopyTest\a" -lp"C:\Program Files
(x86)\Elevate Web Builder 2\library";"C:\Program Files (x86)\Elevate Web
Builder 2\interfaces"

results in

Compiling project a..
[Error] main.wbs (5,6): Cannot find unit file WebCore.wbs in the current
project directory or in the compiler search paths
[Error] a.wbp (3,10): Referenced unit compilation failed, compilation
aborted
Project a - compilation failed


Easy workaround for now is to do use subst to get rid of paths with spaces :


"subst t: "c:\Program Files (x86)\Elevate Web Builder 2"

and then when i run this again all is OK:

ewbcc.exe "F:\temp\my ewb apps\EWBCopyTest\a"
-lp"t:\library";"t:\interfaces"

Using project configuration file F:\temp\my ewb apps\EWBCopyTest\a
Compiling project a..
Success (0 hints, 0 warnings, 0 errors)
Emitted F:\temp\my ewb apps\EWBCopyTest\output\a.js (total size is
1016575 bytes
 - not compressed)
Emitted F:\temp\my ewb apps\EWBCopyTest\output\a.html (total size is
320561 byte
s - not compressed)
Project a - compiled successfully


Raul
Tue, Sep 22 2015 11:15 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Matthew,

Yep, the issue is the spaces.

Tim Young
Elevate Software
www.elevatesoft.com
Wed, Oct 14 2015 4:09 AMPermanent Link

Matthew Jones

Tim Young [Elevate Software] wrote:

> Yep, the issue is the spaces.

Just to confirm, command line compile back to good with 2.02. Thank you.

--

Matthew Jones
« Previous PagePage 2 of 2
Jump to Page:  1 2
Image