|
I see. I took that dialog to mean similar to Visual
Studio's, which is basically "I failed to build because your code is broken.
Should I launch the last version?". I guess it's so you can get into your app as
it was last built if you need to see something, but you've screwed the code up.
It's not building from old files, it's just launching the last build (since it
failed to overwrite the old one with the new one, because of the
errors).
If you see that error, you should pretty much
always click No, and check the problems :-)
From:
[email protected] [mailto:[EMAIL PROTECTED] On Behalf Of
Phil Marston Sent: 19 June 2006 16:54 To:
[email protected] Subject: Re: [flexcoders] How to recover
from 'cleaning' project?
Yeah it does halt . . . and a dialog pops up saying "Errors exist in
required project(s):projName. Continue launch? [Yes][No]" I didn't take
from that that it would build the project from old resources - to me it's not
continuing the launch <em>I</em> initiated, but fetching up some old
stuff and why would I want that?!
Boils down to semantics I guess . . .
.
:-/
Daniel Tuppeny wrote:
> it's like it's got a cached version of your last error free source file
that it uses to compile from
Sounds like the Clean stuff is working fine, but if
you're hitting Run with build errors and it's opening up an old version and
pretending everything is ok, I'd be a little worried!
Every time I hit the Run button, it compiles, and halts
if there are errors. Do you not get the same?
Yeah the html-templates folder is untouched -
what I'm beginning to discover is that if there are any errors in your code
when you clean, then the project wont recompile - kind of obvious
really! Trouble was that I thought is was compiling despite there being
errors prior to cleaning - I'm now realising that it was compiling using a
previous version even if you make some alterations to your source file and
save, but still have errors - it's like it's got a cached version of your last
error free source file that it uses to compile from.
Maybe this is
normal experience for developers using Flex, but it's not totally obvious
caught me out through the "cleaning" process! doh!
:-/
Daniel
Tuppeny wrote:
I'm sure that's the corect behaviour. Mine also
completely wipes the bin folder. The HTML files get copied back from the
html-template folder when I next build. If I delete that folder, then I get
compile errors and the rebuild option. You shouldn't get compile errors with
an empty bin folder, so sounds like a problem with compiling, rather than
the Clean option.
I'm guessing there are still files in your
html-templates folder?
Thanks Daniel,
but there must be a
difference in behavior between your FlexBuilder and mine because thats where
the problem lays for me. When I selected Project -> Clean... it
cleared everything out of the project bin including the html files the debug
files and everything! The damn thing wont recompile or rebuild - I get
no "regenerate html" option and there is no message in the Problems pane -
it just bombs with a "Launch Failed" modal dialog saying "File not found
{the path to /bin/project.html here}"
I've been trying to create a
whole new project from scratch with different name, but the whole IDE seems
to've given up on running the code for this project . . . .
<curses-under-breath/>
Phil
Daniel Tuppeny wrote:
I may not have understood properly, but when I did a
similar thing, it told me to right-click on the message in the Problems
pane, anc hoose the "regenerate html" option!
Also, there's a Project -> Clean option which
clears out the compiled stuff without deleting the html templates
:-)
Oh yeah,
You could also just copy in
the swf's and html from another project rename them and
recompile.
I have found this method is not so 'stable' but most of
the time works.
Peace, Mike
On 6/15/06, Michael
Schmalle <[EMAIL PROTECTED]>
wrote:
Hi,
This is what I do,
Rename your project, oldProj
or something.
Create a new project with the same name as your
old one. If I were you with this still in beta, rebuild your project if
not to complicated. In the new project, you then have new swf's and
.html files.
You also could copy the files back into the old and
rename it back.
But, when something like that happens to me, I am
more than willing to just start from scratch with a new project with the
same name.
It only takes me about 1-2 minutes to rename, move and
delete stuff and it's back up and running.
If anybody knows a
better way, I am all ears.
Peace, Mike
On 6/15/06, Phil
Marston <
[EMAIL PROTECTED]> wrote:
Hi all,
Making a mess here! For some reason Flex Builder
didn't seem to be incorporating changes I'd made to source files,
so I figured there was some sort of caching issue (I don't really
know how Eclipse works) so I figured if I clear out all the
compiled stuff and get FB to build from scratch that'd do it ...
big mistake it's now refusing to build apparently because the html
file to display the swf in is missing - my projects bin directory
is empty!
What do I have to do?
:'(
--
__________________________________________________________
Phil Marston Learning Technologist Learning Technology Unit
Edward Wright G33, University of Aberdeen, Aberdeen, AB24 3QY,
UK [EMAIL PROTECTED] Tel: +44(0)1224 273329 /
+44(0)7798 723660 http://www.abdn.ac.uk/diss/ltu/pmarston/ http://www.abdn.ac.uk/diss/ltu/ __________________________________________________________
The
University of Aberdeen Open Day 29th August 2006 Booking is
essential www.abdn.ac.uk/openday email [EMAIL PROTECTED] or call 0800 027
1495
-- What goes up, does come down.
-- What goes up,
does come down. [Inbound
Mail Scanned by
MessageLabs]
______________________________________________________________________ This
email has been scanned by the MessageLabs Email Security System. For
more information please visit http://www.messagelabs.com/email
______________________________________________________________________
--
______________________________________________________________
Phil Marston
Learning Technologist
Learning Technology Unit
Edward Wright G33, University of Aberdeen, Aberdeen, AB24 3QY, UK
[EMAIL PROTECTED] Tel: +44(0)1224 273329 / +44(0)7798 723660
http://www.abdn.ac.uk/diss/ltu/pmarston/
http://www.abdn.ac.uk/diss/ltu/
______________________________________________________________
The University of Aberdeen Open Day 29th August 2006
Booking is essential
www.abdn.ac.uk/openday
email [EMAIL PROTECTED]
or call 0800 027 1495
[Inbound Mail
Scanned by
MessageLabs]
______________________________________________________________________ This
email has been scanned by the MessageLabs Email Security System. For more
information please visit http://www.messagelabs.com/email
______________________________________________________________________
--
______________________________________________________________
Phil Marston
Learning Technologist
Learning Technology Unit
Edward Wright G33, University of Aberdeen, Aberdeen, AB24 3QY, UK
[EMAIL PROTECTED] Tel: +44(0)1224 273329 / +44(0)7798 723660
http://www.abdn.ac.uk/diss/ltu/pmarston/
http://www.abdn.ac.uk/diss/ltu/
______________________________________________________________
The University of Aberdeen Open Day 29th August 2006
Booking is essential
www.abdn.ac.uk/openday
email [EMAIL PROTECTED]
or call 0800 027 1495
[Inbound Mail Scanned
by
MessageLabs]
______________________________________________________________________ This
email has been scanned by the MessageLabs Email Security System. For more
information please visit http://www.messagelabs.com/email
______________________________________________________________________
--
______________________________________________________________
Phil Marston
Learning Technologist
Learning Technology Unit
Edward Wright G33, University of Aberdeen, Aberdeen, AB24 3QY, UK
[EMAIL PROTECTED] Tel: +44(0)1224 273329 / +44(0)7798 723660
http://www.abdn.ac.uk/diss/ltu/pmarston/
http://www.abdn.ac.uk/diss/ltu/
______________________________________________________________
The University of Aberdeen Open Day 29th August 2006
Booking is essential
www.abdn.ac.uk/openday
email [EMAIL PROTECTED]
or call 0800 027 1495
[Inbound Mail Scanned by
MessageLabs]
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
__._,_.___
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
YAHOO! GROUPS LINKS
__,_._,___
|