HTML codeInstall the above eclipse software. You need both eclipse J2EE and the EMF.
Install the plugin. You can download it from here. JacobGen-1.0.02.zip
Extract the zip file to d:\eclipse. It will place four files there
jacob x86 and 64
jacobgen
plugins\jacobGenerator-1.0.01.jar
Not sure why but you may have to open a command box and type eclipse -clean
Start eclipse, select your workspace with a COM dll, exe, or tlb file.
Right click on the file (.tlb, .dll or .exe) to bring up the properties dialog. Select "Jacob Generator" then "Generate genmodel".
Refresh the project by selecting it and press F5
Open up the model directory
select the file company.ecore
Right click on it and press "New" then "Other.."
Choose the "EMF MODEL"
Press Next three or four times
Press Load
Press Next, Next, Finish
Open the new file company.genmodel
Window -> Show View -> Properties
Change these Model Class Defaults
Public Constructors = true
Change these Model settings
Model Directory = <>
Suppress EMF Metadata = true
Suppress EMF Model Tags = true
Suppress Interfaces =true
Suppress Notification = false
Change these Model Feature Defaults
Suppress EMF Types = true
Suppress Unsettable = true
Change Templates & Merge to
Code Formatting = true
Dynamic Templates = true
Force Overwrite = true
Template Directory = /JacobGeneratorEngine/templates
Save the file
Close the file
Open the company.genmodel again
Right click on the element Company
Click "Generate Model Code". This takes at least 30 minutes for Excel and around 5 minutes for Word.
You are done :-D
------解决方案--------------------
这个说明网页现在好像没了只有快照了:
http://74.125.127.160/search?q=cache:xSQHF7s7fPUJ:jacob-project.wiki.sourceforge.net/Jacob%2BGen%2BPlugin+jacobgen+download+jacobgen+download&cd=10&hl=zh-CN&ct=clnk&gl=cn&st_usg=ALhdy29zbjeB2s8hXt0wOCPwXjCc2vS6sQ