A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Plugin/Gant script consolidation
Joined: Jun 11, 2003
Nov 10, 2009 07:03:06
in a plugin I'd like to extract constants (e.g. folder and file names) into a (groovy) class for reuse in install, uninstall and other Gant scripts.
How can I use such a class in my gant scripts?
Joined: Aug 29, 2007
Nov 10, 2009 16:53:07
I haven't tried this myself, but you should be able to just put the Groovy file in your plugin's src/groovy directory and refer to it in the scripts. Have you tried that and run into problems?
subject: Plugin/Gant script consolidation
* Welcome Dave Klein
New Article: Evil Ant Build Properties
A layman's doubt on build
Groovy: using instead of shell UNIX scripting is its purpose?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014