Difference between revisions of "Eclipse Tips"
(→Consistent Versions) |
|||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
This page collects useful tips on using Eclipse. | This page collects useful tips on using Eclipse. | ||
− | == | + | == Identifying Multiple Instances of Eclipse == |
You might have learned to identify your instance of Eclipse by looking at the perspective or "about Eclipse". | You might have learned to identify your instance of Eclipse by looking at the perspective or "about Eclipse". | ||
There is an easier way to identify an instance of Eclipse. It's the "-showlocation" flag. It embeds the workspace path to the title bar of Eclipse. | There is an easier way to identify an instance of Eclipse. It's the "-showlocation" flag. It embeds the workspace path to the title bar of Eclipse. | ||
− | Example: | + | '''Example:''' |
{| border="1" | {| border="1" | ||
! !! Title bar | ! !! Title bar | ||
Line 14: | Line 14: | ||
| With –showlocation || Java – Eclipse SDK – E:/Eclipse/Eclipse WTP/wksp/.... | | With –showlocation || Java – Eclipse SDK – E:/Eclipse/Eclipse WTP/wksp/.... | ||
|} | |} | ||
+ | |||
Here is how you do it | Here is how you do it | ||
Line 25: | Line 26: | ||
'''For Linux''' | '''For Linux''' | ||
− | * Create a | + | * Create a shell script |
* type "/path/to/eclipse/eclipse -showlocation" (without quote) | * type "/path/to/eclipse/eclipse -showlocation" (without quote) | ||
* Save it | * Save it | ||
− | * Run it | + | * Run it to start eclipse |
− | Someone please test this on linux, I created this based on my memory | + | Someone please test this on linux, I created this based on my Linux memory. |
+ | |||
+ | == Consistent Versions (WTP Development and Target Platforms) == | ||
+ | If you check out your source code from HEAD and experience some odd behavior (such as the WSDL editor is missing) with an instance of the WTP target platform, make sure that you've the most updated version of the target platform. You may read "Launching the WSDL Editor" and "Bringing up the WSDL Editor in the Debugger" in the Eclipse webtools newsgroup [http://www.eclipse.org/newsportal/thread.php?group=eclipse.webtools]. |
Latest revision as of 17:31, 15 February 2009
This page collects useful tips on using Eclipse.
Identifying Multiple Instances of Eclipse
You might have learned to identify your instance of Eclipse by looking at the perspective or "about Eclipse".
There is an easier way to identify an instance of Eclipse. It's the "-showlocation" flag. It embeds the workspace path to the title bar of Eclipse.
Example:
Title bar | |
---|---|
Without –showlocation | Java – Eclipse SDK |
With –showlocation | Java – Eclipse SDK – E:/Eclipse/Eclipse WTP/wksp/.... |
Here is how you do it
For Windows
- Create a shortcut of Eclipse.exe
- Go to shortcut's properties
- Add "-showlocation"(without quote) to the end of Target field
- Click OK
- Use this shortcut to start eclipse
For Linux
- Create a shell script
- type "/path/to/eclipse/eclipse -showlocation" (without quote)
- Save it
- Run it to start eclipse
Someone please test this on linux, I created this based on my Linux memory.
Consistent Versions (WTP Development and Target Platforms)
If you check out your source code from HEAD and experience some odd behavior (such as the WSDL editor is missing) with an instance of the WTP target platform, make sure that you've the most updated version of the target platform. You may read "Launching the WSDL Editor" and "Bringing up the WSDL Editor in the Debugger" in the Eclipse webtools newsgroup [1].