Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

The missing of the "build" option in right-click menu in Eclipse

Tags:

eclipse

I added a jar file to the lib folder in android project in Eclipse Indigo. I want to add this file to build, but i don't have build option in the file righ-click menu. Any idea why I don't have it? How can I add it to build anyway? Thanks.

like image 230
tatiana_c Avatar asked Jan 02 '12 12:01

tatiana_c


People also ask

Where is build option in Eclipse?

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.

How do I fix Eclipse build problem?

First see if the problematic file is part of Java Source or Jar file or another project. If it's part of JavaSource within same project, make sure that this has been included within Java Build Path. Make sure that your source folder is listed within "Source folders in build path". If not add it using Add folder button.

How do I open the context menu in Eclipse?

option is available. or simply you can use shortcut to move: Alt+Shift+V . if it wasn't enabled or doesn't exist, in eclipse go to Window menu, select Customize perspective... a windows with for tabs will appear. select Menu visibility tab then expand Refactor , then tic the Move...


2 Answers

I had the same problem. It's just an Eclipse normal behaviour.
Check if in menu Project -> Build Automatically is selected. To activate the Build option just deactivate Build Automatically option.

like image 149
vovahost Avatar answered Nov 15 '22 06:11

vovahost


  1. If you can't build the whole project: The eclipse project you want to build may have not any builder assigned. I suggest you to verify the 'builders' tab in your project settings. You may have choosen the wrong project type when creating or importing your project.
  2. If you want to add the jar to the build: Add the jar to Java Build Path in project properties (as a library)
like image 28
disorder Avatar answered Nov 15 '22 05:11

disorder