Jump to content
We've recently updated our Privacy Statement, available here ×

version change breaks compile?


2005 IR Help

Recommended Posts

By: tc - tcsource

version change breaks compile?

2004-09-21 07:01

Hello,

 

I recently attempted to upgrade from 0.5.3 to 0.6.1 but the .jrxml files failed to compile. Specifically, if I attempt to comment out the first taskdef and uncomment the second. Along with the .jar changes.

 

<taskdef

name="jrc" classname="dori.jasper.ant.JRAntCompileTask"

>

<!--

<taskdef

name="jrc" classname="net.sf.jasperreports.ant.JRAntCompileTask"

>

-->

<classpath refid="compile.java.classpath"/>

</taskdef>

 

when I try this, then the following is the code from the .jrxml and what follow is the error message:

 

<variable

name="hourReportedVariable"

class="java.lang.String"

resetType="None"

calculation="System"

>

 

<variableExpression>

<![CDATA[((foo.foo.view.utils.Scriptlets)$P{REPORT_SCRIPTLET}).getCategoryValue($F{hourReported})]]>

</variableExpression>

 

</variable>

 

Error Message

makereports:

[jrc] Compiling 3 report design files.

[jrc] C:blahblahsoftwareblahblahbintempDatabaseDump.java:138: inconvertible types

[jrc] found : net.sf.jasperreports.engine.JRAbstractScriptlet

[jrc] required: foo.foo.view.utils.Scriptlets

[jrc] value = (java.lang.String)(((foo.foo.view.uti

ls.Scriptlets)((net.sf.jasperreports.engine.JRAbstractScriptlet)parameter_REPORT

_SCRIPTLET.getValue())).getCategoryValue(((java.lang.Integer)field_subSubCategor

y.getValue())));

 

thanks for any help,

 

tc

 

 

 

 

By: tc - tcsource

RE: version change breaks compile?

2004-09-21 08:11

disregard the previous post

 

tc

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

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...