Here's the scenario: I run compc on a source directory to recompile an already existing library after some changes, which completes successfully. Then I remove the library (the .swc file) and re-compile, which causes many errors to be thrown.
Nothing changed in the interim - clearly this should have either succeeded both times or failed...
Hi,
I have a code library that I have built. It relies on 2 other (third party) libraries. At the moment, when I compile the library into a swc, both third party libraries are included. I am looking for a way to compile my code library against the third party libraries, but without including them in the compiled swc.
This would obviou...
I'm building a flex .swc library using Ant, and many of the assets that are supposed to be in the file are not being copied, instead creating 0-byte entries in the .swc.
Here is the ant compc target that is doing the creation. I've tried both compiler.include-libraries and compiler.library-path here, which is why the latter is still pr...
I have a Flex 3 SWC file compiled using the compc Ant task. It looks very similar to the one generated by the Eclipse export release build command, but there are some 0-byte files in the mx packages that unnerve me:
Archive: flex/package/bin/package.swc
Length Date Time Name
-------- ---- ---- ----
0 10-16...
Hi,
I'm trying to compile an SWC file from a list of given ActionScript classes. I'm using the compc compiler. The problem is that there are so many classes grouped into multiple namespaces that I am finding it very tedious to specify each individual class to be included in the SWC. Is there any easier way of doing this like just simpl...
I'm trying to move the build of a Flex Builder workspace from the IDE into an Ant task, and I'm having some trouble with the behavior of some custom metadata tags in the projects.
I have one library project which is compiled as a .swc, which includes several classes that read metadata off of classes passed to them. An application depend...
I am trying to compile a Library SWC using FlashBuilder while retaining the references to the source code so that asdocs will still appear and the debugger will show source code when there is a problem. The results I want are similar to what you get when you set a "source-attachment" in the "ActionScript Build Path" settings panel. (see ...
I have been struggling trying to figure out how to conditionally include Flex libraries in an ant build based on a property that is set on the command line. I have tried a number of approaches with the <condition/> task, but so far have not gotten it to work. Here is where I am currently.
I have an init target that includes condition ...
I've seen a number of examples, e.g. here, where people are including locale resource bundles by referencing the locale attribute in the element. For some reason this doesn't work for me. Here's what I have for the task:
<compc output="${deploy.dir}/myfrmwrk.swc" locale="en_US">
<source-path path-element="${basedir}/src/main/fle...
Here is how I usually write the compile task:
<compc keep-generated-actionscript="true"
include-classes="Class1 Class2 com.package.Class3"
output="${module.output.dir}/output.swc" fork="${flex.fork}" maxmemory="256m">
<source-path path-element="${module.basedir}/src"/>
</compc>
What I'm looking for is a...