Are the Flex Ant tasks open source? If so, where to find them?
I took a brief look into Flex SDK source and didn't see the Flex Ant tasks. Is this also open source? Where would I find it?
I probably won't change anything, just want to take a look. Although, I'm annoyed that the tasks don't work in a similar fashion as the core ant tasks
Thanks.
http://opensource.adobe.com/svn/opensource/flex/sdk/trunk/modules/antTasks
Note that the way the tasks are put together ain't exactly pretty--they're just a very thin wrapper on mxmlc / compc / etc. There are some advantages to this approach, but if you're hoping to learn about the compiler options by looking at the task source, it could take some doing.
Similar Messages
-
Compilation of adobe air app that uses ANE fails while using the flex ant tasks.
The resolution seems to be a hack - which when you rename .ane files to .swc, it works.
I came across this workaround here: http://stackoverflow.com/questions/11112705/using-ant-mxmlc-task-with-native-extension?rq= 1
<mxmlc file="${app.root}/app.as"
output="${output.dir}/app.swf"
allow-source-path-overlap="true"
debug="false"
actionscript-file-encoding="UTF-8"
swf-version="19" >
<load-config filename="${framework.root}/air-config.xml"/>
<source-path path-element="${framework.root}"/>
<source-path path-element="src"/>
<source-path path-element="other"/>
<compiler.library-path dir="libs" append="true">
<include name="**/*.swc"/>
</compiler.library-path>
<!-- THIS DOES NOT WORK -->
<compiler.external-library-path dir="nativeExtension" append="true">
<include name="**/*.ane"/>
</compiler.external-library-path>
</mxmlc>
However, if I rename all the .ane files in the nativeExtension directory to .swc the following change works..
<!-- THIS WORKS -->
<compiler.external-library-path dir="nativeExtension" append="true">
<include name="**/*.swc"/>
</compiler.external-library-path>
Has this issue been addressed?
I'm using the following:
- Adobe AIR SDK & Compiler (version 3.7) for Mac OS X
- ActionScript Compiler 2.0
- Apache Ant wrapper located in "AIRSDK_Compiler/ant/lib/flexTasks.jar"
Let me know if any other details will be helpful.I'm using something like this in my build.xml (inapp.purchase.flash.swc is the flash wrapper for the ANE):
<external-library-path dir="${basedir}/extensions/inapp.purchase/inapp.purchase.flash/bin" append="true">
<include name="inapp.purchase.flash.swc" />
</external-library-path>
I don't think you need ANE when building swf component of your app. ANE is only required for packaging. By linking with external inapp.purchase.flash.swc you're just telling action script compiler that above symbols will be defined later (in ANE). -
My patience has been pushed to its limit with this iPod and I cannot find hours of operation for customer service and tech support and the phone system just tells you no one is available and call back during regular hours, but nothing saying what those hours are. Does anyone know?
Looking at the Apple's website and previous posts, Apple does not publish the hours. Did you can in the USA during the times that corresponsd to about 9AM to 4PM Pacific time?
-
Hi,
I am trying to build my Flex app which uses the Advanced Data Grid in a couple of locations. Originally, when I built the app using the flex ant tasks, I noticed the Visualization Trial watermark show up on the screen. I then added the license tag with the serial number to my flex-config.xml and re-ran my ant build. The watermark goes away, but then when I look at the advanced datagrid, the datagrid shows up with the hierarchy, but the data does not display in the grid (only the group by nodes are visible, not the data for the leaf elements). This works fine when I build the app using my Flex Builder. Is there something I am missing or need to add to my flex ant task to make this work?
Any help or guidance is much appreciated.
The following is the ant task to build the module that uses the ADG:
<target name="compile-modules" depends="compile-shared">
<!-- Module 1 -->
<echo>Compiling module 1...</echo>
<mxmlc file="${modulesrc.dir}\ui\modules\mod1\Module1.mxml"
output="${dist.dir}\modules\mod1\Module1.swf"
actionscript-file-encoding="UTF-8"
incremental="true"
default-background-color="0xFFFFFF"
use-network="false"
load-externs="${extern-report-xml}">
<load-config filename="${FLEX_HOME}/frameworks/flex-config.xml" />
<source-path path-element="${FLEX_HOME}/frameworks"/>
<!-- source paths -->
<compiler.source-path path-element="${modulesrc.dir}"/>
<!-- add external libraries -->
<compiler.library-path dir="${main.dir}" append="true">
<include name="${lib.dir}"/>
</compiler.library-path>
<compiler.library-path dir="${FLEX_HOME}/frameworks" append="true">
<include name="libs" />
<include name="locale/{locale}" />
</compiler.library-path>
<compiler.debug>true</compiler.debug>
</mxmlc>
</target>
And here is the ant task for the main application:
<target name="compile-ui" depends="compile-modules">
<mxmlc file="${src.dir}/MainApp.mxml" output="${dist.dir}/MainApp.swf"
actionscript-file-encoding="UTF-8" keep-generated-actionscript="false"
fork="true" maxmemory="1024m">
<jvmarg value="-XX:MaxPermSize=256m"/>
<load-config filename="${FLEX_HOME}/frameworks/flex-config.xml"/>
<source-path path-element="${FLEX_HOME}/frameworks"/>
<source-path path-element="${src.dir}"/>
<source-path path-element="${main.dir}/locale/{locale}"/>
<!-- List of SWC files or directories that contain SWC files. -->
<!--<compiler.library-path dir="${FLEX_HOME}/frameworks" append="true">
<include name="libs" />
<include name="locale/{locale}" />
</compiler.library-path>-->
<compiler.library-path dir="${FLEX_HOME}/frameworks" append="true">
<include name="libs/datavisualization.swc" />
<include name="libs/flex.swc" />
<include name="libs/framework.swc" />
<include name="libs/rpc.swc" />
<include name="libs/utilities.swc" />
<include name="locale/{locale}" />
</compiler.library-path>
<compiler.library-path dir="${main.dir}" append="true">
<include name="${lib.dir}"/>
</compiler.library-path>
<runtime-shared-library-path path-element="${FLEX_FRAMEWORK}/framework.swc">
<url rsl-url="framework_3.2.0.3958.swf"/>
<url rsl-url="framework_3.2.0.3958.swz"/>
</runtime-shared-library-path>
<compiler.debug>true</compiler.debug>
</mxmlc>
</target>
Regards,
Purushto remove watermark i have added license key in WEB-INF\flex\license.properties file as key = value
-
[svn] 4001: Adding support for asdoc in flex ant tasks
Revision: 4001<br />Author: [email protected]<br />Date: 2008-11-03 13:46:13 -0800 (Mon, 03 Nov 2008)<br /><br />Log Message:<br />-----------<br />Adding support for <asdoc> in flex ant tasks<br /><br />QE Notes: Tests need to be added to the flextasks test suite.<br />Doc Notes: flex tasks documentation should be updated with example for <asdoc> task. <br />Reviewer: Paul<br />Bugs: SDK-9775<br />tests: checkintests<br /><br />Ticket Links:<br />------------<br /> http://bugs.adobe.com/jira/browse/SDK-9775<br /><br />Modified Paths:<br />--------------<br /> flex/sdk/trunk/modules/antTasks/flexTasks-internal.tasks<br /> flex/sdk/trunk/modules/antTasks/flexTasks.tasks<br /><br />Added Paths:<br />-----------<br /> flex/sdk/trunk/modules/antTasks/src/flex/ant/AsDocTask.java
You should use compiler.library-path to include libraries.
Try the following
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project basedir="." default="build" name="Project_name">
<property environment="env"/>
<property name="FLEX_HOME" value="C:/Program Files/Flex 3.4"/>
<property name="APP_ROOT" value="./src"/>
<property name="Project_name.location" value="../Project_name"/>
<taskdef resource="flexTasks.tasks" classpath="${FLEX_HOME}/ant/lib/flexTasks.jar"/>
<target name="build">
<mxmlc file="${APP_ROOT}/AdminConsole.mxml">
<source-path path-element="${FLEX_HOME}/frameworks"/>
<compiler.library-path>
<include name="${Project_name.location}/src" />
</compiler.library-path>
</mxmlc>
</target>
</project>
Although, I don't know what are you planning to include, and whether you should use compiler.library-path for that. -
Changing the wldeploy ant task behaviour
wldeploy ant task while deploying the application deploys it under <configured weblogic upload dir>/<application name>/app/ application name.
Is there any way we can change this behaviour as we couldnt find the options in ant task to change itThat is all you should have to do, the ant tasks are sitting inside the
weblogic.jar.
Cheers
mbg
"Shane Witbeck" <[email protected]> wrote in message
news:[email protected]..
Rob Bennett <[email protected]> wrote in message
news:<[email protected]>...
What is required for the wldeploy ant task to function properly? I am
able to use it when I run ant from the command line and use the version
of ant that came with Weblogic 8 (I have the platform beta, not the
release version). When I try to use it inside of eclipse (which uses
its own copy of ant), the task fails.. it looks like it is trying to
generate RMI stubs. If anyone can shed light on what I am missing from
the eclipse environment, I would appreciate it.
-RobI actually just got it to work by adding the weblogic.jar to my
classpath. (Im using WL 8.1).
-Shane -
What are the ports need to open at firewall
What are the ports need to open at firewall to access Oracle EBS R12 through internet?
All these following ports need to open at firewall??
Database Port : 1521
RPC Port : 1626
Web SSL Port : 4443
ONS Local Port : 6100
ONS Remote Port : 6200
ONS Request Port : 6500
Web Listener Port : 8000
Active Web Port : 8000
Forms Port : 9000
Metrics Server Data Port : 9100
Metrics Server Request Port : 9200
JTF Fulfillment Server Port : 9300
MSCA Server Port : 10200-10205
MCSA Telnet Server Port : 10200,10202,10204
MSCA Dispatcher Port : 10800
Java Object Cache Port : 12345
OC4J JMS Port Range for Oacore : 23000-23004
OC4J JMS Port Range for Forms : 23500-23504
OC4J JMS Port Range for Home : 24000-24004
OC4J JMS Port Range for Oafm : 24500-24504
OC4J AJP Port Range for Oacore : 21500-21504
OC4J AJP Port Range for Forms : 22000-22004
OC4J AJP Port Range for Home : 22500-22504
OC4J AJP Port Range for Oafm : 25000-25004
OC4J RMI Port Range for Oacore : 20000-20004
OC4J RMI Port Range for Forms : 20500-20504
OC4J RMI Port Range for Home : 21000-21004
OC4J RMI Port Range for Oafm : 25500-25504
DB ONS Local Port : 6300
DB ONS Remote Port : 6400
Oracle Connection Manager Port : 1521 -
Are the apple stores really open on Easter?
Are the apple stores really open on Easter?
On the store web page it says:
April 04, 2010:
10:00 a.m. - 7:00 p.m.
Apple is not giving their employees Easter off?What's a day off? People get those?
Some Apple Retail Stores are open, some are closed. For example:
http://www.apple.com/retail/thesummit/
I recommend checking http://www.apple.com/retail/storelist/ for Easter hours before heading to a particular store. -
Is the blackberry operating system open source?
Hi,
Is the blackberry operating system open source? Or is there a developers SDK?
What do I need to do if I want to create software for the blackberry?
Thanks!
JuggernautNo, BlackBerry OS is not open source. Yes, there is a BlackBerry JDE. Click the Developers link above to find all the developer resources.
-
is there a firefox or best browser (except IE) for Windows Server 2003 R2 Standard? if so, is it free of charge (open source) forever? where can I get it? details. need answers to all questions
# As to what is the best browser, it is subjective. I think it is the best, others will disagree. There is no special version for Windows Server 2003, the usual version works on it.
# It is free of charge and will always be free.
# It is open source.
# You can get it from http://www.mozilla.com -
I just purchased and downloaded Logic 9. I had Logic 8 previously installed. What the **** happened to my Logic 8. It's gone along with the sounds and my my G4 mastering Folder. And... where are all these sounds stored on my computer I can't find them?...
Very many thanks Niel. My problem solved in less than five minutes. I've never had to use that command before. I found the folder and copied it - but I'm still no clearer as to where it was!
Thanks again -
i CAN,T GET THE CONT PALETTE TO OPEN SO THAT i CAN CHOSE A THEME,BACKGROUND BORDER ETC.WHAT AM I DOING WRONG
PLEASE HELPDuplicate post
See my reply in other post -
Where are the notes from my iphone backup and how can I sync them with my new macbook and ipad. And my galaxy 3g if someone is feeling especially generous with their time and attention. Many thanks.
- The iTunes backup that iTunes makes included photos in the camera roll. If yo go to iTunes>Preferences>Devices what is the date of the backup? Is it when the photos were on the iPod? You have to restore from that backup.
- What may have happened is that you backup the iPod after you restored the iPod but before restoring from backup. iTunes only keeps one backup and overwrites the previous backup with the changes. -
I recorded xmas morning with wifes new iphone 5. I then restored her old iphone 4 onto iphone 5. Are the videos of xmas morning now gone? Can I get them back? How?
Shawni'd say they are gone
unless you transfered them to the computer before restoring it -
Question
I open my work Lotus Notes through FireFox. since the upgrade if my email has attached I can't find them. The attachment windows is there but nothing is in it.you haven't lost anything, it's virtually impossible to delete your Zotero library by accident.
You may just need to show your add-on bar (View --> Toolbars ---> Add on Bar).
To check if Zotero is disabled, go to Tools--> Add-ons --> Extensions.
Make sure to check for Zotero updates, you may need the newest version (2.1.10) for FF6 compatibility.
As a general piece of advice, if technical problems make you frantic, don't perform major software upgrades in the middle of a project. Also, support for Zotero is better on the Zotero forums than here.
Maybe you are looking for
-
Best way to create vertical slide navigation
I would like to create a nice navigation that opens up vertically to help users get around. What is the best way to do this? Thanks! Van
-
Lock screen wallpaper does not appear in the lock screen
I just reset my iphone 4 running iOS5 and set it up as a new iPhone. Everything appeared fine until I noticed the Lock Screen wallpaper I assigned does not appear after I lock it. The home screen wallpaper does. I hope someone can tell me how
-
ADL don't launch app by Mac OS
Use flexsdk 3.5a adl just don't launch app. Without any message, no error codes, just nothing. Flex SDK 3.5a AIR SDK 1.5.3 Mac OS 10.5.8 And if i use Flex SDK 3.3 with AIR SDK 2.0beta - adl launch app! Namespace in descriptor in both cases - http://n
-
2 problems with populating pdf forms
I created a form in LiveCycle on top of an existing PDF. The form has 2 text fields (a company name) and an image (a company logo), and all are dynamically populated depending on who requested the form. I am using CF 8 to read the database and pop
-
I am very upset, i took me countless hours to set up and customize my new ipad 2. Finally i was done, playing "fishfarm" on it, when i noticed the battery was down to 4%. I went to bed, thinking, well the ipad will go to sleep mode soon enough since