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


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

building android-studio

From toogley <toogley@mailbox.org>
Newsgroups linux.debian.maint.java
Subject building android-studio
Date 2016-03-01 19:10 +0100
Message-ID <r7WU9-4cC-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | 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