flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "christofer.dutz@c-ware.de" <christofer.d...@c-ware.de>
Subject AW: [MENTORS] Binary Files
Date Thu, 31 May 2012 13:22:36 GMT
"Having a similar setup for Flex would be ok IMO: download binaries from trusted sources by
default, but allow people to supply their own binaries if they want."

It would also make the step of mavenizing a SDK release obsolete. I would definitely vote
for this (If I'm allowed a vote) ;-)
I too would suggest to avoid binary dependencies. The problem is that Adobe patched quite
a lot of Jars so substituting them with the default ones doesn't seem possible. And Adobe
even stated that they will not publish their changes as the changes are far too ugly to be
published. So mabe it is neccesary to distribute some libs in binary form, but I would assume
that it would be better to check if it is actually nessecary to have patched versions at all
... I would assume that these patches were needed because of bugs in the third party modules
and are eventually fixed or adobe used them third party libs wrong (Just an assumption).


-----Ursprüngliche Nachricht-----
Von: Bertrand Delacretaz [mailto:bdelacretaz@apache.org] 
Gesendet: Donnerstag, 31. Mai 2012 11:04
An: flex-dev@incubator.apache.org
Betreff: Re: [MENTORS] Binary Files


On Thu, May 31, 2012 at 12:01 AM, Alex Harui <aharui@adobe.com> wrote:
> ...Carol and I are trying to make sense of the rules for binary files 
> at Apache.  It is my current understanding that there are slightly 
> different rules for what can go in SVN vs in a release....

Yes - a release consists of source code only, but it's ok in some cases to have binaries in
svn (though one should ask if that's really needed).

> My current understanding is that we can keep binary files in SVN.  You 
> can have a “deps” folder with JARs and other libraries you are dependent on...

That's possible but using a dependency management tool (Maven or the equivalent for ant, ivy?)
is much better IMO.

> But can you:
>    A. have test media that is compiled output of proprietary tools?  
>Flex allows use of PixelBender  bitmap filters which are compiled using the Adobe PixelBender

We cannot release such files. Having them in svn might be ok but I'd also put them in a distinct
"deps" or "test-deps" folder.

>...B. have source files that are not plain text?  There are a few FLA 
>files from Adobe Flash  that will be used for optional utility programs....

Binary files created with a proprietary tool? Looks like the same as A. to me, cannot release

> My current understanding is that a source release cannot contain binary files..


> ...Yet in the Batik and Velocity source distributions there is a 
> folder of JAR files and I don’t see any option to build those JARs 
> from source.  Other notes indicate that downstream releases should 
> build from sources of upstream releases.  Again Batik and Velocity don’t seem to be
doing this....

>...C. Can our source release build script leverage JARs or must it build everything from

Most Apache projects written in Java use Maven builds, which by default get their dependencies
from a central repository that we do not control. But users can relatively easily replace
that with their own repository, and in theory they can build all dependencies themselves before
adding them to their local repository.

Having a similar setup for Flex would be ok IMO: download binaries from trusted sources by
default, but allow people to supply their own binaries if they want.

View raw message