码迷,mamicode.com
首页 > Web开发 > 详细

NetBeans issues and solutions.(build.xml and debug multiple projects)

时间:2019-01-24 00:31:44      阅读:179      评论:0      收藏:0      [点我收藏+]

标签:col   The   debug   targe   cts   fir   deb   stack   str   

  1. Copy a directory to another directory when building the .jar in NetBeans in the build.xml file.

    Solution:   Reference is here

        1)

  <copydir src="${base.path}/lib/"
           dest="${build.path}/lib"
  />

 

   2. Copy a file to another directory when building the .jar in NetBeans

    Solution:   Reference is here

        1)

<copy file="filetocopy" todir="../myfolder"/>

 

  

  3. How NetBeans launch external debugger

    Solution:    

        1) In the menu bar, click the list of "Debug Project"

                  技术分享图片

        2) Choose "Attach Debugger", then fill in the port and leave other fields as default, then should good to go.

          技术分享图片

 

  4. NetBeans debug two projects at same time

    Solution:  

        1) Debug the first project.

        2) Debug the second project.

        3) In the "Debugging" window, can change the project that debugging. 

技术分享图片

 

NetBeans issues and solutions.(build.xml and debug multiple projects)

标签:col   The   debug   targe   cts   fir   deb   stack   str   

原文地址:https://www.cnblogs.com/Johnsonxiong/p/10275066.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!