MyEclipse Forums
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
wbartscher
Post subject: Expression builder collpsing to a single line on load  PostPosted: Jul 10, 2009 - 09:10 PM



Joined: Jul 10, 2009
Posts: 3

I think this has to do with the MAC OS X. I've recently switched from the PC world to MAC. The symptom is that when I bring up a computed field to edit which has been saved to the .rptdesign file with multiple lines. It displays collapsed to a single line.

I can reformat during the edit session, but once it is saved again it will reload as a single line. This doesn't happen in windows using the same design file. On the MAC it happens in both 6.6 and 7.5.

To say the least, this is extremely annoying, especially if the expression is not simple. I'm surprised that there do not seem to be any other posts on this. Maybe I have something misconfigured?

e.g.

if (row["ID"] > 1250) {
"Big ID -> " + row["ID"]
} else {
"Small ID -> " + row["ID"]
}

displays as

if (row["ID"] > 1250) { "Big ID -> " + row["ID"] } else { "Small ID -> " + row["ID"] }
 
 View user's profile Send private message  
Reply with quote Back to top
Support-Brian
Post subject:   PostPosted: Jul 14, 2009 - 10:26 AM
Moderator
Moderator


Joined: Aug 21, 2004
Posts: 2515

wbartscher,
Quote:
I can reformat during the edit session, but once it is saved again it will reload as a single line.
I just wanted a clarification here, do you mean it appears as a single line in the XML file itself or in some other wizard / UI?

Can you try changing the line delimiters in the file to Max OS? With the .rptdesign file open, select the XML Source tab, then from the File menu, select Convert Line Delimiters To and choose MacOS. If you reopen your file now, does the problem still occur?

_________________
Brian
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
wbartscher
Post subject:   PostPosted: Jul 14, 2009 - 03:02 PM



Joined: Jul 10, 2009
Posts: 3

In the xml file it appears the way it was originally entered (not as a single line) It's in the expression builder that it appears to collapse. I tried changing the line delimiters as suggested and it did not change the behavior.

One other clarification, I referred to .rptdesign files in my original post, but in fact I define my data sets in .rptlibrary files.
 
 View user's profile Send private message  
Reply with quote Back to top
wbartscher
Post subject:   PostPosted: Dec 02, 2009 - 08:56 PM



Joined: Jul 10, 2009
Posts: 3

I've never heard back on this. The problem persists in MyEclipse 8.0/BIRT 2.5.1. I tried changing the line delimiters as suggested to no avail. Just to be clear about the issue, if you view a .rptlibrary file int the XML Source tab and scroll to the computed fields section of a data set, you can see that the expression was entered and is stored in the file with new line character(s). However, if you double click on the data set and try to edit the same computed field it appears on a single line of the expression builder (as if there were no new lines present).

I've only noticed this behavior since I started using a new Mac Book as my working platform
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits