`
中国爪哇程序员
  • 浏览: 165072 次
  • 性别: Icon_minigender_1
  • 来自: 杭州
社区版块
存档分类
最新评论

package,source folder,folder

阅读更多
在eclipse下,package,source folder,folder都是文件夹. 

它们的区别如下: 
package:当你在建立一个package时,它自动建立到source folder下,也只能建立在这个目录之下. 

source folder:存放java源代码的文件夹,当然也包括一些package文件夹,还可以包含其他文件. 
项目构建后,source folder里面的java自动编译成class文件到相应的bin文件夹中,其他文件也会移到到相应的目录下. 

folder:里面可以放入任何文件.包括java源文件,jar文件,其他文件(例如,图片,声音等).在此我说明一下,如果里面含有java源文件,不管程序是否正确,eclipse都不会报错,把它们当做普通文件处理.但是项目如果要使用这里面的文件,情况就不同了. 

package,source folder,folder 之间相互转换
package 转成 folder 显示:选中package, build path-> Exclude
folder 转成 package 显示:选中folder, build path-> Include

package 转成 source folder 显示:选中package, build path-> Use as Source folder
source folder 转成 package 显示:选中folder, build path-> Remove from BuildPath

pacage 与 source folder 的转换同上

分享到:
评论
1 楼 edge2009 2010-09-07  
曝光率太低了..

相关推荐

    ZipTV.v6.8.4.Full.Source.For.Delphi

    Click OKCompile the run-time package: - From the menu choose: File -> Open - Navigate to the ZipTV Source folder - Open the run-time package file: ztv#0rt.dpk (replace # with your Delphi version ...

    FastReport Package Simplification Management Toolkit

    step5: optional, Instead of "recompile.exe-Recompile all package", Execute customized @BuildAllPackages.bat to recompile all package files if you modified any file in the folder which step1 generated....

    winscp570source.zip

    folder of source code package. Directory structure: /source project files of all native libraries and executables /source/components native WinSCP visual components /source/console console interface ...

    EmbeddedWB_D5-D2009_Version_14.67.0.rar

    In the open dialog navigate to the path where you store your package to the source folder("..:\Borland\BDS\3.0\lib\EmbeddedWB_D2005\Source"). 5.Choose file name "EmbeddedWebBrowser_D2005.dpk" and ...

    FastReport企业版源代码6.6.17 支持10.4+ FastReport 简化管理工具2.0

    step5: optional, Instead of "recompile.exe-Recompile all package", Execute customized @BuildAllPackages.bat to recompile all package files if you modified any file in the folder which step1 generated....

    Unity插件:Easy Movie Texture (Video Texture) v3.24

    [Source code is included in the package. If necessary, it may be used to modify. ] Supported resolutions: Android: General devices support up to 1920 * 1080. The latest device supports up to 4k. ...

    Easy Movie Texture

    [Source code is included in the package. If necessary, it may be used to modify. ] Download link is below. EasyMovieTexture Editor Mode ( Beta ) Supported format : Android : Link iOS : Link ...

    EhLib 6.3 Build 6.3.176 Russian version. Full source included.

    EhLib 6.3 Build 6.3.176 Russian version....Create new folder where source code and binary files will be kept (For example, C:\RAD_Studio_XE2\Components\EhLib). Hereinafter this folder will be call as...

    SaM.Component.Set.For.WinNT.2000.XP.1.14.FullSource.zip

    Component Set For Windows NT/2000/XP(tm) (NTSET)Version 1.14Full Version with source code.Windows 2000(NT) specific components for Delphi 5.0/6.0/7.0 and C++Builder 5.0/6.0.Now the collection has 14 ...

    C#压缩文件夹的类

    调用系统using System.IO.Packaging;压缩文件夹 public void ZipFolder(string zipFilepath)//用来执行实际的压缩操作... DirectoryInfo di = new DirectoryInfo(SourceFolderPath); ZipDirectory(di, package); } }

    DaydreamRenderer.unitypackage

    google搬运,gaydream工具包 Removed 'Library' files from source control Moved 'Plugins' folder under 'DaydreamRenderer' Improvements to the custom lighting system Bug fixes

    unidac 2.70 (完整源代码)

    Universal Data Access Components Source Code Copyright 1997-2009, Devart. All Rights Reserved There are two ways to compile and install UniDAC for Windows manually. I. Using IDE Delphi and C++ ...

    AlphaControls V7.59 Full Source 完全版 源码

    AlphaControls V7.59 Full Source Installation notes -------------------------------------------------------------------------------- The following compilers are supported by the AlphaControls: ...

    Embedded Browser 3.0.0.unitypackage

    This asset allows you to embed a full copy of Chromium, the open-source core of Google Chrome, inside your game! Product Page | Unity Asset Store | Changelog | Get Help Documentation for ZFBrowser v...

    EhLib 8.0 Build 8.0.023 Pro Edition FullSource for D7-XE8

    Create new folder where source code and binary files will be kept (For example, C:\RAD_Studio_XE2\Components\EhLib). Hereinafter this folder will be call as "EhLib folder". Create new subfolder Lib ...

    ChangeProjectPackage:这是更改java项目包的工具

    Add: Please select your java code source folder(can add mulitple folder)3. Old Package: Please input the package name that you want to change. e.g. hyc.edu.emotion4. New Package: Please input the new...

    synp:将yarn.lock转换为package-lock.json,反之亦然

    安装npm install -g synp 命令行用法yarn.lock => package-lock.json yarn # be sure the node_modules folder dir and is updatedsynp --source-file /path/to/yarn.lock# will create /path/to/package-lock.json...

    UnZipper v2.0 demo

    Info-ZIP‘s software is free and can be obtained as source code and/or executables from various anonymous ftp sites, including ftp.uu.net:/pub/archiving/zip/*.Thank you for using Softuarium UnZipper.

    Mplayer 解码器 all-20100303.tar.bz2

    These are binary codecs for use with MPlayer. They are useless for normal Windows players (like Windows Media Player, ...package in the codecs folder within your main MPlayer installation folder.

    third_party_MapObjects_PSO_

    Find the folder smart_hospital_src in your downloaded package from Codecanyon. This folder contains complete source code files need to install Smart Hospital

Global site tag (gtag.js) - Google Analytics