Hi Toogley, Packaging an IDE is usually a brain-burning task :) I guess Android Studio is likely to be using some libraries in [1] or [2], and since this is obviously an Android-related tool, would you like to join android-tools team? Currently most up-to-date packages from Android repositories are hosted in [3].
[1]: https://android.googlesource.com/platform/tools/base [2]: https://android.googlesource.com/platform/tools/swt [3]: https://anonscm.debian.org/cgit/android-tools 2016-03-02 2:07 GMT+08:00 toogley <[email protected]>: > 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! > -- /* * 殷啟聰 | Kai-Chung Yan * 一生只向真理與妻子低頭 * Undergraduate student in National Taichung University of Education * LinkedIn: <https://linkedin.com/in/seamlik> * Blog: <http://seamlik.logdown.com> */

