Using Jython in Ant Build Process

Discussion in 'Python' started by Maurice LING, Apr 21, 2005.

  1. Maurice LING

    Maurice LING Guest

    Hi,

    I am looking for a way to use Jython in Ant build process. I have some
    pure Python scripts (not using any C extensions) that I'll like to
    incorporate into Java using Jython. I heard that this can be done but
    you can I set up Ant to do this? Sorry, I'm no expert with Ant.

    By the way, I'm using Eclipse.

    Thanks again.

    Cheers
    Maurice
    Maurice LING, Apr 21, 2005
    #1
    1. Advertising

  2. Simon Brunning, Apr 21, 2005
    #2
    1. Advertising

  3. Maurice LING

    Kent Johnson Guest

    Maurice LING wrote:
    > I am looking for a way to use Jython in Ant build process. I have some
    > pure Python scripts (not using any C extensions) that I'll like to
    > incorporate into Java using Jython. I heard that this can be done but
    > you can I set up Ant to do this? Sorry, I'm no expert with Ant.


    The ant <script> task lets you embed Jython in Ant build files using Bean Scripting Framework. See
    the Ant docs for <script> for some (non-Jython) examples.

    The links in the Ant docs are out-of-date.
    BSF is here: http://jakarta.apache.org/bsf/manual.html
    Jython is here: http://www.jython.org

    Kent
    Kent Johnson, Apr 21, 2005
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Roshan Pai

    Build using Ant gets Stuck

    Roshan Pai, Sep 7, 2004, in forum: Java
    Replies:
    5
    Views:
    813
    Roshan Pai
    Sep 13, 2004
  2. David McNab
    Replies:
    0
    Views:
    452
    David McNab
    Apr 9, 2004
  3. eric_bellard
    Replies:
    1
    Views:
    5,076
    CarlosRivera
    Oct 7, 2004
  4. Divya Prakash
    Replies:
    0
    Views:
    425
    Divya Prakash
    Dec 19, 2006
  5. Pinegar, Kent T

    FW: [Jython-users] Jython Licensing Question

    Pinegar, Kent T, Jul 24, 2008, in forum: Python
    Replies:
    0
    Views:
    342
    Pinegar, Kent T
    Jul 24, 2008
Loading...

Share This Page