Created
April 23, 2011 19:17
-
-
Save railsfactory/938898 to your computer and use it in GitHub Desktop.
getting started on dubious
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if I copy the application controlled code in my hello controller and run the code, app seems to boot and stops without any errors | |
import dubious.* | |
import models.* | |
class ApplicationController < ActionController | |
end | |
class HelloController < ApplicationController | |
def index | |
"Hello World" | |
end | |
end | |
Senthil-3:mirahlabs senthil$ rake server --trace | |
(in /Users/senthil/mirah/web_apps/mirahlabs) | |
** Invoke server (first_time) | |
** Invoke app (first_time) | |
** Invoke set_compile_options (first_time) | |
** Execute set_compile_options | |
** Invoke WEB-INF/classes/controllers/ApplicationController.class (first_time, not_needed) | |
** Invoke app/controllers/application_controller.mirah (first_time, not_needed) | |
** Invoke WEB-INF/classes/controllers/HelloController.class (first_time) | |
** Invoke app/controllers/hello_controller.mirah (first_time, not_needed) | |
** Invoke WEB-INF/classes/controllers/ApplicationController.class (not_needed) | |
** Execute WEB-INF/classes/controllers/HelloController.class | |
cd /Users/senthil/mirah/web_apps/mirahlabs/app | |
mirahc -d /Users/senthil/mirah/web_apps/mirahlabs/WEB-INF/classes --classpath /Users/senthil/mirah/web_apps/mirahlabs/WEB-INF/classes:/Users/senthil/mirah/web_apps/mirahlabs/WEB-INF/lib/appengine-api.jar:/Users/senthil/mirah/web_apps/mirahlabs/WEB-INF/lib/dubious.jar:/Users/senthil/mirah/web_apps/mirahlabs/WEB-INF/lib/mirahdatastore.jar:/Users/senthil/.rvm/gems/jruby-1.5.6/gems/appengine-sdk-1.4.2/appengine-java-sdk-1.4.2/lib/shared/servlet-api.jar:/Users/senthil/.rvm/gems/jruby-1.5.6/gems/appengine-sdk-1.4.2/appengine-java-sdk-1.4.2/lib/impl/appengine-api.jar controllers/hello_controller.mirah | |
cd - | |
** Invoke /Users/senthil/mirah/web_apps/mirahlabs/WEB-INF/lib/appengine-api.jar (first_time, not_needed) | |
** Invoke /Users/senthil/mirah/web_apps/mirahlabs/WEB-INF/lib (first_time, not_needed) | |
** Execute app | |
** Execute server | |
2011-04-24 00:45:40.559 java[19515:903] [Java CocoaComponent compatibility mode]: Enabled | |
2011-04-24 00:45:40.561 java[19515:903] [Java CocoaComponent compatibility mode]: Setting timeout for SWT to 0.100000 | |
******************************************************** | |
There is a new version of the SDK available. | |
----------- | |
Latest SDK: | |
Release: 1.4.3 | |
Timestamp: Thu Mar 24 23:50:22 IST 2011 | |
API versions: [1.0] | |
----------- | |
Your SDK: | |
Release: 1.4.2 | |
Timestamp: Sat Feb 12 00:32:35 IST 2011 | |
API versions: [1.0] | |
----------- | |
Please visit http://code.google.com/appengine for the latest SDK. | |
******************************************************** | |
Apr 23, 2011 7:15:42 PM com.google.apphosting.utils.jetty.JettyLogger info | |
INFO: Logging to JettyLogger(null) via com.google.apphosting.utils.jetty.JettyLogger | |
Apr 23, 2011 7:15:42 PM com.google.apphosting.utils.config.AppEngineWebXmlReader readAppEngineWebXml | |
INFO: Successfully processed /Users/senthil/mirah/web_apps/mirahlabs/WEB-INF/appengine-web.xml | |
Apr 23, 2011 7:15:42 PM com.google.apphosting.utils.config.AbstractConfigXmlReader readConfigXml | |
INFO: Successfully processed /Users/senthil/mirah/web_apps/mirahlabs/WEB-INF/web.xml | |
Apr 23, 2011 7:15:42 PM com.google.apphosting.utils.jetty.JettyLogger info | |
INFO: jetty-6.1.x | |
Apr 23, 2011 7:15:44 PM com.google.apphosting.utils.jetty.JettyLogger info | |
INFO: Started SelectChannelConnector@0.0.0.0:8080 | |
Apr 23, 2011 7:15:44 PM com.google.appengine.tools.development.DevAppServerImpl start | |
INFO: The server is running at http://localhost:8080/ | |
Senthil-3:mirahlabs senthil$ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import dubious.* | |
import models.* | |
class HelloController < ApplicationController | |
def index | |
"Hello World" | |
end | |
end | |
Senthil-3:mirahlabs senthil$ rake server --trace | |
(in /Users/senthil/mirah/web_apps/mirahlabs) | |
** Invoke server (first_time) | |
** Invoke app (first_time) | |
** Invoke set_compile_options (first_time) | |
** Execute set_compile_options | |
** Invoke WEB-INF/classes/controllers/ApplicationController.class (first_time, not_needed) | |
** Invoke app/controllers/application_controller.mirah (first_time, not_needed) | |
** Invoke WEB-INF/classes/controllers/HelloController.class (first_time) | |
** Invoke app/controllers/hello_controller.mirah (first_time, not_needed) | |
** Invoke WEB-INF/classes/controllers/ApplicationController.class (not_needed) | |
** Execute WEB-INF/classes/controllers/HelloController.class | |
cd /Users/senthil/mirah/web_apps/mirahlabs/app | |
mirahc -d /Users/senthil/mirah/web_apps/mirahlabs/WEB-INF/classes --classpath /Users/senthil/mirah/web_apps/mirahlabs/WEB-INF/classes:/Users/senthil/mirah/web_apps/mirahlabs/WEB-INF/lib/appengine-api.jar:/Users/senthil/mirah/web_apps/mirahlabs/WEB-INF/lib/dubious.jar:/Users/senthil/mirah/web_apps/mirahlabs/WEB-INF/lib/mirahdatastore.jar:/Users/senthil/.rvm/gems/jruby-1.5.6/gems/appengine-sdk-1.4.2/appengine-java-sdk-1.4.2/lib/shared/servlet-api.jar:/Users/senthil/.rvm/gems/jruby-1.5.6/gems/appengine-sdk-1.4.2/appengine-java-sdk-1.4.2/lib/impl/appengine-api.jar controllers/hello_controller.mirah | |
Inference Error: | |
controllers/hello_controller.mirah:4: Cannot find class ApplicationController | |
class HelloController < ApplicationController | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
^ | |
def index | |
^^^^^^^^^^ | |
"Hello World" | |
^^^^^^^^^^^^^^ | |
end | |
^^^^ | |
^ | |
end | |
^^^ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment