rake and rake debug not replacing swf

15 views
Skip to first unread message

Matthew Wallace

unread,
Jun 21, 2011, 3:48:55 PM6/21/11
to project...@googlegroups.com
I am having an issue where if I run rake or rake debug ... the swf that is in the bin folder doesn't get updated with the latest compiled swf. Any way to fix ?

--
Matthew Wallace
http://mattwallace.me
http://twitter.com/mswallace

Luke Bayes

unread,
Jun 21, 2011, 6:42:07 PM6/21/11
to project...@googlegroups.com
Hey Matthew,

The SWF should only be replaced when one of the source files that create it changes - this is by design.

If you want to ensure a new SWF is compiled, you can run the 'clean' task before any other tasks.

Also keep in mind that you can 'chain' rake tasks on the command line like:

    rake clean debug

Or for the 'default' task that's executed when you just run 'rake', you can run:

    rake clean default

If you find that the SWF isn't being recompiled after a source file is edited, please follow up here as that's a bug.


Thanks,

Luke

--
You received this message because you are subscribed to the Google Groups "ProjectSprouts" group.
To post to this group, send email to project...@googlegroups.com
To unsubscribe from this group, send email to projectsprout...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/projectsprouts?hl=en
 
For other info you can visit our project at: http://projectsprouts.org, or on Github at: http://github.com/lukebayes/project-sprouts

Matthew Wallace

unread,
Jun 22, 2011, 9:34:41 AM6/22/11
to project...@googlegroups.com
Thanks for getting back with me Luke. For now I will give the clean command a try. The issue that I am having is more of a bug I think. I am actually changing source files and the swf is not being replaced. 

Simon Gregory

unread,
Jun 22, 2011, 9:41:58 AM6/22/11
to project...@googlegroups.com
On Tuesday, 21 June 2011 at 23:42, Luke Bayes wrote:
> If you find that the SWF isn't being recompiled after a source file is edited, please follow up here as that's a bug.
I regularly see this behaviour, details are:

ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-darwin10.7.0]
rake 0.9.2
sprout 1.1.15.pre

Cheers,
Simon

Matthew Wallace

unread,
Jun 22, 2011, 11:52:12 AM6/22/11
to project...@googlegroups.com
I have the same setup as Simon....

BTW Simon, do you have a google group or anything for your Flex / Actionscript tmbundles ? I have some questions and thoughts. Going to start using it a lot more and know you develop new features when you can.

--
You received this message because you are subscribed to the Google Groups "ProjectSprouts" group.
To post to this group, send email to project...@googlegroups.com
To unsubscribe from this group, send email to projectsprout...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/projectsprouts?hl=en

For other info you can visit our project at: http://projectsprouts.org, or on Github at: http://github.com/lukebayes/project-sprouts

Paul Booth

unread,
Jun 22, 2011, 8:38:56 AM6/22/11
to project...@googlegroups.com
Hi,

I'm also finding that the SWF is not being recompiled when I run rake even when a source file has been edited. I'm having to use the clean task a lot.

Cheers,

Paul Booth.

Luke Bayes

unread,
Jun 27, 2011, 1:26:54 PM6/27/11
to project...@googlegroups.com
This is likely a bug - I'll dig in and see what I find.

In the meantime, can someone please send me the actual rake task you're using that reproduces this problem (no need to include sources)?

Thanks,

Luke

Tor Damian

unread,
Nov 8, 2012, 7:15:23 AM11/8/12
to project...@googlegroups.com
I'm having this issue too. I'm using sprouts on OSX 10.8.2 and swf's are not replaced unless I always run clean first. I have to run rake clean run for it to clear the existing swf or nothing gets updated, even when source files have changed.
Reply all
Reply to author
Forward
0 new messages