Created
April 16, 2009 04:25
-
-
Save knowtheory/96217 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| >> require 'appengine-tools-api.jar' | |
| => true | |
| >> import java.io.File | |
| /Users/ted/Code/jruby/lib/ruby/site_ruby/1.8/builtin/javasupport/core_ext/object.rb:34 warning: already initialized constant File | |
| => Java::JavaIo::File | |
| >> approot = File.new('../guestbook') | |
| => #<Java::JavaIo::File:0x26b7df @java_object=#<Java::JavaObject:0xf1d0a3> | |
| >> import java.security.CodeSource | |
| => Java::JavaSecurity::CodeSource | |
| >> import java.security.ProtectionDomain | |
| => Java::JavaSecurity::ProtectionDomain | |
| >> import com.google.appengine.tools.development.DevAppServerFactory | |
| => Java::ComGoogleAppengineToolsDevelopment::DevAppServerFactory | |
| >> DevAppServerFactory.new.createDevAppServer(approot,"127.0.0.1",8080) | |
| Apr 16, 2009 12:34:14 AM com.google.apphosting.utils.security.SecurityManagerInstaller generatePolicyFile | |
| INFO: Auto-generating policy file at: /tmp/test41585.policy | |
| NativeException: java.lang.NoClassDefFoundError: com/google/appengine/tools/info/SdkInfo | |
| from com/google/appengine/tools/development/DevAppServerClassLoader.java:42:in `newClassLoader' | |
| from com/google/appengine/tools/development/DevAppServerFactory.java:38:in `createDevAppServer' | |
| from sun/reflect/NativeMethodAccessorImpl.java:-2:in `invoke0' | |
| from sun/reflect/NativeMethodAccessorImpl.java:39:in `invoke' | |
| from sun/reflect/DelegatingMethodAccessorImpl.java:25:in `invoke' | |
| from java/lang/reflect/Method.java:585:in `invoke' | |
| from org/jruby/javasupport/JavaMethod.java:298:in `invokeWithExceptionHandling' | |
| from org/jruby/javasupport/JavaMethod.java:259:in `invoke' | |
| from org/jruby/java/invokers/InstanceMethodInvoker.java:67:in `call' | |
| from org/jruby/runtime/callsite/CachingCallSite.java:318:in `cacheAndCall' | |
| from org/jruby/runtime/callsite/CachingCallSite.java:197:in `call' | |
| from org/jruby/ast/CallThreeArgNode.java:61:in `interpret' | |
| from org/jruby/ast/NewlineNode.java:104:in `interpret' | |
| from org/jruby/ast/RootNode.java:129:in `interpret' | |
| from org/jruby/evaluator/ASTInterpreter.java:98:in `evalWithBinding' | |
| from org/jruby/RubyKernel.java:955:in `eval' | |
| ... 95 levels... | |
| from org/jruby/runtime/callsite/CachingCallSite.java:141:in `callIter' | |
| from org/jruby/ast/FCallOneArgBlockNode.java:34:in `interpret' | |
| from org/jruby/ast/NewlineNode.java:104:in `interpret' | |
| from org/jruby/ast/BlockNode.java:71:in `interpret' | |
| from org/jruby/internal/runtime/methods/InterpretedMethod.java:170:in `call' | |
| from org/jruby/internal/runtime/methods/DefaultMethod.java:151:in `call' | |
| from org/jruby/runtime/callsite/CachingCallSite.java:278:in `cacheAndCall' | |
| from org/jruby/runtime/callsite/CachingCallSite.java:117:in `call' | |
| from Users/ted/Code/jruby/bin/jirb:19:in `__file__' | |
| from Users/ted/Code/jruby/bin/jirb:-1:in `load' | |
| from org/jruby/Ruby.java:591:in `runScript' | |
| from org/jruby/Ruby.java:494:in `runNormally' | |
| from org/jruby/Ruby.java:368:in `runFromMain' | |
| from org/jruby/Main.java:229:in `run' | |
| from org/jruby/Main.java:110:in `run' | |
| from org/jruby/Main.java:94:in `main'>> ^C | |
| >> import com.google.appengine.tools.info.SdkInfo | |
| NameError: cannot initialize Java class com.google.appengine.tools.info.SdkInfo | |
| from /Users/ted/Code/jruby/lib/ruby/1.8/irb/ruby-token.rb:46:in `get_proxy_or_package_under_package' | |
| from /Users/ted/Code/jruby/lib/ruby/site_ruby/1.8/builtin/javasupport/java.rb:51:in `method_missing' | |
| from (irb):9:in `irb_binding' | |
| Maybe IRB bug!! | |
| >> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment