Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse adding your own build command

Tags:

eclipse

I am new to eclipse and wanted to do the following:

  1. Use my custom build commands with eclipse. Until now I only saw make all. I use a shell script for building my project; how can I use that in an Eclipse environment?
  2. When I create a new project with the existing source code, it doesn't add the files, without building the code and if code fails to build (because I generally don't have make all).

How do I resolve this issue?

like image 709
Viks Avatar asked Jun 04 '10 18:06

Viks


People also ask

How do you build in Eclipse?

You can use any of these methods to build your Eclipse project: In the model browser, right‑click the active configuration for your Eclipse project and select Build Configuration. Choose Project > Build Automatically to build from Eclipse using Java™ or C/C++ build tools.


1 Answers

You can add a custom builder in the "Builders" category of the project properties.

project->properties->builders->new

there you can also deactivate the default eclipse builders..

hope that helped

like image 185
fasseg Avatar answered Oct 10 '22 21:10

fasseg