Eclipse Scripts for Win32
Submitted by ironstorm.
on 2005-03-11 15:15.
Windows CMD files to help with upgrading to new builds of Eclipse
Eclipse is the Java IDE I use at home
[and sometimes at work], here are some scripts that I wrote to be
helpful when upgrading from one milestone to the next.You may need to edit the first few lines of each to reflect your set-up. (I have a system variable called %JAVA_BASE% set to C:\Java which I install Eclipse into)
Eclipse Plugin Linker (epl.cmd)
I manage my Eclipse plugins in seperate folders outside of the default %ECLIPSE_HOME%\plugins folder (see managing eclipse plugins). I've been doing this for about a year. I find it a bit of a pain [I'm really lazy] making sure save my %ECLIPSE_HOME%\links folder between upgrading builds and fiddling with link files here and there...So I decided to write something to do it for me... I created this little batch file to automatically create the .link files that Eclipse needs find plugins stored external to Eclipse.
Here is an example run:
C:\Java>epl eclipse-plugins\WTPDownload epl.cmd here
Creating link for emf-sdo-xsd-SDK-I200502171619...
Creating link for GEF-SDK-I20050215...
Creating link for JEM-runtime-1.0.2...
Creating link for wtp-1.0M3...
Press any key to continue . . .
C:\Java>dir /b C:\java\eclipse\links
emf-sdo-xsd-SDK-I200502171619.link
GEF-SDK-I20050215.link
JEM-runtime-1.0.2.link
wtp-1.0M3.link
Eclipse Shortcut Maker
When
I upgrade between Eclipse builds, I like to put the version number in
the Eclipse shortcut (it helps me keep things straight between 3
computers)... This batch file pulls the Eclipse version and build
id info and creates a Start menu entry with that info in the name and my favourite Eclipse command line switches.I just installed Eclipse 3.1M5a and this batchfile makes an shortcut Eclipse 3.1.0 (I20050219-1500) with start up parameters:
C:\Java\eclipse\eclipse.exe -data d:\data\840295~1\MYDOCU~1\ECLIPS~1\ -Dhttp.auth.ntlm.domain=maple -vmargs -Xverify:none -XX:+UseParallelGC -XX:PermSize=20M -XX:MaxNewSize=32M -XX:NewSize=32M -Xmx256m -Xms256m
Download esm.cmd here