What I’ve found - and I could be wrong - is that FLEX_HOME is changed by the frameworks/as/build.xml and reset to FLEXJS_HOME so there is no template to copy. Not sure what the ramifications are for leaving FLEX_HOME to its original value, but I am experimenting.
Peter Ent Adobe Systems On 3/18/15, 12:04 PM, "Alex Harui" <[email protected]> wrote: >The index.template.html gets copied from a fully built Flex-sdk repo, not >from the swfobject package itself since the Flex version may be slightly >different. > >Maybe the easy answer is to check index.template.html into git. I was >copying it so it would stay in sync with the SDK, but maybe that’s not >important. > >-Alex > >On 3/17/15, 1:26 PM, "Peter Ent" <[email protected]> wrote: > >>I¹ve run into this problem too on a new machine. I can understand copying >>them from the flex-sdk, but it is not doing so. >> >>I looked in the downloads.xml in flex-asjs/frameworks/as and the >>index.template.html is just not getting copied. I would fix it but I >>don¹t >>see what is wrong with it. >> >>‹peter >> >>On 11/12/14, 4:10 PM, "Christofer Dutz" <[email protected]> >>wrote: >> >>>Hmmm ... >>> >>>indeed I could find the files in the flex-sdk ... but why does only part >>>of this stuff get copied? >>>Currently I have this: >>> >>>templates/ >>>templates/swfobject/ >>>templates/swfobject/history/ >>>templates/swfobject/expressInstall.swf >>>templates/swfobject/swfobject.js >>> >>>So it contains some of the stuff in the flex-sdk, but only part of it. >>> >>>templates/ >>>templates/swfobject/ >>>templates/swfobject/history/ >>>templates/swfobject/history/history.css >>>templates/swfobject/history/history.js >>>templates/swfobject/history/historyFrame.html >>>templates/swfobject/expressInstall.swf >>>templates/swfobject/swfobject.js >>>templates/swfobject/index.template.html >>> >>>Any Ideas? >>> >>>Chris >>> >>>________________________________________ >>>Von: Alex Harui <[email protected]> >>>Gesendet: Mittwoch, 12. November 2014 23:50 >>>An: [email protected] >>>Betreff: Re: AW: AW: [FlexJS] Now I need a little help with FlexJS ;-) >>> >>>On 11/12/14, 2:25 PM, "Christofer Dutz" <[email protected]> >>>wrote: >>> >>>>I'm getting this error: >>>> >>>>Caused by: >>>>/Users/christoferdutz/Projects/Apache/Flex/flex-asjs/examples/build_exa >>>>m >>>>p >>>>l >>>>e.xml:296: Warning: Could not find file >>>>/Users/christoferdutz/Projects/Apache/Flex/flex-asjs/templates/swfobjec >>>>t >>>>/ >>>>i >>>>ndex.template.html to copy. >>>> >>>>Seems most failing modules have this problem. >>> >>>Ah. The build scripts and installers currently steal these files from >>>the >>>regular Flex SDK. I¹m ok with checking a copy into flex-asjs if that >>>helps. Or linking to flex-sdk if Git supports such a thing. >>> >>>-Alex >> >
