Jump to content
Changes to the Jaspersoft community edition download ×

Comments in report are uncompilable


Peetzer

Recommended Posts

Hi,

 

I have comments in my textFieldExpression like this;

 

<textFieldExpression class="java.lang.String">

<![CDATA[//the comment to describe the expression

$P{REPORT_SCRIPTLET}.getLabel(0)]]></textFieldExpression>

 

This worked fine with jasperreports version 1.2.5.

 

With newer versions and the latest 2.0.3 my reports are uncomiplable. I get Entry_1198059178312_538673.java:747: illegal start of expression for every field containing a comment.

 

Is this a bug? Can it be reverted to how it was handled in version 1.2.5?

 

Bye Peter

Link to comment
Share on other sites

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...