How can you automatically import the latest build/revision number in subversion?
The goal would be to have that number visible on your webpage footer like SO does.>
Here is a hint, how you might use Netbeans' capabilities to
create custom ant tasks which would generate scm-version.txt:
Open your build.xml file, and add following code right after
Now, Netbeans strores the Subversion version string to scm-version.txt everytime you make clean/build.
You can read the file during runtime by doing:
getClass().getResourceAsStream("scm-version.txt"); // ...
Don't forget to mark the file scm-version.txt as svn:ignore.