compc

Conditionally including Flex libraries (SWCs) in mxmlc/compc ant tasks

断了今生、忘了曾经 提交于 2020-01-11 10:52:31
问题 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 tasks like this: <condition property="automation.libs" value="automation.qtp"> <equals arg1="${automation}" arg2="qtp" casesensitive="false" trim="true"/> <

How can I run ANT from a batch file without having an Environment Variable set?

こ雲淡風輕ζ 提交于 2019-12-12 17:05:42
问题 I want to include ANT, the JavaSDK and FlexSDK into my project directory. I need people in my company to be able to compile from source code. I have a build.bat file which starts with : ant blah/blah/blah But what if I want to run ANT directly without the system environment variable? If I remove these from the system ant is not recognised . I am a real newbie here, but I want to do something like this: start "${basedir}\libs\ant\bin" ant -lib ${basedir}/libs/ant/lib/flexTasks.jar pause This

Compile a SWC using COMPC, excluding 3rd party libs

别来无恙 提交于 2019-12-12 09:47:40
问题 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 obviously mean that anyone using my library would need both libraries as well, but I would prefer it this way. I am not using Flex/Flashbuilder which I know allows you to

Compile a SWC using COMPC, excluding 3rd party libs

≡放荡痞女 提交于 2019-12-05 22:18:48
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 obviously mean that anyone using my library would need both libraries as well, but I would prefer it this way. I am not using Flex/Flashbuilder which I know allows you to choose the classes to include in a swc. Thanks -external-library-path+=my.swc is the answer, though

Conditionally including Flex libraries (SWCs) in mxmlc/compc ant tasks

匆匆过客 提交于 2019-12-02 00:59:42
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 tasks like this: <condition property="automation.libs" value="automation.qtp"> <equals arg1="${automation}" arg2="qtp" casesensitive="false" trim="true"/> </condition> The purpose of this task is to set a property that determines the name of the patternset to be