by Eric D. Larson
September 2002
Question
How can I use a revision control system with the J2ME Wireless Toolkit?
When I create an SCCS, RCS, or CVS directory under /src and build the
project, KToolBar tries to compile the delta files saved in those directories,
and my project doesn't get built correctly.
Answer
You can set a property in the ktools.properties file to make KToolBar ignore revision control files.
On Windows systems the file is:
<j2mewtk.dir>\wtklib\Windows\ktools.properties
On Solaris systems the file is:
<j2mewtk.dir>/wtklib/SunOS/ktools.properties
Simply add this line to the file to turn on revision control filtering:
kvem.filterRevisionControl: true
This setting will prevent KToolBar from treating SCCS, RCS, and CVS files as source and resource files. Be sure to restart KToolBar after modifying the properties file.
A number of other properties can be set in ktools.properties. Here are a few of the most popular:
| Property | Default | Description |
kvem.apps.dir | apps | MIDlet Application Directory |
kvem.filterRevisionControl | false | Filter RCS/SCCS/CVS files |
obfuscator.runner.class.name | com.sun.kvem.ktools.RunRetro | Obfuscator classname |
obfuscator.runner.classpath | wtklib/ktools.zip | Obfuscator class path |
obfuscate.script.name | ignore.rgs | Obfusctor script name |
Resources
J2ME Wireless Toolkit Documentation
http://java.sun.com/j2me/docs/index.html#wireless_toolkit
Back To Top
|