You will recieve your password to this address. Address is not made public.

Your preferred username that is used when logging in.

Editing BuiltInConfig.as does not cause a recompile Created Nov 4, 2009

This thread is solved

Views: 1748     Replies: 5     Last reply Nov 23, 2009  
You must login first before you can use this feature

jjinux
In this life we cannot do great things. We can only do small things with great love. -- Mother Teresa http://jjinux.blogspot.com/

Posts: 23

Registered:
Oct 29, 2009

Editing BuiltInConfig.as does not cause a recompile

Posted: Nov 4, 2009

  1. Compile flowplayer.core.
  2. Edit BuiltInConfig.as in a way that makes it syntactically invalid.
  3. Run "ant" to compile flowplayer.core again.

The compile completes successfully. It should fail. For some reason, ant isn't recognizing that BuiltInConfig.as has changed. If I "touch src/actionscript/org/flowplayer/controller/BufferingState.as", ant does recompile everything. I think somehow it'd be good to tell the build file that stuff depends on BuildInConfig.as.

dherbst

Posts: 75

Registered:
Apr 20, 2009

» Editing BuiltInConfig.as does not cause a recompile

Posted: Nov 5, 2009

Reply to: Editing BuiltInConfig.as does not cause a recompile, from jjinux
Is this only when you build-biz?

Take a look at the check-uptodate target, and you'll see the src-as-builtin section needs to be added to the uptodate.commercial stanza.

jjinux
In this life we cannot do great things. We can only do small things with great love. -- Mother Teresa http://jjinux.blogspot.com/

Posts: 23

Registered:
Oct 29, 2009

Yes, just build-biz

Posted: Nov 17, 2009

Reply to: » Editing BuiltInConfig.as does not cause a recompile, from dherbst
> Is this only when you build-biz?

Yes, I think you're right. If I do a one letter change, it'll recompile with "build" but not "build-biz".

> Take a look at the check-uptodate target, and you'll see the src-as-builtin section needs to be added to the uptodate.commercial stanza.

I'm looking, but I don't see what you mean.

Thanks!

jjinux
In this life we cannot do great things. We can only do small things with great love. -- Mother Teresa http://jjinux.blogspot.com/

Posts: 23

Registered:
Oct 29, 2009

Yes, just build-biz

Posted: Nov 17, 2009

Reply to: » Editing BuiltInConfig.as does not cause a recompile, from dherbst
> Is this only when you build-biz?

Yes, I think you're right. If I do a one letter change, it'll recompile with "build" but not "build-biz".

> Take a look at the check-uptodate target, and you'll see the src-as-builtin section needs to be added to the uptodate.commercial stanza.

I'm looking, but I don't see what you mean.

Thanks!

dherbst

Posts: 75

Registered:
Apr 20, 2009

» Yes, just build-biz

Posted: Nov 20, 2009

Reply to: Yes, just build-biz, from jjinux
Open the build.xml file in flowplayer.core, go to line 251 (or around there) there is the following:


<uptodate property="uptodate.commercial" ...>
   <srcfiles dir="${src-as}">
     <include name="**/*.as"/>
   </srcfiles>
 You need to add:
   <srcfiles dir="${src-as-builtin}">
      <include name="**/*.as">
   </srcfiles>
...
</uptodate>

You need to add this because the BuiltInConfig.as is in a different folder than the rest of the source files, and they forgot to add it in the uptodate.commercial property.

jjinux
In this life we cannot do great things. We can only do small things with great love. -- Mother Teresa http://jjinux.blogspot.com/

Posts: 23

Registered:
Oct 29, 2009

Yep, thanks!

Posted: Nov 23, 2009

Reply to: » Yes, just build-biz, from dherbst
Yep, that appears to do the trick. Thanks!

(By the way, the "<include" tag should have a "/>" at the end.)