Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

Bug report: builtInDS errors after importing (class path error, deprecated warning)

$
0
0
Hi Isomorphic,

I noticed in current 4.1d that it is no longer possible to just import&build the builtInDS sample.
This is because some files are there in new versions in the lib, but not in the buildpath:
  • SGWTEE_HOME/lib/poi-3.6-20091214.jar -> poi-3.9-20121203.jar
  • SGWTEE_HOME/lib/poi-ooxml-3.6-20091214.jar -> poi-ooxml-3.9-20121203.jar
  • SGWTEE_HOME/lib/poi-ooxml-schemas-3.6-20091214.jar -> poi-ooxml-schemas-3.9-20121203.jar

Also, the call to
Code:

Page.registerKey(debugKey, new KeyCallback() {
            public void execute(String keyName) {
                SC.showConsole();
            }
        });

is deprecated right now and should be:
Code:

KeyIdentifier debugKey = new KeyIdentifier();
                debugKey.setCtrlKey(true);
                debugKey.setKeyName("D");

                Page.registerKey(debugKey, new PageKeyHandler() {
                        @Override
                        public void execute(String keyName) {
                                SC.showConsole();
                        }
                });

now.

Both these changes might be frustrating for new users importing a sample for the first time, as the get a erroneous project with warnings.
I did not try the other samples.

Best regards,
Blama

Viewing all articles
Browse latest Browse all 4756

Trending Articles