Wednesday, September 1, 2010

Eclipse Hints

Eclipse

SVN

- Subclipse
- SVNKit

JRE for Eclipse (http://wiki.eclipse.org/FAQ_How_do_I_run_Eclipse%3F)
eclipse.ini
-vm
D:/java/jdk16012/jre/bin/javaw.exe

ANT_HOME error: taskdef class org.apache.catalina.ant.DeployTask cannot be found
add the catalina JAR to the Ant runtime classpath.
Window>Preferences>Ant>Runtime>Classpath.
Add the JAR to the Global Entries.

or
set ANT_HOME to /eclipse/plugins/org.apache.ant

NetBeans Project to Eclipse

1. Create .project file
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
 <name>foafbook</name>
 <comment></comment>
 <projects>
 </projects>
 <buildSpec>
  <buildCommand>
   <name>org.eclipse.jdt.core.javabuilder</name>
   <arguments>
   </arguments>
  </buildCommand>
 </buildSpec>
 <natures>
  <nature>org.eclipse.jdt.core.javanature</nature>
 </natures>
</projectDescription>

2. Create .classpath file
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
    <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
    <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
    <classpathentry kind="src" path="src"/>
    <classpathentry kind="output" path="bin"/>
</classpath>

Plugin for Eclipse
Java Script: http://www.interaktonline.com/Products/Eclipse/JSEclipse/Installation-Update/