Archived:Getting started with WidSets - Part3
Once the WidSets Emulator is installed in your PC, you are ready to use WidSets Devkit SDK for testing and using widgets. Following are various commands which are used on command prompt to deal with various functions of the emulator.
Command Prompt Options
Syntax: devkit <options> command <command argument>
- --site SITEFILE
configuration of WidSets site to use (External site configuration).
- --proxy HOST:PORT
host and pointer of the proxy server to be used with WidSets.
The command disables the use of an HTTP proxy server.
The command enables the tunneling in absence of an HTTP proxy server.
Disallows the use of tunneling.
- --auth USER PASS
Authentication of Username and password of website.
Disables username and password authentication of website.
- --skin SKIN
Command changes the skin for WidSets emulator
Force to use (old) existing of site config
- --client CLIENTJAR
Override embedded client with specified .jar
Enables active standby mode of the emulator
Disables active standby mode of the emulator
Starts MIDlet in background mode in active mode
Commands For Various Tasks
- The first step to star using the emulator is to Login to WidSets site WidSets.com
login USERNAME PASSWORD
- Checks the widget at current directory (by default directory in which you are workig) or referred directory
check [WIDGET DIR]
- Upload the widget at the referred directory
- Write connectivity details to given .jad file
- Checks given script
compile FILE [LANG]
- Checks given style sheet
- Checks and prints given style sheet
- Print out authentication information on the command prompt
- Cleans the record stores from current site
- Run the emulator
run [DIR [LANG]]
If DIR is given the emulator will compile *.he files at the directory when needed and replace corresponding widget scripts at dashboard. By default the compiler localizes the scripts using *.properties file with same name as the script, but shared backup file can be specified as second argument
runw [DIR [LANG]]
Otherwise like run but opens a separate window