This project has a various re-usable methods for managing build numbers to simple (very simple) logging. I expect that additional functionality will be included over time.
AppInfo Usage
Simply:
- checkout the project using Netbeans or some other JAVA IDE.
- open your current (or existing) project in the same IDE session
- read/skim the javadocs
- add the -pre-jar target as described in the AppInfo javadoc
- add the following import statements to your project:
- import net.stoken.utils.AppInfo;
- import net.stoken.swing.AppInfoPanel; (if you want to create an aboutbox)
- look at the code for sample main to see usage
- look at sample project as described below
Overall, the methods are pretty simple to use.
Logger Usage
See blog
Current Features
AppInfo
This module is responsible for extracting version information about a JAR file. The information can include the name of the JAR (i.e. the executable or library name), author, version, build number, build date, and description... When using this, it is important to think about a AppInfo version to be a project or libary version. A version number you would put in an About box or title bar.
You setup your build.xml and code to use this when you first create a project. After that, you can forget about it since everything works automatically.
To get a better idea of how this works, just checkout my blog.
AppInfoPanel
This panel can be used for an About box type dialog. Usage is simple within a calling program.
Logger
A very simple logger that can be used to help with debugging or activity tracking.
Example
To see this library in action (except for Logger) check out my first open source project language-translate.
TZConvert
Time Zone Convert is a simple tool for converting between a source and target timezone. It is geared to be used in situations where inbounds dates are text. See the javadoc for an example of usage.
At the time of writing, this code this code had been tested but not 100%. For this reason try it out but validate your results. If you find bugs or issues let me know.
NOTE
This code does not come with any implied warranty or guarantee. See GNU Public License for more details.
02-11-2008