SlideShare ist ein Scribd-Unternehmen logo
1 von 4
Downloaden Sie, um offline zu lesen
在 NetBeans 中使用 Kenai

                                                      By icycandy
1. 什么是 Kenai?
引自百度百科:
Kenai(根据Tim Bray的说法,发音是Keen-Eye)是一个由Sun出品的全新的项目宿主平台。它
集成了一些代码管理系统、论坛、邮件列表、问题追踪系统和 wiki。由此看来它与Google
Code、RubyForge和SourceForge是类似的。GitHub和Kenai一样也是一个基于Ruby on Rail项目
宿主系统,它目前专注于git仓库宿主服务。Sun作为世界上最大的开源支持公司之一,也提
供了一个平台,不但支持自己的项目,而且对任意开源项目提供支持。

2. 注册 Sun Online Account
既然是使用Sun的服务,当然就得注册一个Sun的账号。如果在安装JDK或NetBeans时已经注
册过,那么说明你已经有了一个Sun Online Account。如果没有账号,点击注册。

3. 注册 Project Kenai
有了Sun Online Account还不能马上就使用Project Kenai服务。进入Kenai的主页,点击JOIN
NOW开始注册过程。




4. 在 NetBeans 中使用 Kenai
NetBeans 6.7版本内置了对Kenai的支持,所以用起来是非常的方便。6.7 发布以前,在Kenai
上创建项目是需要提交申请的,现在已经没有了这个限制。

(1) 打开 NetBeans,在菜单栏依次选择【团队开发】【Kenai】【登录至 Kenai…】
(2) 登录成功以后,下一步就是将本地的项目上传到 Kenai。
在菜单栏依次选择【团队开发】        【在 Kenai 上共享本地项目…】
                【Kenai】




在弹出的对话框中填入项目的一些基本信息,然后点击【完成】即可。因为要为项目配置各
种功能,所以整个上传的过程稍微有点长,耐心等待一下。




上面的上传过程完成后,在 Project Kenai 中就会为你自动创建一个与之对应的项目,包含代
码仓库、邮件列表等基本功能。
(3) Update
以后如果你对代码作了修改,则需要提交更新;如果其他成员修改了项目,也需要及时的将
本地代码更新。在【团队开发】主菜单下,有【签出(K)…】【比较(D)】【 新(U)】【交
                            、      、更     、提
(O)…】等各种选项,根据需要选择就行。
5. 在 Project Kenai 中管理项目
(1) 登录进去以后,点击左上角的【MY PAGE】      ,就会出现一个项目和论坛的列表。其中
    FirstJavaFX项目 4.2 节中的操作自动创建的。单个用户最多能创建 5 个项目。需要注意的
    是,创建项目比较容易,但要删除一个项目却有点麻烦。这里有关于如何删除项目的说
   明。




(2) 在上一步的页面中点击某一个项目的【Manage】链接,即可进入到这个项目的控制面板。
    可以看到控制面板中有很多选项卡。




   【Settings】
            :设置项目的一些基本信息,包括项目名称、描述、协议等;
  【Members】 :添加和删除项目组成员,设定成员的角色;
  【Features】:设定一些核心功能。其中问题跟踪、邮件列表、代码仓库、论坛等是你在
  NetBeans 中使用 Kenai 共享本地项目时,被自动添加的功能。

(3) 如果不想将你的源代码共享给他人,则需要设定代码仓库的权限。
                                     ,然后 选择【Set Role
在【Features】选项卡中,找到代码仓库那一栏,点击右边的【more…】
Permissions】
           ,即可设置 Checkout 和 Checkin 的权限。




(4) 其他功能可以根据需要自己添加和探索,这里就不多说了。

Weitere ähnliche Inhalte

Empfohlen

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

Empfohlen (20)

Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 

在NetBeans中使用Kenai

  • 1. 在 NetBeans 中使用 Kenai By icycandy 1. 什么是 Kenai? 引自百度百科: Kenai(根据Tim Bray的说法,发音是Keen-Eye)是一个由Sun出品的全新的项目宿主平台。它 集成了一些代码管理系统、论坛、邮件列表、问题追踪系统和 wiki。由此看来它与Google Code、RubyForge和SourceForge是类似的。GitHub和Kenai一样也是一个基于Ruby on Rail项目 宿主系统,它目前专注于git仓库宿主服务。Sun作为世界上最大的开源支持公司之一,也提 供了一个平台,不但支持自己的项目,而且对任意开源项目提供支持。 2. 注册 Sun Online Account 既然是使用Sun的服务,当然就得注册一个Sun的账号。如果在安装JDK或NetBeans时已经注 册过,那么说明你已经有了一个Sun Online Account。如果没有账号,点击注册。 3. 注册 Project Kenai 有了Sun Online Account还不能马上就使用Project Kenai服务。进入Kenai的主页,点击JOIN NOW开始注册过程。 4. 在 NetBeans 中使用 Kenai NetBeans 6.7版本内置了对Kenai的支持,所以用起来是非常的方便。6.7 发布以前,在Kenai 上创建项目是需要提交申请的,现在已经没有了这个限制。 (1) 打开 NetBeans,在菜单栏依次选择【团队开发】【Kenai】【登录至 Kenai…】
  • 2. (2) 登录成功以后,下一步就是将本地的项目上传到 Kenai。 在菜单栏依次选择【团队开发】 【在 Kenai 上共享本地项目…】 【Kenai】 在弹出的对话框中填入项目的一些基本信息,然后点击【完成】即可。因为要为项目配置各 种功能,所以整个上传的过程稍微有点长,耐心等待一下。 上面的上传过程完成后,在 Project Kenai 中就会为你自动创建一个与之对应的项目,包含代 码仓库、邮件列表等基本功能。
  • 4. 5. 在 Project Kenai 中管理项目 (1) 登录进去以后,点击左上角的【MY PAGE】 ,就会出现一个项目和论坛的列表。其中 FirstJavaFX项目 4.2 节中的操作自动创建的。单个用户最多能创建 5 个项目。需要注意的 是,创建项目比较容易,但要删除一个项目却有点麻烦。这里有关于如何删除项目的说 明。 (2) 在上一步的页面中点击某一个项目的【Manage】链接,即可进入到这个项目的控制面板。 可以看到控制面板中有很多选项卡。 【Settings】 :设置项目的一些基本信息,包括项目名称、描述、协议等; 【Members】 :添加和删除项目组成员,设定成员的角色; 【Features】:设定一些核心功能。其中问题跟踪、邮件列表、代码仓库、论坛等是你在 NetBeans 中使用 Kenai 共享本地项目时,被自动添加的功能。 (3) 如果不想将你的源代码共享给他人,则需要设定代码仓库的权限。 ,然后 选择【Set Role 在【Features】选项卡中,找到代码仓库那一栏,点击右边的【more…】 Permissions】 ,即可设置 Checkout 和 Checkin 的权限。 (4) 其他功能可以根据需要自己添加和探索,这里就不多说了。