platform-core-home/docs/classloader-properties/classloader_properties.html

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3, Thu Oct 24 22:57:40 2002 UTC revision 1.4, Fri Oct 25 16:04:33 2002 UTC
# Line 4  Line 4 
4  </head>  </head>
5  <body>  <body>
6  <h1>Using the Class Loader Properties File</h1>  <h1>Using the Class Loader Properties File</h1>
7    
8    <em>Last update: October 25, 2002</em>
9    <p>
10    
11  Eclipse 2.0.2 includes many performance enhancements, including some in the area  Eclipse 2.0.2 includes many performance enhancements, including some in the area
12  of classloading. In order to help out with this a classloader properties file  of classloading. In order to help out with this a classloader properties file
13  was created and this file explains its use.  was created and this file explains its use.
# Line 15  Line 19 
19  <li><a href="#format">Format</a></li>  <li><a href="#format">Format</a></li>
20  <li><a href="#future">Future</a></li>  <li><a href="#future">Future</a></li>
21  <li><a href="#trouble">Trouble-Shooting</a></li>  <li><a href="#trouble">Trouble-Shooting</a></li>
22    <li><a href="#example">Example File</a></li>
23  </ul>  </ul>
24  <p>  <p>
25    
# Line 40  Line 45 
45  </code>  </code>
46  <p>  <p>
47    
48    It is important to note that the file which is used by the system (either the default or the one
49    which is specified by the user) is <b>exclusive</b> and does <b>not</b> represent the intersection between
50    multiple files. That being said, if the user specifies a particular file to use, then the contents of the default
51    file must be merged with it in order for the class loader enhancements to take effect for the
52    classes in the Eclipse Platform; the contents of the default file are not automatically used.
53    <p>
54    
55  <h2><a name="format"></a>Format</h2>  <h2><a name="format"></a>Format</h2>
56  The format of the classloader properties file is a <code>java.util.Properties</code>  The format of the classloader properties file is a <code>java.util.Properties</code>
57  file. Each key in the file is the name of the plug-in and the value is a comma-separated  file. Each key in the file is the name of the plug-in and the value is a comma-separated
# Line 94  Line 106 
106  out the line of the offending plug-in.  out the line of the offending plug-in.
107  <p>  <p>
108    
109    <h2><a name="example"></a>Example File</h2>
110    Here is an example of the <code>classloader.properties</code> file which ships with
111    Eclipse 2.0.2.
112    <p>
113    <code>
114    <blockquote>
115    <pre>
116    org.apache.ant = org.apache.tools
117    org.apache.lucene = org.apache.lucene
118    org.apache.xerces = org.apache, org.w3c.dom, org.xml.sax, javax.xml
119    org.eclipse.ant.core = org.eclipse.ant
120    org.eclipse.compare = org.eclipse.compare
121    org.eclipse.core.resources = org.eclipse.core
122    org.eclipse.core.runtime = org.eclipse.core
123    org.eclipse.debug.core = org.eclipse.debug.core, org.eclipse.debug.internal.core
124    org.eclipse.debug.ui = org.eclipse.debug.ui, org.eclipse.debug.internal.ui
125    org.eclipse.help = org.eclipse.help
126    org.eclipse.help.ui = org.eclipse.help.ui
127    org.eclipse.jdt.core = org.eclipse.jdt.core, org.eclipse.jdt.internal
128    org.eclipse.jdt.debug = com.sun.jdi, org.eclipse.jdi, org.eclipse.jdt
129    org.eclipse.jdt.debug.ui = org.eclipse.jdt.debug.ui, org.eclipse.jdt.internal.debug.ui
130    org.eclipse.jdt.junit = org.eclipse.jdt.internal.junit
131    org.eclipse.jdt.launching = org.eclipse.jdt.launching, org.eclipse.jdt.internal.launching
132    org.eclipse.jdt.ui = org.eclipse.jdt.internal, org.eclipse.jdt.ui
133    org.eclipse.pde.build = org.eclipse.pde.internal.build
134    org.eclipse.pde.core = org.eclipse.pde.core, org.eclipse.pde.internal.core
135    org.eclipse.pde.runtime = org.eclipse.pde.internal.runtime
136    org.eclipse.pde.ui = org.eclipse.pde.ui, org.eclipse.pde.internal.ui
137    org.eclipse.search = org.eclipse.search
138    org.eclipse.swt = org.eclipse.swt
139    org.eclipse.team.core = org.eclipse.team.core, org.eclipse.team.internal.core
140    org.eclipse.team.cvs.core = org.eclipse.team.internal.ccvs.core
141    org.eclipse.team.cvs.ssh = org.eclipse.team.internal.ccvs.ssh
142    org.eclipse.team.cvs.ui = org.eclipse.team.internal.ccvs.ui
143    org.eclipse.team.ui = org.eclipse.team.ui, org.eclipse.team.internal.ui
144    org.eclipse.ui = org.eclipse.ui, org.eclipse.jface
145    org.eclipse.ui.externaltools = org.eclipse.ui.externaltools
146    org.eclipse.update.core = org.eclipse.update
147    org.eclipse.update.ui = org.eclipse.update.internal.ui
148    org.eclipse.update.forms = org.eclipse.update.ui.forms
149    org.junit = junit
150    </pre>
151    </blockquote>
152    </code>
153    
154    <p>
155    
156  </body>  </body>
157  </html>  </html>

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4