在右侧框的Name中输入要导出的jar文件名,如chpt03.jar,然后选中"Include in project build"。这步很重要! 选中chpt03这个Module,然后在菜单Build中点选Rebuild Module "chpt03"。 右键点击chpt03这个Module,点选"Open in Explorer",然后在资源管理器中打开out\artifacts目录找到相应的jar文件并复制。 说明:步骤1-4...
Intellij Idea使用笔记(四):Project Structure下的Modules和Artifacts的输出目录设置,程序员大本营,技术文章内容聚合第一站。
配置jar包保存路径,尽量与刚才的META-INF路径保持一致。并且勾选include in project build按钮。 数据保存后,我们来到IDEA开发界面,点击工具栏中的Build > Build Artifacts按钮,如下图所示: 点击后,展示如下图所示界面,选择对应的jar包名称,并点击Build按钮 等导出操作执行完成后,我们到jar导出路径查看数据,就可以看到...
Output directory:是war包存储的位置,可以随意修改,找一个好找的位置存储即可 Include in project build:如果把这个选项勾选,说明当当前的这个模块修改了代码或者啥的,重新编译了之后,这个war包也会同步更新修改 Output Layout:是输出布局,也就是war包的目录结构,这里选择了TomcatFilterTest2模块,自然war包最后的结构是...
6、在Artifacts中勾选 Include in project build 和 Show content of elements 两个选项,点击OK image.png 二、Tomcat的配置 1、Edit Configurations->Defaults选中Tomcat Server->Local Edit Configurations.png Local.png 2、选择Tomcat服务器,并配置url和端口 ...
The artifact, when built (Build | Build Artifacts), is placed into the directory whose path is specified in this field. If the artifact is not going to be used on its own but only as a part of other artifacts, the field may be left empty. In this case, the artifact will not appear...
The artifact, when built (Build | Build Artifacts), is placed into the directory whose path is specified in this field. If the artifact is not going to be used on its own but only as a part of other artifacts, the field may be left empty. In this case, the artifact will not appear...
步骤2: 在项目视图中,找到并右击你要打包的模块或项目。选择“Open Module Settings”或“Project Structure”。步骤3: 在打开的对话框中,选择“Artifacts”选项卡。如果你的对话框中没有“Artifacts”选项卡,请在右上角选择“Show in”下拉菜单,然后选择“Project Structure”。
单击File->Project Structure打开Project Structure窗口,如图6所示。 图6 Project Structure 选择上图中的“Artifacts”,单击“+”,进入添加“Artifacts”窗口,如图7所示。 图7 添加Artifacts 添加"Main Class",如图8所示。 图8 添加Main Class 单击"Build"->"Build Artifacts"来编译Jar包,如图9所示。 图...
IntelliJ I..file-->project structure-->medules-- "+" ,保证右图中的两个框的Path跟项目目录结构一致。run-->edit conf