Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 9 of 9 total
Thread New compilation refused
Fri, Oct 11 2013 4:59 PMPermanent Link

E.B

Hi,

I'm working on a project and everything was working fine but now
I can not obtain a compilation of the new version of my project.
I can put new components of my Form but when I compile they are
not took into account and I see an old run version of the project.

What can I do ?
Fri, Oct 11 2013 6:19 PMPermanent Link

Walter Matte

Tactical Business Corporation


In the project Options see the Compilation Tab and find out where the Output Path is...check that the html and js files are being created there...

If the messages window is open (bottom of IDE) you should see the "Emitted"... files and location...

Check the new controls haven't been marked invisible.

Walter
Sat, Oct 12 2013 4:22 AMPermanent Link

E.B

Ok. I went into the folder where .Html is created, destroyed it, and ask for a new compilation. The .html was recreated exactly the same.

EWB generate a run file that is *not* the one that is displayed on my screen.
EWB is compiling an old version of the project instead of what is displayed in its IDE.

Visibility of new controls is set to "TRUE", it is what I checked at first.

I'll try uninstall and re-install EWB ...







Walter Matte wrote:


In the project Options see the Compilation Tab and find out where the Output Path is...check that the html and js files are being created there...

If the messages window is open (bottom of IDE) you should see the "Emitted"... files and location...

Check the new controls haven't been marked invisible.

Walter
Sat, Oct 12 2013 9:00 AMPermanent Link

Raul

Team Elevate Team Elevate

Couple of other suggestions:

1. Do you have right project open ?
If in EWB you open a project1 and then open just a form/unit file from
project2 and work on it it will still only compile and run Project1
(since that's the project that is open), Make sure your project manager
window shows the correct project and unit(s).

2. if project is correct then are you certain you're working on the same
form that EWB is displaying ? (do you have more than similar looking
form is the one you're working on set as the main one - in project ->
option under "main form" setting? EWB will always load the main project
form (not necessarily one you're working on).


Raul


On 10/12/2013 4:22 AM, E.B wrote:
> Ok. I went into the folder where .Html is created, destroyed it, and ask for a new compilation. The .html was recreated exactly the same.
>
> EWB generate a run file that is *not* the one that is displayed on my screen.
> EWB is compiling an old version of the project instead of what is displayed in its IDE.
>
> Visibility of new controls is set to "TRUE", it is what I checked at first.
>
> I'll try uninstall and re-install EWB ...
>
Sun, Oct 13 2013 1:41 PMPermanent Link

E.B

Thanck  you Raul, Finally I decided to create a new project and copy code.
I do not have really understand what happened and your suggestions maybe right.

Next time it happens I will seriously check things, but now I don't have time for that and hope
it will never reappear.




Raul wrote:

Couple of other suggestions:

1. Do you have right project open ?
If in EWB you open a project1 and then open just a form/unit file from
project2 and work on it it will still only compile and run Project1
(since that's the project that is open), Make sure your project manager
window shows the correct project and unit(s).

2. if project is correct then are you certain you're working on the same
form that EWB is displaying ? (do you have more than similar looking
form is the one you're working on set as the main one - in project ->
option under "main form" setting? EWB will always load the main project
form (not necessarily one you're working on).


Raul


On 10/12/2013 4:22 AM, E.B wrote:
> Ok. I went into the folder where .Html is created, destroyed it, and ask for a new compilation. The .html was recreated exactly the same.
>
> EWB generate a run file that is *not* the one that is displayed on my screen.
> EWB is compiling an old version of the project instead of what is displayed in its IDE.
>
> Visibility of new controls is set to "TRUE", it is what I checked at first.
>
> I'll try uninstall and re-install EWB ...
>
Mon, Oct 14 2013 4:08 AMPermanent Link

E.B

Well ... The evil has returned ...

My project : One unit, one form.

Timage control named IMAGE2 had an image wich was correctly taken into account and dispayed at run by EWB. Ok.

I changed the image by changing the property "ImageName" loading an other image.
This new image is correctly dispayed in EWB, at design (I see the right image in EWS IDE). But the image displayed at run is the *old* image !

I tried many things :

- Destroying emitted .html and re-compile.
- Using the "clear" option in the image load windows ImageName property.
- Re-run EWB.

*Where* does EWB keeps a copy of that old image ?
*Why* do the "run-image" is different from the "design-image" for the same image control ?

Next thing I'll try : Deleting the image control, put an other one, and load the new image into it.









 
Mon, Oct 14 2013 8:09 AMPermanent Link

Matthew Jones

> But the image displayed at run is the *old* image !

It is likely that the name didn't change, and the browser may be caching the image.
Clear your browser cache, or force a reload (holding Ctrl-Alt-Shift when clicking
refresh usually works for me).

/Matthew Jones/
Mon, Oct 14 2013 11:17 AMPermanent Link

E.B

Ok Matthew you're right ... THANCK YOU !
The problem for me is that I've been programming whith Delphi for years and I don't always thinck EWB's not delphi ... I was aware of the caching problem with browsers and the question "How one can force a browser to reload a file" that raise for those who do web programming. But I didn't remember EWB can be concerned by that, as delphi isn't ...




(Matthew Jones) wrote:

> But the image displayed at run is the *old* image !

It is likely that the name didn't change, and the browser may be caching the image.
Clear your browser cache, or force a reload (holding Ctrl-Alt-Shift when clicking
refresh usually works for me).

/Matthew Jones/
Wed, Oct 16 2013 3:31 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

E.B.,

<< I'm working on a project and everything was working fine but now I can
not obtain a compilation of the new version of my project. I can put new
components of my Form but when I compile they are not took into account and
I see an old run version of the project. >>

This normally happens when you are running against a web server *other than*
the Local Web Server in the IDE, but you *don't* have the Deploy on Run
option turned on in your project.  So, what ends up happening is that you
keep running the old version of the project instead of the newly-compiled
version.

You can find the web server option in the main tool bar:

http://www.elevatesoft.com/manual?action=viewtopic&id=ewb1&topic=Main_Menu_Toolbar

and the Deployment options in the Project Options:

http://www.elevatesoft.com/manual?action=viewtopic&id=ewb1&topic=Project_Options

Tim Young
Elevate Software
www.elevatesoft.com
Image