You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by Alexandre Madurell <al...@gmail.com> on 2012/07/02 11:53:46 UTC

Re: building flex

Thanks Carol,

I've skipped Nick's instructions, updated all code from the repository, run
the build.xml within the trunk folder (not the one within the frameworks
folder) with the env.properties set to my environment, both from IntelliJ
IDEA and the command prompt. Both would give me the same BUILD FAILED
message:

http://imgur.com/ih3g3

I've extracted the contents of the AdobeAIRSDK.zip manually, then run the
build again. Here's the log in command prompt:

http://imgur.com/4qwNT

Looks like it's looking for the flash-integration.swc in the wrong place
(it's missing the flash-integration folder between projects and libs).

Should I change the build on my end?

Cheers, and thanks for your intensive dedication!
Alexandre



On Thu, Jun 28, 2012 at 5:50 PM, Carol Frampton <cf...@adobe.com> wrote:

> I don't see an error log.  You should never need to use
> build_framework.xml.  In the bin kit this is renamed to
> frameworks/build.xml.  In the source kit you shouldn't use it.
>
> Carol
>
> On 6/28/12 11 :22AM, "Alexandre Madurell" <
> alexandre.madurell.flex@gmail.com<ma...@gmail.com>>
> wrote:
>
> I'm bumping into an error when running the build_framework as per Nick's
> instructions:
>
> D:\IdeaProjects\ApacheFlexSDK\SDK\frameworks\build_framework.xml:592:
> compc task failed.
>
> I'm attaching a snapshot of the error log.
>
> Any ideas? (no pun intended) :D
>
> Cheers,
> Alexandre
>
>
> On Tue, Apr 3, 2012 at 10:17 AM, Left Right <olegsivokon@gmail.com<mailto:
> olegsivokon@gmail.com>> wrote:
> It usually helps to post the error message you are getting. This way it is
> easier to troubleshoot the exact problem you have.
>
> Best.
>
> Oleg
>
>

Re: building flex

Posted by Nicholas Kwiatkowski <ni...@spoon.as>.
Yeah, at the moment, the instructions I posted in March are way out of
date.  Following the README in the trunk should get you there.

-Nick

On Mon, Jul 2, 2012 at 5:53 AM, Alexandre Madurell <
alexandre.madurell.flex@gmail.com> wrote:

> Thanks Carol,
>
> I've skipped Nick's instructions, updated all code from the repository, run
> the build.xml within the trunk folder (not the one within the frameworks
> folder) with the env.properties set to my environment, both from IntelliJ
> IDEA and the command prompt. Both would give me the same BUILD FAILED
> message:
>
> http://imgur.com/ih3g3
>
> I've extracted the contents of the AdobeAIRSDK.zip manually, then run the
> build again. Here's the log in command prompt:
>
> http://imgur.com/4qwNT
>
> Looks like it's looking for the flash-integration.swc in the wrong place
> (it's missing the flash-integration folder between projects and libs).
>
> Should I change the build on my end?
>
> Cheers, and thanks for your intensive dedication!
> Alexandre
>
>
>
> On Thu, Jun 28, 2012 at 5:50 PM, Carol Frampton <cf...@adobe.com>
> wrote:
>
> > I don't see an error log.  You should never need to use
> > build_framework.xml.  In the bin kit this is renamed to
> > frameworks/build.xml.  In the source kit you shouldn't use it.
> >
> > Carol
> >
> > On 6/28/12 11 :22AM, "Alexandre Madurell" <
> > alexandre.madurell.flex@gmail.com<mailto:
> alexandre.madurell.flex@gmail.com>>
> > wrote:
> >
> > I'm bumping into an error when running the build_framework as per Nick's
> > instructions:
> >
> > D:\IdeaProjects\ApacheFlexSDK\SDK\frameworks\build_framework.xml:592:
> > compc task failed.
> >
> > I'm attaching a snapshot of the error log.
> >
> > Any ideas? (no pun intended) :D
> >
> > Cheers,
> > Alexandre
> >
> >
> > On Tue, Apr 3, 2012 at 10:17 AM, Left Right <olegsivokon@gmail.com
> <mailto:
> > olegsivokon@gmail.com>> wrote:
> > It usually helps to post the error message you are getting. This way it
> is
> > easier to troubleshoot the exact problem you have.
> >
> > Best.
> >
> > Oleg
> >
> >
>

Re: building flex

Posted by Alexandre Madurell <al...@gmail.com>.
Whoops!

You're right. I had changed the build.properties to use the 11.3 instead,
but then checked out the repository again and forgot to change it back to
11.3.

I've just run it again, and it builds succesfully even with the 11.3 FP
release.

OH YEAH!!!

I'll keep running tests (starting with Om's packager for Flash Builder,
then our own projects with the 4.8.0 SDK).

Cheers!
Alexandre


On Tue, Jul 3, 2012 at 1:42 PM, Justin Mclean <ju...@classsoftware.com>wrote:

> Hi,
>
> > It's basically target PackageMXP that fails. It's looking for stuff in
> the
> > folder \frameworks\projects\ instead of
> \frameworks\projects\flash-integration\
>
> Looks like that's an issue that need to be fixed. Thanks for finding and
> reporting it.
>
> > [compc] Error: Inconsistant linkage in
> > D:\adobe\flash\player\11.3\playerglobal.swc(flash.utils:ByteArray,
> > flash.utils:CompressionAlgorithm, flash.utils:IDataInput2,
> > flash.utils:IDataOutput2) - 'flash.utils:ByteArray' is marked as
> external,
> > but 'flash.utils:IDataInput2' is not.
>
> Perhaps you have the wrong playerglobal.swc, the build currently expects
> the 11.1 one not the 11.3 one which you seem to be using.
>
> Getting the Flex SDK compiling with 11.3 is on my list after we have a
> parity release.
>
> Thanks,
> Justin
>
>
>

Re: building flex

Posted by Justin Mclean <ju...@classsoftware.com>.
Hi,

> It's basically target PackageMXP that fails. It's looking for stuff in the
> folder \frameworks\projects\ instead of \frameworks\projects\flash-integration\

Looks like that's an issue that need to be fixed. Thanks for finding and reporting it.

> [compc] Error: Inconsistant linkage in
> D:\adobe\flash\player\11.3\playerglobal.swc(flash.utils:ByteArray,
> flash.utils:CompressionAlgorithm, flash.utils:IDataInput2,
> flash.utils:IDataOutput2) - 'flash.utils:ByteArray' is marked as external,
> but 'flash.utils:IDataInput2' is not.

Perhaps you have the wrong playerglobal.swc, the build currently expects the 11.1 one not the 11.3 one which you seem to be using.

Getting the Flex SDK compiling with 11.3 is on my list after we have a parity release.

Thanks,
Justin



Re: building flex

Posted by Alex Harui <ah...@adobe.com>.


On 7/2/12 7:47 AM, "Alexandre Madurell" <al...@gmail.com>
wrote:

> Thanks Justin,
> 
> Source, actually (at first I tried binary, then source... my current issues
> are with source).
> 
> It's basically target PackageMXP that fails. It's looking for stuff in the
> folder \frameworks\projects\ instead of
> \frameworks\projects\flash-integration\
> 
> I've modified the build.xml and FlexComponentKit.mxi so as to point to the
> correct folders, then it succesfully runs that target.
> 
> The build.xml gave me permission-related problems (it couldn't create
> /frameworks/flash-integration/FlexComponentKit.mxp, so I replaced the code
> to create it
> in /frameworks/projects/flash-integration/FlexComponentKit.mxp).
> 
>     <target name="PackageMXP" if="ADOBE_EXTENSION_MANAGER.set" >
>         <echo message="Creating MXP file
> ${FLEX_HOME}/frameworks/projects/flash-integration/FlexComponentKit.mxp" />
>         <exec executable="${env.ADOBE_EXTENSION_MANAGER}" dir="${basedir}"
> failonerror="true">
>             <arg value="-suppress" />
>             <arg value="-package" />
>             <arg value="mxi=${basedir}/FlexComponentKit.mxi" />
>             <arg
> value="mxp=${FLEX_HOME}/frameworks/projects/flash-integration/FlexComponentKit
> .mxp"
> />
>         </exec>
>     </target>
> 
> Then, all source values in the FlexComponentKit.mxi needed to be preceded
> with flash-integration/
> 
> Once I had that, the main build would run, but it would still get stuck in
> the next step (Compiling frameworks/libs/authoringsupport.swc), with a:
> 
> [compc] Error: Inconsistant linkage in
> D:\adobe\flash\player\11.3\playerglobal.swc(flash.utils:ByteArray,
> flash.utils:CompressionAlgorithm, flash.utils:IDataInput2,
> flash.utils:IDataOutput2) - 'flash.utils:ByteArray' is marked as external,
> but 'flash.utils:IDataInput2' is not.
> 
> Any clues?
> 
I will try to take a look on Tuesday.

-- 
Alex Harui
Flex SDK Team
Adobe Systems, Inc.
http://blogs.adobe.com/aharui


Re: building flex

Posted by Alexandre Madurell <al...@gmail.com>.
Thanks Justin,

Source, actually (at first I tried binary, then source... my current issues
are with source).

It's basically target PackageMXP that fails. It's looking for stuff in the
folder \frameworks\projects\ instead of
\frameworks\projects\flash-integration\

I've modified the build.xml and FlexComponentKit.mxi so as to point to the
correct folders, then it succesfully runs that target.

The build.xml gave me permission-related problems (it couldn't create
/frameworks/flash-integration/FlexComponentKit.mxp, so I replaced the code
to create it
in /frameworks/projects/flash-integration/FlexComponentKit.mxp).

    <target name="PackageMXP" if="ADOBE_EXTENSION_MANAGER.set" >
        <echo message="Creating MXP file
${FLEX_HOME}/frameworks/projects/flash-integration/FlexComponentKit.mxp" />
        <exec executable="${env.ADOBE_EXTENSION_MANAGER}" dir="${basedir}"
failonerror="true">
            <arg value="-suppress" />
            <arg value="-package" />
            <arg value="mxi=${basedir}/FlexComponentKit.mxi" />
            <arg
value="mxp=${FLEX_HOME}/frameworks/projects/flash-integration/FlexComponentKit.mxp"
/>
        </exec>
    </target>

Then, all source values in the FlexComponentKit.mxi needed to be preceded
with flash-integration/

Once I had that, the main build would run, but it would still get stuck in
the next step (Compiling frameworks/libs/authoringsupport.swc), with a:

[compc] Error: Inconsistant linkage in
D:\adobe\flash\player\11.3\playerglobal.swc(flash.utils:ByteArray,
flash.utils:CompressionAlgorithm, flash.utils:IDataInput2,
flash.utils:IDataOutput2) - 'flash.utils:ByteArray' is marked as external,
but 'flash.utils:IDataInput2' is not.

Any clues?

Thanks again,
Alexandre

On Mon, Jul 2, 2012 at 1:38 PM, Justin Mclean <ju...@classsoftware.com>wrote:

> Hi,
>
> > I've skipped Nick's instructions, updated all code from the repository,
> run
> > the build.xml within the trunk folder (not the one within the frameworks
> > folder)
> Did you download the source or binary release? If it was release you need
> to do an "ant thirdparty-downloads" rather than just ant.
>
> Hope that helps,
> Justin

Re: building flex

Posted by Justin Mclean <ju...@classsoftware.com>.
Hi,

> I've skipped Nick's instructions, updated all code from the repository, run
> the build.xml within the trunk folder (not the one within the frameworks
> folder)
Did you download the source or binary release? If it was release you need to do an "ant thirdparty-downloads" rather than just ant.

Hope that helps,
Justin