• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Jasper Report subreport on deployment machine
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Jasper Report subreport on deployment machine


  • Subject: Re: Jasper Report subreport on deployment machine
  • From: Pascal Robert <email@hidden>
  • Date: Wed, 09 May 2012 15:41:06 -0400

You have to use $P{SUBREPORT_DIR}, e.g.:

<subreportExpression class="java.lang.String"><![CDATA[$P{SUBREPORT_DIR} + "subreport.jasper"]]></subreportExpression>

> Never used subreports, but by chance is the subreport pathname hardcoded into the master report? Is there a way to specify a relative path perhaps?
>
> That looks like a development box pathname to the subreport.
>
> On May 9, 2012, at 2:20 PM, Theodore Petrosky wrote:
>
>> everything was cooking along fine then the jasper subpreport.
>>
>> It works fine on my development box, however I uploaded and installed it to my interim deployment box and the subreport throws an error.
>>
>> Error:	 net.sf.jasperreports.engine.JRException: Could not load object from location : /Users/asacksadmin/Documents/workspaceAS/ASBriefsD2W/Resources/MeetingChecklist_subreport1.jasper
>> Reason:	 Could not load object from location : /Users/asacksadmin/Documents/workspaceAS/ASBriefsD2W/Resources/MeetingChecklist_subreport1.jasper
>>
>> is it something silly? I will try shortening the subreport name, but other than that, any ideas?
>>
>> Ted
>>
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list      (email@hidden)
>> Help/Unsubscribe/Update your Subscription:
>>
>> This email sent to email@hidden
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Jasper Report subreport on deployment machine (From: Theodore Petrosky <email@hidden>)
 >Re: Jasper Report subreport on deployment machine (From: Kieran Kelleher <email@hidden>)

  • Prev by Date: Re: Jasper Report subreport on deployment machine
  • Next by Date: Using inner classes or enums as attribute types with Velocity templates
  • Previous by thread: Re: Jasper Report subreport on deployment machine
  • Next by thread: Fw: Jasper Report subreport on deployment machine
  • Index(es):
    • Date
    • Thread