Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Can I use UNC paths in NetBeans IDE?

IDE netbeans paths UNC
0
Posted

Can I use UNC paths in NetBeans IDE?

0

Yes. What works now: • create/open project at UNC path • build project on UNC path. You have to use the version of Ant bundled with the IDE, which is the default (Issue 146948). • start IDE with userdir/jdkhome in UNC path • start IDE in UNC path • add JDK platform in UNC path to IDE • place IDE in a UNC drive using the installer What doesn’t work (yet) • Building Javadoc on a project on a UNC path will probably fail, due to an apparent bug in the javadoc tool. • Building a project on a UNC path using stock Ant 1.7.1. Ant 1.7.0 may work, and Ant 1.7.2/1.8.0 should work too. • You cannot cd to a UNC path in cmd.exe, making it harder to test command-line Ant builds. You can however use ant -f server\path\project\build.xml (unless using Ant 1.7.1). Other notes • File -> URL/URI conversion does not currently work very well for UNC paths in Java, so if your program manipulates files using URL/Is and your data files are on a UNC drive, it may encounter problems.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123