-
17 Sep 2012 10:37 AM #11
and tracker starts like this, just like in the map example:
Code:Ext.ns('xplugin.google'); Ext.define('xplugin.google.Tracker', { extend: 'Ext.util.GeoLocation', alias : 'plugin.gmaptracker',
-
17 Sep 2012 10:41 AM #12Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,582
- Vote Rating
- 433
Ok, shouldn't have an issue then, could be an issue with the beta (it is beta). Also, in Ext JS 4, there is no need to call Ext.ns
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
-
17 Sep 2012 11:12 AM #13
the Ext.ns part was part taken from the map example....
it's a shame this isn't working, I was hoping to demo openURL functionality on Wednesday... unfortunately it looks like I've run out of time with Sencha Touch... I'm not going to able to wait to test again and I'm having too many problems with ios6 even on the release version, let alone the betas... gonna have to start using objective c again.
Thanks for your help Mitchell.
-
19 Sep 2012 11:48 AM #14
Same issue here, custom plugin loading is broken.
I renamed all my extensions classes only to find out that this can't be fixed.
Even using my custom namespace with no specific loader, the build won't work...
And there is no easy way to go back to the old tools...
-
19 Sep 2012 12:07 PM #15
I actually took out the references to the plugins and still got the rest of the errors... the familiar line 707 error that a lot of people seem to be getting... I think we need to wait until the next cmd beta at least.
-
30 Jan 2013 7:01 PM #16
I'm not sure if this is the correct way or not, but I edited .sencha/app/sencha.cfg file and add the plugin folder to app.classpath. Now can build no problem.
-
15 Feb 2013 3:54 PM #17
I was also facing the same issue. I realized it was a name space issue.
Following is my namespace configuration ->
Ext.Loader.setPath({
'Ext' : 'touch/src',
'WU' : 'app',
'Ext.plugin': 'lib/plugin'
});
And I placed the lib/google inside the touch/src folder to use the same namespace. It has solved this issue.
Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote