Building IntelliJ IDEA community edition
Hi,
I wanted to change something in IntelliJ IDEA. So I downloaded the source code, changed the desired parts. I can run/debug it from the IDE, but I do not know how to start the compiled application from outside the IDE.
I set up artifacts, and built artfacts which generated a 200MB jar file. I am unable to start this jar file, because of an error: "Error: Could not find or load main class jar"
- did I forget to read some document?
- maybe artifacts are not set up correctly?
Thank you!
Zsolt
请先登录再写评论。
Please see /build/update.bat|sh to update an existing installation from sources.
Thank you for your post. Running build.cmd/sh gives this error message:
Buildfile: D:\IntelliJ\intellij-community\build\update.xmlD:\IntelliJ\intellij-community\build>update.cmd
Updating "C:\Program Files (x86)\JetBrains\IntelliJ IDEA Community Edition 13.1.5" from compiled classes at "D:\IntelliJ\intellij-community"
layout:
[java] Buildfile: D:\IntelliJ\intellij-community\build\gant.xml
[java]
[java] doGant:
[java] Starting gant script D:\IntelliJ\intellij-community\build/..//build/scripts/layouts.gant
[java] 'home' is not defined. Defaulting to 'D:\IntelliJ\intellij-community'
[java] default:
[java] [delete] Deleting directory D:\IntelliJ\intellij-community\out\patched
[java] [copy] Copying 1 file to D:\IntelliJ\intellij-community\out\patched
[java] ##teamcity[progressMessage 'layout to D:\IntelliJ\intellij-community\build/..//out/deploy']
[java]
[java] BUILD FAILED
[java] D:\IntelliJ\intellij-community\build\gant.xml:51: : No production output found for module android. Either modules.output property references project
output that doesn't contain this module or module.android.output.main is not defined or references non-existing directory.
[java]
[java] Total time: 1 secondBUILD FAILED
D:\IntelliJ\intellij-community\build\update.xml:63: The following error occurred while executing this line:
D:\IntelliJ\intellij-community\build\update.xml:28: Java returned: 1Total time: 2 seconds
Update failed; work IDEA build not modified.
Please try to run getPlugins.bat|sh first.
It works!
Thank you very much!
I've fixed update.xml so now it'll skip Android plugin if the required sources aren't checked out.
--
Nikolay Chashnikov
JetBrains
http://www.jetbrains.com
"Develop with pleasure!"
Thanks! Could you also merge it to 139?