[flexcoders] Re: code out of sync with flash builder

2011-11-14 Thread Gary


--- In flexcoders@yahoogroups.com, Wouter Schreuders  wrote:
>
> Hi All
> 
> I'm continually running into this problem. When I debug my code flash
> builder intermittently show's me the previous build. It's super frustrating
> because you make a complex logic change to your code and then it doesn't
> work and you never know if it's that the code is wrong or flash builder
> just screwed up and is showing you the previous version.

This used to happen to me all the time, and it still does occasionally. I am on 
Mac Snow Leopard, and I use other editors on the same files, which Eclipse 
fails to realise. I remember looking into it and it seems to be a common 
Eclipse problem based on the fact that Eclipse has its own virtual filesystem 
eg. it can work on files that only exist in memory. It also does not use the OS 
file change notification (perhaps it does on Windows and not Mac - not sure).
I do know that it never happens with JetBrains IDEA.

To stop it I am constantly doing the following when I know files have changed 
outside Eclipse, and I need to build the latest :
1) Right click on the project and select Refresh
2) Select Project->Clean... from the menu

This does a complete build of everything from the latest source.

Cheers

Gary




[flexcoders] Re: code out of sync with flash builder

2011-11-10 Thread Hans Goeckel
My code only occasionally goes out of sync, and it's not clear why.  Switching 
projects sometimes fixes it, but not always.  I've also deleted the project and 
then imported the project from my XP where it is not out of sync, but that's 
not 100% either.  It acts like the cache used in incremental compilation gets 
screwed up.  Cleaning the project does not fix it.  If anyone knows how to 
clear that cache and force Flash Builder to start from scratch, please let us 
know.  As of this morning, to get the project out the door, I've switched back 
to my older system, and will come back to this later.

Re: RES: [flexcoders] Re: code out of sync with flash builder

2011-11-10 Thread Hans Goeckel
Just tried it and it worked.  Thanks

RES: [flexcoders] Re: code out of sync with flash builder

2011-11-09 Thread TGI
I had the same problem some time ago.

I remember that I erase some files and got things fixed. 

See if help:

 

cd c:\users\\Adobe Flash Builder 4.5

del *.cache /s

 

 

 

De: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] Em nome
de Wouter Schreuders
Enviada em: quarta-feira, 9 de novembro de 2011 05:30
Para: flexcoders@yahoogroups.com
Assunto: Re: [flexcoders] Re: code out of sync with flash builder

 

  

well I am running windows 7, but I sure as hell am not going back to XP :D

 

Did you have to go through this process every time you debug? or only when
encountering the problem and then it would solve it for a while?

On 8 November 2011 16:40, Hans Goeckel  wrote:

  

I've had a similar problem.  Flash Builder shows me the current source when
debugging, but when you try to step through it, it is obviously running a
previous version of the source.  What fixed it for me is to switch to
another project in the workspace, compile it, then return to the main
project, and recompile the modules that were screwing up.  Hope that fixes
it for you too.

 

Interestingly this problem seems to only occur on my new Windows 7 system
with the latest Java.  My older XP system would crash when running out of
Java heap space, but would never go out of sync. 

 



<><>

Re: [flexcoders] Re: code out of sync with flash builder

2011-11-09 Thread Wouter Schreuders
well I am running windows 7, but I sure as hell am not going back to XP :D

Did you have to go through this process every time you debug? or only when
encountering the problem and then it would solve it for a while?

On 8 November 2011 16:40, Hans Goeckel  wrote:

> **
>
>
> **
> I've had a similar problem.  Flash Builder shows me the current source
> when debugging, but when you try to step through it, it is obviously
> running a previous version of the source.  What fixed it for me is to
> switch to another project in the workspace, compile it, then return to the
> main project, and recompile the modules that were screwing up.  Hope that
> fixes it for you too.
>
> Interestingly this problem seems to only occur on my new Windows 7 system
> with the latest Java.  My older XP system would crash when running out of
> Java heap space, but would never go out of sync.
>
>  
>


Re: [flexcoders] Re: code out of sync with flash builder

2011-11-08 Thread Wouter Schreuders
Yeah... I'm aware of that setting. under
window>preferences>run/debug>launching>Continue launch if project contains
errors.

I've set that to prompt but it's not the cause of the problem.

I see there's another setting "Luanch operation" mine is set to "launch the
selected resource or active editor. If not launchable: launch the
associated project"
instead of "launch the previously launched application"

What is yours set to?

On 8 November 2011 16:28, valdhor  wrote:

> **
>
>
> Do you have the debug even if there are errors (Or whatever it is called)
> turned on?
>
> I have only seen this when there are errors in the code so a compile can't
> complete. In this case Flex will let you debug but use the previous
> compiled version.
>
>
> --- In flexcoders@yahoogroups.com, Wouter Schreuders 
> wrote:
> >
> > Has anyone at least run into this problem before? I've had it on three
> > different machines.
> >
> > On 3 November 2011 10:29, Wouter Schreuders  wrote:
> >
> > > Hi All
> > >
> > > I'm continually running into this problem. When I debug my code flash
> > > builder intermittently show's me the previous build. It's super
> frustrating
> > > because you make a complex logic change to your code and then it
> doesn't
> > > work and you never know if it's that the code is wrong or flash builder
> > > just screwed up and is showing you the previous version.
> > >
> > > Anyone else run into this and know of some concrete steps I can take to
> > > prevent it from happening? A friend of mine runs FDT and says he's also
> > > encountered it so I'm guessing it's an eclipse problem.
> > >
> > > Any help would be appreciated
> > >
> > > thanks
> > >
> > > Wouter
> > >
> > >
> > >
> >
>
>  
>


[flexcoders] Re: code out of sync with flash builder

2011-11-08 Thread Hans Goeckel
I've had a similar problem.  Flash Builder shows me the current source when 
debugging, but when you try to step through it, it is obviously running a 
previous version of the source.  What fixed it for me is to switch to another 
project in the workspace, compile it, then return to the main project, and 
recompile the modules that were screwing up.  Hope that fixes it for you too.

Interestingly this problem seems to only occur on my new Windows 7 system with 
the latest Java.  My older XP system would crash when running out of Java heap 
space, but would never go out of sync. 

[flexcoders] Re: code out of sync with flash builder

2011-11-08 Thread valdhor
Do you have the debug even if there are errors (Or whatever it is called) 
turned on?

I have only seen this when there are errors in the code so a compile can't 
complete. In this case Flex will let you debug but use the previous compiled 
version.

--- In flexcoders@yahoogroups.com, Wouter Schreuders  wrote:
>
> Has anyone at least run into this problem before? I've had it on three
> different machines.
> 
> On 3 November 2011 10:29, Wouter Schreuders  wrote:
> 
> > Hi All
> >
> > I'm continually running into this problem. When I debug my code flash
> > builder intermittently show's me the previous build. It's super frustrating
> > because you make a complex logic change to your code and then it doesn't
> > work and you never know if it's that the code is wrong or flash builder
> > just screwed up and is showing you the previous version.
> >
> > Anyone else run into this and know of some concrete steps I can take to
> > prevent it from happening? A friend of mine runs FDT and says he's also
> > encountered it so I'm guessing it's an eclipse problem.
> >
> > Any help would be appreciated
> >
> > thanks
> >
> > Wouter
> >
> >
> >
>




[flexcoders] Re: code out of sync with flash builder

2011-11-07 Thread Wouter Schreuders
Has anyone at least run into this problem before? I've had it on three
different machines.

On 3 November 2011 10:29, Wouter Schreuders  wrote:

> Hi All
>
> I'm continually running into this problem. When I debug my code flash
> builder intermittently show's me the previous build. It's super frustrating
> because you make a complex logic change to your code and then it doesn't
> work and you never know if it's that the code is wrong or flash builder
> just screwed up and is showing you the previous version.
>
> Anyone else run into this and know of some concrete steps I can take to
> prevent it from happening? A friend of mine runs FDT and says he's also
> encountered it so I'm guessing it's an eclipse problem.
>
> Any help would be appreciated
>
> thanks
>
> Wouter
>
>
>