AW: AW: FlexUnit 4.2 ant build broken
Then I'll have a look at the Maven templates ... As I could see there seems to be a maven release target in the ant scripts, that take care of the signing and deploying. But it's built for the Sonatype OSS repo and not the Apache one ... would investigate a little and update that to Apache. Then you could do the releases yourself. Chris -Ursprüngliche Nachricht- Von: Alex Harui [mailto:aha...@adobe.com] Gesendet: Freitag, 25. April 2014 15:12 An: dev@flex.apache.org Betreff: Re: AW: FlexUnit 4.2 ant build broken I've already checked in changes like that. We found them moving CI to our own Windows box. Might need to think about doing a 4.2.1. -Alex On 4/25/14 1:47 AM, Christofer Dutz christofer.d...@c-ware.de wrote: Hi, I too encountered some problems with the FlexUnit build on Windows 7 ... I fixed all issues by adjusting one of the URLs in the ant script, which caused a double / in the url for downloading something related with Fluint support. It seems the original github location no longer exists and github forwards the client to another url, but in the case of the double / this doesn't work. By removing the / I got everything to build. I'll re-check my changes and commit them this weekend. One other thing I noticed is that we are downloading binary files from the old flexunit github account ... I think it would be a good Idea to change these urls. Eventually we could download the third party libs from maven central (You can download from Maven Central as you can from any other location). Chris Von: Daniel Tiefenauer daniel.tiefena...@crealogix.com Gesendet: Freitag, 25. April 2014 10:38 An: dev@flex.apache.org Betreff: AW: FlexUnit 4.2 ant build broken Hi Justin I'm using Windows 7. By the way: I read in this post [1] that FlexUnit 4.2 will support Code Coverage with Apparat. When will this be available? I tried to produce a coverage report by running 'ant test -Dbuild.instrument=true -DFLEX_COVER_HOME=path/to/FlexCoverDirectory', As my FlexCoverDirectory I'm using a Flex 4.12/AIR4.0-SDK directory, over which I copied the contents of the 'sdk-modifications-4_0'-folder from the flexcover-0.90.zip found in FlexUnit4FlexCoverListener/in. My ANT_HOME points to an installation of Ant 1.9.3 and my JAVA_HOME to the Java 8 SDK. But I always get a java.lang.NoClasDefFoundError. Is this feature supposed to work? Regards Daniel [1] http://forums.adobe.com/message/3178595 -Ursprüngliche Nachricht- Von: Justin Mclean [mailto:jus...@classsoftware.com] Gesendet: Freitag, 25. April 2014 10:23 An: dev@flex.apache.org Betreff: Re: FlexUnit 4.2 ant build broken Hi, Thanks for fining that - just out of interest what platform were you on? Justin
FlexUnit 4.2 ant build broken
Hi there I just tried to build the FlexUnit 4.2 release from https://github.com/apache/flex-flexunit Apparently there are a few typos which terminates the build script (when running 'ant' or 'ant package') because the Fluint and FlexUnit1Lib-SWCs cannot be downloaded: Files: * FlexUnit4Test/downloads.xml (Lines 241 and 294) o IS: param name=srcUrl value=https://github.com/flexunit/flexunit/raw/master/FlexUnit4Test/libs// o SHOULD: param name=srcUrl value=https://github.com/flexunit/flexunit/raw/master/FlexUnit4Test/libs/ * FlexUnit4FluintExtensions/downloads.xml (Line 112) o IS: param name=srcUrl value=https://github.com/flexunit/flexunit/raw/master/FlexUnit4Test/libs// o SHOULD: param name=srcUrl value=https://github.com/flexunit/flexunit/raw/master/FlexUnit4Test/libs/ Notice the trailing forward slash in the 'value'-property. Remove it and everything works smoothly. You probably already noticed this yourself, just wanted to make sure. Cheers Daniel http://www.tiefenauer.info
Re: FlexUnit 4.2 ant build broken
Hi, Thanks for fining that - just out of interest what platform were you on? Justin
AW: FlexUnit 4.2 ant build broken
Hi Justin I'm using Windows 7. By the way: I read in this post [1] that FlexUnit 4.2 will support Code Coverage with Apparat. When will this be available? I tried to produce a coverage report by running 'ant test -Dbuild.instrument=true -DFLEX_COVER_HOME=path/to/FlexCoverDirectory', As my FlexCoverDirectory I'm using a Flex 4.12/AIR4.0-SDK directory, over which I copied the contents of the 'sdk-modifications-4_0'-folder from the flexcover-0.90.zip found in FlexUnit4FlexCoverListener/in. My ANT_HOME points to an installation of Ant 1.9.3 and my JAVA_HOME to the Java 8 SDK. But I always get a java.lang.NoClasDefFoundError. Is this feature supposed to work? Regards Daniel [1] http://forums.adobe.com/message/3178595 -Ursprüngliche Nachricht- Von: Justin Mclean [mailto:jus...@classsoftware.com] Gesendet: Freitag, 25. April 2014 10:23 An: dev@flex.apache.org Betreff: Re: FlexUnit 4.2 ant build broken Hi, Thanks for fining that - just out of interest what platform were you on? Justin
AW: FlexUnit 4.2 ant build broken
Hi, I too encountered some problems with the FlexUnit build on Windows 7 ... I fixed all issues by adjusting one of the URLs in the ant script, which caused a double / in the url for downloading something related with Fluint support. It seems the original github location no longer exists and github forwards the client to another url, but in the case of the double / this doesn't work. By removing the / I got everything to build. I'll re-check my changes and commit them this weekend. One other thing I noticed is that we are downloading binary files from the old flexunit github account ... I think it would be a good Idea to change these urls. Eventually we could download the third party libs from maven central (You can download from Maven Central as you can from any other location). Chris Von: Daniel Tiefenauer daniel.tiefena...@crealogix.com Gesendet: Freitag, 25. April 2014 10:38 An: dev@flex.apache.org Betreff: AW: FlexUnit 4.2 ant build broken Hi Justin I'm using Windows 7. By the way: I read in this post [1] that FlexUnit 4.2 will support Code Coverage with Apparat. When will this be available? I tried to produce a coverage report by running 'ant test -Dbuild.instrument=true -DFLEX_COVER_HOME=path/to/FlexCoverDirectory', As my FlexCoverDirectory I'm using a Flex 4.12/AIR4.0-SDK directory, over which I copied the contents of the 'sdk-modifications-4_0'-folder from the flexcover-0.90.zip found in FlexUnit4FlexCoverListener/in. My ANT_HOME points to an installation of Ant 1.9.3 and my JAVA_HOME to the Java 8 SDK. But I always get a java.lang.NoClasDefFoundError. Is this feature supposed to work? Regards Daniel [1] http://forums.adobe.com/message/3178595 -Ursprüngliche Nachricht- Von: Justin Mclean [mailto:jus...@classsoftware.com] Gesendet: Freitag, 25. April 2014 10:23 An: dev@flex.apache.org Betreff: Re: FlexUnit 4.2 ant build broken Hi, Thanks for fining that - just out of interest what platform were you on? Justin
Re: AW: FlexUnit 4.2 ant build broken
I've already checked in changes like that. We found them moving CI to our own Windows box. Might need to think about doing a 4.2.1. -Alex On 4/25/14 1:47 AM, Christofer Dutz christofer.d...@c-ware.de wrote: Hi, I too encountered some problems with the FlexUnit build on Windows 7 ... I fixed all issues by adjusting one of the URLs in the ant script, which caused a double / in the url for downloading something related with Fluint support. It seems the original github location no longer exists and github forwards the client to another url, but in the case of the double / this doesn't work. By removing the / I got everything to build. I'll re-check my changes and commit them this weekend. One other thing I noticed is that we are downloading binary files from the old flexunit github account ... I think it would be a good Idea to change these urls. Eventually we could download the third party libs from maven central (You can download from Maven Central as you can from any other location). Chris Von: Daniel Tiefenauer daniel.tiefena...@crealogix.com Gesendet: Freitag, 25. April 2014 10:38 An: dev@flex.apache.org Betreff: AW: FlexUnit 4.2 ant build broken Hi Justin I'm using Windows 7. By the way: I read in this post [1] that FlexUnit 4.2 will support Code Coverage with Apparat. When will this be available? I tried to produce a coverage report by running 'ant test -Dbuild.instrument=true -DFLEX_COVER_HOME=path/to/FlexCoverDirectory', As my FlexCoverDirectory I'm using a Flex 4.12/AIR4.0-SDK directory, over which I copied the contents of the 'sdk-modifications-4_0'-folder from the flexcover-0.90.zip found in FlexUnit4FlexCoverListener/in. My ANT_HOME points to an installation of Ant 1.9.3 and my JAVA_HOME to the Java 8 SDK. But I always get a java.lang.NoClasDefFoundError. Is this feature supposed to work? Regards Daniel [1] http://forums.adobe.com/message/3178595 -Ursprüngliche Nachricht- Von: Justin Mclean [mailto:jus...@classsoftware.com] Gesendet: Freitag, 25. April 2014 10:23 An: dev@flex.apache.org Betreff: Re: FlexUnit 4.2 ant build broken Hi, Thanks for fining that - just out of interest what platform were you on? Justin
RE: FlexUnit 4.2 ant build broken
By the way: I read in this post [1] that FlexUnit 4.2 will support Code Coverage with Apparat. When will this be available? People are needed to work on it Jason Gardner did some great work on this [1], but it would require work to get it into Apache. This is still the goal for anyone who can help. But I always get a java.lang.NoClasDefFoundError. Is this feature supposed to work? Yes, it was all working at one point on the old FlexUnit build server (we kept metrics on our own code coverage) but is possible things have broken since then through various changes and certainly was never tested with Java 8. I will try to take a look at this when I can but can't promise a timeline yet. Mike [1] https://code.google.com/p/flexunit-with-code-coverage/