Stop Coding!

The Unofficial Flex Compiler Blog

HFCD Weekly Update… Added Command-line Options

with one comment

It’s been a busy week. Many thanks to those who downloaded and tested last week and this week’s builds.

The fixes are mostly related to making HFCD more plug-n-play. But the main attraction this time is the newly-added command-line options. You can now configure HFCD when you launch it from the command line:

  1. -compiler-port HFCD compiler port number. The default value is 50207.
  2. -admin-port HFCD admin port number. The default value is 50208.
  3. -concurrency Tells HFCD the maximum number of concurrent builds allowed. The default is the number of processors available to JVM. You don’t set this greater than the number of available processors because that won’t help the build performance. You set this number smaller than the number of available processors so that you can leave some processors to do something else.
  4. -background-build-delay Tells HFCD to delay launching of background builds by this value after the last file transfer/update. The default value is 500 (milliseconds).
  5. -autosave-heap-ratio Tell HFCD to start saving build data to disk once the heap usage reaches this ratio. The default value is 0.2.
  6. -autosave-interval Tell HFCD to check VM heap usage at this time interval. The default value is 5000 (milliseconds).
  7. -file-dir Tells HFCD where to save the source/asset/library/config files transferred from Flex Builder. The default value is user.home/.hfcd/files.
  8. -cache-dir Tells HFCD where to save build data. The default value is user.home/.hfcd/caches.
  9. -help display the HFCD usage.

HFCD 3: http://stopcoding.org/hfcd/3/download

HFCD 4: http://stopcoding.org/hfcd/4/download

Happy Coding!

Advertisements

Written by Clement Wong

February 5, 2010 at 2:32 pm

One Response

Subscribe to comments with RSS.

  1. I have not started using HF yet but I have been following it for a while, glad to see you are actively working on it. Thanks!

    Tangent

    February 6, 2010 at 1:15 am


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: