[COPY] --- T2-COPYRIGHT-BEGIN --- [COPY] t2/package/*/eclipse/eclipse.desc [COPY] Copyright (C) 2004 - 2025 The T2 SDE Project [COPY] SPDX-License-Identifier: GPL-2.0 [COPY] --- T2-COPYRIGHT-END --- [I] Extensible universal IDE written in java [T] Eclipse is a kind of universal tool platform - an open extensible IDE [T] for anything and nothing in particular. The real value of Eclipse comes [T] from tool plug-ins that "teach" Eclipse how to work with things - java [T] files, web content, graphics, video, etc. Eclipse allows you to [T] independently develop tools that integrate with other people's tools [T] seamlessly. [T] [T] The Platform defines the set of frameworks and common services that [T] collectively make up "integration-ware" required to support the use of [T] Eclipse as a component model, as a rich client platform (RCP) and as a [T] comprehensive tool integration platform. These services and frameworks [T] include a standard workbench user interface model and portable native [T] widget toolkit, a project model for managing resources, automatic [T] resource delta management for incremental compilers and builders, [T] language-independent debug infrastructure, and infrastructure for [T] distributed multi-user versioned resource management. [U] https://www.eclipse.org/ [A] Eclipse Foundation [M] The T2 Project [C] extra/tool [F] KAFFE [L] OpenSource [S] Stable [V] 3.1.2 [D] 3ce102072c245a759a7e395b048c4edb872492ccbadd9949c35cc123 eclipse-sourceBuild-srcIncluded-3.1.2.zip http://download.eclipse.org/eclipse/downloads/drops/R-3.1.2-200601181600/ if [ $prefix_auto -eq 1 ]; then prefix=opt/eclipse set_confopt fi # Arch conversion from t2 to the one used by eclipse. ECLIPSE_ARCH=$arch case "$ECLIPSE_ARCH" in x86-64) ECLIPSE_ARCH="x86_64" ;; powerpc) ECLIPSE_ARCH="ppc" ;; powerpc*) ECLIPSE_ARCH="ppc64" ;; esac # package doesn't contain a base dir custextract=eclipse_extract eclipse_extract() { mkdir $pkg-$ver var_append zipopt ' ' -d$pkg-$ver autoextract_zip "$@" } runmake=0 ECJ="-Dbuild.compiler=org.eclipse.jdt.core.JDTCompilerAdapter" # create ECJ ANTOPT="$ECJ -lib \$PWD/jdtcoresrc/ecj.jar" hook_add premake 2 "ant -buildfile jdtcoresrc/compilejdtcorewithjavac.xml" hook_add premake 3 "ant -buildfile jdtcoresrc/compilejdtcore.xml $ANTOPT" # compile & install ANTOPT="$ECJ -lib \$PWD/ecj.jar -DinstallOs=linux -DinstallWs=gtk -DinstallArch=$ECLIPSE_ARCH" # Custom installation. eclipse_postmake() { # Have eclipse put it all together. ant $ANTOPT install # Copy all stuff from the eclipse build to our prefix location. # But to make sure any possible links stay intact we use # tar | untar instead of cp. (cd eclipse; tar -c * | tar -x -C /$prefix) # and a $PATH friendly `eclipse` cat <<-EOT > $bindir/eclipse #!/bin/sh exec \${0%/*}/../eclipse EOT chmod +x $bindir/eclipse } hook_add inmake 5 "ant $ANTOPT compilelibs" hook_add postmake 5 eclipse_postmake