How to: |
There are multiple sample applications provided for various functions. Five batch files are provided to assist in running these applications. The batch files are named according to function and include:
Each of these batch files reference a batch file named setenv.bat, which will set environment specific settings, such as the location of the Java executable and the classpath. In order to run these batch files, this will need to be configured in a similar fashion as SamplesComp.bat.
This section provides the contents of and variable descriptions for the setenv.bat file.
Notes:
@echo off REM Copyright 1996-2013 Information Builders, Inc. All rights reserved REM -- uncomment the line below and replace with the install root of WebFOCUS rem set IBI_DOCUMENT_ROOT=c:\ibi\WebFOCUS80 REM -- optional: change the line below and replace with your application classpath rem set APPL_PATH=.\CompiledCode REM -- optional: replace default WebFOCUS Java Home rem set JAVA_HOME=C:\Program Files\Java\jre6 REM -- optional: used to echo back environment variables rem set ECHO=ON
where:
Is the root location of the WebFOCUS Client installation. For example, c:\ibi\WebFOCUS80.
Is the location of the compiled API samples programs or class files.
Is the location of the Java installation. For example, C:\Program Files\Java\jre6.
Note: When the migrate utility is run upon upgrading from releases prior to WebFOCUS 8, folders are created to store the schedules. When a new WebFOCUS 8 version is installed without migrating, you can use the following procedure to ensure that the requisite folders are created.
Note: If this task is not performed, then certain sample API programs like S06_Add_Notification will display the following error message:
Failed to find the folder IBFS:/.../~admin
WebFOCUS |