Java Memorandom - How to create Eclipse Java project from NetBeans project
in

Sometimes you find a good reference Java code, or an open source project you want to use, but the project is written as a NetBeans project. To use the project in Eclipse, follow the steps below.

Modify NetBeans project

First, you need to modify the NetBeans project file to suit in Eclipse. Open nbproject\project.properties.

Replace the following 2 lines

build.classes.dir=${build.dir}/classes
build.dir=build

with this

build.classes.dir=${build.dir}
build.dir=bin

Make Zip file

You may clean up the NetBeans project a little before this. Delete folders such as dist and build.
Then make a zip file that contains everything under the project folder, e.g. nbproject, src, and other folders and files necessary for the project to build.

Create an Eclipse Project

Create an empty Java project. When you create, select "Create separate source and output folders". Once the empty project is created, import the Zip file.

新しいコメントの投稿

このフィールドの内容は非公開にされ、公表されることはありません。
  • ウェブページアドレスとメールアドレスは、自動的にハイパーリンクに変換されます。
  • 使用できるHTMLタグ: <a> <em> <strong> <code> <cite> <ul> <ol> <li> <dl> <dt> <dd> <p>
  • 行と段落は自動的に折り返されます。
  • Amazon製品へのリンクを次の形式で作成することが出来ます。[amazon product_id inline|full|thumbnail]. 例: [amazon 1590597559 thumbnail]
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • 画像を追加することが出来ます。

書式オプションに関するより詳しい情報...

認証コード
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
画像で表示されている数字および記号を入力してください。