View Single Post
  #1   Spotlight this post!  
Unread 01-16-2015, 07:56 PM
EdWard3637's Avatar
EdWard3637 EdWard3637 is offline
Registered User
AKA: Eric Ward
FRC #3637 (Daleks)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2013
Location: Flemington, NJ
Posts: 10
EdWard3637 is an unknown quantity at this point
Re: Custom Make Targets in Eclipse

In my further troubleshooting, I've found that eclipse is a total dick.
This bug was the cause https://bugs.eclipse.org/bugs/show_bug.cgi?id=304774

Apparently it has C makefiles for compiling and Ant builds for deploying??? Basically make targets by default call make on the build command you specify.

If you want to write a custom target you need to make a makefile.init file in the working directory.
Alternatively, if you used the xml code and put it in your build.xml like me, you need to specify in the make target to run the build command
ant -f ${ProjDirPath}/build.xml YourTargetHere
Reply With Quote