Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...


It is also possible to call external java classes (*.jar) from the general adapter. Within this option it is NOT necessary to have the java *.jar file stored in the Delft-FEWS \bin\ directory. In this way, the dependency is clear and should it be seen as separate from the 'core' code of Delft-FEWS. The *<command> element is important here in which you specify the full name of the Java runnable class and the option to specify its location in the <binDir>. The use of global properties is allowed. An example can be found below and more information can also be found here.

No Format

<activities>
...
  <executeActivities>
	<executeActivity>
		<command>
			<className>nl.wldelft.fews.ftpPull.FtpPull</className>
			<binDir>%REGION_HOME%/Modules/FtpPull</binDir>
		</command>
		<arguments>
			<argument>-configFile</argument>
			<argument>$FTPPULL_CONFIG_FILE$</argument>
			<argument>-root</argument>
			<argument>%ROOT_DIR%</argument>
		</arguments>
		<timeOut>900000</timeOut>
	</executeActivity>
</executeActivities>
... 

...