I'm giving up on copy-flex-resources to deal with this. It is just not working.
I'm using the maven assembly plugin instead. This way I have complete control over what gets copied, and I control what dependencies and artifacts and I control where it copies them from and where it copies them to. I can do a binary diff between what's in the SDK and what is in the sonatype repo, and I may have to do that, but it still doesn't resolve all the issues I'm having. Even after I deployed the textLayout 1.1 swz to my LAN repo as textLayout 4.1 swz, flexmojos copy-flex-resources still fails trying to copy that file. It says the volumen or filename is incorrect, even though the path is correct, the file does exist, and there are no spaces/goofy characters in the filename. That's why I'm just going to use the assembly plugin. On Thu, Apr 28, 2011 at 10:33 AM, Christofer Dutz <[email protected]> wrote: > Well couldn't you download the flex sdk in exaclty the same version > from adobe (http://opensource.adobe.com/wiki/display/flexsdk/Download+Flex+4), > unpack it and compare that to the textLayout.swf from flexmojos ... if > those files match (which I would assume) then you can be certain that > the corresponding swz file of that sdk is binary compatible. > > But after all I think your build might work by deploying it manually, > but if Adobe goes offline the flash player will look for the version > defined in the SDK (1.1.0.604) which it will not find in your rsl > directory ... but that's just a guess. Think you should try that out. > > Chris > > 2011/4/28 Davis Ford <[email protected]>: >> Yes, but that doesn't work. As noted on the comment at the bottom -- >> textLayout is a different version. >> >> On Thu, Apr 28, 2011 at 10:14 AM, Christofer Dutz >> <[email protected]> wrote: >>> Have you had a look at these links? >>> https://docs.sonatype.org/pages/viewpage.action?pageId=7045277 >>> https://issues.sonatype.org/browse/FLEXMOJOS-347 >>> >>> Chris >>> >>> 2011/4/28 Christofer Dutz <[email protected]>: >>>> Ok .. just had a look at this caching thing ... have to admit that I >>>> haven't used it before ... but what I just saw certainly looks like I >>>> should have a look at it ;-) >>>> >>>> 2011/4/28 Davis Ford <[email protected]>: >>>>> On Thu, Apr 28, 2011 at 9:35 AM, Christofer Dutz >>>>> <[email protected]> wrote: >>>>>> Well I guess that the text-layout stuff in the flex sdk is version 1.1 >>>>>> but the sdk version containing it is 4.1 so everything in the sdk is >>>>>> deployed under the version 4.1 >>>>>> Actually keeping track of the individual versions of parts of the sdk >>>>>> would certainly make Velo go nuts withing weeks ;-) So you have to >>>>>> think of the version more like "give me the version of textLayout that >>>>>> is shipped with flex sdk 4.1.0.604" and not requesting the actual >>>>>> version of the lib. >>>>>> >>>>>> Chris >>>>>> >>>>> >>>>> Right, I can concede that keeping track of this will make you loopy, >>>>> but I guess what I was wondering is if they are binary compatible. If >>>>> I depend on signed RSLs, and I spec copy-flex-resources, it fails >>>>> trying to copy the textLayout 4.1 swz file to the webapp dir. >>>>> >>>>> Since this artifact doesn't exist in sonatype, I can deploy it locally >>>>> to get past this, but I don't want to do that if they aren't binary >>>>> compatible. >>>>> >>>>> -- >>>>> You received this message because you are subscribed to the Google >>>>> Groups "Flex Mojos" group. >>>>> To post to this group, send email to [email protected] >>>>> To unsubscribe from this group, send email to >>>>> [email protected] >>>>> For more options, visit this group at >>>>> http://groups.google.com/group/flex-mojos >>>>> >>>>> http://flexmojos.sonatype.org/ >>>>> >>>> >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Flex Mojos" group. >>> To post to this group, send email to [email protected] >>> To unsubscribe from this group, send email to >>> [email protected] >>> For more options, visit this group at >>> http://groups.google.com/group/flex-mojos >>> >>> http://flexmojos.sonatype.org/ >>> >> >> -- >> You received this message because you are subscribed to the Google >> Groups "Flex Mojos" group. >> To post to this group, send email to [email protected] >> To unsubscribe from this group, send email to >> [email protected] >> For more options, visit this group at >> http://groups.google.com/group/flex-mojos >> >> http://flexmojos.sonatype.org/ >> > > -- > You received this message because you are subscribed to the Google > Groups "Flex Mojos" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/flex-mojos > > http://flexmojos.sonatype.org/ > -- Zeno Consulting, Inc. home: http://www.zenoconsulting.biz blog: http://zenoconsulting.wikidot.com p: 248.894.4922 f: 313.884.2977 -- You received this message because you are subscribed to the Google Groups "Flex Mojos" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/flex-mojos http://flexmojos.sonatype.org/
