Lines Matching refs:Eclipse
3 # Makefile rules to build the ADT Eclipse IDE.
4 # This is invoked from sdk/eclipse/scripts/build_server.sh using
12 # Expose the ADT Eclipse IDE build only for the SDK when building adt_eclipse_ide
27 ADT_IDE_BUILD_LOG := $(TOPDIR)out/host/eclipse/adtproduct/adtproduct.log
28 ADT_IDE_ARTIFACT_DIR := $(TOPDIR)out/host/eclipse/adtproduct/pbuild/I.RcpBuild
29 ADT_IDE_RELEASE_DIR := $(TOPDIR)out/host/eclipse/adtproduct/release
31 ADT_IDE_JAVA_LIBS := $(shell $(TOPDIR)sdk/eclipse/scripts/create_all_symlinks.sh -d)
35 ADT_VERSION := $(shell grep Bundle-Version $(TOPDIR)sdk/eclipse/plugins/com.android.ide.eclipse.adt/META-INF/MANIFEST.MF | sed 's/.*: \([0-9]\+.[0-9]\+.[0-9]\+\).*/\1/')
37 # Common not-quite-phony rule to perform the eclipse build only once
38 # This invokes the java builder on eclipse. It generates multiple
45 @if [[ ! -d $(TOPDIR)prebuilts/eclipse-build-deps ]]; then \
46 echo "*** [adt_eclipse_ide] ERROR: Missing prebuilts/eclipse-build-deps directory. Make sure to run 'repo init -g all;repo sync' first."; \
49 $(hide)rm -rf $(TOPDIR)out/host/eclipse/adtproduct/fbuild/plugins
50 $(hide)rm -rf $(TOPDIR)out/host/eclipse/adtproduct/pbuild/plugins
52 $(hide) $(TOPDIR)sdk/eclipse/scripts/create_all_symlinks.sh -c
55 ( java -jar ../../external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar \
56 org.eclipse.equinox.launcher.Main \
57 -application org.eclipse.ant.core.antRunner \
58 -configuration ../../out/host/eclipse/adtproduct/ant-configuration \
59 -data ../../out/host/eclipse/adtproduct/ant-workspace \
81 # $3 = the src zip (from out/host/eclipse/artifacts/RcpBuild-...)
82 # $4 = the destination directory (where the unpacked eclipse is created)
83 # $5 = the destination zip with the zipped eclipse ide.
85 # generated by the Eclipse PDE build process. Ideally, we'd fix things in the PDE build
87 # - Changing the product definition in eclipse.ini from org.eclipse.platform to ..adt.package.product
88 # - Setting eclipse.buildId in eclipse.ini
89 # - Setting eclipse.buildId in about.mappings
91 # - Mac only: The PDE build produces eclipse.app and Eclipse.app folders. This is probably a bug
92 # in the PDE build since the filesystems on Mac are case insensitive. In any case, eclipse.ini is
93 # present only in eclipse.app, so we copy it over to Eclipse.app and remove the eclipse.app folder.
94 # In addition, the root folder has a symlink to Eclipse.app/Contents/MacOS/eclipse. Since .zip files
96 # open the Eclipse.app application, so we just remove it. Lastly, the .icns file is manually copied
97 # over and specified in eclipse.ini, only because including it directly in the product definition
107 mv $(4)/eclipse/eclipse.app/Contents/MacOS/eclipse.ini $(4)/eclipse/Eclipse.app/Contents/MacOS && \
108 rm -rf $(4)/eclipse/eclipse.app && \
109 rm -r $(4)/eclipse/eclipse && \
110 chmod +x $(4)/eclipse/Eclipse.app/Contents/MacOS/eclipse && \
111 cp $(4)/eclipse/plugins/com.android.ide.eclipse.adt.package*/icons/adt.icns \
112 $(4)/eclipse/Eclipse.app/Contents/Resources && \
113 sed -i -e 's/Eclipse.icns/adt.icns/g' $(4)/eclipse/Eclipse.app/Contents/MacOS/eclipse.ini && \
114 sed -i -e 's/Eclipse.icns/adt.icns/g' $(4)/eclipse/Eclipse.app/Contents/Info.plist ; \
116 sed -i -e 's/org.eclipse.platform/com.android.ide.eclipse.adt.package.product/g' \
117 $(4)/eclipse/$(if $(filter macosx.cocoa,$(1)),Eclipse.app/Contents/MacOS/)eclipse.ini && \
119 $(4)/eclipse/$(if $(filter macosx.cocoa,$(1)),Eclipse.app/Contents/MacOS/)eclipse.ini && \
121 $(4)/eclipse/plugins/com.android.ide.eclipse.adt.package_*/about.mappings && \
122 sed -i -e 's/org.eclipse.platform.ide/com.android.ide.eclipse.adt.package.product/g' \
123 -e 's/org.eclipse.platform/com.android.ide.eclipse.adt.package/g' \
124 $(4)/eclipse/configuration/config.ini
125 $(hide)cd $(4) && zip -9rq ../$(notdir $(5)) eclipse