Eclipse中将package,folder,source folder相互转换

Eclipse中将package,folder,source folder相互转换

一、相互转换操作步骤
1 、package -> source folder
选中右击package, build path-> Use as Source folder

2、package ->folder
选中右击package, build path-> Exclude

3、source folder -> folder
选中右击source folder, build path-> Remove from BuildPath

4、folder -> source folder
选中右击folder, build path-> Use as Source folder

5、folder -> package
选中右击folder, build path-> Include






猜你喜欢

转载自blog.csdn.net/haha_sir/article/details/80756786