的IntelliJ包括jar文件的src文件 [英] Intellij include src files in jar file

查看:126
本文介绍了的IntelliJ包括jar文件的src文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我记得前阵子与Eclipse或NetBeans的,我能够很容易地纳入我的jar文件我的源文件。我已经搬到10的IntelliJ社区版和发现自己需要做同样的事情。任何提示?

I remember a while back with eclipse or netbeans I was able to easily include my source files in my jar file. I have moved to intellij 10 community edition and find myself needing to do the same thing. Any hints?

推荐答案

我想它了...

点击输出布局选项卡中的+按钮 - >包括目录内容 - >选择您的src目录。这做到了。

Click the '+' button in the 'output layout' tab -> include directory contents -> select your src directory. That did it

这篇关于的IntelliJ包括jar文件的src文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆