Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

Maven Build Issue after Update JDK from 1.6 to 1.8

$
0
0
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

Viewing all articles
Browse latest Browse all 5648

Trending Articles