Skip to end of metadata
Go to start of metadata
You are viewing an old version of this page. View the current version. Compare with Current ·  View Page History

 Groovy recipes for every day!

Add yours !

File Listing

List my imported packages

Today: I get a list of imported package into my old groovy scripts !

Output

D:\groovy getImports.groovy
d:\scripts\testCom.groovy
   org.codehaus.groovy.scriptom.ActiveXProxy
d:\scripts\testDurableSubscriber.groovy
   javax.jms.*;
   org.apache.activemq.ActiveMQConnectionFactory;
   org.apache.activemq.command.ActiveMQTopic;
d:\scripts\testJmsBroker.groovy
   javax.jms.*;
   org.apache.activemq.ActiveMQConnectionFactory;
   org.apache.activemq.command.ActiveMQTopic;
Labels
  • None