Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

本地环境java8怎么办 #3

Closed
ohmerhe opened this issue Jan 4, 2016 · 8 comments
Closed

本地环境java8怎么办 #3

ohmerhe opened this issue Jan 4, 2016 · 8 comments
Labels

Comments

@ohmerhe
Copy link

ohmerhe commented Jan 4, 2016

我的本地环境java8,javadoc会出错

@msdx
Copy link
Owner

msdx commented Jan 4, 2016

@ohmerhe 请贴一下日志

@ohmerhe
Copy link
Author

ohmerhe commented Jan 4, 2016

23:58:10.740 [INFO] [org.gradle.process.internal.DefaultExecHandle] Successfully started process 'command '/Library/Java/JavaVirtualMachines/jdk1.8.0_31.jdk/Contents/Home/bin/javadoc''
23:58:11.330 [ERROR] [system.err] javadoc: error - Illegal package name: "/Users/ohmer/Projects/Android/AndroidEX/library/src/main/kotlin/com/kotlinthree/andex/StringEX.kt"
23:58:11.330 [ERROR] [system.err] javadoc: error - Illegal package name: "/Users/ohmer/Projects/Android/AndroidEX/library/src/main/kotlin/com/kotlinthree/andex/res/ResourceEX.kt"
23:58:11.330 [ERROR] [system.err] javadoc: error - Illegal package name: "/Users/ohmer/Projects/Android/AndroidEX/library/src/main/kotlin/com/kotlinthree/andex/widget/ToastEX.kt"
23:58:11.351 [QUIET] [system.out] 3 errors
23:58:11.364 [DEBUG] [org.gradle.process.internal.DefaultExecHandle] Changing state to: FAILED
23:58:11.365 [DEBUG] [org.gradle.process.internal.DefaultExecHandle] Process 'command '/Library/Java/JavaVirtualMachines/jdk1.8.0_31.jdk/Contents/Home/bin/javadoc'' finished with exit value 1 (state: FAILED)

和kotlin代码有关吗?不过我把你的options的配置删掉就好了

@msdx
Copy link
Owner

msdx commented Jan 4, 2016

你的源文件都是utf8的吗

@ohmerhe
Copy link
Author

ohmerhe commented Jan 5, 2016

当然,这个不会有问题

@msdx
Copy link
Owner

msdx commented Jan 5, 2016

@ohmerhe 我这边还没试过使用kotlin导出javadoc,LOG上看好像是和kotlin有关。不过我options里主要做的是设置编码方式以及链接到java官方文档中。这个可能暂时处理不了。
另外,问一下,去掉options之后,生成的文档,打开后默认字符集下中文会乱码吗?

@ohmerhe
Copy link
Author

ohmerhe commented Jan 5, 2016

不会乱码

@msdx
Copy link
Owner

msdx commented Jan 13, 2016

@ohmerhe 好吧。那这条issue我可以关了吗?
如果有关于项目的改进,欢迎提交PR。

@ohmerhe
Copy link
Author

ohmerhe commented Jan 13, 2016

恩,关了吧

@msdx msdx closed this as completed Jan 13, 2016
@msdx msdx added the invalid label Nov 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants