target

make wildcard subdirectory targets

I have a "lib" directory in my applications main directory, which contains an arbitrary number of subdirectories, each having its own Makefile. I would like to have a single Makefile in the main directory, that calls each subdirectory's Makefile. I know this is possible if I manually list the subdirs, but I would like to have it done au...

Xcode: target membership of frameworks?

Hi everyone, I have a question about the far right column of your Xcode project (image here) Apple's documentation tells me this about that column: Target membership. The column marked by the target icon indicates whether the file is included in the active target. If the checkbox next to a file is checked, then the active t...

Objective-c asynchronous communication: target/action or delegation pattern?

Hello folks, I'm dealing with some asynchronous communication situations (Event-driven XML parsing, NSURLConnection response processing, etc.). I'll try to briefly explain my problem: In my current scenario, there is a service provider (that can talk to a xml parser or do some network communication) and a client that can ask the servi...

iPhone Target Linking Error

So I'm getting this error on build: This obviously has something to do with linking, but I just can't get what exactly. I have 2 targets, and I only get this error when I compile for the device target (other target is for simulator use). I compared the linking settings for each target and everything seems fine. InfoView is the last c...

Getting a Target to run BEFORE anything else runs when building from Visual Studio

Hi, I'm trying to get a one-time costly target to run only when building a certain top-level project (that has many dependencies). I have no problem on getting this working from plain msbuild / command line build. I do this with setting and InitialTargets on the project, or alternatively with < BeforeBuild />. The tricky part is ...

New Window or New Tab -- Way to decide?

On a link, is there a way to specify whether the new _blank window is actually a new window or a new tab? Thanks ...

Change the minimum OS requirments of my iPhone App?

I made a simple application, then submitted for review. After that the app details claims that the minimum OS requirmentes is 3.1.2 (I work with that SDK). If I change my Target's iPhone OS Deployment Target to a lower iPhone OS, then could it be "fix" my problem? Is there any risk of it? I Use some UI(Image)Views, page-flip animations,...

Using iPhone OS 3.0 function calls in place of deprecated 2.2 function calls on 2.2 devices

If I set the Base + Active SDK of an iPhone app to 3.0 and the Deployment Target to 2.2, can I use the new versions of functions on 2.2 devices? For example, UITableViewCell now requires an image to be set using [cell.imageView setImage:image], whereas in 2.2, you'd call [cell setImage:image]. Will using the new [cell.imageView setImage...

Meta http-equiv, can i?

I have put this code in my index, to load a new page, and then later 2 secs later, move to my original screen. With the intention to load a "music_player" and then 2 seconds later, move toward my NORMAL page. Having the player load in a new window. But the code don't work as it should, it just replaces without the "Target="_blank" can't ...

Javascript and href in anchor tags

Can JavaScript see the target name of a window that was opened by a regular "href". Here is an example: <a href="http://www.cnn.com" target="_blanknewWindow" name="NewWindowName"> ...

How to simplify stopping movement of image when within threshold of target

I've already tried to explain what I'm trying to do to others, and failed horribly. Therefore, if you will excuse me, I'll just show you the code and attempt to explain a little. if (MovePetMoving) { if (MovePetSlope[0] > 0) { if (MovePetSlope[1] > 0 && Convert.ToDouble(pictureBoxP...

how to assign target control to validator control on serverside

Hi I am having N numbers of Text boxes those are generating dynamically. I want to validate each textbox for Formate HH:MM:SS PM/AM so i dynamicaly create the validation control . but as the dynamic textbox has no ID , so what i have to pass to the Validation control for ControlToValidate Property ? ...

getting Xcode to build my iPhone app on the iPhone Simulator after setting up my physical iPod to test with?

Hello. I am new to developing apps for the iPhone. I just went through the entire process the other day of properly setting up my developer account to allow me to test my programs on my physical iPod. Once I set it up though, I was not able to figure out how to get the iPhone Simulator working again. I would like to test my programs ...

Target Membership grayed out ( disabled )

I'm trying to create a new unit test build target for my iphone app. The problem I'm running into is that my source code "group"'s Target Membership options are grayed out. I did delete the original "Classes" folder, and created new "SourceCode" folder with an actual disk structure (thanks xcode). I imported it as a group, not a folde...

Include/exclude files depending on target (Visual Studio)

Is it possible to include/exclude certain source files depending on what target is selected in Visual Studio? If possible, how? ...

Apache Ant: Run ant without showing the target names

Hi, When I run my build file, it always shows the target name. For example, in my build file if I have targets A,B,C. Then on when I type the command "ant A", it shows A: How do I avoid displaying the A? You help is very much appreciated. Thanks in advance. Bakhtiyar Uddin ...

Force Makefile to execute script before building targets

I am using Makefiles. However, there is a command (zsh script) I want executed before any targets is executed. How do I do this? Thanks! ...

Dynamicly added movieclip from library tween problem

Hi, I'm having trouble with tweening (with TweenMax) movieclips added dynamically in a for loop. The targeting works fine but the tweens are just not happening. :( My second problem is that I need to randomize my array but I dont know how. Anyway here is my code, and thank you for your help. :D import gs.*; import gs.easing.*; stop(...

How to get the right target when submitting a form in jQuery?

$('#form').submit(function(event) { }); When user submits the form by click <input type="submit" />,it should be <input type="submit" />, when user submits the form by pressing Enter in a <input />,it should be that <input /> I tried event.target,but it's wrong. ...

ant to maven - multiple build targets

I have an ant build that is currently being converted to maven. However, the ant build has 2 build targets - one that builds the entire app, and one that builds a jar from some of those files (only a few). In ant, it's easy to have multiple build targets to handle this, but I'm trying to determine the best way to handle this in maven. I...