[英]Where netbeans saves attached sources (JavaDoc, Sources)
You need to distinguish between two situations: 您需要区分两种情况:
In that case, you provide the location of the sources and JavaDocs manually . 在这种情况下, 您可以手动提供源和JavaDocs的位置。 It's your responsibility to download and store them somewhere on your hard disk.
您有责任将其下载并存储在硬盘上的某个位置。 NetBeans does not download anything, you just tell NetBeans where to find them.
NetBeans不会下载任何内容,您只是告诉NetBeans在哪里可以找到它们。
The sources and JavaDocs are downloaded by Maven and stored in the local Maven repository. 源代码和JavaDocs由Maven下载并存储在本地Maven存储库中。 On Linux this is
~/.m2
(I think) and on Windows the default location is %homepath%\\.m2
在Linux上,这是
~/.m2
(我认为),在Windows上,默认位置是%homepath%\\.m2
You can also use manually downloaded sources and JavaDocs in a Maven based project. 您还可以在基于Maven的项目中使用手动下载的源代码和JavaDocs。 This can eg be done from within the project Window:
例如,这可以在项目窗口中完成:
In that case it's again your responsibility to download and store the files somewhere. 在这种情况下,再次负责将文件下载和存储在某个地方。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.