Stop Coding!

The Unofficial Flex Compiler Blog

HFCD 3/4 Installers for Mac OS X, Windows and Linux Now Available

with 14 comments

I want to get this out before the US Thanksgiving long weekend. After offering only Mac installer for a month, the HFCD 3/4 Windows and Linux installers are also available. As usual, you can download HFCD here:

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

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

Before this HFCD update, you were required to register in order to download. Now the registration is optional. Yipee!

The trial period is now extended to February, 2010. It is longer than the usual 1-month trial period because it sounds like a bad idea for the trial period to end right after the New Year celebration…

I will likely have a couple more updates in the next two months… I was asked about fcsh and ant support, so I really want to look into it.

About these ads

Written by Clement Wong

November 25, 2009 at 5:02 pm

14 Responses

Subscribe to comments with RSS.

  1. There is now an option for HFCD to not disable ‘Build Automatically’ on startup. The HFCD default is to disable it.

    Clement Wong

    November 25, 2009 at 5:11 pm

  2. I’m having issues intalling onto eclipse 3.4.1
    Problem running post-install setp. Installation may not complete correctly
    Error running java -jar
    c:\eclipse/plugins/org.eclipse.equinox.laundher_1.0.1.R33x_v20070828.jar
    -application org.eclipse.update.core.standaloneUpdate -command install -from http://stopcoding.org/hfcd/3/download -featureId hellfire.compiler.feature -version 3.4.1.10084: Unable to access jarfile c:\eclipse/plugins/org.eclipse.equinox.laundher_1.0.1.R33x_v2007828.jar

    i don’t actually have r33, instead i have
    org.eclipse.equinox.launcher_1.0.101.R34x_v20080819.jar
    could this be the issue?

    Tried this on 2 boxes

    thanks

    codecollective

    December 1, 2009 at 10:25 am

    • The post install step here tries to install the HFCD eclipse plugin. If this step fails, you can manually install the plugin in Eclipse – simply use the http://stopcoding.org/hfcd/3/download URL in Eclipse. Another solution is: (a) run the HFCD uninstaller. (b) make a copy of the R34 equinox launcher and rename the copy to the R33 name. (c) run the HFCD installer again. (d) delete the R33 jar.

      Clement Wong

      December 1, 2009 at 12:24 pm

      • Hi,
        I already tried the manual install, same issue
        I also tried to just rename my R34 jar to r33 and it had the same issue, i’ll try again

        codecollective

        December 2, 2009 at 11:57 am

      • Hi Chris,

        How did you do the manual install? Using the java command-line call is an option but I would not do that. I would use Eclipse’s GUI-based Update Manager. If you indeed used Eclipse to install, maybe you can check the following:

        1. make sure that the plugin is uninstalled. (disabled is not enough)
        2. make sure that the plugin files are not in the Eclipse/features and Eclipse/plugins directories.

        Clement Wong

        December 2, 2009 at 1:04 pm

      • Hey,
        thanks for the help. using the eclipse installer worked perfectly. Now i’m trying to get my project to show up. I have the server running, and i closed/reopened my projects (selecting them all and closing/reopening seemed to not work, but doing it one at a time did). I get FILE_CHANGED / DIR_ADDED msgs in the console but it doesn’t seem to build.

        HFCD View is empty (even after clean/build)
        HFCD FileSet has my local connection
        127.0.0.1:50208
        hellfire.admin.client.AdminClient(4132690)

        so it connects to the admin port but nothing will kick off the compile. any ideas ?

        codecollective

        December 2, 2009 at 4:23 pm

      • Also was wondering if there’s future plans for a completely distributed compile, like distcc? That would be very exciting

        codecollective

        December 2, 2009 at 6:37 pm

      • I agree. It would be very exciting. In fact, when I was with Macromedia/Adobe, I used a commercial solution called IncrediBuild quite a lot for building the Flash Player. The speed improvement was amazing.

        However, the situations are quite different for C/C++ and AS3… I would not get into the details here (‘cos that’s like calling for an asc surgery!), but in our case, the goal is to have more smaller and independent SWCs and modules instead of a couple of huge SWC and a huge main app.

        Something like distcc (by using a network of machines) is not going to happen in the near future. But allowing for HFCD to collaborate in a master-slave HFCD scenario is very doable.

        Clement Wong

        December 4, 2009 at 4:23 am

      • Hi Chris,

        You should see something in the HFCD terminal window that indicates they are connected. I would restart both FB and HFCD. One thing to look at is the timstamps of mxmlc.jar and flex-compiler-oem.jar. If their timestamps are different from the other jar files, that means the SDK configuration was successful.

        If still no luck, please email me your Eclipse console output, HFCD terminal window output and FB/Eclipse log file.

        -C

        Clement Wong

        December 4, 2009 at 3:44 am

  3. Hi Clement

    Firslty – nice work. This project looks very promising and I am very interested in how it develops.

    I have a problem (that may well be a local environment issue, but am not sure) whereby I see a lot of java.io.FileOutputStream errors tio swf files when the compiler is running. Sometimes the compiler works, other times it works but the resulting SWF launch by Flash Builder does not load. I am building a few modules as well as the main application, but the errors to the swfs are “random”.

    I have the HFCD on a Win2003 server and I am connecting over a 1000Mbit connection from my Mac Flash Builder (Beta 2)

    I am using HFCD with SDK 3.4.1

    Any thoughts?

    Thanks very much

    Owen Batt

    December 3, 2009 at 8:28 pm

    • Do you have the full stacktraces of those java.io.FileOutputStream errors? Could you please email the stacktraces to me? I want to start with the stacktraces and may ask you for other log files, test cases and steps to reproduce.

      email: hfcd@stopcoding.org

      Clement Wong

      December 4, 2009 at 4:30 am

  4. I really want this to work, it seems like a brilliant idea. But it’s just not quite ready for prime time yet. The installer didn’t install the plugin, I had to manually do it via eclipse software updates. Then I had to manually launch the server, that wasn’t mentioned. Then I had to manually add the HFCD sdk to flex builder. Then it took a couple cycles of close/open/clean/build to get everything to compile without error. Then I just tried changing one file and recompiling, and it hung. So I restarted eclipse…now I’m getting bizarre errors like “1176: Comparison between a value with static type int and a possibly unrelated type int.”, on lines of code that previously compiled without problem. That line contains:
    if(data.password.length <= 0){
    Comparing two numbers…not sure why it's erroring out. A couple more errors similar but with String or Object instead of int.

    Hopefully you can get all the kinks ironed out to where it's simply plug & play. Faster compiling is always nice, but at this point I think all the savings are being eaten up by me trying to get it to work in the first place :P

    David R

    December 21, 2009 at 11:28 pm

    • Thanks for your feedback. I’ve been fixing issues and improving usability of HFCD in the past couple of months and just released another update. There are still more work to do but I think I need to push some of the critical fixes out asap.

      Sorry for not having enough documentation about the limitation of the installers. They were implemented for FB standalone. Today’s update cover both FB standalone and FB plugin (on Eclipse 3.3, 3.4 and 3.5).

      Frankly, I did occasionally see the issues you described in the October builds but not in the recent builds. Perhaps it’s fixed but without the steps to reproduce, I can only hope that the recent build fixes your issues. Feel free to give the recent build a spin.

      Clement Wong

      December 22, 2009 at 4:19 am

  5. Thanks for the new installer so quickly, that makes everything set up smoothly. I’m still getting an occasional error, but doing a clean rebuild then builds fine. Most of the time it works well now, and it feels noticeably faster than before (Probably because I had ‘Build Automatically’ disabled in FB since it caused problems for me, and HFCD basically builds every time you save a file).

    Example error (class names changed to protect the innocent):

    1067: Implicit coercion of a value of type com.x.y.z:XYZData to an unrelated type com.x.y.z:XYZData.

    One suggestion, if you try to build and HFCD server is not running, pop up a box prompting you to start it, and clicking ‘OK’ will automatically launch hfcd.exe on your local machine, without having to go find the exe yourself.

    David R

    December 22, 2009 at 7:07 pm


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

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: