Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.java > #8915

building android-studio

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From toogley <toogley@mailbox.org>
Newsgroups linux.debian.maint.java
Subject building android-studio
Date Tue, 01 Mar 2016 19:10:01 +0100
Message-ID <r7WU9-4cC-3@gated-at.bofh.it> (permalink)
X-Mailbox-Line From debian-java-request@lists.debian.org Tue Mar 1 18:04:32 2016
Old-Return-Path <toogley@mailbox.org>
X-Amavis-Spam-Status No, score=-9.406 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, LDO_WHITELIST=-5, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.006] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -6.1
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/simple; d=mailbox.org; h= content-transfer-encoding:content-type:content-type:mime-version :user-agent:date:date:message-id:subject:subject:from:from :received; s=mail20150812; t=1456855453; bh=HJrqzM0yZ6ePlPqe9O8a Q9jxkjgQ0Kans4pUujKoQ38=; b=qnFJgn9acQWJrp8RHPwO/d0wyzGi77lagDnU svzJA1AT1MiE/u8OgKmRrG6/iw+cWEXL8UHqEhbARL4V3UknLp2Vgh7AuG78QqAf RAVkcqeL4sd+pbr4D3nyDpY7jiqBiP4QWeQgpiayt3jugrdP42R1Lei1Z1Iq4jhA pdIn4tagD147WzCZuyV89P6YYsQYWTQKMyl5PURaCukLPks/0QqEsOaCVcRrKqmM C7a1DkoaeWDFmkVzXrCk3ov0qdYaqBiCM5JDHC3Nfjh26YR7XtME4cneACffvpQO Zy3hayVO+wkz7OchfsTMeuG8EiN4jXCypeoXBR5jJxGkeWMiSA==
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.6.0
MIME-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 7bit
X-Mailing-List <debian-java@lists.debian.org> archive/latest/19240
List-ID <debian-java.lists.debian.org>
List-URL <https://lists.debian.org/debian-java/>
List-Archive https://lists.debian.org/msgid-search/56D5DA46.2020401@mailbox.org
Approved robomod@news.nic.it
Lines 63
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Tue, 1 Mar 2016 19:07:02 +0100
X-Original-Message-ID <56D5DA46.2020401@mailbox.org>
Xref csiph.com linux.debian.maint.java:8915

Show key headers only | View raw


Hello.


Context of my question:
======================

i want to package android studio. In the android studio package request 
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=747614 is intellij 
idea marked as blocking bug.
I consider
a) android-studio and intellij idea as quite independent, i.e. i think 
we don't need to package intellij idea first (but i'm at still unsure 
about it) and
b) android-studio as more important, because for developing java are 
alternative IDE's available , but for developing android mostly none. 
But that's just an personal estimation.


actual question
===============

1) removing teamcity build dependency

jetbrains is building their idea with teamcity, their commercial 
continuous integration service. Because the build script from 
android-studio hasn't changed, i guess they do the same. Although 
jetbrains is allowing open source projects to use teamcity freely, the 
license is still non-free - which makes it unsuitable for debian.
Therefore i want to remove it, but I don't know how i can systematically 
remove it. I'm not sure if its the "best" way to just try to remove all 
teamscript related scripts/tests.



2) fixing the current build

-------------------------------------
$ ant -f build.xml

[...]
~/android-studio/build/gant.xml:51: java.lang.IllegalArgumentException: 
Argument for @NotNull parameter 'module' of 
org/jetbrains/jps/model/java/impl/JpsJavaExtensionServiceImpl.getModuleExtension 
must not be null
[...]
http://paste.debian.net/410642/
-------------------------------------

Similar to 1) I'm stuck on how to debug/fix this problem in a methodical 
way. I mean, i know how to debug, but e.g. i don't know what module this 
method expects. I guess the gant file has failed to test - maybe the 
teamscript integration.

===> Do you have some tips, e.g. how to find out the code i can safely 
remove? In general, do you have tips which could help me for managing 
the gant/build scripts (as a package maintainer)? I'm not new to 
programming, but new to build such a massive project.


upstream: 
https://android.googlesource.com/platform/tools/idea/+/studio-master-dev

thanks!

Back to linux.debian.maint.java | Previous | NextNext in thread | Find similar


Thread

building android-studio toogley <toogley@mailbox.org> - 2016-03-01 19:10 +0100
  Re: building android-studio 殷啟聰 <seamlikok@gmail.com> - 2016-03-02 10:40 +0100
    Re: building android-studio toogley@mailbox.org - 2016-03-04 08:30 +0100
      Re: building android-studio toogley@mailbox.org - 2016-03-04 08:50 +0100
        Re: building android-studio Hans-Christoph Steiner <hans@at.or.at> - 2016-03-04 19:00 +0100
          Re: building android-studio toogley@mailbox.org - 2016-05-27 22:40 +0200
  Re: building android-studio Markus Koschany <apo@debian.org> - 2016-03-02 13:40 +0100
    Re: building android-studio toogley@mailbox.org - 2016-03-04 08:30 +0100
      Re: building android-studio Markus Koschany <apo@debian.org> - 2016-03-04 09:20 +0100

csiph-web