On 2 Mar 2004, at 08:34, James A. Hillyerd wrote:
Okay, so I guess I was too impatient to wait for an answer to my question! After a bunch more research and some trial and error, I came up with the following maven.xml:

<project default="java:compile" xmlns:j="jelly:core"
  xmlns:u="jelly:util" xmlns:ant="jelly:ant">

  <goal name="bsh">
    <attainGoal name="java:jar-resources"/>
    <attainGoal name="java:compile"/>
    <ant:java classname="bsh.Console" fork="true">
      <ant:classpath>
        <ant:path refid="maven.dependency.classpath"/>
        <ant:pathelement path="${maven.build.dest}"/>
      </ant:classpath>
    </ant:java>
  </goal>

</project>

Which appears to do what I want. (You can change "bsh.Console" above to "bsh.Interpreter" if you don't want a windowed interface)

FWIW if you want a groovy interactive shell then just change the classname in the above to groovy.ui.InteractiveShell


James
-------
http://radio.weblogs.com/0112098/


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to