Maven: Calling ANT scripts before build

Discussion in 'Java' started by Axel Bock, May 10, 2006.

  1. Axel Bock

    Axel Bock Guest

    Hi all,

    I have this little problem in maven. I like to call an ANT script which
    does some JAXB compiling before my compile goal is executed.

    does anyone know how to achieve this? I have looked into the docs, and
    I don't quite get it, I fear ... :) .


    Thanks in advance & greetings,
    Axel.
     
    Axel Bock, May 10, 2006
    #1
    1. Advertising

  2. Axel Bock schrieb:
    > I have this little problem in maven. I like to call an ANT script which
    > does some JAXB compiling before my compile goal is executed.
    >
    > does anyone know how to achieve this? I have looked into the docs, and
    > I don't quite get it, I fear ... :) .


    It might be something like this:
    <preGoal name="compile">
    <ant ...>
    ...
    </ant>
    </preGoal>

    But it is only a guess, because I'm not fluent in all this gabby
    maven/ant stuff.

    --
    "Thomas:Fritsch$ops:de".replace(':','.').replace('$','@')
     
    Thomas Fritsch, May 10, 2006
    #2
    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. illusions

    Debugging ANT build scripts

    illusions, Dec 16, 2004, in forum: Java
    Replies:
    4
    Views:
    11,426
    Bill Joy
    Dec 18, 2004
  2. Marcin Cenkier
    Replies:
    1
    Views:
    5,498
    Marcin Cenkier
    Apr 12, 2006
  3. Replies:
    0
    Views:
    2,117
  4. nalakainfo
    Replies:
    0
    Views:
    650
    nalakainfo
    Jan 31, 2007
  5. manos
    Replies:
    0
    Views:
    249
    manos
    Oct 6, 2007
Loading...

Share This Page