com.verticon.tracker.example Version 0.1.4
Contents
This project is an example of a typical Tracker Livestock project that uses Tracker model documents to record and manage animal identification, animal life data, animal event history, farm locations and contact information.
This project contains the following documents and files:
This about file, in HTML format.
This about file in textile format.
This is data file that contains animal life data information. It was exported from a spreadsheet as a comma separated values text file. The
data values in the file are animal:id, animal:visualId, animal:species, and animal:comments. The species is either a 1 for beef or 2 for swine.
An example of an iRouter configuration metatype document. Metatype documents are used in several places within the Tracker Toolkit. This metatype document is an example of an iRouter configuration that specifies the embedded iRouter infrastructure services to integrate premises data with external weighing devices and Tracker Store data storage facilities. Those just starting out or not using the iRouter product can ignore this file. For details on the iRouter, see the iRouter User Guide Document.
An image file referenced by the My.metatype file to represent a custom event with an icon.
A simple text file with a list of example animal id numbers used as input to the Tracker import TagId Utilities. Right menu click on the file to see the Import TagId actions. Tracker Import TagId utilities make it easy to import lists of TagIds into the .premises documents.
An example Tracker Store Admin document for specifying users access and permissions. Those just starting out or not using the Tracker Store feature for archival or collaborative storage of premises data can ignore this file. For details on the Tracker Store, see the Tracker Store feature in the Tracker Desktop BI Toolkit Documentation.
An example Agriculture document used for identifying one or more .premises documents as part of an association. .premises documents referenced in an Agriculture Association can be used as input to the Tracker Location service for identify animal locations for all .premises documents throughout the workspace. See the Location Service documentation for more details.
An example Geography document used in GIS and industry standard GeoBrowswers like Google Earth.
An example business associate premises, with premises and location information but without any animals. It is referenced in the doc.agri association element and will serve as a location in the location service.
An example Premises document that contains example animals, animal life data, animal histories, premises details, location details, location areas and two custom events via a reference to the My.metatype document.
An example logging configuration file. Use this under the direction of Verticon technical support.
tracker.ini
in the installed directory of the tracker to add the lines-Dlogback.configurationFile=file:${workspace_loc}/com.verticon.tracker.example/logback-test.xml
-Dlogback.application=TrackerProduct
after the -vmargs
line.
Where ${workspace_loc}
is the installed directory of the tracker.
An example Metatype document that specifies to custom events. This document is referenced by the example.premises document to enable users to add these two custom events to animals included in the example.premsies document.
An example business associate premises, with premises and location information but without any animals. It is referenced in the doc.agri association element and will serve as a location in the location service.
An example business associate premises, with premises and location information but without any animals. It is referenced in the doc.agri association element and will serve as a location in the location service.
An example business associate premises, with premises and location information but without any animals. It is referenced in the doc.agri association element and will serve as a location in the location service.
An example Animal document used by Tracker import utilities and RFID reader services to add new Animals and events to a .premises document.
This example uses:
com.verticon.tracker.editor
com.verticon.locaton
com.verticon.agriculture.editor
org.eclipse.birt
com.verticon.tracker.report.pack
Tracker utilizes BIRT report design documents, BIRT shared resources for creating reports based on information in Tracker premises documents. With Tracker BIRT reports can be created that can be reused to report on information from different data model instances in projects.
Tracker also support the notion of report packs. These report packs are predefined sets of reports that can be installed and copied to projects or referenced in place to report on data in premises documents. When Tracker detects a report pack at startup it loads all the reports and styles into the BIRT resource library.
To get started you will need to install the Premises report pack, make some changes to the configuration, and copy the report or reference the report in place through html page.
com.verticon.tracker.report.pack
When tracker starts up, it loads all drivers and installed report packs to the BIRT resource directory. Then it starts a web server and sends it a test report.
tracker.ini
in the installed directory to add the line -Dstart.webserver=true
after the -vmargs
line. This will start the web server when the Report Design perspective is opened in the workspace. You must open the open the Report Design perspective in order to run a Tracker report pack report.Tracker reports are intended to be reused with different data model instances in projects. These model documents are referenced by the report design documents as variables placed inside a reports/report.properties
file.
reports
directory in this project.report.properties
file from the reports/report.properties
in this example project to this directoryrp_premises_doc = platform:/resource/com.verticon.tracker.example/example.premises
report.properties
file is opened in an editor. This will insure that the Shared Resources are showing in the Resource Explorer.reports
directory in the Resource Explorer to the reports
directory of you project.premises.rptlibrary
deployted to the BIRT resources directory.Reports can also be launched from a browser with a parameterized URL that specifies the hostname of the running BIRT Web Server, the report file path and the premises document to use as a DataSource. This is a convenient way to use reports loaded from report packs.
The easiest way to run these reports is to create a HTML document that embeds these parameterized URLs. The following section is an example of how to do this. 4
Reports from Tracker report packs are preloaded in the BIRT Web Server and can be launched with simple location independent paths to the reports.
__report
is a relative path to the report deployed in the BIRT Web Server. rp_premises_doc
is a platform based url referencing the premises document in the workspace.Report | Description |
---|---|
Animal Events | Shows the events of all animals. Animal identification, types and a list of events. |
Animal Locations | Shows the last known location of all animals. Animal identification, types, weights, and locations. |
To access browser based reports that are in the workspace or the file system, you will have to use absolute paths to the rptdesign file.
__report
is a absolute path to the report deployed in the file system. rp_premises_doc
is a platform based url referencing the premises document in the workspace.Report | Description |
---|---|
Animal Events | Shows the events of all animals. Animal identification, types and a list of events. |
Animal Locations | Shows the last known location of all animals. Animal identification, types, weights, and locations. |
1 This document was created with the Wikitext textile editor. If you would like to edit this document or create documents
with WikiText, see Getting Started with WikiText
2 To install the software go to the menu Help | Install New Software | Tracker Release | BIRT | Tracker Premises Report Pack
3 Imported projects are not required to be copied into the workspace default locations. Use caution when working with imported but not copied projects, least they affect other user workspaces.
4 The links in the table will need prior configuration that is specific to your system in order to work on your local host. First, you must set the user preferences: Report Design | Preview
enable use external browser and Report Design | Preview | Preview Server
and set the port. Next, change the port in the links to reference the port you set. Finally, you must edit the links to reference the absolute paths to the reports. For reports to work you may need to initial the ReportViewer Servlet by launching a report from the popup menu first.
5 These are only examples as the URL to the report is system specific.