netbeans:永久添加库 [英] netbeans : add library permanently

查看:109
本文介绍了netbeans:永久添加库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在小组项目中工作,每次结帐后
我必须删除并添加javamail api.(因为路径是相对的) 如何在Project文件夹中创建它?

I work in a group project and after every checkout
I have to remove and add the javamail api..(because the path is relative) how can i make it IN the Project folder?

这就是我添加库的方式:

This is how i add the library :

  1. 右键单击库文件夹
  2. 添加/保存文件夹.
  3. 选择mail.jar

但是当我的同事检查出这个问题时……他遇到了麻烦. 我怎样才能使路径绝对?

But when my collegue checks this out... he get's problems. How can i make the path absolute ?

推荐答案

向Netbenas添加库的更好方法是

A better way to add library to Netbenas would be

工具->库->新库...

之后:

项目选项卡-> [您的项目]->属性->库->添加

Project tab -> [your project] -> Properties -> Libraries -> Add Library

这总是相对的"

这篇关于netbeans:永久添加库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆