flex - How does Flash Builder determine which sdk libraries to include? -


when creating new project in flash builder, how determine sdk libraries include in build path?

if create new plain actionscript project , select flex 4.1 following libraries show in build path:

  • playerglobal
  • textlayout
  • osmf
  • flash-integration
  • flex
  • utilities

if go , switch flex 3.5 includes:

  • playerglobal
  • flex
  • utilities

if make new flex web project , select flex 3.5 includes:

  • playerglobal
  • framework
  • automation
  • automation_agent
  • automation_dmv
  • automation_flashflexkit
  • datavisualization
  • qtp
  • rpc
  • utilities

are these values hardcoded in flash builder or somehow reading them sdk config files? looked through xml config files flex-config.xml , air-config.xml , doesn't information exists anywhere.

thanks.

yes, it's built framework swc's. can find references , they're linked in under /frameworks/build.xml file in framework directory.

so edit build file, rebuild swcs , use , they'll link how like.

for example, (from flex 4.5.1 build file) :

  <target name="authoringsupport" description="builds authoringsupport.swc"> <compc static-link-runtime-shared-libraries="true" fork="true" output="${basedir}/libs/authoringsupport.swc" include-classes="authoringsupportclasses" locale="" accessible="true">   <source-path path-element="${authoringsupport.dir}/src"/>   <library-path dir="${authoringsupport.dir}/libs"><include name="flexcontentholderthumbnail.swc"/></library-path>   <external-library-path dir="${basedir}/libs">       <include name="player/${playerglobal.version}/playerglobal.swc"/>       <include name="framework.swc"/><include name="mx/mx.swc"/>       <include name="flash-integration.swc"/>       <include name="textlayout.swc"/>   </external-library-path>   <jvmarg line="${compc.jvm.args}"/> </compc> 

so not technically hardcoded flash builder, in swc's sdk. (but can change noted above). :d


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -