12 Ağustos 2009 Çarşamba

Eclipse Source Folder Error

You've imported a non Eclipse project into the Eclipse and haven't told Eclipse
which folders contains source files, you will get a warning like this:

'This compilation unit is not on the build path of a Java project.'

You can easily solve this problem by editing .classpath file under the root directory of your project. Open this file with a text editor and add
these lines under to classpath tag:

< classpathentry kind="src" path="src/path/to/sources" />

For example, if you have a source folder under src/main, you need to add

<classpathentry kind="src" path="src/main" />

9 Ağustos 2009 Pazar

GWT library problem in Pardus

If you haven't installed libstdc++ package, GWT will give you an error like this:
** Unable to load Mozilla for hosted mode **
java.lang.UnsatisfiedLinkError: ~/Programs/eclipse/plugins/com.google.gwt.eclipse.sdkbundle.linux_1.7.0.v200907291526/gwt-linux-1.7.0/mozilla-1.7.12/libxpcom.so: libstdc++.so.5: cannot open shared object file: No such file or directory
To solve the problem, install it from repository:
sudo pisi it libstdc++