Menu

Change building environment from Ant to Maven

Developers
2014-03-12
2014-04-23
  • Simon E. Silva Lauinger

    Hey guys,
    have you ever thought about changing your build environment from Ant to Maven? Maven has a lot of usefull features recoder really needs, e.g. no libraries in svn, publishing recoder to maven central, simpler build system, ...

    Regards,
    Simon

     
  • Simon E. Silva Lauinger

    I would be glad to do it. Don't know how much you know about maven, but the migration would change the directory structure. Shall I just do the migration and send it to you as a patch so you can try it?

     
  • Simon E. Silva Lauinger

    While working on the migration I detected some problems. The tests depend on the examples.
    I would suggest the following maven structure:
    recoder-all // aggregation pom
    |
    |---- recoder
    |
    |---- recoder-examples

    To implement this structure the dependencies to the examples have to be resolved. This should be done before the migration.
    What do you think?

     
    • Tobias Gutzmann

      Tobias Gutzmann - 2014-04-15

      Hi,

      Just remove the test cases that make trouble for now (but pleaes document
      which those are, though I suppose that it's the "very old ones"). So,
      please go ahead and make the necessary changes as you seem fit. I'll re-add
      the tests later on.

      Personally, I run tests from within Eclipse, and the ANT-scripts are not
      maintained (I use them only to make the release builds).

      Regards,
      Tobias

      On Wed, Apr 9, 2014 at 9:06 PM, Simon E. Silva Lauinger simonsilvalauin@users.sf.net wrote:

      While working on the migration I detected some problems. The tests depend
      on the examples.
      I would suggest the following maven structure:
      recoder-all // aggregation pom
      |
      |---- recoder
      |
      |---- recoder-examples

      To implement this structure the dependencies to the examples have to be
      resolved. This should be done before the migration.
      What do you think?


      Change building environment from Ant to Mavenhttps://sourceforge.net/p/recoder/discussion/88905/thread/cb35fca0/?limit=25#1393

      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/recoder/discussion/88905/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       
  • Simon E. Silva Lauinger

    I moved the according tests to recorder-examples instead of deleting them. But I have to rework some of them so they don't fail because of the new structure.

    PS: It would be easyier and and safer to work with git or mercurial. Are you interested in changing the VCS?

     
    • Tobias Gutzmann

      Tobias Gutzmann - 2014-04-23

      Hi,

      I gave it some thought. I see git's advantage in improved branch handling,
      so I don't see that a big advantage using it for recoder right now. There
      simply isn't that much concurrent programming going on. I have never used
      Mercurial so I can't say anything about it.

      Regards,
      Tobias

      On Wed, Apr 16, 2014 at 10:07 AM, Simon E. Silva Lauinger simonsilvalauin@users.sf.net wrote:

      I moved the according tests to recorder-examples instead of deleting them.
      But I have to rework some of them so they don't fail because of the new
      structure.

      PS: It would be easyier and and safer to work with git or mercurial. Are
      you interested in changing the VCS?


      Change building environment from Ant to Mavenhttps://sourceforge.net/p/recoder/discussion/88905/thread/cb35fca0/?limit=25#0c91

      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/recoder/discussion/88905/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

Log in to post a comment.