road0001 / tweener

Automatically exported from code.google.com/p/tweener
0 stars 0 forks source link

AS3 SWC Distribution #37

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Would it be possible to distribute Tweener as an SWC to build against? This is 
fairly easy to do with 
Ant (assuming eclipse or standalone) and the free Flex3SDK and might have some 
nice benefit in 
terms of project clutter/versioning for people implementing the latest.

I do something similar on my API project - if you are interested in this 
enhancement and want to 
see the Ant targets which power it:

http://code.google.com/p/sekati/source/browse/trunk/build.xml
http://code.google.com/p/sekati/source/browse/trunk/build/build.properties

Best,
Jason

Original issue reported on code.google.com by sekati on 18 Mar 2008 at 3:59

GoogleCodeExporter commented 8 years ago
Sorry forgot to mention the only code you would really be interested in is 
target below (there are a lot of 
other targets which might have made it difficult to find):

<!-- RESOURCE -->
<taskdef resource="flexTasks.tasks" 
classpath="${FLEX_HOME}/ant/lib/flexTasks.jar" />

        <target name="compile-swc" description="Compile project.swc.source in to an SWC library file">
                <echo>FDTKit SWC Compiler -> ${project.swc.source}: ${project.swc}</echo>
                <compc output="${project.swc}">
                        <source-path path-element="${src.dir}" />
                        <include-sources dir="${project.swc.source}">
                                <include name="*"/>
                                <exclude name="**/.svn"/>
                                <exclude name="${project.swc.exclude0}"/>
                                <exclude name="${project.swc.exclude1}"/>
                                <exclude name="${project.swc.exclude2}"/>
                        </include-sources>
                        <metadata title="${project.meta.title}" description="${project.meta.description}" 
date="${project.meta.date}">
                                <contributor name="${project.meta.contributor}" />
                                <creator name="${project.meta.creator}" />
                                <publisher name="${project.meta.publisher}" />
                        </metadata>                     
                </compc>
        </target>       

Original comment by sekati on 18 Mar 2008 at 4:01

GoogleCodeExporter commented 8 years ago
Thanks sekati! I don't know much about swc other than the theory (I still use 
CS3 on
90% of my work), but this is definitely something we'll do in the future. It's
something I'll have to do on some projects I'll have public soon too.

So thanks, twice.

Original comment by zisfor...@gmail.com on 24 Mar 2008 at 3:09

GoogleCodeExporter commented 8 years ago
Hi Zeh; attached is everything you need to start automating tweener.swc 
building in trunk with Ant - 
instructions are included (and very easy) as are test files: The generated 
tweener.swc works in Flex3SDK 
compiled swf's as well as Flash10 compiled fla's.

Best!
Jason

............................................................................
Jason M Horwitz
Principal @ SEKATI
w.  www.sekati.com
...............................................................................

Original comment by sekati on 4 Oct 2008 at 7:45

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by sekati on 4 Oct 2008 at 7:52

GoogleCodeExporter commented 8 years ago
Thanks again man. Acknowledged.

Original comment by zisfor...@gmail.com on 4 Oct 2008 at 11:54

GoogleCodeExporter commented 8 years ago
Done. Version 1.31.74 has been committed to SVN with an SWC build. The "public"
download version on the list will follow in a couple of days as I do more 
testing to
the current changes I've done to Tweener itself.

Thanks again, man.

Original comment by zisfor...@gmail.com on 5 Oct 2008 at 6:24

GoogleCodeExporter commented 8 years ago
This is great news! Thanks to both of you.
Cheers, Daniel

Original comment by daniel.gasienica on 6 Dec 2008 at 2:24