Author:admin

Date:2008-09-17T13:53:28.000000Z


git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@3 abb3cda0-5349-4a8f-a601-0c33ac3a8c38
This commit is contained in:
jfiat
2008-09-17 13:53:28 +00:00
parent 4fee9356ea
commit 2ee31ab9c7
763 changed files with 36576 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
[[Property:title|Features]]
[[Property:weight|0]]
* Parse any resource file (created by Microsoft Developer Studio or Borland Resource Workshop).
* Show resources by using a tree view control.
* Display some resource's informations.
* Open and Save a Project (projects are not compatible with upcoming version of ResourceBench).
* Generate both Eiffel Classes and resource file.
* Let you specify which part of your resource file will be generated.

View File

@@ -0,0 +1,15 @@
[[Property:title|ResourceBench]]
[[Property:weight|1]]
Type: Tool <br/>
Platform: Any <br/>
Version: 5.4 <br/>
Availability: Basic Package
See:
* [[Features|What does ResourceBench do?]]
* [[Tour|How to use ResourceBench]]
* [[Troubleshooting|Troubleshooting]]

View File

@@ -0,0 +1,38 @@
[[Property:title|Tour]]
[[Property:weight|1]]
1 - Launch the Resource Bench application. This small dialog box will appear for the initialization process:
[[Image:retriev]]
Then you get the main window of Resource Bench:
[[Image:rb]]
2 - Open a resource file (why not the example.rc file provided with this release of Resource Bench). Let the application parse the file. You will see a dialog box that informs you of the parsings state. <br/>
First, there is the preprocessing of the resource file:
[[Image:prepro]]
Then you have the analysis phase:
[[Image:analyz]]
3 - After these two steps you will see a hierarchical view of the resource file that show you what resource's type are included in the resource file (Below the result of the "example.rc" file).
[[Image:collaps]]
You can expand the tree view to see associated resources for each resource's type.
[[Image:expand]]
At this point you are able to:
* Select some properties for the Eiffel code generation
* Save a project file
* Generate Eiffel Code
* Regenerate the same resource file (the third point is very useful when you have a Resource Bench Project and do not have the original resource file that permits its creation).
4 - To save a project file, click on the save button of the toolbar or select the save item in the file menu. A standard save dialog box will appear in which you can specify the file name of your project. The file's extension for a Resource Bench project is "*.prb"
5 - To generate Eiffel Code, select the "Generate Eiffel Code..." item in the Build menu, this dialog box will appear to ask you in which directory Resource Bench must save the Eiffel classes:
[[Image:browse]]
6 - To generate a resource file, select the "Generate Resource file..." item in the Build menu, a standard save dialog box will appear to save the file.

View File

@@ -0,0 +1,6 @@
[[Property:title|Troubleshooting]]
[[Property:weight|2]]
If you have problems when you parse a resource file, you can first try to remove the grammar file (its name is "rb.gram"), and then re-launch Resource Bench. It creates again the grammar file to allow parsing resource files (on a Pentium 120 it takes less than one minute).