Personal tools
You are here: Home Open Source && Programming && Life Eclipse Scripts for Win32

Eclipse Scripts for Win32 Eclipse Scripts for Win32

Document Actions
Submitted by ironstorm. on 2005-03-11 15:15. JavaOpen SourceToolingWindows
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\WTP
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
Download epl.cmd here

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

Blog
« July 2008 »
Su Mo Tu We Th Fr Sa
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    
Categories:
Best Practices (0)
Cooking (2)
EeePC (1)
Embedded (3)
HDTV (2)
Health (1)
J2EE (1)
Java (6)
Linux (24)
Movies (1)
Music (3)
MythTV (10)
NSLU2 (2)
Not Tech (11)
Plone (2)
Politics (2)
QEMU (4)
Tomcat (1)
Tooling (4)
Travel (1)
VoIP (1)
Websphere (1)
Windows (6)
Zaurus (4)
 

Powered by Plone, the Open Source Content Management System

This site conforms to the following standards: