flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Magnan <justin.mag...@magnantech.com>
Subject Re: 4.14.0 SDK Trouble Building flatspark
Date Fri, 26 Dec 2014 11:49:24 GMT
I got the build to work. I think it was mostly error on my part.

When installing the RC build I also downloaded the zip file the installer
uses for the SDK and extracted it.

The build.xml being used by ant was setting FLEX_HOME to the extracted path
of the raw zip file rather than the location used by the installer. Once I
set FLEX_HOME to the location used by the installer things starting working.

Justin



On Fri, Dec 26, 2014 at 6:12 AM, Justin Magnan <justin.magnan@magnantech.com
> wrote:

> When running the installer, I did select the font utility.
>
> If I search the install directory for the fonts listed in the error logs
> they are all in the src\flatspark directory.
>
>
> apache-flex-sdk-4.14.0-bin\frameworks\projects\flatspark\src\flatspark\assets\fonts\awesome\FontAwesome.otf
>
> apache-flex-sdk-4.14.0-bin\frameworks\projects\flatspark\src\flatspark\assets\fonts\lato\Lato_Black.otf
>
> apache-flex-sdk-4.14.0-bin\frameworks\projects\flatspark\src\flatspark\assets\fonts\lato\Lato_Black_Italic.otf
>
> apache-flex-sdk-4.14.0-bin\frameworks\projects\flatspark\src\flatspark\assets\fonts\lato\Lato_Bold.otf
>
> apache-flex-sdk-4.14.0-bin\frameworks\projects\flatspark\src\flatspark\assets\fonts\lato\Lato_Bold_Italic.otf
>
> apache-flex-sdk-4.14.0-bin\frameworks\projects\flatspark\src\flatspark\assets\fonts\lato\Lato_Hairline.otf
>
> apache-flex-sdk-4.14.0-bin\frameworks\projects\flatspark\src\flatspark\assets\fonts\lato\Lato_Hairline_Italic.otf
>
> apache-flex-sdk-4.14.0-bin\frameworks\projects\flatspark\src\flatspark\assets\fonts\lato\Lato_Light.otf
>
> apache-flex-sdk-4.14.0-bin\frameworks\projects\flatspark\src\flatspark\assets\fonts\lato\Lato_Light_Italic.otf
>
> apache-flex-sdk-4.14.0-bin\frameworks\projects\flatspark\src\flatspark\assets\fonts\lato\Lato_Regular.otf
>
> apache-flex-sdk-4.14.0-bin\frameworks\projects\flatspark\src\flatspark\assets\fonts\lato\Lato_Regular_Italic.otf
>
> I also tried copying the fonts into the assets folder in the project and
> referencing them in global.css
>
> @font-face {
> src: url("assets/uiFonts/FontAwesome.otf");
> fontFamily: FontAwesome;
> embedAsCFF: true;
> }
>
> Again everything builds fine in eclipse, but I still get errors like this
> when running the ant build.
>
> [mxmlc] C:\workspace\r09\MTBuild\Rev2Proto\flex_src\global.css(56): Error:
> exception during transcoding:
> [mxmlc]
> [mxmlc] @font-face {
> [mxmlc]
> [mxmlc] C:\workspace\r09\MTBuild\Rev2Proto\flex_src\global.css(56): Error:
> unable to build font 'FontAwesome'
> [mxmlc]
> [mxmlc] @font-face {
> [mxmlc]
> [mxmlc] C:\workspace\r09\MTBuild\Rev2Proto\flex_src\global.css(56): Error:
> Unable to transcode
> C:/workspace/r09/MTBuild/Rev2Proto/flex_src/assets/uiFonts/FontAwesome.otf.
> [mxmlc]
> [mxmlc] @font-face {
> [mxmlc]
>
>
> Any ideas?
>
> Justin
>
> On Thu, Dec 25, 2014 at 11:01 PM, Mahmoud Ali <muddibr@gmail.com> wrote:
>
>> A lot of people were reporting this error a few days ago, but now it looks
>> like everything is normal.
>>
>> Om is right, it looks like if you use FlatSpark and don't select the font
>> utility you get this error.
>>
>> On Thu, Dec 25, 2014 at 11:47 PM, OmPrakash Muppirala <
>> bigosmallm@gmail.com>
>> wrote:
>>
>> > Did you select the font utility (optional)  in the first screen of the
>> > installer?
>> >
>> > Come to think of it, that should not be optional anymore, right?  Given
>> > that we are shipping font files with the SDK.
>> >
>> > Thanks,
>> > Om
>> > On Dec 25, 2014 6:16 PM, "Justin Magnan" <justin.magnan@magnantech.com>
>> > wrote:
>> >
>> > > Hello,
>> > >
>> > > I am using the flatspark skin in a project. The project builds fine
>> using
>> > > FlashBuilder 4.7 with the latest nightly build of the 4.14.0 sdk (as
>> of
>> > > 12/25/2014).
>> > >
>> > > If I export the compiler settings from eclipse using the -dump-config
>> > flag
>> > > and run the build on our C.I. server (Jenkins) via an ant script using
>> > > flexTasks.jar I get build errors regarding the fonts.
>> > >
>> > > I can't seem to get it working, I am stumped. I am not sure if I have
>> a
>> > > configuration error in my build script or I have run into a bug.
>> Anyone
>> > > have any ideas?
>> > >
>> > > Below are the errors thrown from the ant script.
>> > >
>> > >     [mxmlc] C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64
>> > >
>> > >
>> >
>> Bit)\sdks\4.14.0-RC-2014-12-25\frameworks\libs\flatspark.swc$defaults.css(93):
>> > > Error: exception during transcoding:
>> > >     [mxmlc]
>> > >     [mxmlc]
>> > >     [mxmlc]
>> > >     [mxmlc] C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64
>> > >
>> > >
>> >
>> Bit)\sdks\4.14.0-RC-2014-12-25\frameworks\libs\flatspark.swc$defaults.css(93):
>> > > Error: unable to build font 'LatoBlack'
>> > >     [mxmlc]
>> > >     [mxmlc]
>> > >     [mxmlc]
>> > >     [mxmlc] C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64
>> > >
>> > >
>> >
>> Bit)\sdks\4.14.0-RC-2014-12-25\frameworks\libs\flatspark.swc$defaults.css(93):
>> > > Error: Unable to transcode C:/Program Files/Adobe/Adobe Flash Builder
>> 4.7
>> > > (64
>> > >
>> > >
>> >
>> Bit)/sdks/4.14.0-RC-2014-12-25/frameworks/libs/flatspark.swc$flatspark/assets/fonts/lato/Lato_Black_Italic.otf.
>> > >     [mxmlc]
>> > >     [mxmlc]
>> > >     [mxmlc]
>> > >     [mxmlc] C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64
>> > >
>> > >
>> >
>> Bit)\sdks\4.14.0-RC-2014-12-25\frameworks\libs\flatspark.swc$defaults.css(26):
>> > > Error: exception during transcoding:
>> > >     [mxmlc]
>> > >     [mxmlc]
>> > >     [mxmlc]
>> > >     [mxmlc] C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64
>> > >
>> > >
>> >
>> Bit)\sdks\4.14.0-RC-2014-12-25\frameworks\libs\flatspark.swc$defaults.css(26):
>> > > Error: unable to build font 'FontAwesome'
>> > >     [mxmlc]
>> > >     [mxmlc]
>> > >     [mxmlc]
>> > >     [mxmlc] C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64
>> > >
>> > >
>> >
>> Bit)\sdks\4.14.0-RC-2014-12-25\frameworks\libs\flatspark.swc$defaults.css(26):
>> > > Error: Unable to transcode C:/Program Files/Adobe/Adobe Flash Builder
>> 4.7
>> > > (64
>> > >
>> > >
>> >
>> Bit)/sdks/4.14.0-RC-2014-12-25/frameworks/libs/flatspark.swc$flatspark/assets/fonts/awesome/FontAwesome.otf.
>> > >     [mxmlc]
>> > >     [mxmlc]
>> > >     [mxmlc]
>> > >     [mxmlc] C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64
>> > >
>> > >
>> >
>> Bit)\sdks\4.14.0-RC-2014-12-25\frameworks\libs\flatspark.swc$defaults.css(33):
>> > > Error: exception during transcoding:
>> > >     [mxmlc]
>> > >     [mxmlc]
>> > >     [mxmlc]
>> > >     [mxmlc] C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64
>> > >
>> > >
>> >
>> Bit)\sdks\4.14.0-RC-2014-12-25\frameworks\libs\flatspark.swc$defaults.css(33):
>> > > Error: unable to build font 'Lato'
>> > >     [mxmlc]
>> > >     [mxmlc]
>> > >     [mxmlc]
>> > >     [mxmlc] C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64
>> > >
>> > >
>> >
>> Bit)\sdks\4.14.0-RC-2014-12-25\frameworks\libs\flatspark.swc$defaults.css(33):
>> > > Error: Unable to transcode C:/Program Files/Adobe/Adobe Flash Builder
>> 4.7
>> > > (64
>> > >
>> > >
>> >
>> Bit)/sdks/4.14.0-RC-2014-12-25/frameworks/libs/flatspark.swc$flatspark/assets/fonts/lato/Lato_Regular.otf.
>> > >     [mxmlc]
>> > >     [mxmlc]
>> > >     [mxmlc]
>> > >     [mxmlc] C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64
>> > >
>> > >
>> >
>> Bit)\sdks\4.14.0-RC-2014-12-25\frameworks\libs\flatspark.swc$defaults.css(74):
>> > > Error: exception during transcoding:
>> > >     [mxmlc]
>> > >     [mxmlc]
>> > >     [mxmlc]
>> > >     [mxmlc] C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64
>> > >
>> > >
>> >
>> Bit)\sdks\4.14.0-RC-2014-12-25\frameworks\libs\flatspark.swc$defaults.css(74):
>> > > Error: unable to build font 'LatoHairline'
>> > >     [mxmlc]
>> > >     [mxmlc]
>> > >     [mxmlc]
>> > >     [mxmlc] C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64
>> > >
>> > >
>> >
>> Bit)\sdks\4.14.0-RC-2014-12-25\frameworks\libs\flatspark.swc$defaults.css(74):
>> > > Error: Unable to transcode C:/Program Files/Adobe/Adobe Flash Builder
>> 4.7
>> > > (64
>> > >
>> > >
>> >
>> Bit)/sdks/4.14.0-RC-2014-12-25/frameworks/libs/flatspark.swc$flatspark/assets/fonts/lato/Lato_Hairline.otf.
>> > >     [mxmlc]
>> > >     [mxmlc]
>> > >     [mxmlc]
>> > >     [mxmlc] C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64
>> > >
>> > >
>> >
>> Bit)\sdks\4.14.0-RC-2014-12-25\frameworks\libs\flatspark.swc$defaults.css(67):
>> > > Error: exception during transcoding:
>> > >     [mxmlc]
>> > >     [mxmlc]
>> > >     [mxmlc]
>> > >     [mxmlc] C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64
>> > >
>> > >
>> >
>> Bit)\sdks\4.14.0-RC-2014-12-25\frameworks\libs\flatspark.swc$defaults.css(67):
>> > > Error: unable to build font 'LatoLight'
>> > >     [mxmlc]
>> > >     [mxmlc]
>> > >     [mxmlc]
>> > >     [mxmlc] C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64
>> > >
>> > >
>> >
>> Bit)\sdks\4.14.0-RC-2014-12-25\frameworks\libs\flatspark.swc$defaults.css(67):
>> > > Error: Unable to transcode C:/Program Files/Adobe/Adobe Flash Builder
>> 4.7
>> > > (64
>> > >
>> > >
>> >
>> Bit)/sdks/4.14.0-RC-2014-12-25/frameworks/libs/flatspark.swc$flatspark/assets/fonts/lato/Lato_Light_Italic.otf.
>> > >     [mxmlc]
>> > >     [mxmlc]
>> > >     [mxmlc]
>> > >     [mxmlc] C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64
>> > >
>> > >
>> >
>> Bit)\sdks\4.14.0-RC-2014-12-25\frameworks\libs\flatspark.swc$defaults.css(87):
>> > > Error: exception during transcoding:
>> > >     [mxmlc]
>> > >     [mxmlc]
>> > >     [mxmlc]
>> > >     [mxmlc] C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64
>> > >
>> > >
>> >
>> Bit)\sdks\4.14.0-RC-2014-12-25\frameworks\libs\flatspark.swc$defaults.css(87):
>> > > Error: unable to build font 'LatoBlack'
>> > >     [mxmlc]
>> > >     [mxmlc]
>> > >     [mxmlc]
>> > >     [mxmlc] C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64
>> > >
>> > >
>> >
>> Bit)\sdks\4.14.0-RC-2014-12-25\frameworks\libs\flatspark.swc$defaults.css(87):
>> > > Error: Unable to transcode C:/Program Files/Adobe/Adobe Flash Builder
>> 4.7
>> > > (64
>> > >
>> > >
>> >
>> Bit)/sdks/4.14.0-RC-2014-12-25/frameworks/libs/flatspark.swc$flatspark/assets/fonts/lato/Lato_Black.otf.
>> > >     [mxmlc]
>> > >     [mxmlc]
>> > >     [mxmlc]
>> > >     [mxmlc] C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64
>> > >
>> > >
>> >
>> Bit)\sdks\4.14.0-RC-2014-12-25\frameworks\libs\flatspark.swc$defaults.css(46):
>> > > Error: exception during transcoding:
>> > >     [mxmlc]
>> > >     [mxmlc]
>> > >     [mxmlc]
>> > >     [mxmlc] C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64
>> > >
>> > >
>> >
>> Bit)\sdks\4.14.0-RC-2014-12-25\frameworks\libs\flatspark.swc$defaults.css(46):
>> > > Error: unable to build font 'Lato'
>> > >     [mxmlc]
>> > >     [mxmlc]
>> > >     [mxmlc]
>> > >     [mxmlc] C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64
>> > >
>> > >
>> >
>> Bit)\sdks\4.14.0-RC-2014-12-25\frameworks\libs\flatspark.swc$defaults.css(46):
>> > > Error: Unable to transcode C:/Program Files/Adobe/Adobe Flash Builder
>> 4.7
>> > > (64
>> > >
>> > >
>> >
>> Bit)/sdks/4.14.0-RC-2014-12-25/frameworks/libs/flatspark.swc$flatspark/assets/fonts/lato/Lato_Bold.otf.
>> > >     [mxmlc]
>> > >     [mxmlc]
>> > >     [mxmlc]
>> > >     [mxmlc] C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64
>> > >
>> > >
>> >
>> Bit)\sdks\4.14.0-RC-2014-12-25\frameworks\libs\flatspark.swc$defaults.css(61):
>> > > Error: exception during transcoding:
>> > >     [mxmlc]
>> > >     [mxmlc]
>> > >     [mxmlc]
>> > >     [mxmlc] C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64
>> > >
>> > >
>> >
>> Bit)\sdks\4.14.0-RC-2014-12-25\frameworks\libs\flatspark.swc$defaults.css(61):
>> > > Error: unable to build font 'LatoLight'
>> > >     [mxmlc]
>> > >     [mxmlc]
>> > >     [mxmlc]
>> > >     [mxmlc] C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64
>> > >
>> > >
>> >
>> Bit)\sdks\4.14.0-RC-2014-12-25\frameworks\libs\flatspark.swc$defaults.css(61):
>> > > Error: Unable to transcode C:/Program Files/Adobe/Adobe Flash Builder
>> 4.7
>> > > (64
>> > >
>> > >
>> >
>> Bit)/sdks/4.14.0-RC-2014-12-25/frameworks/libs/flatspark.swc$flatspark/assets/fonts/lato/Lato_Light.otf.
>> > >     [mxmlc]
>> > >     [mxmlc]
>> > >     [mxmlc]
>> > >     [mxmlc] C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64
>> > >
>> > >
>> >
>> Bit)\sdks\4.14.0-RC-2014-12-25\frameworks\libs\flatspark.swc$defaults.css(53):
>> > > Error: exception during transcoding:
>> > >     [mxmlc]
>> > >     [mxmlc]
>> > >     [mxmlc]
>> > >     [mxmlc] C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64
>> > >
>> > >
>> >
>> Bit)\sdks\4.14.0-RC-2014-12-25\frameworks\libs\flatspark.swc$defaults.css(53):
>> > > Error: unable to build font 'Lato'
>> > >     [mxmlc]
>> > >     [mxmlc]
>> > >     [mxmlc]
>> > >     [mxmlc] C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64
>> > >
>> > >
>> >
>> Bit)\sdks\4.14.0-RC-2014-12-25\frameworks\libs\flatspark.swc$defaults.css(53):
>> > > Error: Unable to transcode C:/Program Files/Adobe/Adobe Flash Builder
>> 4.7
>> > > (64
>> > >
>> > >
>> >
>> Bit)/sdks/4.14.0-RC-2014-12-25/frameworks/libs/flatspark.swc$flatspark/assets/fonts/lato/Lato_Bold_Italic.otf.
>> > >     [mxmlc]
>> > >     [mxmlc]
>> > >     [mxmlc]
>> > >     [mxmlc] C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64
>> > >
>> > >
>> >
>> Bit)\sdks\4.14.0-RC-2014-12-25\frameworks\libs\flatspark.swc$defaults.css(80):
>> > > Error: exception during transcoding:
>> > >     [mxmlc]
>> > >     [mxmlc]
>> > >     [mxmlc]
>> > >     [mxmlc] C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64
>> > >
>> > >
>> >
>> Bit)\sdks\4.14.0-RC-2014-12-25\frameworks\libs\flatspark.swc$defaults.css(80):
>> > > Error: unable to build font 'LatoHairline'
>> > >     [mxmlc]
>> > >     [mxmlc]
>> > >     [mxmlc]
>> > >     [mxmlc] C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64
>> > >
>> > >
>> >
>> Bit)\sdks\4.14.0-RC-2014-12-25\frameworks\libs\flatspark.swc$defaults.css(80):
>> > > Error: Unable to transcode C:/Program Files/Adobe/Adobe Flash Builder
>> 4.7
>> > > (64
>> > >
>> > >
>> >
>> Bit)/sdks/4.14.0-RC-2014-12-25/frameworks/libs/flatspark.swc$flatspark/assets/fonts/lato/Lato_Hairline_Italic.otf.
>> > >     [mxmlc]
>> > >     [mxmlc]
>> > >     [mxmlc]
>> > >     [mxmlc] C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64
>> > >
>> > >
>> >
>> Bit)\sdks\4.14.0-RC-2014-12-25\frameworks\libs\flatspark.swc$defaults.css(39):
>> > > Error: exception during transcoding:
>> > >     [mxmlc]
>> > >     [mxmlc]
>> > >     [mxmlc]
>> > >     [mxmlc] C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64
>> > >
>> > >
>> >
>> Bit)\sdks\4.14.0-RC-2014-12-25\frameworks\libs\flatspark.swc$defaults.css(39):
>> > > Error: unable to build font 'Lato'
>> > >     [mxmlc]
>> > >     [mxmlc]
>> > >     [mxmlc]
>> > >     [mxmlc] C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64
>> > >
>> > >
>> >
>> Bit)\sdks\4.14.0-RC-2014-12-25\frameworks\libs\flatspark.swc$defaults.css(39):
>> > > Error: Unable to transcode C:/Program Files/Adobe/Adobe Flash Builder
>> 4.7
>> > > (64
>> > >
>> > >
>> >
>> Bit)/sdks/4.14.0-RC-2014-12-25/frameworks/libs/flatspark.swc$flatspark/assets/fonts/lato/Lato_Regular_Italic.otf.
>> > >     [mxmlc]
>> > >     [mxmlc]
>> > >     [mxmlc]
>> > >
>> > > BUILD FAILED
>> > >
>> > >
>> > > Justin Magnan
>> > > President & CTO
>> > > Magnan Technologies
>> > > www.magnantech.com
>> > > 10 Tower Office Park
>> > > Woburn, MA 01801
>> > >
>> > > Office: 978.296.4490
>> > > Mobile:617.308.8354
>> > > Fax:    978.296.4570
>> > >
>> >
>>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message