Ok … commenting my own post again.

So Pixelbender is a native application. If I was to create a plugin to compile 
the pbk to pbj files, we would add a dependency to an installed tool and 
introduce another Environment Variable.
I don’t want to do that for the Maven build. I’m happy that we got rid of 
dependencies like that. 

If the pbj files are somewhat static, an alternative would be to package the 
compiled pbj files into a jar or zip and to manually release that. We would 
then reference these static resources from Maven
As they are our code, we should be allowed to release the binary files. If we 
do it as Apache Flex team, we can use the Apache Nexus and that mirrors stuff 
to Maven Central.

Would you think that’s a good way to do it?

Chris


Am 10.03.17, 08:43 schrieb "Christofer Dutz" <christofer.d...@c-ware.de>:

    Ok … so I changed the flexjs-maven-plugins default for 
“failOnCompilerWarnings” from false to true and now the build for Graphics 
fails.
    
    Investigating the problem a little more, it seems as if the “pbk” files are 
source files and these are compiled by pixelbender to pbj files. Is that 
correct?
    If yes, then the location for the pbk files is correct, however do we need 
a Maven plugin to compile the pbk to pbj files.
    
    Chris
    
    
    Am 10.03.17, 08:31 schrieb "Christofer Dutz" <christofer.d...@c-ware.de>:
    
        Ok … so that’s a Flash-Only bead?
        If the pbj files ar “sources”, I would add them to FlexJS. If they have 
to be simply read as pbj files, they belong into src/main/resources, If 
something compiles them to something else, then it belongs into src/main/flex …
        But I’ll have a look at that right away. 
        
        Chris
        
        Am 09.03.17, 16:37 schrieb "Harbs" <harbs.li...@gmail.com>:
        
            Yes we do.
            
            Yishay created a BlendBead and the pixel bender files are needed to 
get the blends to render correctly in Flash.
            
            > On Mar 9, 2017, at 5:09 PM, Christofer Dutz 
<christofer.d...@c-ware.de> wrote:
            > 
            > Hi Yishay,
            > 
            > Yeah … but why do we need them in FlexJS now? I was quite happy 
with not needing stuff like that.
            > 
            > Chris
            > 
            > 
            > Am 09.03.17, 15:27 schrieb "yishayw" <yishayj...@hotmail.com>:
            > 
            >    PBJ files are a compiled version of a Pixel Bender script that 
can be loaded
            >    by the Flash Player [1].
            > 
            >    As far as I understand it's a proprietary Adobe format which 
requires a
            >    proprietary tool, which is why we want to remove them from our 
repo. We're
            >    using them to implement blend-mode styles in flash.
            > 
            >    I recently added them to downloads.xml, which is a file 
containing a bunch
            >    of ant tasks for adding external dependencies that need to be 
downloaded.
            >    We're wondering how the same trick could be done for Maven. 
            > 
            > 
            >    [1] http://ncannasse.fr/projects/pbj
            > 
            > 
            > 
            >    --
            >    View this message in context: 
http://apache-flex-development.2333347.n4.nabble.com/FlexJS-Maven-New-Upstream-Dependency-was-Re-git-commit-flex-asjs-refs-heads-develop-Added-Shader-fil-tp60260p60279.html
            >    Sent from the Apache Flex Development mailing list archive at 
Nabble.com.
            > 
            > 
            
            
        
        
    
    

Reply via email to