After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 537037 - modtype for ant
modtype for ant
Status: RESOLVED FIXED
Product: jhbuild
Classification: Infrastructure
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Jhbuild maintainers
Jhbuild QA
Depends on:
Blocks:
 
 
Reported: 2008-06-06 22:56 UTC by David Schleef
Modified: 2008-07-13 15:58 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
add ant modtype (5.17 KB, patch)
2008-06-06 22:59 UTC, David Schleef
none Details | Review
new patch (5.56 KB, patch)
2008-06-27 20:06 UTC, David Schleef
reviewed Details | Review

Description David Schleef 2008-06-06 22:56:07 UTC
I created a very basic modtype for ant, so I could compile cortado as part of the gstreamer moduleset.  It's not clear to me how to install a typical ant-based project, so I left that out.  (Cortado doesn't have an "install" target.)
Comment 1 David Schleef 2008-06-06 22:59:58 UTC
Created attachment 112298 [details] [review]
add ant modtype
Comment 2 Frederic Peters 2008-06-07 06:20:52 UTC
Looks good (although I didn't test it).  Could you provide a module definition using that module type?

Also you will need to update the moduleset DTD (modulesets/moduleset.dtd) and the documentation (doc/C/jhbuild.xml).
Comment 3 Frederic Peters 2008-06-22 14:05:26 UTC
Hello; I could as well update the documentation and DTD myself but a sample module definition, so I can test it, would be most useful.
Comment 4 David Schleef 2008-06-22 17:44:31 UTC
Oops, sorry, I forgot about this.
Comment 5 David Schleef 2008-06-27 20:05:15 UTC
  <repository type="svn" name="wikimedia"
      href="http://svn.wikimedia.org/svnroot/"/>

  <ant id="cortado">
    <branch repo="wikimedia" module="mediawiki/trunk/cortado" checkoutdir="cortado"/>
  </ant>
Comment 6 David Schleef 2008-06-27 20:06:29 UTC
Created attachment 113552 [details] [review]
new patch

Updated patch, with addition to DTD.
Comment 7 Frederic Peters 2008-06-27 21:57:24 UTC
Thank you; I'll be out for the week-end, I hope to review that on Monday.
Comment 8 Frederic Peters 2008-07-13 15:58:41 UTC
Sorry I failed to get time earlier; here it is, commited at last.

2008-07-13  Frederic Peters  <fpeters@0d.be>

        * jhbuild/modtypes/ant.py, modulesets/moduleset.dtd, doc/C/jhbuild.xml:
        added support for the Ant build tool.  (initial patch by David Schleef,
        closes: #537037)