Questions tagged [buildpath]

This tag refers to build path settings for a Java project in Eclipse IDE. You can reach this option through the project properties (Project > Properties > Java Build Path) from the context menu on a created project or the File menu of the workbench.

This tag refers to build path settings for a Java project. You can reach this page through the project properties (Project > Properties > Java Build Path) from the context menu on a created project or the File menu of the workbench.

More info at Eclipse web site

409 questions
2
votes
5 answers

Automatically load libraries on project creating. Android, Eclipse

I have figured out how to obtain the effect i desire on the desktop. (Window > Preferences > Java > Installed JREs > jre7 [Edit] > [Add External JARs]) but i cant get the same effect on android. In the desktop project i can see the folder "JRE…
2
votes
2 answers

Why order in java buildpath is matter?

In Eclipse (Project > Properties > Java Build Path) we have 2 tabs: for adding some libraries into buildpath, and for organizing their order. So, the question is why order in java buildpath is matter?
Sergey
  • 1,059
  • 3
  • 21
  • 35
2
votes
2 answers

To open Project Properties WIndow (Java Build Path) automatically using code

I am developing an Eclipse plugin which would create a new Java project and few classes inside it. Once the plugin wizard closes (after I click finish in the final page), i need the Project Properties window of this particular project to be opened…
uma
  • 327
  • 2
  • 19
2
votes
3 answers

Can't delete linked source from Eclipse

As per this answer, I tried to add MoPub as a standard project to my Android project by using Build Path > Link Source. This put a mopub-sdk folder under my project folder, and now I can't delete it. I get the following error message: An exception…
user460847
  • 1,578
  • 6
  • 25
  • 43
2
votes
2 answers

Adding external JAR to Eclipse

I am using the spring frame work tutorial, I am in the part I have to add the external JAR but I seem to be missing some like org.springframework.asm-3.1.0.M2, antlr-runtime-3.0.1. SO what have I done wrong?
Micah Kwaka
  • 53
  • 1
  • 1
  • 8
2
votes
3 answers

ActionBarActivity - NoClassDefFoundError exception

Already seen: NoClassDefFoundError Android with ActionBarActivity and ActionBarActivity catch an error on Phone I am trying to use ActionBarCompact in my project. I have linked android-support-v7 project as well as its jar in my project following…
2
votes
1 answer

Classes folder shows up in Build Path but not Project Explorer

I need to put a compiled class into WEB-INF/classes. My WEB-INF folder didn't have a classes folder so I created one according the directions here. Even after restarting my computer, however, the classes folder won't show up in the project explorer…
AllieCat
  • 3,890
  • 10
  • 31
  • 45
2
votes
1 answer

Adding Android library project to Eclipse build path?

I have a multi module Android Maven project which consists of several projects and an Android library project (baselib) where I run non Android based JUnit tests. This works as long as I run the test by Maven. When I run the baselib JUnit tests by…
Bevor
  • 8,396
  • 15
  • 77
  • 141
2
votes
0 answers

Grails build path confusion

My question is how do I find and remove a wrong library reference from Grails app. What happened was: I have a working Grails app. I added Astyanax jar to "/lib" folder and added it to the Build Path. I copied the examples from the Astyanax git…
Daniil Shevelev
  • 11,739
  • 12
  • 50
  • 73
2
votes
2 answers

Issues creating PhoneGap project in Eclipse with Android SDK

I'm trying to build an Android app with Eclipse and PhoneGap, but I keep getting the error [2013-05-21 17:47:39 - PhoneGapTest] Project has no target set. Edit the project properties to set one. [2013-05-21 17:47:50 - PhoneGapTest] Parser exception…
user641687
2
votes
3 answers

Android opencv library reference is not working correctly

At first i would like to say that I am working for 5 hours to solve that problem and I tried really hard to describe it well, if something is not clear please tell me. I have downloaded Tegra Developer Pack imported Open CV 2.4.3 library project and…
Yoda
  • 17,363
  • 67
  • 204
  • 344
2
votes
1 answer

Referencing jar from jre in buildpath

I'm using Eclipse, and I'm developing a simple applet that's demonstrating usage of cookies. In order to use cookies, I had to add "plugin.jar" to my build path. Now, that jar file is: big (1.7 MB) already present in my jre folder (C:\Program…
guest86
  • 2,894
  • 8
  • 49
  • 72
2
votes
3 answers

Eclipse - return excluded java file back to the build path

After I exluded java file from the build path by right click on the file > build path > Exclude , I want to return back this file to the build path . The only way I got that was by edit the .classpath file and omit the required file from the…
URL87
  • 10,667
  • 35
  • 107
  • 174
2
votes
2 answers

Eclipse: How to prevent an entire rebuild of a project after changing classpath

Is there away to prevent eclipse from rebuilding the entire project every time I change an entry in the class path. Unfortunately, I have to play around with the build path often and rebuilding the projects takes a long time (easily 20-30 mins). Is…
hhafez
  • 38,949
  • 39
  • 113
  • 143
2
votes
1 answer

Why does a library need to be part of the build path if nothing is imported from it?

Consider this (semi-pseudo) code: private static final File file = new File("./archive.jar"); private static URLClassLoader classLoader; public static void main(final String[] args) { try { classLoader = new URLClassLoader(new URL[] {…
Martin Tuskevicius
  • 2,590
  • 4
  • 29
  • 46