> 
> -----
> :: Install Eclipse v3 and examples
> ::@Echo off
> 
> SET zip="c:\Program Files\7-ZIP\7z.exe"
> SET AUP=%ALLUSERSPROFILE%\Start Menu\Programs
> SET prog=eclipse-SDK-3.0
> SET exam=eclipse-examples-3.0
> 
> :: Download from <http://www.eclipse.org/downloads/index.php>
> 
> :: unzip Eclipse in place
> %zip% x -y -o"%ProgramFiles%" %Z%\packages\eclipse3\%prog%-win32.zip
> if errorlevel 1 exit 1
> 
> :: unzip examples in place
> %zip% x -y -o"%ProgramFiles%" %Z%\packages\eclipse3\%exam%-win32.zip
> if errorlevel 1 exit 1
> 
> 
> mkdir "%AUP%\Eclipse"
> 
> shortcut.pl  "%ProgramFiles%\eclipse\eclipse.exe" --arguments "-data Z:\workspace 
> -vm c:\j2sdk1.4.2_04\jre\bin\javaw -configuration Z:\workspace\configuration" 
> "%AUP%\Eclipse"
> shortcut.pl  "%ProgramFiles%\eclipse\eclipse.exe" --arguments "-data Z:\workspace" 
> special:AllUsersDesktop\Eclipse
> -------
> 

Silly me - let me explain:

-data Z:\workspace - will force Eclipse to create it workspaces on Z:\ if you omit 
this users will be 
prompted to save their workspace under 'My Documents'

-configuration Z:\workspace\configuration -  Normally Eclipse3 would try to write it's 
config info under
 it's own directory and if it can't, Eclipse creates the config directory under the 
user profile, but 
a bug prevents Eclipse3 from doing this. So I hard coded the config directory to be 
created on the use 
network drive.

Paul



-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
unattended-info mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/unattended-info

Reply via email to