Hi John,

So you did specify a --approot=/my/approot parameter when you started
Wt, but it does not show with the statements below?

Wim.

2011/3/29 John Robson <[email protected]>:
> HelloApplication::HelloApplication(const WEnvironment& env)
>  : WApplication(env)
> {
>  std::cout << "appRoot(): " << appRoot() << std::endl;
>  std::cout << "appRoot(): " <<
> boost::lexical_cast<std::string>(appRoot()) << std::endl;
> }
>
> http://paste.ubuntu.com/586938/
>
> appRoot() is showing nothing...
>
> might be a bug of version 3.1.8
>
>
> On 03/28/2011 11:37 PM, Matthew Sherborne wrote:
>> Maybe not initializing the app properly .. check out how it's done in
>> the example apps:
>>
>> http://www.webtoolkit.eu/wt/src/hello
>
>
> ------------------------------------------------------------------------------
> Enable your software for Intel(R) Active Management Technology to meet the
> growing manageability and security demands of your customers. Businesses
> are taking advantage of Intel(R) vPro (TM) technology - will your software
> be a part of the solution? Download the Intel(R) Manageability Checker
> today! http://p.sf.net/sfu/intel-dev2devmar
> _______________________________________________
> witty-interest mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/witty-interest
>

------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to