@VELO: have you received my pull request?
@Mixime: I''l review that optimizeRsls option tomorrow and give you more
feedback, I don't really like that mixing libraries you have to do to make
it work. I would prefer not to perform such repackaging

On Sat, Feb 12, 2011 at 02:12, Maxime Lem <[email protected]> wrote:

> Yes! It worked!
>
> Here are the steps I've done :
> - checkout parsley source code (rev 2.3.1 for me)
> - update build\build.properties and build\build.xml. For this last
> file, I replaced in "compile_parsley_flex3" target option -el by
> option -include-libraries for ${release.target.dir}/release/spicelib-
> flex-${version}.swc and ${project.dir}/lib/popup-flex3-1.7.swc to
> merge these dependencies
> - run ant compile-all
> - unzip parsley-flex3.swc and rename library.swf to parsley-flex3.swf
> - run optimizer on  parsley-flex3.swf built by ant :
> optimizer -keep-as3-
>
> metadata="Bindable,Managed,ChangeEvent,NonCommittingChangeEvent,Transient,Transient,Inject,InjectConstructor,Factory,PostConstruct,AssignableTo,PreDestroy,Init,Destroy,Observe,AsyncInit,MessageDispatcher,ManagedEvents,MessageHandler,MessageBinding,MessageError,MessageInterceptor,Command,CommandComplete,CommandResult,CommandError,CommandStatus,Publish,Subscribe,PublishSubscribe,ResourceBinding,Autoremove,Selector,Target,Internal,ObjectDefinition,DynamicObject,DefaultProperty,Metadata,Required,Event,Ignore,Attribute,TextNode,ChildTextNode,ChoiceId,ChoiceType,XmlMapping"
> -input parsley-flex3.swf
> - Copy swc and swf to maven repo (should use another artifact name, it
> is not the same anymore)
> - run digest on parsley-flex3.swc :
> D:\Dev\sdks\3.5.0\bin>digest -digest.rsl-file D:\maven\repository\org
> \spicefactory\parsley-flex3\2.3.1\parsley-flex3-2.3.1.swf -digest.swc-
> path D:\maven\repository\org\spicefactory\parsley-flex3\2.3.1\
> - delete spicelib dependency in my main swf's pom, add rsl scope for
> parsley-flex3
> - run mvn package on it
> And it's working...
>
> Here are the parsley files I'm getting :
> dir D:\maven\repository\org\spicefactory\parsley-flex3\2.3.1
> 12/02/2011  02:48               297 parsley-flex3-2.3.1.pom
> 12/02/2011  02:55           392 785 parsley-flex3-2.3.1.swc
> 12/02/2011  02:52           150 701 parsley-flex3-2.3.1.swf
>
> They are a bit bigger than original, but self sufficient, and working
> as dynamic link
>
> --
> 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/

Reply via email to