birtdesignerinstall and configWord下载.docx
《birtdesignerinstall and configWord下载.docx》由会员分享,可在线阅读,更多相关《birtdesignerinstall and configWord下载.docx(16页珍藏版)》请在冰豆网上搜索。
![birtdesignerinstall and configWord下载.docx](https://file1.bdocx.com/fileroot1/2023-2/1/6fa7e6f3-8cc6-4999-98db-299d82ade54d/6fa7e6f3-8cc6-4999-98db-299d82ade54d1.gif)
4.BusinessIntelligenceReportingToolsSDK
5.JDK1.5
6.iTextJar(Optional)
ForIBMEmployees,thesecomponentsneedtobedownloadedfromtheIESWebsite.Todothis,
1.CreatealocaldirectorytostoreEclipseandBIRT.Theexampleshownhereusesalocaldirectoryof‘eclipse_download’.*NOTE:
ThelocalfoldershouldNOThaveanyspacesinitspath.
2.Access
3.Clickon3.2.2Build,Win32.UndertheEclipseFullStructure,locatetheEclipseFullSDKandsavethefiletoyourdirectory.
4.Onthatsamepage,locatetheBusinessIntelligenceandReportingToolsSDKandsavethefiletoyourlocaldirectory.
5.LocatetheEMF(Core)SDKandsavethefiletoyourlocaldirectory.
6.LocatetheGEFSDKandsavethefiletoyourlocaldirectory.
7.ExtracttheEclipseZipFilefirsttoyourlocaldirectory.Oncecomplete,extracttheremaining3zipfilestoyourlocalfolder.Ifyoureceivepromptstoreplaceexistingfiles,onlyreplaceifthedateisgreaterthantheexistingfile.Oncecomplete,yourdirectoryshouldlooklike:
8.IfyoudonothaveJDK1.5(5.0)installed,installanIBM-authorizedversionavailablefrom"
jim"
:
ForWindowsthecurrentdownloadishere(subjecttochange):
9.Finally,ifyouwanttoviewyourreportsinpdfformatwithintheBIRTDesigner,youwillneedtocopytheiText.JarfilefromthemaximobuildtoyourlocalinstallofEclipse.
A.First,locatetheiText.Jarfile,calledcom.lowagie.itext_1.5.2.jar.Itislocatedin
<
maximo>
applications\maximo\maximouiweb\webmodule\WEB-INF\birt\platform\plugins
B.Copythisfileto<
eclipsedownload>
eclipse\plugins
2.InstallingV7DesignFilesforBIRT
Toperformthenextsteps,youwillneedalocalcopyofV7,withthereportsource.
Additionally,inthefilepathsbelow,v20070205-1728isaversionnumberandmaybeslightlydifferentdependingontheversionyouinstalled.
1.Locatethecompiledclassesforreportscriptingfromthelocationbelow…
\reports\birt\scriptlibrary\classes
2.Navigatetothelocationbelow
eclipse\plugins\org.eclipse.birt.report.viewer_2.1.2.v20070205-1728\birt\WEB-INF
A.Createaclassesfolder
B.Copytheentire\comfolderfromstep1to
eclipse\plugins\org.eclipse.birt.report.viewer_2.1.2.v20070205-1728\birt\WEB-INF\classes
3.Copymxreportdatasources.propertiesusingthesamesourceanddestinationfoldersfromsteps1and2.
4.Openthecopiedmxdatasources.propertiesfile,andeditifforyourlocalconfiguration:
a)SettheURL,driver,username,password,andschemaownerpropertiesforyourlocalenvironmentfollowingthesampleformatsprovided.
b)Change#<
DataSourceName>
tomaximoDataSource.
Notes:
A.Themxdatasources.propertiesfileisonlyrequiredbythereportdesigner;
atruntimetheconnectioninfowillbesetfromMaximo.
B.AsampleofthisfileforDB2isshownbelow:
#<
.<
propertyName>
=value
#driverforORACLE
#oracle.jdbc.driver.OracleDriver
#sampleurlforORACLE
#jdbc:
oracle:
thin:
@<
HOST>
PORT>
SID>
#driverforSQLServer
#com.inet.tds.TdsDriver
#sampleurlforSQLServer
inetdae7a:
hostname:
port?
database=dbname&
language=us_english&
nowarnings=true
#driverforDB2
#com.ibm.db2.jcc.DB2Driver
#sampleurlforDB2
db2:
//localhost:
50000/dbalias
maximoDataSource.url=jdbc:
//HARRIERDB2:
50000/HARRIER
maximoDataSource.driver=com.ibm.db2.jcc.DB2Driver
maximoDataSource.username=maximo
maximoDataSource.password=maximo
Thevaluesinredpointtoasamplelocaldatabase.YoucancheckyoursandotheravailableforyoutochoosefromStartMenu\Programs\IBMDB2\Set-upTools\ConfigurationAssistant.
Thekeynameingreenisthedefaultsetforallreports,youhavetouseexactlythistext.
5.CopytheJDBCdriver(s)from
<
Maximo>
\applications\maximo\liborfromtheattachedzipfile
to:
eclipse\plugins\org.eclipse.birt.report.viewer_2.1.1.v20070205-1728\birt\WEB-INF\lib
Thesedriversareonlyusedbythedesigner.
Note:
ForOracle,useoraclethin.jar
ForSQLServer,useopta.jar
ForDB2,usedb2jcc.jaranddb2jcc_license_cu.jar
3.AccessingtheBIRTDesigner
1.Createashortcuttoeclipse.exe.BesuretoincludethefollowingpathpointingtoyourJDK1.5installhighlightedinredinthetargetfortheshortcut.
C:
\eclipse_download\BIRT\eclipse\eclipse.exe-vm"
\programfiles\IBM\Java50\bin\javaw.exe"
-vmargs-Xmx512m
2.Selectaworkspacelocation.Check‘Usethisasdefault’fieldandOK.
3.EclipseSDKOpens.
4.Fromthemenu,selectFile–New–Project.ScrolldowntotheBusinessIntelligenceandReportingToolsLocation,andselectReportProject.ClickNext.
5.TypeinaprojectnameandclickFinish.
6.TheBIRTReportdesignerwithinEclipseSDKDisplays.
4.ConfiguringBIRTReportDesignertoworkwithV7Configurationfiles
NOTE:
UseforwardslashesortheSelectbuttonwhenspecifyingthefolderpathsinEclipse.
1.SpecifytheresourcefolderlocationtoimporttheV7Libraries.
A.FromtheMenu,selectWindow-Preferences.
B.ExpandReportDesignandselectResource.
C.BrowsetoyourlocalreportlibrarylocationandselectApply.
<
/reports/birt/libraries
2.SpecifythetemplatesfolderlocationtoimporttheV7Templates.
A.Ifnotalreadyopen,fromthemenu,SelectWindow-Preferences.
B.ExpandReportDesignandselectTemplates.
C.BrowsetoyourlocalreporttemplatelocationandselectApply.
/reports/birt/templates
3.DisabletheCommentTemplate.
B.Removetheflagfromthe‘Generatecommentwhencreatingareportdesign’fieldifitisset.
4.Next,importthereportproject.ThiswillbringtheV7Reportsyou’reyourprojectworkspace.
A.First,createaproject.ClickFile,NewProject.UnderBusinessIntelligenceandReportingTools,selectReportProject.ClickNext.
B.EnteraProjectName.Removetheflaginthe‘UseDefaultLocation’field.Finally,BrowsetothelocationofyourV7ReportSource.<
V7>
\reports\birt\reports.ClickFinish.
C.Thereportprojectisimported.
D.Toconfirmthatthereportsimported,expandafolderandthendoubleclickonanrptdesignfiletoopenit.Inthescreenshotbelow,INVENTORfolderwasexpanded,andtheinventory_balance_tbl.rptdesignfileselected.
E.Finally,youcanconfirmthatthecorrectprojectisimported.Todothis,rightclickontheProject.*NOTE:
ThelocationshouldbeyourV7ReportSource.ItshouldnotbeunderanEclipsedirectory.
Also,a.projectfilewillbecreatedunderyour<
\reports\birt\reportsdirectory.