jrubyfx icon indicating copy to clipboard operation
jrubyfx copied to clipboard

Allow jrubyfx-jarify to AOT compile Ruby source as an option (or maybe as default)

Open enebo opened this issue 12 years ago • 7 comments

This is opened as a feature request in reponse to #26. I wrote it up as a feature request. When we run jrubyfx-jarify we should allow AOT compilation for partial obfuscation. It is not a ton of obfuscation but it is enough to discourage casual cheating. People will keep asking for this as well, so we might as well do it.

enebo avatar Feb 20 '13 16:02 enebo

hello? :) it has been some time...

illtellyoulater avatar Oct 20 '13 00:10 illtellyoulater

yes I definitely need this, can a work around be suggested please

amiracam avatar Oct 31 '13 15:10 amiracam

@enebo how does require work? can I simply run jrubyc over it and require will work or do we need to do more work?

byteit101 avatar Oct 31 '13 20:10 byteit101

right , hopefully not need to add java_require s

amiracam avatar Oct 31 '13 20:10 amiracam

We should look at how warbler does this since I believe they have an AOT option as well. It would be nice to just lift some code than write any...

enebo avatar Oct 31 '13 20:10 enebo

they do have said feature i.e. "warble compiled" , however warble will try to compile all your ruby source within the current directory including any gems for example packaged in by bundler, not to mention that it makes assumptions about your code layout and entry point, so it seems that the key is to do "warble config" which generates a config file and tweak accordingly, I will try to check this out today

amiracam avatar Nov 01 '13 10:11 amiracam

any news, after 7 years? :)

illtellyoulater avatar Feb 14 '20 20:02 illtellyoulater