ant

Building Flex Project with RSLs and ANT

假如想象 提交于 2020-01-16 11:12:30
问题 Can someone give me a code example of how to build a flex project with ANT using framework RSL's? This is what im currently using but the file SWF generated is way to big; <target name="main"> <mxmlc file="${SRC_DIR}/myApp.mxml" output="${DEPLOY_DIR}/myApp.swf" actionscript-file-encoding="UTF-8" keep-generated-actionscript="true" incremental="true"> <!-- Get default compiler options. --> <load-config filename="${FLEX_HOME}/frameworks/flex-config.xml"/> <!-- List of path elements that form the

How To Build A Modular AIR Application With FDT 5.5

自闭症网瘾萝莉.ら 提交于 2020-01-15 12:38:05
问题 Now that FDT no longer supports fdt.launch.Application from AIR projects, how do you go about building modules for an AIR application? You can't just create multiple AIR launch configs because almost all the properties are set in the project properties rather than the launch config. Do I really have to create a new project for each module? Having 20 projects for one application seems awfully messy when you used be able to use one project and one Ant script. Here's a link to a sample build.xml

Can Ant's tar task set a Linux file permission even when the task is used on other platforms?

流过昼夜 提交于 2020-01-15 11:42:08
问题 Starting with Ant 1.7, the TarFileSet is available which seems to allow file permission modifications in the tar archive. Does this feature work platform-independent, so that I can for example create a tar file on Windows and set execution permissions for script files in this archive which will have this flag if the file is unpacked on Linux? 回答1: Yes, you can set permissions using tarfileset, using the filemode and dirmode attributes. This works when creating tar archives, even on windows.

Can Ant's tar task set a Linux file permission even when the task is used on other platforms?

。_饼干妹妹 提交于 2020-01-15 11:41:34
问题 Starting with Ant 1.7, the TarFileSet is available which seems to allow file permission modifications in the tar archive. Does this feature work platform-independent, so that I can for example create a tar file on Windows and set execution permissions for script files in this archive which will have this flag if the file is unpacked on Linux? 回答1: Yes, you can set permissions using tarfileset, using the filemode and dirmode attributes. This works when creating tar archives, even on windows.

How can I trigger an ant task only if input is newer than output?

扶醉桌前 提交于 2020-01-15 09:27:28
问题 I have a build process in Java where I need to use the Ant exec task to launch an external program. That external program will then create some sources based on an abstract specification, i.e. a kind of code generation. How can I get the exec task to execute only if the input to the code generation is newer than the output ? I.e. when the input has been modified after the output was last created? 回答1: Use the Uptodate task to set a property and add an if or unless with that property to the

Check multiple file exists or not using ANT

有些话、适合烂在心里 提交于 2020-01-15 06:59:26
问题 I am using ANT to check count for set of files in two jars. I am not able to check whether the files of same pattern exists or not. for e.g. I have 2 files like /host/user/dir1/ABC1.txt and /host/user/dir1/ABC2.txt. now i want to check whether the file of pattern "/host/user/dir1/ABC*" present or not ?? I can check individual file /host/user/dir1/ABC1.txt, using available tag, but not able to check the files for specific pattern. thanks in advance. For individual file, following works fine:

ivy:retrieve select which ivy.xml file to use

和自甴很熟 提交于 2020-01-15 05:23:08
问题 Is there a way to select which ivy.xml file to use when I invoke ivy:retrieve ? Looking at the documentation it appears that I can use the settingsRef property to select which IVY settings file to use but it's not the ivysettings.xml file I wish to modify, rather it's ivy.xml . My use case is the following: I have a main ivy.xml file that I use to fetch my compile-time and run-time dependencies I also have a number of build tool-chain dependencies, i.e. jars used by certain Ant tasks

ant is not recognized as an internal or external command

拟墨画扇 提交于 2020-01-15 05:13:32
问题 I am running Windows XP Professional Version 5.1 with service pack 3 I have downloaded the JDK 1.6.0_24-b07 and have tested that it works I downloaded apache ant .zip and installed it to C:\ant I have set the path to ;%ANT_HOME%\bin I have set the user variable name to ANT_HOME I have set the user variable value to C:\ant\apache-ant-1.8.2 I have tried the 8.3 format, I have tried everything and I can't get it ant to work. Any advice? Thanks in advance 回答1: I just got to know that there should

Apache POI JDK version

橙三吉。 提交于 2020-01-15 05:05:31
问题 I was looking for examples on how to create an XML File in ANT for Java project using Apache POI library. I encountered this statement: POI 3.5 and later requires the JDK version 1.5 or later. Versions prior to 3.5 require JDK 1.4+ here I am using Apache 3.9 and set the JDK of my project to Java 1.4 and I didn't encounter any error when trying to run my program via eclipse. But my question is if I make build.xml in ANT and deploy the JAR file. Will my project still run (3) ? Extra info I

Apache POI JDK version

淺唱寂寞╮ 提交于 2020-01-15 05:05:10
问题 I was looking for examples on how to create an XML File in ANT for Java project using Apache POI library. I encountered this statement: POI 3.5 and later requires the JDK version 1.5 or later. Versions prior to 3.5 require JDK 1.4+ here I am using Apache 3.9 and set the JDK of my project to Java 1.4 and I didn't encounter any error when trying to run my program via eclipse. But my question is if I make build.xml in ANT and deploy the JAR file. Will my project still run (3) ? Extra info I