Home Bug Reports

Flash Builder Plugin build fails

golgobotgolgobot Member Jonathan RossOrganization: Jibo, IncProject: Robotics netoworking
Running Flash Builder 4.7

When the slice2as plugin tries to build Flash Builder throws this error
Errors occurred during the build.
Errors running builder 'Slice2as Builder' on project 'MyProject'.
internal error reading the generated output list
Content is not allowed in prolog.
internal error reading the generated output list
Content is not allowed in prolog.

The generated output list looks fine when run manually. And entering the slice2as command manually cleanly generates the appropriate files.

Comments

  • xdmxdm La Coruña, SpainAdministrators, ZeroC Staff Jose Gutierrez de la ConchaOrganization: ZeroC, Inc.Project: Ice Developer ZeroC Staff
    Hi Jonathan

    Can you provide a small demo or the steps required to reproduce this problem?

    Regards,
    José
  • golgobotgolgobot Member Jonathan RossOrganization: Jibo, IncProject: Robotics netoworking
    Here's a screencast from a fresh workspace and a fresh project.

    It doesn't seem to matter is the .ice file is valid or not.

    I'm on mac so I had to compile slice2as myself, but it works fine on the command line.
  • xdmxdm La Coruña, SpainAdministrators, ZeroC Staff Jose Gutierrez de la ConchaOrganization: ZeroC, Inc.Project: Ice Developer ZeroC Staff
    Hi Jonathan

    OS X isn't a supported platform for Ice for ActionScript so i'm not surprised you found some issues.

    Anyway i have give it a try on my OS X and it seems to work fine. I think i know what is your problem, slice2as fails to run from FlashBuilder because it doesn't contain the expected runpath prefix to locate libIceUtil and libSlice.

    you can easy fix that by edit "slice2as-1.0b/cpp/config/Make.rules" and set the "embedded_runpath_prefix" to "/opt/IceAS-1.0b" or the path where you want to install it, after that you must rebuild slice2as and install it.

    Nevertheless we will fix the plug-in to report a better error, but must wait until next Ice for ActionScript release.
Sign In or Register to comment.