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

前端之家收集整理的这篇文章主要介绍了NetBeans issues and solutions.(build.xml and debug multiple projects)前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
  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. 

分享图片

猜你在找的XML相关文章