开发者

Howto use an existing source package (work in progress,some classes not compiled) in java into netbeans

开发者 https://www.devze.com 2023-02-19 01:48 出处:网络
I have an ongoing project done in command line .I have almost 20 classes written .However, now I want to continue my work in Netbeans . It will be tedious to create f开发者_开发技巧iles,copy and paste

I have an ongoing project done in command line .I have almost 20 classes written .However, now I want to continue my work in Netbeans . It will be tedious to create f开发者_开发技巧iles,copy and paste into netbeans. Is there any way to open the whole directory of my project as package in netbeans or any other way around the problem?


Simply create a new netbeans project of your app type (jar/war/...)

  • Copy paste the source files in appropriate dir
  • Add the required lib


Thanks,Jigar.Actually your help worked for compiled classes. As for sources I had to do this : Project Window >Source Packages>(Right Click)>Properties>Sources>Add Folder>(now select the folder)>OK. Now, I have no problem with compiled and not compiled files.Thanks.

0

精彩评论

暂无评论...
验证码 换一张
取 消