Hi,
>From my experience, you don't need all those managers, I only use:
<fonts>
<advancedAntiAliasing>true</advancedAntiAliasing>
<managers>
<manager>flash.fonts.CFFFontManager</manager>
</managers>
</fonts>as the others are already define in the config xml, for the fonts, I
guess it is because maven-resources-plugin is trying to interpolate them and
there are binaries, I would do that:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>2.7</version>
<configuration>
<encoding>UTF-8</encoding>
<nonFilteredFileExtensions>
<nonFilteredFileExtension>OTF</nonFilteredFileExtension>
<nonFilteredFileExtension>TTF</nonFilteredFileExtension> <-- In
case you have uppercase extensions -->
<nonFilteredFileExtension>ttf</nonFilteredFileExtension> <-- In
case you have lowercase extensions -->
<nonFilteredFileExtension>pdf</nonFilteredFileExtension>
<nonFilteredFileExtension>swf</nonFilteredFileExtension>
</nonFilteredFileExtensions>
</configuration>
</plugin>HTH
Frédéric THOMAS
> Date: Tue, 25 Nov 2014 03:10:09 -0800
> From: [email protected]
> To: [email protected]
> Subject: Maven Build Issue after Update JDK from 1.6 to 1.8
>
> Hi
>
> I have following build configuartion
>
> Apache Maven 3.0.4 (r1232337; 2012-01-17 14:14:56+0530)
> Maven home: /usr/local/apache-maven
> Java version: 1.6.0_51, vendor: Apple Inc.
> Java home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
> Default locale: en_US, platform encoding: MacRoman
> OS name: "mac os x", version: "10.7.5", arch: "x86_64", family: "mac"
>
> FlexMojo 3.5.0
>
> at this configuration each repo is building successfully ,but once i update
> my java version to 1.8
>
> it showing build time error like
>
> ERROR]
> /mnt/build/build/atlas3.4.rc2_5.0.0.sqa/kiwikcore3.5/src/main/flex/com/dougmccune/baseClasses/SliderBase.as:[1795,-1]
> exception during transcoding: Unexpected exception encountered while reading
> font file
> 'file:/mnt/build/build/atlas3.4.rc2_5.0.0.sqa/kiwikcore3.5/src/main/flex/assets/fonts/DINPro-Light.otf'
> [ERROR]
> /mnt/build/build/atlas3.4.rc2_5.0.0.sqa/kiwikcore3.5/src/main/flex/com/dougmccune/baseClasses/SliderBase.as:[1795,4]
> unable to build font 'DINPro-Light'
>
>
> this issue bacause of unused var defined in SliderBase class and fixed by
> comment that piece of code.
>
> but now i have another issue from css style sheet
>
> [ERROR]
> /mnt/build/build/atlas3.4.rc2_5.0.0.sqa/flex/src/main/flex/assets/styles/CommonStyles.css:[253,-1]
> exception during transcoding: Unexpected exception encountered while reading
> font file
> 'file:/mnt/build/build/atlas3.4.rc2_5.0.0.sqa/flex/src/main/flex/assets/fonts/TAHOMA.TTF'
> [ERROR]
> /mnt/build/build/atlas3.4.rc2_5.0.0.sqa/flex/src/main/flex/assets/styles/CommonStyles.css:[253,-1]
> unable to build font 'Tahoma'
> [ERROR]
> /mnt/build/build/atlas3.4.rc2_5.0.0.sqa/flex/src/main/flex/assets/styles/CommonStyles.css:[253,-1]
> Unable to transcode /assets/fonts/TAHOMA.TTF.
>
>
> As i have updated fonts managers to
>
> <fonts>
> <managers>
>
> <manager>flash.fonts.AFEFontManager</manager>
>
> <manager>flash.fonts.JREFontManager</manager>
>
> <manager>flash.fonts.CFFFontManager</manager>
>
> <manager>flash.fonts.BatikFontManager</manager>
> </managers>
> </fonts>
>
> in POM file and path is correct .
>
> but issue is still there.
>
>
> Any solution for this...
>
> Thanks
> Jitendra
>
>
>
> --
> View this message in context:
> http://apache-flex-users.2333346.n4.nabble.com/Maven-Build-Issue-after-Update-JDK-from-1-6-to-1-8-tp8874.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.