Flash :: Flex - TFS Build 2010 Call An Ant Script And / Or Build?
Mar 31, 2011
In TFS 2010 build, I have a new build and I want to call an ant script that builds Flash. How do I call the ant script? Also How can I compile the Flash directly? I've seen the Power Tools and this question but it doesn't help me as we don't have TFS 2008. I can't find any documentation on how to use the power tools except the 1 sentence on the bottom of download page saying to create your build the old way and import it (which isn't very helpful). I've installed the power tools on the agent computer but I don't see any new options in the Toolbox when I'm designing the build flow.
I just started working with ant a few days ago. Right now I have a general buildall.xml which should call each project's build.xml. Because some projects depend on each other, I need to rebuild some other projects which depend on it. This isn't a problem--I'm just setting the depends property of the target. However, ant is always building the dependencies, even when the files haven't changed.Let's say project1 has no dependencies; project2 depends on project1; project3 depends on project1, 2; project4 depends on project1, 2, and 3; and so on.I could hack a solution which looks at project K, and checks if project 1 .. project K have updated files using uptodate. If so, then run the target. This is messy and appears unnecessary.
What is the cleanest way to implement this?EDIT: So I decided to just hack in a bunch of targets, "check_projectK" where it does the uptodate checks on all of its source files, its build file, and the build files of the 1 .. K-1 projects. Due to dependencies, this is always handled correctly. However, this is still a large amount of copy and paste for a large workspace.
Using FDT, when I have a debug configuration with several operations in the launcher chain and the final launcher opens in Flash Player, how can I retrieve the build output from the console once the build is complete and Flash player is running?
It seems that once Flash Player has started the console clears to make way for the application's trace output, but I need to be able to look back over the events and build times for each item in my launch chain while Flash Player is running. Is there a setting I can enable to either log my build output to a file or to preserve it in the console?
Edit: I know I can still read the info when building normally, this question is specifically for building with the debugger.
I am trying to build a flash slideshow that uses XML to call up images and text captions. I 've found a good example of what I am looking for on macromedia's website.found here: http:[url]...
I would like to add the ability to fade between images and have a button that creates a larger jpg version in a popup window for whatever image is being displayed as current in the slideshow.Would I need 2 XML files for this or can I just use one? I prefer one. Sorry I am quite new to XML, this is my first foray into it.I can build this thing w/o XML, but it seems to be so much easier if I did it with XML.
I have a a module that I want to include in the swf build but I want the swf to be able to use the module (separate swf) externally. How can I build both the application and the module in different swf files? (I know it's something with the compiler, but not quite sure)
Which is the best for build an application show like in image. For the better graphics and performance wise. I want to know Flash for Flex is more suitable for this.In Flash ca we be able to build a grid kind of applications easily? I headed that Flex have the functions to handle grid and other things. Drag & scroll Zoom like feature. but am not sure able the graphics of flex. Is the components are customizable
Can I configure Flash Builder 4 to build into different folders? Something like: build applications files into "folder a" and modules files into "folder b"?
I am developing a project with Flex, and I need to deploy my project in a form which can be used by developers who do not have access to Flash Builder. I've found references to plugins from Faratasystems, but it appears their sourceforge site is a little bit rusty. I could not find an up to date installation file that'd include FX2Ant plugin and work with my Flash Builder 4
One of the most annoying things when working with Flash/Flex projects is that it takes soo long to build the project. In a Flash game I am doing, it takes more than one minute to build it.
I am planning to build a giant management system in Flex 4.0, and I just wanted to know what are some pros and cons of using 4.0 (or 4.2) over 3.5? Lighter components? Faster pipelines? What are some things I can look forward to when using Flex 4.0?
I am trying to build a flash player for my company's Shoutcast server, and have seen a few articles about it on the 'net, including this SO question here. However, I can't seem to get the audio stream to actually play. It seems to be connecting alright, but calling stream.play() doesn't seem to do anything.
public function stream() { private var url:URLREQUEST = "my.domain.com"; private var sStream:Sound = new Sound(); sStream.load(url); sStream.play(); }
Is it possible to enable verbose build logging in Flash Builder? Ideally, I want to be able to see the exact arguments that are being passed to the mxmlc.exe compiler. Context: I'm currently trying to automate our build process using GradleFx so we can move away from using Flash Builder and run our build on a CI server. At present, I'm running into a few problems and my lack of knowledge about the flash/flex build process is impeding progress. Being able to see what the FB project translates to would greatly aid me in being able to set up the new build scripts.
I'm working on a project that has a Main.fla and a Preload.fla. I am doing all the coding in Flash Builder 4. Each time I want to test I have to go to Flash CS5, publish Main.swf and then run Preload.swf. Is there a way to automate this process so I can just press the "Run Main" button inside Flash Builder 4 and all that is done automatically?
I moved from using the Flex Builder 3 IDE to Flash Builder a couple weeks ago and have noticed a ridiculous jump in compile times with the same project. It almost seems like every time I build it does a clean build. The project I am working with is pretty big, but when it takes more than 4 mins to build, something is wrong. I tried adding more memory to eclipse and all the tricks I could find on the web but the compile time never really changed. I am running under Windows 7 32bit, and I get the same performance from the plugin and stand alone version of the IDE.
We'd like to have an app autorun when our clients put in our info CD. Is it possible to do this using Adobe AIR... We were thinking of using the Flash Projector cause it compiles to an .exe which is easily launched, but there's no way to get rid of the ugly window chrome is there?
I have a nice looking fxg button, to which I want to attach a tooltip- how do I achieve that without much hassle? (the spark button does this out-of-box, but is not very visually pleasing)The examples I have seen on search is reverse- using fxg effects in the tooltip.
I wanna creating a flex application. In that application left, down and right side will be same all pages but on center screen will be changed in order to click event. Is that possible? When i click button on the center screen, center screen will show another MXML (call another MXML but left, right and down side will be same). How can i do that?
I am going to write a build commands for flex 4.5 project, which is only based on actionscript not with java. I am very new to both maven and ant.So can you people suggest which is more compatible and robust with Flex 4.5
Currently I'm building my Flex projects using Flex Builder's "built in" build system (ie, "clicking the run button"), but I'd like to start running scripts before/after the build.What's the easiest way to do that? Or, even, where should I start looking?
I am trying to create and build a flex library project (.swc) using maven 2 firsttime.I am able to create directory structure but build is failing. My maven settings are : Maven version : apache-maven-3.0.2
How do I add post-build actions in Flex Builder? For example, I'd like my build to work as normal, and execute from the bin folder; but I'd also like a copy of the final SWF to be copied to another folder automatically.
I'm trying to build a simple component extending spark.components.Group to have a background color, more specifically a spark.primitives.Rect component stretched to fill the background.
Is it possible to run the ADL without a GUI so that I can run FlexUnit tests during a nightly build? Right now, when I execute our test runner on our server (Ubuntu 9.04) it fails with the output: "Gtk-WARNING **: cannot open display:".
I have an .SWC library with a style.css file inside. The .SWC file is added to my project and the style.css is used this way: <fx:Style source="assets/style/style.css" /> If I want to build my project with an ANT-script it says that "the external stylesheet couldn't be found". In ANT you need to write the path for assets with an leading "/". So this would work: <fx:Style source="/assets/style/style.css" /> But in this case it isn't possible to retrieve the style.css from the .swc as the compiler says that "the external stylesheet couldn't be found". Is there any way to use the style.css inside the .swc AND use ANT to build the project?