Eclipse related
Satya - Monday, November 29, 2004 11:54:03 AM
Nuances with rebuilding a project in eclipse
When you copy new files into an eclipse source directory, you may want to do the following
1. Click on the project 2. Do a refresh using F5 or "right-click/refresh" 3. Do a rebuild on the project
To do a rebuild, you may have to turn off the build automatically option and then try rebuild
After rebuilding the project, you may want to turn back the automatic build option again
Satya - Thursday, December 09, 2004 11:10:25 AM
How to find a file a in package explorer or Navigator?
Often times, the file you have so painstakingly located and opened for edit is a read only file. To make the file writable you have to go to the file either in the navigator or the package exploer (if a java project) and then right click on it to see the properties.
It would be nice to go to the file properties with out going via the navigator.
Sometimes when you right click on the file in the edit window you will see a "show in package explorer". But this depends on which editor is used to open your file. If your file is opened using a text editor then you don't have this option.
For those editors that don't allow this option you can use the "menu/navigate/show in navigator". Or use the "alt-shift-w" and pick the option it presents to locate in the navigator
Now you can finally right click and go to properties to turn off the read only option
1. alt-shift-w to locate the file in navigator
2. Go to properties and turn off read only
Satya - Saturday, December 18, 2004 12:05:07 PM
How to structure a java project
The following directory structure is recommended
your-root src dependent-jars jar-gen bin
"src" contains the java packages and source files.
"dependent-jars" contain any third party dependent jar files for compilation
"jar-gen" contains the description files for exporting your source and class files as jar files
"bin" is where you can allow eclipse to drop the binaries.
Satya - Wednesday, January 05, 2005 10:39:50 AM
How to set the tab settings for the java editor
I want to replace tabs with empty spaces as I enter.
Satya - Tuesday, January 18, 2005 10:34:44 AM
How come I don't see errors in my project explorer?
If I go to a java source file, I see that there are errors marked in that source files. But I don't see them propagating to the parent nodes. I have seen this behavior in websphere eclipse. Not sure if this is true with the native eclipse as well
The reason for this is you may be in a non java perspective while you were looking at the java file. For example I was in a server perspective. When I switched to the java perspective I can see the propagating errors.
Satya - Wednesday, February 02, 2005 8:53:36 AM
How can I use eclipse with CVS?
Here is a link that has some notes on cvs
. You may also want to check out the O'Reilly's eclipse cookbook.The above link is especially useful for figuring out the issues with cvsnt and eclipse, especially the version compatibility.
Satya - Friday, February 04, 2005 3:14:58 PM
WSAD 5.1 Web project from clearcase "location is in use" error
wsad, which is based on eclipse, trips up when target directoy contains already a webapp. Right thing to do is to create webapp project first via wsad and then copy your stuff there.
Satya - Monday, February 14, 2005 3:14:31 PM
Where can I find plugins for eclipse?
What is the link for finding plugins for eclipse?
Satya - Monday, February 14, 2005 3:15:07 PM
Is there an XSLT plugin for Eclipse?
Is there an XSLT plugin for Eclipse?
Satya - Thursday, March 03, 2005 4:51:27 PM
How can I change the JDK compliance level?
topmenu/window/preferences/java/compiler/compliance and classfiles/Compilercompliance level
Satya - Monday, April 18, 2005 6:04:54 PM
Importing an existing project into an eclipse workspace
Your projects can stay inside a workspace or outside a workspace. Either way your project root directory contains all the details needed to work in that project from any workspace.
When you import from a local file system into a workspace, you are directly working on that filesystem directory. No files will be copied to the workspace. It is more like establishing a link or a shortcut in your workspace.
How to do this kind of import
1. File
2. Import ..
3. Existing project into workspace
Satya - Monday, April 18, 2005 6:18:31 PM
How to create a new workspace in eclipse quickly?
In eclipse a workspace is a collection of projects. If you want to separate your projects based on a classification scheme, you can do so by creating new workspaces.
It is extreemely simple to create a new workspace for eclipse. Follow the following steps
1. Create a new directory for your workspace
2. Copy the eclipse shortcut
3. Rename the short cut to your preference
4. To the shortcut specify your dir as a -data option
Example
eclipse.exe -data c:\your-dir
Satya - Monday, June 20, 2005 7:38:52 PM
Where can one find more information about eclipse?
See their news group. You need a password for this site
Also at
Satya - Monday, June 20, 2005 8:02:22 PM
3.1 Mx release notes (almost)
Satya - Tuesday, June 21, 2005 3:45:58 PM
3.1 release candidate build notes
These are available on the 3.1 download page
Satya - Tuesday, June 21, 2005 3:58:46 PM
3.1rc workspace differences
It is using the windows profile space as the workspace. Previously this was the eclipse home directory. A good reason to specify your own work space.
Satya - Tuesday, August 30, 2005 10:21:40 AM
Some of the above links may be broken
Satya - Monday, October 17, 2005 5:00:17 PM
How can I see my derived classes?
Highlight the interface or classname right click Open type hierarchy
satya - Thursday, December 11, 2008 11:29:32 AM
How to attach source to a jar file in eclipse for debugging purposes
Sometimes you may want to debug into external jar files. You may have acquired the sources for the jar file separately from the binary jar. In such cases you can use the following process to indicate the sources to eclipse so that at debugging time you can step into the source files.
Look for the jar that you have source for in the "Referenced Libraries" underneath your project in the project explorer. Expand "Referenced Libraries" by opening the plus sign.
Click on the jar file and right click for properties. You will see an option called "Java Source Attachment". Specify the path or the jar file of the source here.
These steps may vary depending on the eclipse release. However bottomline is that you can attach source to an existing jar.
Occasionally though the source options for a jar are turned off as the jar file is indicated as immutable system library. In such cases you may want to drop or remove the jar file and that library and explicitly add it as a user library as if you are attaching that jar yourself and then proceed to attach source code to it.
Hope this helps.
satya - 3/7/2013 2:57:34 PM
How can I increase memory for java when running eclipse?
How can I increase memory for java when running eclipse?
Search for: How can I increase memory for java when running eclipse?
satya - 3/7/2013 2:58:33 PM
quick fix
eclipse [normal arguments] -vmargs -Xmx256M [more VM args]
satya - 12/17/2013 1:35:11 PM
How can I find out what is installed on my eclipse
How can I find out what is installed on my eclipse
Search for: How can I find out what is installed on my eclipse
satya - 12/17/2013 1:37:03 PM
FAQ How do I find out what plug-ins have been installed?
FAQ How do I find out what plug-ins have been installed?
Search for: FAQ How do I find out what plug-ins have been installed?
satya - 12/17/2013 1:38:27 PM
Menu/Help/About Eclipse Platform
Eclipse IDE for Java Developers
Version: Helios Service Release 2
Build id: 20110301-1815
(c) Copyright Eclipse contributors and others 2000, 2011. All rights reserved.
Visit http://eclipse.org/
This product includes software developed by the
Apache Software Foundation http://apache.org/
satya - 12/17/2013 1:38:56 PM
Then choose Installation Details to see a list of plugins and their versions
Then choose Installation Details to see a list of plugins and their versions
satya - 5/3/2014 11:51:01 AM
eclipse text editor wrapping text
eclipse text editor wrapping text
satya - 5/3/2014 12:01:01 PM
I have installed the word wrap plugin
http://www.ahtik.com/blog/projects/eclipse-word-wrap/
satya - 5/3/2014 12:01:15 PM
Visit http://www.ahtik.com/blog/projects/eclipse-word-wrap/
satya - 5/3/2014 1:36:05 PM
That seem to work my friend. Thank you Ahtik
That seem to work my friend