Are you stopping/starting Tomcat each time you deploy a new SWF?  I could be 
mistaken, but I think Tomcat caches files on its side as well and either 
clearing that cache or stopping/starting Tomcat is the only way for it to pull 
the new SWF from your deployment folder/WAR.  Though one would think that it 
would update the cache based on the file size or file date change.

Thanks,

Justin Nichols


On Apr 7, 2010, at 5:49 PM, Dale Bronk wrote:

> Got it working again…  This is nuts.
> 1.       Reinstalled my tomcat server to a different folder.
> 2.       Deleted my projects from eclipse, including files on server.
> 3.       Re-checked out projects from svn.
> 4.       Cleared browser cache.
> 5.       Clean build and deploy to tomcat.
> 6.       Started tomcat.
>  
> Now it works.  Who knows what step (or combination of steps) solved the 
> issue.  Hopefully FB4 is a much nicer plugin.
>  
> Thanks for all your suggestions.
>  
> Dale
>  
> From: [email protected] [mailto:[email protected]] On Behalf Of Scott Talsma
> Sent: Wednesday, April 07, 2010 5:33 PM
> To: [email protected]
> Subject: Re: [AFFUG Discuss] When a breakpoint is not a breakpoint and code 
> is not code
>  
> I've seen this behavior quite a bit.  Usually it is due to one of two things:
>  
> 1) I'm using Safari, which constantly caches all my swfs; even though there 
> is a new swf available, it pulls one from cache
>  
> 2) I've set my bin-debug destination to somewhere other than where my 
> web-browser is pulling; I can delete those files all day long; they 
> web-server is actually looking at a completely other directory.  (This 
> happened when my moved my web servers Document folder elsewhere; eclipse 
> happily published to the old directory, despite my having deleted it.)
>  
> On Wed, Apr 7, 2010 at 5:19 PM, Dale Bronk <[email protected]> wrote:
> Never had that dueling breakpoints before.  Yes, I've saved and clean built
> the projects many times as well as bounce eclipse many times.  I've even
> rebooted once.  Clean browser cache and manually removed all the built
> classes.
> 
> I've gone into the breakpoints view and removed all from there and then
> repeated with clean builds and bouncing eclipse.
> 
> It is just stuck and no matter what new code I place in the class the new
> code does not run and my breakpoints are not correct.
> 
> Dale
> 
> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On Behalf Of Cameron
> Childress
> Sent: Wednesday, April 07, 2010 4:49 PM
> To: [email protected]
> Subject: Re: [AFFUG Discuss] When a breakpoint is not a breakpoint and code
> is not code
> 
> I have things like this occasionally happen if I try to set a
> breakpoint on code I have recently added, but only if I attempt to add
> the breakpoint before I save the file.
> 
> I've also occasionally run into a situation where somehow I get two
> breakpoints on top of each other on the same line.  Clicking turns the
> top one on and off and the bottom one can't be killed.
> 
> Have you tried doing a clean on the project?  I would also review the
> breakpoints view to make sure there isn't anything funny going on
> there.
> 
> -Cameron
> 
> On Wed, Apr 7, 2010 at 4:19 PM, Dale Bronk <[email protected]> wrote:
> > I'm pulling my hair out on this one.
> >
> > I have auto build turned on.
> >
> > I try and set a breakpoint on say line 128 which is a valid line of code,
> > but the break point shows up on line 133 which isn't a valid line of code.
> > This has happened to me many, many, many times in the past (only on flex
> > project though) and normally I just have to shut down any running servers,
> > manually delete the files in the bin-debug, and do a clean build.  Then
> > bring up the server and everything is fine.  But this time no matter what
> I
> > try it will not work.  The source is clearly out of sync with the compiled
> > code.
> >
> > Along with that, I can add code, say a trace statement, to the class.
> > Compile and debug and that line of code is never hit.  This again points
> me
> > to there is an out of sync between source and what is running.
> >
> > I shut down eclipse and reopened it.  Now my breakpoint will stay on line
> > 128 but when I debug the app and that class runs, the breakpoint magically
> > jumps to line 148.  When I walk the code it stops on blank lines,
> comments,
> > etc.
> >
> > Anyone have any advice.  This happens to us all the time, but normally it
> is
> > not this difficult to get back in sync.  In googling, this issue goes back
> > to Flex 2 which upsets me more that Adobe has not fixed this issue.  I've
> > also tried clearing browser cache just in case it was pulling a cached
> swf.
> >
> > Dale
> 
> 
> -------------------------------------------------------------
> To unsubscribe from this list, simply email the list with unsubscribe in the
> subject line
> 
> For more info, see http://www.affug.com
> Archive @ http://www.mail-archive.com/discussion%40affug.com/
> List hosted by http://www.fusionlink.com
> -------------------------------------------------------------
> 
> 
> 
> 
> 
> -------------------------------------------------------------
> To unsubscribe from this list, simply email the list with unsubscribe in the 
> subject line
> 
> For more info, see http://www.affug.com
> Archive @ http://www.mail-archive.com/discussion%40affug.com/
> List hosted by http://www.fusionlink.com
> -------------------------------------------------------------
> 
> 
> 
> 
> 
> -- 
> Scott Talsma
> CTO, echoEleven
> 
> ------------------------------------------------------------- 
> To unsubscribe from this list, simply email the list with unsubscribe in the 
> subject line 
> 
> For more info, see http://www.affug.com 
> Archive @ http://www.mail-archive.com/discussion%40affug.com/ 
> List hosted by FusionLink 
> -------------------------------------------------------------

Reply via email to