Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » BIRT_VIEWER_WORKING_FOLDER Examples?
BIRT_VIEWER_WORKING_FOLDER Examples? [message #204431] Fri, 01 December 2006 17:50 Go to next message
No real name is currently offline No real nameFriend
Messages: 8
Registered: July 2009
Junior Member
I have diligently searched the documentation about how to use this
parameter but cannot get it to work correctly or how I think it should
be working. Does anyone have an example they can share of a successful
use of this parameter? Thanks.
Re: BIRT_VIEWER_WORKING_FOLDER Examples? [message #204481 is a reply to message #204431] Fri, 01 December 2006 19:33 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

I do not think this parameter is used any longer.
By default the viewer will look for reports either in a full path or
as a resource, so if your reports are in a war with the viewer under a
directory like /reports,
then reports/myreport.rptdesign should work. If they are on the file
system, c:/myreports/myreport.rptdesign should work.

Jason

"Casey Adams" <casey@agfsolutions.com> wrote in message
news:ekpq1j$h3j$3@utils.eclipse.org...
>I have diligently searched the documentation about how to use this
>parameter but cannot get it to work correctly or how I think it should be
>working. Does anyone have an example they can share of a successful use of
>this parameter? Thanks.
Re: BIRT_VIEWER_WORKING_FOLDER Examples? [message #205665 is a reply to message #204481] Fri, 08 December 2006 22:26 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

After doing some digging I have to eat my post.
BIRT_VIEWER_WORKING_FOLDER is still in use.
If set and
BIRT_VIEWER_DOCUMENT_FOLDER is not set, reports will be read from this
directory.
If BIRT_VIEWER_DOCUMENT_FOLDER is set it is used instead.

In either case a documents folder will be created in the specified folder
for rptdocuments.

Jason

"Jason Weathersby" <jweathersby@actuate.com> wrote in message
news:ekq01n$5nh$1@utils.eclipse.org...
>I do not think this parameter is used any longer.
> By default the viewer will look for reports either in a full path or
> as a resource, so if your reports are in a war with the viewer under a
> directory like /reports,
> then reports/myreport.rptdesign should work. If they are on the file
> system, c:/myreports/myreport.rptdesign should work.
>
> Jason
>
> "Casey Adams" <casey@agfsolutions.com> wrote in message
> news:ekpq1j$h3j$3@utils.eclipse.org...
>>I have diligently searched the documentation about how to use this
>>parameter but cannot get it to work correctly or how I think it should be
>>working. Does anyone have an example they can share of a successful use
>>of this parameter? Thanks.
>
>
Re: BIRT_VIEWER_WORKING_FOLDER Examples? [message #208168 is a reply to message #205665] Fri, 22 December 2006 14:12 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: arne.degenring.com

Jason Weathersby wrote:

> After doing some digging I have to eat my post.
> BIRT_VIEWER_WORKING_FOLDER is still in use.
> If set and
> BIRT_VIEWER_DOCUMENT_FOLDER is not set, reports will be read from this
> directory.
> If BIRT_VIEWER_DOCUMENT_FOLDER is set it is used instead.

> In either case a documents folder will be created in the specified folder
> for rptdocuments.

Jason,

I believe this is something that should be changed in future releases. It
would be good to have the possibility to have the rptdesign files in one
folder, and the rptdocuments in a completely different folder, not
necessarily a subdir of the rptdesign folder.

This especially because the rptdocument files are created during run-time.
In some production environments no write access is granted to the
deployment dirs. In that case it would be necessary to point the
rptdocument folder to some temp dir. Ideally, the environment variable
"java.io.tmpdir" would be supported for this purpose.

Would you agree?

Regards,
-- Arne
Re: BIRT_VIEWER_WORKING_FOLDER Examples? [message #211956 is a reply to message #208168] Wed, 17 January 2007 06:39 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Sorry I missed this post earlier. You may want to file a bugzilla entry for
this.
I have not checked the 2.2 track to see if this is still the case.

Thanks

Jason

"Arne Degenring" <arne@degenring.com> wrote in message
news:3a2d404833f8c3d290baf201258cdc8a$1@www.eclipse.org...
> Jason Weathersby wrote:
>
>> After doing some digging I have to eat my post.
>> BIRT_VIEWER_WORKING_FOLDER is still in use.
>> If set and
>> BIRT_VIEWER_DOCUMENT_FOLDER is not set, reports will be read from this
>> directory.
>> If BIRT_VIEWER_DOCUMENT_FOLDER is set it is used instead.
>
>> In either case a documents folder will be created in the specified folder
>> for rptdocuments.
>
> Jason,
>
> I believe this is something that should be changed in future releases. It
> would be good to have the possibility to have the rptdesign files in one
> folder, and the rptdocuments in a completely different folder, not
> necessarily a subdir of the rptdesign folder.
>
> This especially because the rptdocument files are created during run-time.
> In some production environments no write access is granted to the
> deployment dirs. In that case it would be necessary to point the
> rptdocument folder to some temp dir. Ideally, the environment variable
> "java.io.tmpdir" would be supported for this purpose.
>
> Would you agree?
>
> Regards,
> -- Arne
>
Re: BIRT_VIEWER_WORKING_FOLDER Examples? [message #213024 is a reply to message #211956] Mon, 22 January 2007 14:45 Go to previous message
Eclipse UserFriend
Originally posted by: arne.degenring.com

Jason,

Thanks for your anwer. In the meantime I had filed the following issue,
and it didn't take long to get fixed by a BIRT developer for 2.2.0 M5.
Great!

https://bugs.eclipse.org/bugs/show_bug.cgi?id=169675

Regards
- Arne


Jason Weathersby wrote:

> Sorry I missed this post earlier. You may want to file a bugzilla entry for
> this.
> I have not checked the 2.2 track to see if this is still the case.

> Thanks

> Jason

> "Arne Degenring" <arne@degenring.com> wrote in message
> news:3a2d404833f8c3d290baf201258cdc8a$1@www.eclipse.org...
>> Jason Weathersby wrote:
>>
>>> After doing some digging I have to eat my post.
>>> BIRT_VIEWER_WORKING_FOLDER is still in use.
>>> If set and
>>> BIRT_VIEWER_DOCUMENT_FOLDER is not set, reports will be read from this
>>> directory.
>>> If BIRT_VIEWER_DOCUMENT_FOLDER is set it is used instead.
>>
>>> In either case a documents folder will be created in the specified folder
>>> for rptdocuments.
>>
>> Jason,
>>
>> I believe this is something that should be changed in future releases. It
>> would be good to have the possibility to have the rptdesign files in one
>> folder, and the rptdocuments in a completely different folder, not
>> necessarily a subdir of the rptdesign folder.
>>
>> This especially because the rptdocument files are created during run-time.
>> In some production environments no write access is granted to the
>> deployment dirs. In that case it would be necessary to point the
>> rptdocument folder to some temp dir. Ideally, the environment variable
>> "java.io.tmpdir" would be supported for this purpose.
>>
>> Would you agree?
>>
>> Regards,
>> -- Arne
>>
Previous Topic:PDF/HTML reporting
Next Topic:Upgrading BIRT version
Goto Forum:
  


Current Time: Sat Aug 17 17:41:37 GMT 2024

Powered by FUDForum. Page generated in 0.04578 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top