Difference between revisions of "Eclipse"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
(create eclipse package file)
(No difference)

Revision as of 19:37, 16 May 2008

Eclipse is an open-source and free IDE.

In order to do a silent installation, you'll have to:

  1. Download the Eclipse bundle that suits your needs (we are installing the PDT bundle here)
  2. Proceed with the silent installation by using the eclipse.xml file below:
<?xml version="1.0" encoding="UTF-8"?>
<packages>
  <package id="eclipse-pdt"
           name="eclipse-pdt"
           revision="10202"
           reboot="false"
           priority="0">
    <!-- see http://wpkg.org/7-Zip -->
    <depends package-id="7zip"/>
    <!-- This software requires a JDK in order to run. Please, see http://wpkg.org/Java on how to install one -->
    <depends package-id="jdk"/>
    <check type="file" condition="exists" path="%PROGRAMFILES%\eclipse\eclipse.exe" />

    <install cmd='%COMSPEC% /c "start "title" /wait "%PROGRAMFILES%\7-Zip\7z.exe" x -o"%PROGRAMFILES%" "%SOFTWARE%\eclipse\pdt-all-in-one-R20080103-win32.zip""' />

    <upgrade cmd='%COMSPEC% /c "start "title" /wait "%PROGRAMFILES%\7-Zip\7z.exe" x -o"%PROGRAMFILES%" "%SOFTWARE%\eclipse\pdt-all-in-one-R20080103-win32.zip""' />

    <remove cmd='%COMSPEC% /c taskkill /F /IM eclipse.Exe'/>
    <remove cmd='%COMSPEC% /c rd /Q /S "%PROGRAMFILES%\eclipse"' />
  </package>
</packages>