Demonstrates using Shelf Life by reading the expiration token from an external source, in this case from resources.
See the main README for the requirements.
To run this sample you need to create a token using PreEmptive Protection™ DashO™.
- Start DashO's graphical user interface.
- From the menu select Window > Shelf Life Token....
- Use
../sample.slkeyfor the key file. - Fill in an expiration date and an optional warning date using the format:
MM/DD/YYYY. - Click the
Savebutton. - Save the token as
ShelfLifeToken.datin this directory.
You may then run the sample with ant.