You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by Justin Mclean <ju...@classsoftware.com> on 2017/03/14 12:58:06 UTC
flex-typedefs build failing
Hi,
Is it just me or is flex-typedefs currently broken? Looks like the patch file may need updating?
When trying to compile (on develop) I get this:
[INFO] --- exec-maven-plugin:1.5.0:exec (patch-js) @ flexjs-typedefs-js ---
error: patch failed: js/target/downloads/svg.js:401
error: js/target/downloads/svg.js: patch does not apply
[ERROR] Command execution failed.
Thanks,
Justin
Re: flex-typedefs build failing
Posted by Justin Mclean <ju...@classsoftware.com>.
Hi,
> Are you running "mvn clean install" or something else?
Yep I’m running "mvn clean install” and I tried this on two different machines.
Thanks,
Justin
Re: flex-typedefs build failing
Posted by Carlos Rovira <ca...@codeoscopic.com>.
Hi,
just tried with success:
Reactor Summary:
[INFO]
[INFO] Apache Flex - FlexJS: TypeDefs: Parent ............. SUCCESS [
1.292 s]
[INFO] Apache Flex - FlexJS: TypeDefs: JS ................. SUCCESS [
5.142 s]
[INFO] Apache Flex - FlexJS: TypeDefs: Cordova ............ SUCCESS [
0.232 s]
[INFO] Apache Flex - FlexJS: TypeDefs: CreateJS ........... SUCCESS [
1.066 s]
[INFO] Apache Flex - FlexJS: TypeDefs: GCL ................ SUCCESS [
0.166 s]
[INFO] Apache Flex - FlexJS: TypeDefs: GoogleMaps ......... SUCCESS [
0.711 s]
[INFO] Apache Flex - FlexJS: TypeDefs: Jasmine ............ SUCCESS [
0.142 s]
[INFO] Apache Flex - FlexJS: TypeDefs: JQuery ............. SUCCESS [
0.736 s]
[INFO] Apache Flex - FlexJS: TypeDefs: Node ............... SUCCESS [
1.299 s]
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 11.263 s
[INFO] Finished at: 2017-03-14T22:50:37+01:00
[INFO] Final Memory: 37M/697M
2017-03-14 22:07 GMT+01:00 Harbs <ha...@gmail.com>:
> I just had a problem with svg.js as well.
>
> Deleting the file and running ant again on typedefs solved it for me.
>
> Harbs
>
> > On Mar 14, 2017, at 10:56 PM, Greg Dove <gr...@gmail.com> wrote:
> >
> > I am seeing this also. It almost feels like it is applying the patch on
> > download and then trying again (but I have really no idea)
> >
> >
> > ant build works fine with some warnings about LoggerErrorManager println
> > but I could not get regular maven build to work
> >
> >
> > One way I could get the mvn build to work was this, which might provide
> > some clues?:
> >
> > mvn clean
> > cd js
> > ant download
> > cd..
> > cd google_maps
> > ant download
> > cd..
> > mvn install
> >
> > that was fun :)
> >
> >
> > On Wed, Mar 15, 2017 at 6:51 AM, Alex Harui <ah...@adobe.com> wrote:
> >
> >> Are you running "mvn clean install" or something else? I don't remember
> >> what part of the build brings down svg.js and patches it, but if you
> don't
> >> bring down svg.js each time, the patch will not apply the second time.
> >>
> >> HTH,
> >> -Alex
> >>
> >> On 3/14/17, 5:58 AM, "Justin Mclean" <ju...@classsoftware.com> wrote:
> >>
> >>> Hi,
> >>>
> >>> Is it just me or is flex-typedefs currently broken? Looks like the
> patch
> >>> file may need updating?
> >>>
> >>> When trying to compile (on develop) I get this:
> >>> [INFO] --- exec-maven-plugin:1.5.0:exec (patch-js) @ flexjs-typedefs-js
> >>> ---
> >>> error: patch failed: js/target/downloads/svg.js:401
> >>> error: js/target/downloads/svg.js: patch does not apply
> >>> [ERROR] Command execution failed.
> >>>
> >>> Thanks,
> >>> Justin
> >>
> >>
>
>
--
Carlos Rovira
Director General
M: +34 607 22 60 05
http://www.codeoscopic.com
http://www.avant2.es
Este mensaje se dirige exclusivamente a su destinatario y puede contener
información privilegiada o confidencial. Si ha recibido este mensaje por
error, le rogamos que nos lo comunique inmediatamente por esta misma vía y
proceda a su destrucción.
De la vigente Ley Orgánica de Protección de Datos (15/1999), le comunicamos
que sus datos forman parte de un fichero cuyo responsable es CODEOSCOPIC
S.A. La finalidad de dicho tratamiento es facilitar la prestación del
servicio o información solicitados, teniendo usted derecho de acceso,
rectificación, cancelación y oposición de sus datos dirigiéndose a nuestras
oficinas c/ Paseo de la Habana 9-11, 28036, Madrid con la documentación
necesaria.
Re: flex-typedefs build failing
Posted by Harbs <ha...@gmail.com>.
I just had a problem with svg.js as well.
Deleting the file and running ant again on typedefs solved it for me.
Harbs
> On Mar 14, 2017, at 10:56 PM, Greg Dove <gr...@gmail.com> wrote:
>
> I am seeing this also. It almost feels like it is applying the patch on
> download and then trying again (but I have really no idea)
>
>
> ant build works fine with some warnings about LoggerErrorManager println
> but I could not get regular maven build to work
>
>
> One way I could get the mvn build to work was this, which might provide
> some clues?:
>
> mvn clean
> cd js
> ant download
> cd..
> cd google_maps
> ant download
> cd..
> mvn install
>
> that was fun :)
>
>
> On Wed, Mar 15, 2017 at 6:51 AM, Alex Harui <ah...@adobe.com> wrote:
>
>> Are you running "mvn clean install" or something else? I don't remember
>> what part of the build brings down svg.js and patches it, but if you don't
>> bring down svg.js each time, the patch will not apply the second time.
>>
>> HTH,
>> -Alex
>>
>> On 3/14/17, 5:58 AM, "Justin Mclean" <ju...@classsoftware.com> wrote:
>>
>>> Hi,
>>>
>>> Is it just me or is flex-typedefs currently broken? Looks like the patch
>>> file may need updating?
>>>
>>> When trying to compile (on develop) I get this:
>>> [INFO] --- exec-maven-plugin:1.5.0:exec (patch-js) @ flexjs-typedefs-js
>>> ---
>>> error: patch failed: js/target/downloads/svg.js:401
>>> error: js/target/downloads/svg.js: patch does not apply
>>> [ERROR] Command execution failed.
>>>
>>> Thanks,
>>> Justin
>>
>>
Re: flex-typedefs build failing
Posted by Greg Dove <gr...@gmail.com>.
I am seeing this also. It almost feels like it is applying the patch on
download and then trying again (but I have really no idea)
ant build works fine with some warnings about LoggerErrorManager println
but I could not get regular maven build to work
One way I could get the mvn build to work was this, which might provide
some clues?:
mvn clean
cd js
ant download
cd..
cd google_maps
ant download
cd..
mvn install
that was fun :)
On Wed, Mar 15, 2017 at 6:51 AM, Alex Harui <ah...@adobe.com> wrote:
> Are you running "mvn clean install" or something else? I don't remember
> what part of the build brings down svg.js and patches it, but if you don't
> bring down svg.js each time, the patch will not apply the second time.
>
> HTH,
> -Alex
>
> On 3/14/17, 5:58 AM, "Justin Mclean" <ju...@classsoftware.com> wrote:
>
> >Hi,
> >
> >Is it just me or is flex-typedefs currently broken? Looks like the patch
> >file may need updating?
> >
> >When trying to compile (on develop) I get this:
> >[INFO] --- exec-maven-plugin:1.5.0:exec (patch-js) @ flexjs-typedefs-js
> >---
> >error: patch failed: js/target/downloads/svg.js:401
> >error: js/target/downloads/svg.js: patch does not apply
> >[ERROR] Command execution failed.
> >
> >Thanks,
> >Justin
>
>
Re: flex-typedefs build failing
Posted by Alex Harui <ah...@adobe.com>.
Are you running "mvn clean install" or something else? I don't remember
what part of the build brings down svg.js and patches it, but if you don't
bring down svg.js each time, the patch will not apply the second time.
HTH,
-Alex
On 3/14/17, 5:58 AM, "Justin Mclean" <ju...@classsoftware.com> wrote:
>Hi,
>
>Is it just me or is flex-typedefs currently broken? Looks like the patch
>file may need updating?
>
>When trying to compile (on develop) I get this:
>[INFO] --- exec-maven-plugin:1.5.0:exec (patch-js) @ flexjs-typedefs-js
>---
>error: patch failed: js/target/downloads/svg.js:401
>error: js/target/downloads/svg.js: patch does not apply
>[ERROR] Command execution failed.
>
>Thanks,
>Justin
Re: flex-typedefs build failing
Posted by Harbs <ha...@gmail.com>.
My mistake.
It looks like the URL was already switched (I was looking at old config files) and the new URL is also not 100% reliable:
[get] Getting: https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/closureidl/svg.js
[get] To: /Users/harbs/Documents/ApacheFlex/flex-typedefs/js/target/downloads/svg.js
[get] Error getting https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/closureidl/svg.js to /Users/harbs/Documents/ApacheFlex/flex-typedefs/js/target/downloads/svg.js
What would be involved in getting svg.js added to the maven jar with the rest of the google externs?
> On Mar 15, 2017, at 5:33 PM, Alex Harui <ah...@adobe.com> wrote:
>
> If there is a more stable URL, definitely we should switch to it.
>
> Thanks for figuring that out,
> -Alex
>
> On 3/15/17, 1:10 AM, "Harbs" <ha...@gmail.com> wrote:
>
>> I’m pretty sure this is the problem:
>>
>> https://closureidl.googlecode.com/files/svg.js
>> <https://closureidl.googlecode.com/files/svg.js> is no longer the correct
>> location for the file. I think it sometimes redirects, but not always.
>>
>> I believe the new location is here:
>> https://storage.googleapis.com/google-code-archive-downloads/v2/code.googl
>> e.com/closureidl/svg.js
>> <https://storage.googleapis.com/google-code-archive-downloads/v2/code.goog
>> le.com/closureidl/svg.js>
>>
>> Should we update the downloads.xml to point to
>> https://storage.googleapis.com/google-code-archive-downloads/v2/code.googl
>> e.com/closureidl/svg.js?
>> <https://storage.googleapis.com/google-code-archive-downloads/v2/code.goog
>> le.com/closureidl/svg.js?> Or should we put the file someplace more
>> reliable? Maven repo?
>>
>> Harbs
>>> On Mar 15, 2017, at 9:29 AM, yishayw <yi...@hotmail.com> wrote:
>>>
>>> I has an an unknown host exception issue with downloading svg.js on a
>>> clean
>>> env running
>>>
>>> mvn -s settings-template.xml clean install
>>>
>>> Re-running it fixed the problem for me.
>>>
>>>
>>>
>>> --
>>> View this message in context:
>>> http://apache-flex-development.2333347.n4.nabble.com/flex-typedefs-build-
>>> failing-tp60402p60460.html
>>> Sent from the Apache Flex Development mailing list archive at
>>> Nabble.com.
>>
>
Re: flex-typedefs build failing
Posted by Alex Harui <ah...@adobe.com>.
If there is a more stable URL, definitely we should switch to it.
Thanks for figuring that out,
-Alex
On 3/15/17, 1:10 AM, "Harbs" <ha...@gmail.com> wrote:
>I’m pretty sure this is the problem:
>
>https://closureidl.googlecode.com/files/svg.js
><https://closureidl.googlecode.com/files/svg.js> is no longer the correct
>location for the file. I think it sometimes redirects, but not always.
>
>I believe the new location is here:
>https://storage.googleapis.com/google-code-archive-downloads/v2/code.googl
>e.com/closureidl/svg.js
><https://storage.googleapis.com/google-code-archive-downloads/v2/code.goog
>le.com/closureidl/svg.js>
>
>Should we update the downloads.xml to point to
>https://storage.googleapis.com/google-code-archive-downloads/v2/code.googl
>e.com/closureidl/svg.js?
><https://storage.googleapis.com/google-code-archive-downloads/v2/code.goog
>le.com/closureidl/svg.js?> Or should we put the file someplace more
>reliable? Maven repo?
>
>Harbs
>> On Mar 15, 2017, at 9:29 AM, yishayw <yi...@hotmail.com> wrote:
>>
>> I has an an unknown host exception issue with downloading svg.js on a
>>clean
>> env running
>>
>> mvn -s settings-template.xml clean install
>>
>> Re-running it fixed the problem for me.
>>
>>
>>
>> --
>> View this message in context:
>>http://apache-flex-development.2333347.n4.nabble.com/flex-typedefs-build-
>>failing-tp60402p60460.html
>> Sent from the Apache Flex Development mailing list archive at
>>Nabble.com.
>
AW: flex-typedefs build failing
Posted by Christofer Dutz <ch...@c-ware.de>.
I don't think we are allowed to deploy that file in a Maven repo ... It's not ours.
Chris
Von meinem Samsung Galaxy Smartphone gesendet.
-------- Ursprüngliche Nachricht --------
Von: Harbs <ha...@gmail.com>
Datum: 15.03.17 04:11 (GMT-05:00)
An: dev@flex.apache.org
Betreff: Re: flex-typedefs build failing
I’m pretty sure this is the problem:
https://closureidl.googlecode.com/files/svg.js <https://closureidl.googlecode.com/files/svg.js> is no longer the correct location for the file. I think it sometimes redirects, but not always.
I believe the new location is here: https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/closureidl/svg.js <https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/closureidl/svg.js>
Should we update the downloads.xml to point to https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/closureidl/svg.js? <https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/closureidl/svg.js?> Or should we put the file someplace more reliable? Maven repo?
Harbs
> On Mar 15, 2017, at 9:29 AM, yishayw <yi...@hotmail.com> wrote:
>
> I has an an unknown host exception issue with downloading svg.js on a clean
> env running
>
> mvn -s settings-template.xml clean install
>
> Re-running it fixed the problem for me.
>
>
>
> --
> View this message in context: http://apache-flex-development.2333347.n4.nabble.com/flex-typedefs-build-failing-tp60402p60460.html
> Sent from the Apache Flex Development mailing list archive at Nabble.com.
Re: flex-typedefs build failing
Posted by Harbs <ha...@gmail.com>.
I’m pretty sure this is the problem:
https://closureidl.googlecode.com/files/svg.js <https://closureidl.googlecode.com/files/svg.js> is no longer the correct location for the file. I think it sometimes redirects, but not always.
I believe the new location is here: https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/closureidl/svg.js <https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/closureidl/svg.js>
Should we update the downloads.xml to point to https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/closureidl/svg.js? <https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/closureidl/svg.js?> Or should we put the file someplace more reliable? Maven repo?
Harbs
> On Mar 15, 2017, at 9:29 AM, yishayw <yi...@hotmail.com> wrote:
>
> I has an an unknown host exception issue with downloading svg.js on a clean
> env running
>
> mvn -s settings-template.xml clean install
>
> Re-running it fixed the problem for me.
>
>
>
> --
> View this message in context: http://apache-flex-development.2333347.n4.nabble.com/flex-typedefs-build-failing-tp60402p60460.html
> Sent from the Apache Flex Development mailing list archive at Nabble.com.
Re: flex-typedefs build failing
Posted by yishayw <yi...@hotmail.com>.
I has an an unknown host exception issue with downloading svg.js on a clean
env running
mvn -s settings-template.xml clean install
Re-running it fixed the problem for me.
--
View this message in context: http://apache-flex-development.2333347.n4.nabble.com/flex-typedefs-build-failing-tp60402p60460.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.