Chapter 4 — Install Applications on the IF2 with Expanded Memory Option
52
IF2 Network Reader User Manual
Create a Configuration File
When you package your application for installation on the IF2, you
need to include a configuration file in the root directory of the
archive. The file must be named “userapp.conf ” and must include this
syntax:
AUTOSTART=true|false
RUNAFTERINSTALL=true|false
CMDLINE=<command line to start the application>
where:
AUTOSTART
specifies whether or not the application should
automatically be executed when the IF2 boots. When
AUTOSTART=true
, the Auto-Start check box for this application on
the Application Control screen will be checked.
RUNAFTERINSTALL
specifies whether or not the application should
be started immediately after installation.
CMDLINE
specifies the application name and optional parameters it
accepts. Specify command line parameters as if the application is
being executed from inside the directory containing the application.
This example runs a C# application named “testapp.exe” using the
Mono runtime:
CMDLINE=./testapp.exe
For Java applications,
CMDLINE
should specify the Java interpreter
location, the classpath, and the class containing the application’s
entry point. This example runs the class “HelloWorld”:
CMDLINE=/usr/java/bin/java -cp . HelloWorld
Note:
After you install the application on the IF2, you can enable or
disable the auto-start feature from the web browser interface. For
help, see
“Manage Applications” on page 56.
Note:
Do not use the $JAVA_HOME environment variable in the
command line.
Summary of Contents for 1009FF01
Page 1: ...IF2 Network Reader Model 1009FF01 User Manual ...
Page 4: ...iv IF2 Network Reader User Manual ...
Page 10: ...x IF2 Network Reader User Manual ...
Page 14: ...xiv IF2 Network Reader User Manual ...
Page 34: ...Chapter 1 About the RFID Reader 20 IF2 Network Reader User Manual ...
Page 64: ...Chapter 3 Develop and Use RFID Applications 50 IF2 Network Reader User Manual ...
Page 96: ...Chapter 5 Manage Troubleshoot and Upgrade the IF2 82 IF2 Network Reader User Manual ...
Page 111: ...97 I Index ...
Page 118: ......