- 浏览: 54051 次
- 性别:
- 来自: 沈阳
最新评论
-
imu2008:
嗯,此方法可用。好文。mark
rcp中新建工程没有图标解决方案 -
553563608:
今天也遇到这个问题了,,,,
这个方法可以解决。。。
rcp中新建工程没有图标解决方案 -
zhaozhongwei:
这个就不清楚了,我们也是两个文件啊。我很久没搞gmf了
关于gmf copy/paste 的解决方案 -
popjxc:
我下了你的代码,发现copy paste后,原来复制的是一个n ...
关于gmf copy/paste 的解决方案 -
赤道螞蟻:
你這不是用附件的方式傳的圖片嗎? 沒有什麽新招?
用java mail发送包含图片的html
The source
and output properties in build.properties control the folders to be compiled and
where to place the resulting output. The eclipse
help
briefly talks about it.
* source.<library> - lists source folders that will be compiled (e.g. source.xyz.jar=src/, src-ant/). If the library is specified in your plug-in.xml or manifest.mf, the value should match it; * output.<library> - lists the output folder receiving the result of the compilation;
Source Folders and Output
Folders
Source and
Output folder have already been discussed in this
post. Only the source folders gets compiled and the generated class files get
stored in the corresponding output folder. A project can have one or more source
folder. If a source folder does not have a output folder attached to it
explicitly, its output will go to the default output folder. The
.classpath
file stores all this information.
source.. and output..
The real
syntax is source.<library> and output.<library> where
<library> is generally the name of the jar. Here the second dot signifies
the default library. Any source folder assigned to it gets it output reside in
the root when the plug-in is build. The
output..
entry tells the
PDE Build where to pick the classes for source..
from.
Typical entries look like this
source.. = src/ output.. = bin/
When a
plug-in with above entries is build the structure of the plug-in jar will look
like this
org.example.sample_1.0.0 │ plugin.xml │ ├───icons │ sample.gif │ ├───META-INF │ MANIFEST.MF │ └───org └───example └───sample │ Activator.class │ └───actions SampleAction.class
More
complex plug-ins have more than one source folder. org.eclipse.pde.core is one
such plug-in. It is good practice to assign separate output folder for separate
source folders. This is not mandatory.
Lets assume
Lets assume
src
and
src_an
are the two source folders and their corresponding output
folders are bin
and bin_ant
. Then a
build.properties
like source.. = src/ output.. = bin/ source.ant_tasks/anttasks.jar = src_ant/ output.ant_tasks/anttasks.jar = bin_ant/
will create a plug-in which will look something like this
org.example.sample_1.0.0 │ plugin.xml │ ├───ant_tasks │ anttasks.jar │ ├───icons │ sample.gif │ ├───META-INF │ MANIFEST.MF │ └───org └───example └───sample │ Activator.class │ └───actions SampleAction.class
The
contents of the
src_ant
folder will get compiled and jared in to
anttasks.jar
inside ant_tasks
folder because of the
source.ant_tasks/anttasks.jar = src_ant/
entry.
Classpath vs source/output entries
The source
folder and output folder information is already available in class path then why
source/output entries are needed? The classpath entries are used to compile
source code. But the PDE Build relies on the source/output entries while
building (or exporting) the plug-ins. Suppose a plug-in A refers to a class C in
plug-in B. Then while building the plug-in A PDE Build will look into
build.properties
of plug-in B to locate the
C.class
.
Rules of using source. and output.
entries
- Every source folder should appear in a source. entry.
- A source folder can appear in one and only one source. entry.
- The source and output folders are specified as their path relative to the root of the project.
- All source folders whose output folder is same should belong to same source. entry.
- The corresponding output folders should be mentioned in the corresponding
output.entry.
Note that
should
in above rules means that rule is a good practice and not an
obligation but if not followed the result of PDE Build might be unexpected.
发表评论
-
How to Debug and Detect Deadlocks
2010-12-01 15:04 1053Deadlocks in 2 minutes ... -
Run FindBugs from your Eclipse RCP headless build
2010-12-01 14:53 1020Running FindBugs from Eclipse R ... -
Markers and Annotations in Eclipse for Error Feedback(forward)
2010-12-01 14:39 1611Motto: Ninety per cent ... -
Testing declarative Eclipse expressions(forward)
2010-11-19 08:32 1087Our Eclipse-based product plugs ... -
Release engineer vs dependency management: Basing RCP Product and headless build
2010-11-02 23:32 879http://www.bonitasoft.org/blog/ ... -
Unit testing puzzle – How can I verify that System.exit() gets called?
2010-08-14 08:17 0Sounds strange – yes, very ... -
Invoking an Eclipse Wizard programmatically
2010-07-23 09:45 0Sometimes I find the need to ... -
A testing strategy for multiple inheritance in EMF generated code.
2010-07-23 09:12 0I recently became a comittter ... -
Can we build it? Yes we can!(FW)
2010-07-16 11:05 0Thomas Hallgren, Michal Ruzicka ... -
eclipse headless
2010-06-16 17:37 1497java -jar <eclipse-install ... -
Generating p2 meta data from command line
2010-06-11 12:08 813Many times when working with ... -
Opening files in Eclipse from the command line(转发)
2010-06-11 12:08 1235I ran a query to see all the ... -
http://cvalcarcel.wordpress.com/
2010-04-09 03:00 0http://cvalcarcel.wordpress.com ... -
HOWTO: Build Plugin & Feature Projects, Then Run Their Unit Tests w/ Tycho ::GEF
2010-04-03 14:30 01. Check out entire source tree ... -
Tip: How to Debug SWT components in Modal Dialogs(转发)
2010-04-03 14:22 0SWT and JFace components, and e ... -
action
2010-03-24 17:22 0这两天在改一个bug,跟action有关的,以前一直也没好好弄 ... -
SWT: Drop an Outlook Email(转发)
2010-03-18 14:43 1865I wanted to drop an outlook ema ... -
终于成为eclipse的committer了
2010-03-16 16:33 3191虽然以前也是committer,但是是个非常小的工程还是卵化期 ... -
Animated GIF in TableViewer
2010-03-02 12:23 0I'm quite attached to TableVie ... -
extend jdt with ot
2010-02-28 11:56 0extend jdt with ot http://blog ...
相关推荐
1. **基本语法与结构**:在《source.rar》中,你将找到各种Verilog语句的实例,包括`module`声明、`input`和`output`端口定义、`wire`和`reg`类型、赋值操作符(如`和`=`)、条件语句(如`if...else`)、循环(如`...
Select your source files, select the output directory for the converted files, then run. The output directory is the directory where VBeeJ For Java will put the converted files. It defaults to the ...
* [Lazarus] Optmized MaxiCode output - Fixed bug with Mercator property * [Lazarus] Fixed modal dialogs in preview under linux GTK - Fixed Detail report bug when rebuilds report using ...
2.1.3 Redirecting WDB input and output to a file . . . . . 2.2 Quitting GDB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.3 Shell commands . . . . . . . . . . . ....
4.6 Your Program’s Input and Output . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.7 Debugging an Already-running Process . . . . . . . . . . . . . . . . . . . . . . 4.8 Killing the Child ...
根据提供的信息,我们可以了解到这份文档主要关注的是IBM SPSS Modeler 18.0版本中的三个核心节点:Source(源)、Process(处理)和Output(输出)。这些节点是构建数据分析流程的重要组成部分,对于进行高效的数据...
Your program’s input and output . . . . . . . . . . . . . . . . . . . . . . . . Debugging an already-running process . . . . . . . . . . . . . . . . . . . Killing the child process . . . . . . . . . ...
1.1.1 CPU and Memory ................................................................................................. 21 1.1.2 Clocks and Power Management ...............................................
Error Correction Coding - Mathematical Methods and Algorithms (Source Files Contained).pdf Error Correction Coding Mathematical Methods and Algorithms Todd K. Moon Utah State University @ E ! C I E N...
在这个压缩包中,包含的【博客空间]CSBlog 1.0 源码_csblogv1_source】是整个项目的完整代码,下面将对其中涉及的关键知识点进行详细介绍。 1. **ASP.NET Web Forms**:CSBlog 1.0 构建于ASP.NET Web Forms框架之上...
Your program’s input and output . . . . . . . . . . . . . . . . . . . . . . . . Debugging an already-running process . . . . . . . . . . . . . . . . . . . Killing the child process . . . . . . . . . ...
4.6 Your Program’s Input and Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.7 Debugging an Already-running Process . . . . . . . . . . . . . . . . . . . . . . . . 4.8 Killing the ...
output them on screen and to printer. TPrinterPreview have all functions and properties as in TPrinter object. You can use TPrinterPreview object similarly of TPrinter except some details. In ...
Contents Page 0 Introduction................................6 Source, coded, decoded and output data formats, scanning processes, and neighbouring relationships.......... 14 6.1 Bitstream formats...........
Block Diagram and Terminals ....................................................................7 1.1 Block Diagram ...................................................................................
Source code may be found in LVQ.CPP. Sample training data is found in LVQ1.PAT. Sample test data is found in LVQTEST1.TST and LVQTEST2.TST. The LVQ program accepts input consisting of vectors and ...
4.5 Combining Memory and Source Code Debuggers . . . . . . 40 4.6 Cutting Down the Noise – Suppressing Errors . . . . . . . 40 4.7 When to Use a Memory Debugger . . . . . . . 41 4.8 Restrictions . . ...
Input and Output Vectors . . . . . . . . . 221 Golden Vectors . . . . 222 Self-Checking Operations . . . . . . . . . 224 Complex Stimulus . . . . . . . . . . . . 227 Feedback Between Stimulus and ...