修改nbproject/build-impl.xml
<target name="-pre-jar">
<!-- Empty placeholder for easier customization. -->
<!-- You can override this target in the ../build.xml file. -->
</target>
修改为
<target name="-pre-jar">
<!-- Empty placeholder for easier customization. -->
<!-- You can override this target in the ../build.xml file. -->
<!-- Extends Jar -->
<copy todir="${build.classes.dir}"><fileset dir=依赖jar路径" /></copy>
</target>
本文介绍如何修改nbproject/build-impl.xml文件中的-pre-jar目标,以实现将特定依赖项复制到构建目录中,便于进一步定制构建流程。
1089

被折叠的 条评论
为什么被折叠?



