In order to automatically download the closure-library, a maven dependency is 
added to the corresponding jar file available at Maven-Central. This is not 
extracted to the filesystem, but is available to the compiler as static 
resources in the Java classpath. In order to write these resources to the 
bin/js-debug directory, I need to select these parts from the classpath and 
separate these from the rest and have the recourses written to disk.

Hope this explains things a little better.

Chris

________________________________________
Von: Alex Harui <[email protected]>
Gesendet: Dienstag, 11. November 2014 22:52
An: [email protected]
Betreff: Re: AW: AW: AW: AW: [FLEX-JS] Streamlining the packaging

On 11/11/14, 1:44 PM, "Christofer Dutz" <[email protected]> wrote:

>Hi Alex,
>
>in order to select individual parts of the classpath, I need to somehow
>scan the classpath and get a list of resources. I could do this manually
>using reflection, but it would probably be far less performant. Another
>alternative would be a Spring library. As I didn't want to bring in
>another set of libraries I thought that the "reflection" library could be
>pretty useful.

Chris, I’m totally lost on what problem you are trying to solve.  By
classpath, do you mean the Java classpath?  How does that relate to
finding SWCs and js files inside them?

-Alex

Reply via email to