I''ve built a Java applet and now I''m trying to load it using
Rails,
it''s failing to load.
The problem seems to be that Rails is changing the dots in my
classpath to forward slashes which then cause my applet''s dependencies
to not load. Here''s an example dependency from the logs
that''s
failing:
ActionController::RoutingError (No route matches
"/com/objex/panywhere/Pedigree_RS_Bundle.class" with
{:method=>:get}):
So how can I tell Rails that I''m loading a Java applet and to not mess
with anything in my <object> and <embed> tags?
Here''s my embed code that works perfectly outside of Rails:
<object classid="clsid:CAFEEFAC-0016-0000-0000-ABCDEFFEDCBA"
width="600"
height="400">
<param name="archive" value="/artemis.jar" />
<param name="code"
value="artemis.ProgenyAnywhereWrapper.class" />
<param name="codebase" value=".">
<comment>
<embed type="application/x-java-applet"
archive="/artemis.jar"
code="artemis.ProgenyAnywhereWrapper.class"
width="600"
height="400"
codebase=".">
<noembed>No Java Support.</noembed>
</embed>
</comment>
</object>
Surely I don''t have to make custom routes for every single one of my
applet dependencies ?
Thanks,
--
Greg Donald
http://destiney.com/
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---
Did you ever figure this out? I am having the same problem and can''t find a good solution anywhere.> >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/yJ5x1ODOnWMJ. For more options, visit https://groups.google.com/groups/opt_out.
No one has given me a viable response yet. I will keep you in the loop if i find anything out. On Thu, May 2, 2013 at 10:25 AM, Ian Randolph <ian.hls2-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Did you ever figure this out? I am having the same problem and can''t find > a good solution anywhere. >> >> -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit > https://groups.google.com/d/msg/rubyonrails-talk/-/yJ5x1ODOnWMJ. > For more options, visit https://groups.google.com/groups/opt_out. > > >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.