Questions tagged [target]

In a makefile, targets are associated with a series of commands to execute when an action is requested.

1932 questions
66
votes
18 answers

The project was not built since its build path is incomplete

Every time I try to import a project downloaded from googlecode into Eclipse but I get some errors: The project was not built since its build path is incomplete. Cannot find the class file for java.lang.Object. Fix the build path then try …
Angelo Tricarico
  • 1,333
  • 1
  • 19
  • 36
62
votes
6 answers

Change Makefile variable value inside the target body

Is there a way to reassign Makefile variable value inside of the target body? What I am trying to do is to add some extra flags for debug compilation: %.erl: %.beam $(ERLC) $(ERLFLAGS) -o ebin $< test: clean debug_compile_flag compile…
paulgray
  • 623
  • 1
  • 5
  • 4
58
votes
7 answers

Open link in iframe

I have a Webpage with an iframe in it. I want the links, when clicked, to open them in the frame. I tried link1 but it didnt' work? How can web links be displayed in a frame?
moomoo
54
votes
3 answers

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…
Jeff Storey
  • 56,312
  • 72
  • 233
  • 406
48
votes
11 answers

Reading the target of a .lnk file in Python?

I'm trying to read the target file/directory of a shortcut (.lnk) file from Python. Is there a headache-free way to do it? The spec is way over my head. I don't mind using Windows-only APIs. My ultimate goal is to find the "(My) Videos" folder on…
Etienne Perot
  • 4,764
  • 7
  • 40
  • 50
43
votes
2 answers

Add preprocessor macro to a target in xcode 6

Probably this is pretty simple, but I can't find a way to define a preprocessor macro for a target in Xcode 6.
user1051307
  • 483
  • 1
  • 5
  • 13
40
votes
9 answers

Open the href mailto link in new tab / window

I have an image which when click, I want to link to a mailto: email However, currently once its clicked,…
shennyL
  • 2,764
  • 11
  • 41
  • 65
39
votes
2 answers

How to recompile with -Xlint:unchecked in Ant build task?

When I run the "compile" target of my Ant "build.xml" file, then I get the following message: Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. My compile target is the following: …
Benny Code
  • 51,456
  • 28
  • 233
  • 198
38
votes
3 answers

How to use a variable list as a target in a Makefile?

Suppose I am working on a makefile and I have the following variable declaration at the top: FILES = file1.cpp file2.cpp file3.cpp Now suppose I want to compile each of those with a special command without specifying each target like this: file1.o…
Nathan Osman
  • 71,149
  • 71
  • 256
  • 361
35
votes
3 answers

Alias target name in Makefile

The Problem: Is it possible to give a target a different name or alias, such that it can be invoked using either the original target name or the alias. For example something like /very/long/path/my_binary: dep_a dep_b dep_c # Compile # Desired…
WaelJ
  • 2,942
  • 4
  • 22
  • 28
35
votes
3 answers

Xcode: project settings vs. target settings

I'm creating a static lib on Mac OS X for one of our customers, as well as a small cmd line app to test the static lib. The cmd line project has 2 extra library search paths, which meant I was linking to the Debug version in Release mode and just…
vectorizor
  • 689
  • 2
  • 9
  • 13
35
votes
5 answers

When duplicating a target in Xcode, is there any way to set the name that the target will have before or as it is created?

Duplicating a target in Xcode is a great way to create multiple app or framework/library products that have somewhat different features using the same codebase as a result of conditional code controlled by environmental variables set within the…
Halle
  • 3,584
  • 1
  • 37
  • 53
32
votes
2 answers

iphone: get User Defined variable in Target's setting by code?

My project have multi-targets. Each target has its own Class file for setting stuff. I want to store that Class name in a target setting (Info.plist or Target's Building setting). So that I can define which class I need to use in each target based…
KONG
  • 7,271
  • 6
  • 28
  • 27
31
votes
4 answers

What does the orange triangle in the target column of Android Device Chooser window mean?

When I launch my Android app with Eclipse, the usual window "Android Device Chooser" appears. I can here choose on which device I want to run my app. In the target column appears next to my target an orange triangle with an exclamation mark (kind of…
toto_tata
  • 14,526
  • 27
  • 108
  • 198
31
votes
3 answers

Implementing Target lines, in SSRS column Charts

I have a column graph, that shows a trend of consumption over time, The y-axis being consumption and x-axis being time in month, I have to implement a target consumption. I implemented a target, by adding data field with a Line chart type, this is…
Brian Paul
  • 651
  • 2
  • 12
  • 21