Archive for March, 2009

Setting PATH with spaces in it

So the typical unix approach for dealing with spaces in a path is to double quote the path:

EG: /dir1/dir2/”dir with spaces in it”/dir3

The second approach is to use the escape character ‘\’

EG: /dir1/dir2/dir\ with\ spaces\ in\ it/dir3

But, on a mac you need to use both approaches for the PATH to be set correctly.

EG: /dir1/dir2/”dir\ with\ spaces\ in\ it”/dir3

Post to Twitter Tweet This Post

No Comments

Configuring Eclipse/Flex for Building Resource Bundles

o Determine which sdk FB is using by looking through the compiler in properties
o Go to the root of the sdk
o Note: if you have dataviz, you’d need to copy fbpro from older rev to new rev
o Go into fbpro/projects you’ll see three folders, copy all three
• Copy them to sdk/frameworks/projects
o Go into the datavisualization folder you just dropped
• /bundles/en_US and create a folder called src
• copy the three .properties files from /bundles/en_US into src to source folder you just created
o Then run copylocale

-resource-bundle-list=resources.txt

bundles = containers core effects skins styles

mxmlc -locale=fr_FR,en_US -source-path=locale/{locale} -include-resource-bundles=containers,core,effects,skins,styles,charts,datamanagement -output fr_FR_ResourcMod.swf

Post to Twitter Tweet This Post

No Comments