Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Report Version Problems
dcoombs
I've been working with the Eclipse BIRT Report Designer.
Eclipse BIRT Designer Version 2.2.1.r22a_v20071101 Build <2.2.1.v20071101-1439>
My work includes scripting various ROM objects. Sometimes when I would make changes to some of the javascript the report wouldn't save before I previewed it. The version of the report that was displayed was much older than the current version. It seemed that if I explicitly went to layout view I could manually save the report and all would be fine until some of my work just disappeared and the only version available is definitely older. I had just added some code to the report beforeRender event via the XML Source Editor when this occurred.
Has this happened to others?
Is there any recovery process or do I just have to redo the work again?
I did start eclipse with the -clean option to no avail.
Thank you,
Doug
Find more posts tagged with
Comments
mwilliams
Hi Doug,
You saved work you had done in the XML Source and it didn't translate to the report design and is now lost? Or am I not understanding correctly?
dcoombs
Let me recall what I can:
Last week the report designer seemed to have problems knowing when I had modified my work. For example I would run preview and the asterisk that appears in the report tab would still be present. I would type Ctrl-S from within a script window and the report wouldn't be saved. Sometimes after running preview I would get an old version of the report, not the current version. I believed I found that by going back to layout view and clicking on the report body Ctrl-S would work and the report would be saved before I previewed as it is normally and I would get the right version.
I have some global variables I am defining in the report initialize event. I opened the XML Source window and directly made some modifications by adding two new variables. I don't remember whether or not the report was automatically saved when I previewed this particular time. I did get the prompt indicating my XML source had changed and asking if I would like to save it. I expect I said yes. Anyhow, I ended up losing two header rows in my report. It could have been user error but that fact that things weren't saving properly means it may not have been too. So since then I've modified my windows eclipse shortcut to run eclipse.exe -clean and I haven't had problems with saving and/or versions. I also modified my eclipse.ini file as follows:
-showsplash org.eclipse.platform
-vmargs
-Xms128m
-Xmx512m
-XX:MaxPermSize=256m
The previous version was:
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
-vmargs
-Xms40m
-Xmx256m
-XX:MaxPermSize=128m
Thanks...at the moment I'm sailing smoothly again.