Hi Marcus,

Marcus Lindblom wrote:
>
> Sorry for being late with this. :-/
> 
> I have a template file which declares the following function:
> 
> std::string Build::getRevision()
> {
>     const char *commit = "(commited $WCDATE$)";
>     std::ostringstream os;
>     os << "Rev: $WCRANGE$ ";
>     os << $WCMODS?"(modified)":commit$;
>     os << " Repo: $WCURL$";
>     return os.str();
> }
> 
> which is resolved, when run via subwcrev, to something like:
> 
> std::string Build::getRevision()
> {
>     const char *commit = "(commited 2006/09/11 14:41:02)";
>     std::ostringstream os;
>     os << "Rev: 1751 ";
>     os << "(modified)";
>     os << " Repo: svn://loke.mentice.com/styx/trunk/Core";
>     return os.str();
> }

sorry for being late with this! ;)

I added something similar using pysvn and adding some dummy files to the 
libs. It's output by osgInit() at the Notice level, and for each lib.

Thanks

        Dirk


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to