Showing posts with label install. Show all posts
Showing posts with label install. Show all posts

Wednesday 25 September 2013

How to run JSF2.0 on Eclipse IDE

// siddhu vydyabhushana // Leave a Comment
In Eclipse Ganymede (v3.4) or Galileo (v3.5), it supports until JSF 1.2 only. For JSF 2.0, upgrade your Eclipse to version Helios (v3.6) onward, it has full support of Java EE 6 support, including JSF 2.0.
Here’s a quick guide to show you how to enable JSF 2.0 features like code assist and visual JSF component editor in Eclipse IDE.
Tools Used
  1. Eclipse 3.6
  2. JSF 2.0.x

1. Eclipse Project Facets

To support JSF 2.0, you need to configure Eclipse project to support Web Tools Platform (WTP).
Steps to enable the Web Tools Platform (WTP) :
  1. Right click on the project, choose “properties” –> “Project Facets“.
  2. Check “Dynamic Web Module“, select version 2.5.
  3. Check “Java“, choose version 1.6.
  4. Check “JavaServer Faces“, choose version 2.0.
    eclipse-jsf-support
  5. Click on the “further configuration…” link below to do the JSF configuration.
  6. Create an user library and include the JSF 2.0 API and implementation libraries, jsf-api-xxx.jar and jsf-impl-xxx.jar.
    P.S You can get the JSF jars official JSF website.

    2. Demo

    Now, Eclipse IDE is supporting the JSF 2.0 capabilities. Try it, in .xhtml file, click on the “Ctrl + Space“, it will prompts all available JSF 2.0 tags (code assist) automatically.
    Furthermore, it add JSF 2.0 visual components to the web page editor as well, see figure below :
    eclipse-jsf-support
    eclipse-jsf-support
Read More

Thursday 5 September 2013

How to install external .apk file on android emulator

// siddhu vydyabhushana // 2 comments
To install an external APK on Android Virtual Deice (AVD) or on Emulator go through the following step-by-step procedure. 

Step-1:

 

Launch the emulator

Step-2:


Paste your APK file whichever you want to install on emulator in android-sdk-windows\platform-tools directory.

Step-3:


open cmd prompt and move to platform-tools folder of Android SDK directory.

Step-4:


Run the  following command:
adb install "xxx.apk"
Example: abd install "Indianlaws.apk" 
If Exists: If the emulator is already has that application it will give a failure notification to the user - [ INSTALL_FAILED_ALREADY_EXISTS ].

How to install .apk fiel on android emulator
Read More