Path: csiph.com!aioe.org!bofh.it!news.nic.it!robomod From: Markus Koschany Newsgroups: linux.debian.maint.java Subject: Re: building android-studio Date: Fri, 04 Mar 2016 09:20:01 +0100 Message-ID: References: X-Original-To: debian-java@lists.debian.org X-Mailbox-Line: From debian-java-request@lists.debian.org Fri Mar 4 08:15:33 2016 Old-Return-Path: X-Amavis-Spam-Status: No, score=-12 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, LDO_WHITELIST=-5, PGPSIGNATURE=-5, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham autolearn_force=no X-Policyd-Weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_BL_NJABL=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .debian. - helo: .richard.fcube. - helo-domain: .fcube.) FROM/MX_MATCHES_NOT_HELO(DOMAIN)=0; rate: -5 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="LZvS9be/3tNcYl/X" Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) X-Sa-Exim-Scanned: No (on richard.fcube.de); SAEximRunCond expanded to false X-Mailing-List: archive/latest/19246 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/20160304081515.GA3191@faye Approved: robomod@news.nic.it Lines: 77 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Fri, 4 Mar 2016 09:15:15 +0100 X-Original-Message-ID: <20160304081515.GA3191@faye> X-Original-References: <56D5DA46.2020401@mailbox.org> <56D6DE85.7020203@debian.org> <1877259040.5137.bf264c37-e7b8-4f82-af22-35efb0dee9c3.open-xchange@office.mailbox.org> Xref: csiph.com linux.debian.maint.java:8921 --LZvS9be/3tNcYl/X Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, no need to CC me. I'm subcribed to debian-java. On Fri, 04. Mar 08:23 toogley@mailbox.org wrote: > Hey, > > > Probably you don't have to package the whole IntelliJ IDE. Most recently > > I have packaged intellij-annotations because I needed it as a > > build-dependency for android-platform-tools-base. Especially for large > > and complex projects like IntelliJ (last time I checked I noticed that > > the source release bundles ~500 jars), it is often simpler to package > > certain parts from maven central instead of trying to build everything. > > Yeah, this sound reasonable. But how do i find out in what packages i should > split intellij? E.g. just by folders like RegExpSupport > (https://github.com/JetBrains/intellij-community/tree/master/RegExpSupport), > Debugger(https://github.com/JetBrains/intellij-community/tree/master/java/debugger) > and write my own gant/ant build scripts for that? How would i import new > versions then? I mean, should i just continue with the normal debian/ upstream/ > branch split and pull all changes in that particular folder (e.g. with > http://stackoverflow.com/a/13738951)? > Your first step should be to determine what build-dependencies are required for android studio. Then you can use for instance mvnrepository.com and search for jar files, group ids or artifacts. http://mvnrepository.com/artifact/com.intellij/annotations Not all IntelliJ parts are packaged as Maven artifacts though. Also I would recommend to package releases from https://github.com/JetBrains/intellij-community/releases A tarball release is a well defined snapshot and it is usually much simpler to track those releases. I don't know if they provide separate repositories / release tarballs for their subprojects but I wouldn't go for writing my own build scripts unless there is really no alternative. The maintenance burden will increase over time and at some time people will stop rewriting the scripts whenever upstream changes something. Try to avoid that. Regards, Markus --LZvS9be/3tNcYl/X Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQJ8BAEBCgBmBQJW2UQTXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRBQ0YzRDA4OEVGMzJFREVGNkExQTgzNUZE OUFEMTRCOTUxM0I1MUU0AAoJENmtFLlRO1HkPNwP/1tLVUVUh94SO19j9A3O3fIB NmGqjwYccB1ovvITRPfzDuSWu/EvQtBWdWiNfDaIcE2vwiuDhVKjdpnkldqg7DKS o3W6ywZAZHV+D8OIEKfYKtYcwi00oetLvgiCKfDOLnHBG90/uHonsmVL18czgEHC my2Vn6NrFyVKkzPmVSRjvhpg+nOZUgSGSEEG0IfrELpHDkE7li6rmZMIZ8WI+/qp ciQ5Mjj05jhJSGHv3sv9N5gHfYSOUcyy3+rNHlqtKCEjY/9O0VJmhT/SLwDBk0Dz HEm7sjarFunfw66biFYepyiRljioZdEKCpu65E99cUj7sEQjUUcWBx0cdkliCvBt S2QYFQeDLXMdEypieiH1Oig/DYZag4pMcWrjCyQSgn/4kryLhfIJn5BflxeAnfxl BKkTJwJJdQjf3BmKG3QzrK7ha+gHWSvSe2uiehuRUyc3zvI/VlXGbzPUN7rN7jL7 TDa0+A4e8J5nEW8moKwDmzkmFa9KTnOYsQIoXdiGXoQkixyKlCTKtANE/3+KhYvv K17mXdJNU2J35n5WoLKcGZJuhxcMxfRSV/s1RpyfyZW/i0cAskoj054+67jPaKJC UGmiihRtpqVFcjGR49Q+8mktgR2+Gw3OGaVSY1nC3OHFDGxjrtWiIbdj/joVEGoO 8GC89FcFYaLW8ttB3sQ/ =aqEF -----END PGP SIGNATURE----- --LZvS9be/3tNcYl/X--