[FlexJS] flex-asjs build failing
I’m getting the below error when building from scratch using maven. Any ideas? For what it’s worth I couldn’t find com.adobe:fontkit:jar:1.0 in https://repository.apache.org/content/repositories/releases Either. [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.5.0:java (compile-font) on project Fonts: Execution compile-font of goal org.codehaus.mojo:exec-maven-plugin:1.5.0:java failed: Plugin org.codehaus.mojo:exec-maven-plugin:1.5.0 or one of its dependencies could not be resolved: Failure to find com.adobe:fontkit:jar:1.0 in https://repository.apache.org/content/repositories/releases was cached in the local repository, resolution will not be reattempted until the update interval of apache-plugins-release has elapsed or updates are forced -> [Help 1]
AW: [FlexJS] flex-asjs build failing
Fontkit is provided by the mavenizer. It's not available in any repo. Make sure you see the ascii art flex logo in your Maven build to ensure the mavenizer is active. Chris Von meinem Samsung Galaxy Smartphone gesendet. Ursprüngliche Nachricht Von: Yishay Weiss Datum: 15.03.17 03:53 (GMT-05:00) An: dev Betreff: [FlexJS] flex-asjs build failing I’m getting the below error when building from scratch using maven. Any ideas? For what it’s worth I couldn’t find com.adobe:fontkit:jar:1.0 in https://repository.apache.org/content/repositories/releases Either. [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.5.0:java (compile-font) on project Fonts: Execution compile-font of goal org.codehaus.mojo:exec-maven-plugin:1.5.0:java failed: Plugin org.codehaus.mojo:exec-maven-plugin:1.5.0 or one of its dependencies could not be resolved: Failure to find com.adobe:fontkit:jar:1.0 in https://repository.apache.org/content/repositories/releases was cached in the local repository, resolution will not be reattempted until the update interval of apache-plugins-release has elapsed or updates are forced -> [Help 1]
Re: [FlexJS] flex-asjs build failing
Hi Yishay, You don’t need to copy it to “JAVA_HOME/lib/security”, but to “JAVA_HOME/jre/lib/security” … I did that wrong too, when I tried it first. Chris Am 20.03.17, 12:01 schrieb "yishayw" : Here's [1] what -X flag shows. This [3] led my to download [2] place it under JAVA_HOME/lib/security, but that didn't help. [1] https://paste.apache.org/AMxg [2] http://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html [3] https://paste.apache.org/CvJx -- View this message in context: http://apache-flex-development.2333347.n4.nabble.com/FlexJS-flex-asjs-build-failing-tp60461p60614.html Sent from the Apache Flex Development mailing list archive at Nabble.com.
Re: [FlexJS] flex-asjs build failing
Hi Yishay, I guess that problem is related to running the build in Ant and Maven. I think the Ant build used to download stuff into the “source” directories so you had checked in stuff and not checked in stuff. I would assume the complaints are related to that. Another reason could be that you have built with Maven and are re-building with less projects enabled. In that case RAT thinks the files of the project belong to the parent project and need a License. I’d just do a search for the swfobject.js Chris Am 05.04.17, 09:47 schrieb "yishayw" : I think I got passed the fontkit problem by copying the contents of %JAVA_HOME%/../jre/lib/security to %JAVA_HOME%/lib/security (Copying it to %JAVA_HOME%/jre/lib/security didn't make a different to me.) Apparently there's a bunch of files other than local_policy.jar and US_export_policy.jar that need to be there. Now rat.txt is telling me that templates/swfobject/swfobject.js has an unapproved license. This is strange because I don't even see it in the file system, so I'm not sure how to fix that. -- View this message in context: http://apache-flex-development.2333347.n4.nabble.com/FlexJS-flex-asjs-build-failing-tp60461p61006.html Sent from the Apache Flex Development mailing list archive at Nabble.com.
Re: [FlexJS] flex-asjs build failing
Did you download the two jars in JCE libs into %JAVA_HOME%/jre/lib/security? Chris Am 05.04.17, 10:13 schrieb "yishayw" : Ignore this mail. Fontkit download is still failing. yishayw wrote > I think I got passed the fontkit problem by copying the contents of > > %JAVA_HOME%/../jre/lib/security > to > %JAVA_HOME%/lib/security > > (Copying it to %JAVA_HOME%/jre/lib/security didn't make a different to > me.) Apparently there's a bunch of files other than local_policy.jar and > US_export_policy.jar that need to be there. > > Now rat.txt is telling me that templates/swfobject/swfobject.js has an > unapproved license. This is strange because I don't even see it in the > file system, so I'm not sure how to fix that. -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-flex-asjs-build-failing-tp60461p61007.html Sent from the Apache Flex Development mailing list archive at Nabble.com.
RE: [FlexJS] flex-asjs build failing
Hi Chris, You’re right. That’s why I said to ignore that mail. I was mixing Ant and Maven. The font download problem is on a Maven only env. Yishay From: Christofer Dutz<mailto:christofer.d...@c-ware.de> Sent: Wednesday, April 5, 2017 1:35 PM To: dev@flex.apache.org<mailto:dev@flex.apache.org> Subject: Re: [FlexJS] flex-asjs build failing Hi Yishay, I guess that problem is related to running the build in Ant and Maven. I think the Ant build used to download stuff into the “source” directories so you had checked in stuff and not checked in stuff. I would assume the complaints are related to that. Another reason could be that you have built with Maven and are re-building with less projects enabled. In that case RAT thinks the files of the project belong to the parent project and need a License. I’d just do a search for the swfobject.js Chris Am 05.04.17, 09:47 schrieb "yishayw" : I think I got passed the fontkit problem by copying the contents of %JAVA_HOME%/../jre/lib/security to %JAVA_HOME%/lib/security (Copying it to %JAVA_HOME%/jre/lib/security didn't make a different to me.) Apparently there's a bunch of files other than local_policy.jar and US_export_policy.jar that need to be there. Now rat.txt is telling me that templates/swfobject/swfobject.js has an unapproved license. This is strange because I don't even see it in the file system, so I'm not sure how to fix that. -- View this message in context: http://apache-flex-development.2333347.n4.nabble.com/FlexJS-flex-asjs-build-failing-tp60461p61006.html Sent from the Apache Flex Development mailing list archive at Nabble.com.
RE: [FlexJS] flex-asjs build failing
I did. Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10 From: Yishay Weiss<mailto:yishayj...@hotmail.com> Sent: Wednesday, April 5, 2017 1:37 PM To: dev@flex.apache.org<mailto:dev@flex.apache.org> Subject: RE: [FlexJS] flex-asjs build failing Hi Chris, You’re right. That’s why I said to ignore that mail. I was mixing Ant and Maven. The font download problem is on a Maven only env. Yishay From: Christofer Dutz<mailto:christofer.d...@c-ware.de> Sent: Wednesday, April 5, 2017 1:35 PM To: dev@flex.apache.org<mailto:dev@flex.apache.org> Subject: Re: [FlexJS] flex-asjs build failing Hi Yishay, I guess that problem is related to running the build in Ant and Maven. I think the Ant build used to download stuff into the “source” directories so you had checked in stuff and not checked in stuff. I would assume the complaints are related to that. Another reason could be that you have built with Maven and are re-building with less projects enabled. In that case RAT thinks the files of the project belong to the parent project and need a License. I’d just do a search for the swfobject.js Chris Am 05.04.17, 09:47 schrieb "yishayw" : I think I got passed the fontkit problem by copying the contents of %JAVA_HOME%/../jre/lib/security to %JAVA_HOME%/lib/security (Copying it to %JAVA_HOME%/jre/lib/security didn't make a different to me.) Apparently there's a bunch of files other than local_policy.jar and US_export_policy.jar that need to be there. Now rat.txt is telling me that templates/swfobject/swfobject.js has an unapproved license. This is strange because I don't even see it in the file system, so I'm not sure how to fix that. -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-flex-asjs-build-failing-tp60461p61006.html Sent from the Apache Flex Development mailing list archive at Nabble.com.
Re: [FlexJS] flex-asjs build failing
Yes, I did. -- View this message in context: http://apache-flex-development.247.n4.nabble.com/Re-FlexJS-flex-asjs-build-failing-tp61000p61012.html Sent from the Apache Flex Development mailing list archive at Nabble.com.
Re: [FlexJS] flex-asjs build failing
I just updated the RAT exclusions in compiler and framework to be more resilient against activation/deactivation of maven profiles. However it still has problems when running Maven after running ANT. Chris Am 05.04.17, 12:35 schrieb "Christofer Dutz" : Hi Yishay, I guess that problem is related to running the build in Ant and Maven. I think the Ant build used to download stuff into the “source” directories so you had checked in stuff and not checked in stuff. I would assume the complaints are related to that. Another reason could be that you have built with Maven and are re-building with less projects enabled. In that case RAT thinks the files of the project belong to the parent project and need a License. I’d just do a search for the swfobject.js Chris Am 05.04.17, 09:47 schrieb "yishayw" : I think I got passed the fontkit problem by copying the contents of %JAVA_HOME%/../jre/lib/security to %JAVA_HOME%/lib/security (Copying it to %JAVA_HOME%/jre/lib/security didn't make a different to me.) Apparently there's a bunch of files other than local_policy.jar and US_export_policy.jar that need to be there. Now rat.txt is telling me that templates/swfobject/swfobject.js has an unapproved license. This is strange because I don't even see it in the file system, so I'm not sure how to fix that. -- View this message in context: http://apache-flex-development.2333347.n4.nabble.com/FlexJS-flex-asjs-build-failing-tp60461p61006.html Sent from the Apache Flex Development mailing list archive at Nabble.com.
Re: AW: [FlexJS] flex-asjs build failing
Hi Chris, The art is there so I guess the mavenizer is active. It looks like there's a missing pom [1]? [1] https://paste.apache.org/9gY2 -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-flex-asjs-build-failing-tp60461p60515.html Sent from the Apache Flex Development mailing list archive at Nabble.com.
AW: AW: [FlexJS] flex-asjs build failing
Run the build with the "-X" flag to output more information and paste that please. Without it, Maven hides the exception. Chris Von meinem Samsung Galaxy Smartphone gesendet. Ursprüngliche Nachricht Von: yishayw Datum: 16.03.17 10:56 (GMT-05:00) An: dev@flex.apache.org Betreff: Re: AW: [FlexJS] flex-asjs build failing Hi Chris, The art is there so I guess the mavenizer is active. It looks like there's a missing pom [1]? [1] https://paste.apache.org/9gY2 -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-flex-asjs-build-failing-tp60461p60515.html Sent from the Apache Flex Development mailing list archive at Nabble.com.
Re: AW: AW: [FlexJS] flex-asjs build failing
Here's [1] what -X flag shows. This [3] led my to download [2] place it under JAVA_HOME/lib/security, but that didn't help. [1] https://paste.apache.org/AMxg [2] http://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html [3] https://paste.apache.org/CvJx -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-flex-asjs-build-failing-tp60461p60614.html Sent from the Apache Flex Development mailing list archive at Nabble.com.
Re: AW: AW: [FlexJS] flex-asjs build failing
Does anyone have ideas about this? I can't build the framework in Maven... -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-flex-asjs-build-failing-tp60461p60990.html Sent from the Apache Flex Development mailing list archive at Nabble.com.
Re: AW: AW: [FlexJS] flex-asjs build failing
On 4/4/17, 12:38 AM, "yishayw" wrote: >Does anyone have ideas about this? I can't build the framework in Maven... Don't know for sure. What Maven version are you running? I think older ones don't quite know how to bring down a mavenized Flex SDK. My repo cache has the following for font kit: com/adobe//fontkit com/adobe//fontkit/1.0 com/adobe//fontkit/1.0/fontkit-1.0.jar com/adobe//fontkit/1.0/fontkit-1.0.pom com/adobe//fontkit/afe com/adobe//fontkit/afe/1.0 com/adobe//fontkit/afe/1.0/afe-1.0.jar com/adobe//fontkit/afe/1.0/afe-1.0.pom com/adobe//fontkit/aglj40 com/adobe//fontkit/aglj40/1.0 com/adobe//fontkit/aglj40/1.0/aglj40-1.0.jar com/adobe//fontkit/aglj40/1.0/aglj40-1.0.pom com/adobe//fontkit/rideau com/adobe//fontkit/rideau/1.0 com/adobe//fontkit/rideau/1.0/rideau-1.0.jar com/adobe//fontkit/rideau/1.0/rideau-1.0.pom You might be able to piece that together as well. HTH, -Alex
Re: AW: AW: [FlexJS] flex-asjs build failing
I don't think it's the Maven version because I only downloaded it a few weeks ago. I'm trying to get a dev environment on my new computer. At least I got the Ant build to work. Thanks. -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-flex-asjs-build-failing-tp60461p60997.html Sent from the Apache Flex Development mailing list archive at Nabble.com.
Re: AW: AW: [FlexJS] flex-asjs build failing
I think I got passed the fontkit problem by copying the contents of %JAVA_HOME%/../jre/lib/security to %JAVA_HOME%/lib/security (Copying it to %JAVA_HOME%/jre/lib/security didn't make a different to me.) Apparently there's a bunch of files other than local_policy.jar and US_export_policy.jar that need to be there. Now rat.txt is telling me that templates/swfobject/swfobject.js has an unapproved license. This is strange because I don't even see it in the file system, so I'm not sure how to fix that. -- View this message in context: http://apache-flex-development.2333347.n4.nabble.com/FlexJS-flex-asjs-build-failing-tp60461p61006.html Sent from the Apache Flex Development mailing list archive at Nabble.com.
Re: AW: AW: [FlexJS] flex-asjs build failing
Ignore this mail. Fontkit download is still failing. yishayw wrote > I think I got passed the fontkit problem by copying the contents of > > %JAVA_HOME%/../jre/lib/security > to > %JAVA_HOME%/lib/security > > (Copying it to %JAVA_HOME%/jre/lib/security didn't make a different to > me.) Apparently there's a bunch of files other than local_policy.jar and > US_export_policy.jar that need to be there. > > Now rat.txt is telling me that templates/swfobject/swfobject.js has an > unapproved license. This is strange because I don't even see it in the > file system, so I'm not sure how to fix that. -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-flex-asjs-build-failing-tp60461p61007.html Sent from the Apache Flex Development mailing list archive at Nabble.com.
Re: AW: AW: [FlexJS] flex-asjs build failing
Tried again, Maven build still failing on this issue. -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-flex-asjs-build-failing-tp60461p61591.html Sent from the Apache Flex Development mailing list archive at Nabble.com.
Re: AW: AW: [FlexJS] flex-asjs build failing
Chris fixed it on my machine by commenting out of framework/frameworks/pom.xml the fontsrc element. -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-flex-asjs-build-failing-tp60461p61674.html Sent from the Apache Flex Development mailing list archive at Nabble.com.