File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Groovy and the fly likes Plugin/Gant script consolidation Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Other Languages » Groovy
Reply Bookmark "Plugin/Gant script consolidation" Watch "Plugin/Gant script consolidation" New topic
Author

Plugin/Gant script consolidation

Oliver Hoch
Greenhorn

Joined: Jun 11, 2003
Posts: 2
Hi Dave,
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?
Oliver

This message was edited 1 time. Last update was at by Oliver Hoch

Dave Klein
author
Ranch Hand

Joined: Aug 29, 2007
Posts: 77
Hi Oliver,

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?

Dave
 
 
subject: Plugin/Gant script consolidation
 
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com