jdt-core-home/howto/generate parser/generateParser.html
Parent Directory
|
Revision Log
|
Patch
| revision 1.3, Mon Sep 8 09:23:49 2003 UTC | revision 1.4, Tue Oct 14 16:49:23 2003 UTC | |
|---|---|---|
| # | Line 142 | Line 142 |
| 142 | </tr> | </tr> |
| 143 | <tr> | <tr> |
| 144 | <th VALIGN=top align=left>javahdr.java</th> | <th VALIGN=top align=left>javahdr.java</th> |
| 145 | <td>This files is used to generate the resources files..</td> | <td>This files is used to generate the resources files.</td> |
| 146 | </tr> | </tr> |
| 147 | <tr> | <tr> |
| 148 | <th VALIGN=top align=left>javadcl.java</th> | <th VALIGN=top align=left>javadcl.java</th> |
| # | Line 183 | Line 183 |
| 183 | Copy the jdtcore.jar file in d:\temp. Compile this <A HREF="UpdateParserFiles.java">source</A> inside d:\temp. You will have a file UpdateParserFiles.class. | Copy the jdtcore.jar file in d:\temp. Compile this <A HREF="UpdateParserFiles.java">source</A> inside d:\temp. You will have a file UpdateParserFiles.class. |
| 184 | Then run the following command-line: | Then run the following command-line: |
| 185 | <PRE> | <PRE> |
| 186 | D:\temp>java -classpath jdtcore.jar:. UpdateParserFiles javadcl.java | D:\temp>java -classpath jdtcore.jar:. UpdateParserFiles javadcl.java javahdr.java |
| 187 | </PRE> | </PRE> |
| 188 | Once this done, you will end up with 21 new files inside d:\temp. They are called parser<n>.rsc, with n equals to 1..20 and readableNames.properties. | Once this done, you will end up with 21 new files inside d:\temp. They are called parser<n>.rsc, with n equals to 1..20 and readableNames.properties. |
| 189 | All these files need to be moved to the org\eclipse\jdt\internal\compiler\parser folder. Now you are ready to execute and test | All these files need to be moved to the org\eclipse\jdt\internal\compiler\parser folder. Now you are ready to execute and test |
|
||||||||
| help@eclipse.org | ViewVC Help |
| Powered by ViewVC 1.0.3 |
