Include groovy files

  • Allen

    Allen - 2007-11-29

    Is there way to include Groovy source files in a Groovy Monkey script? The only solution I have found is to compile the Groovy files and use Include: with a path to the class files.


    • James E. Ervin

      James E. Ervin - 2008-01-09

      Sorry I have taken so long to reply to this, I had a bug with my email filter settings.

      I have thought about adding an include directive, much in the same way that you can do it in C/C++, but I am a little worried about having to support it with making enhancements to the editor with things like code complete and the like.

      You can break up your functions into separate callable monkey scripts by using the runnerDOM.  The runnerDOM can run other monkey scripts in your workspace and will allow you to pass in arguments and receive return values.



Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks