diff options
author | Raphael Moll <ralf@android.com> | 2011-04-13 23:55:32 -0700 |
---|---|---|
committer | Raphael Moll <ralf@android.com> | 2011-04-15 12:05:09 -0700 |
commit | 966081a59165dabb218857cb0df54eab8356d86e (patch) | |
tree | fb8be2b1c278d5d9b24e9f7b751470ae2d5bae1e /sdkmanager/libs/sdkuilib/README | |
parent | 51cb7801f4d3abf5d98702ebf8c6b16d44097365 (diff) | |
download | sdk-966081a59165dabb218857cb0df54eab8356d86e.zip sdk-966081a59165dabb218857cb0df54eab8356d86e.tar.gz sdk-966081a59165dabb218857cb0df54eab8356d86e.tar.bz2 |
Use swtmenubar in SDK Manager 2.
This is experimental and not completely hooked up.
Change-Id: I4f4892be64f5592d909496e3c9e69c76002397d0
Diffstat (limited to 'sdkmanager/libs/sdkuilib/README')
-rw-r--r-- | sdkmanager/libs/sdkuilib/README | 38 |
1 files changed, 33 insertions, 5 deletions
diff --git a/sdkmanager/libs/sdkuilib/README b/sdkmanager/libs/sdkuilib/README index d66b84a..3d68520 100644 --- a/sdkmanager/libs/sdkuilib/README +++ b/sdkmanager/libs/sdkuilib/README @@ -1,11 +1,39 @@ -Using the Eclipse projects for ddmuilib. +Using the Eclipse project SdkUiLib +---------------------------------- -ddmuilib requires SWT to compile. +1- sdkuilib requires SWT to compile. -SWT is available in the depot under prebuild/<platform>/swt +SWT is available in the tree under prebuild/<platform>/swt Because the build path cannot contain relative path that are not inside the project directory, the .classpath file references a user library called ANDROID_SWT. -In order to compile the project, make a user library called ANDROID_SWT containing the jar -available at prebuild/<platform>/swt.
\ No newline at end of file +In order to compile the project: +- Open Preferences > Java > Build Path > User Libraries +- Create a new user library named ANDROID_SWT +- Add the following 4 JAR files: + + - prebuild/<platform>/swt/swt.jar + - prebuilt/common/eclipse/org.eclipse.core.commands_3.*.jar + - prebuilt/common/eclipse/org.eclipse.equinox.common_3.*.jar + - prebuilt/common/eclipse/org.eclipse.jface_3.*.jar + + +2- sdkuilib also requires the compiled swtmenubar library. + +Build the swtmenubar library: +$ cd $TOP (top of Android tree) +$ . build/envsetup.sh && lunch sdk-eng +$ sdk/eclipse/scripts/create_sdkman_symlinks.sh + +Define a classpath variable in Eclipse: +- Open Preferences > Java > Build Path > Classpath Variables +- Create a new classpath variable named ANDROID_OUT_FRAMEWORK +- Set its folder value to <Android tree>/out/host/<platform>/framework + +You might need to clean the SdkUiLib project (Project > Clean...) after +you add the new classpath variable, otherwise previous errors might not +go away automatically. + +-- +EOF |