Problem with rptdesign file [message #52628] |
Wed, 29 June 2005 12:20  |
Eclipse User |
|
|
|
Hi,
I had been making good progress developing against the source, a custom
data source and data set for BIRT and could generate reports with no
problems. However, when switching to using the Birt 1.0 Release I can
create a data source and a dataset and preview the results in the
dataset editor, but I now recieve the following error when i try to
preview the report (even if the report design is empty except for a
datasource):
The design file C:\Program Files\Scapa
Platform\eclipse\workspace\test\new_report_3.rptdesign has error and can
not be run.
I am unsure as what the problem is, as there is nothing output to the
error log or the console. Here is the xml from the report design
generated, although I have changed the property and extensionID fields.
<?xml version="1.0" encoding="UTF-8"?>
<!-- Written by Eclipse BIRT 1.0 -->
<report xmlns=" http://www.eclipse.org/birt/2005/design" version="1">
<property name="units">in</property>
<data-sources>
<oda-data-source extensionID="reporting.data" name="Data Source">
<list-property name="userProperties">
<structure>
<property name="name">dataFile</property>
<property name="type">string</property>
</structure>
</list-property>
<property
name="dataFile">/HttpTestWithReporting/Http1.datafile</property >
</oda-data-source>
</data-sources>
<page-setup>
<simple-master-page name="Simple MasterPage">
<page-footer>
<text>
<property name="contentType">html</property>
<text-property
name="content"><![CDATA[<value-of>new Date()</value-of>]]></text-property>
</text>
</page-footer>
</simple-master-page>
</page-setup>
</report>
If anyone can shed any light on this I would really appreciate it.
Thanks and Regards,
Nathan
|
|
|
Re: Problem with rptdesign file [message #52655 is a reply to message #52628] |
Wed, 29 June 2005 14:53   |
Eclipse User |
|
|
|
Nathan,
One quick check, have you tried closing your Eclipse workspace and then
re-opening it? In the pre-release versions of BIRT I would sometimes
get the environment into a state where the design file in memory was
corrupt and I had to re-start eclipse.
Scott Rosenbaum
BIRT PMC
Nathan McKeown wrote:
> Hi,
>
> I had been making good progress developing against the source, a
> custom data source and data set for BIRT and could generate reports
> with no problems. However, when switching to using the Birt 1.0
> Release I can create a data source and a dataset and preview the
> results in the dataset editor, but I now recieve the following error
> when i try to preview the report (even if the report design is empty
> except for a datasource):
>
> The design file C:\Program Files\Scapa
> Platform\eclipse\workspace\test\new_report_3.rptdesign has error and
> can not be run.
>
>
> I am unsure as what the problem is, as there is nothing output to the
> error log or the console. Here is the xml from the report design
> generated, although I have changed the property and extensionID fields.
>
> <?xml version="1.0" encoding="UTF-8"?>
> <!-- Written by Eclipse BIRT 1.0 -->
> <report xmlns=" http://www.eclipse.org/birt/2005/design" version="1">
> <property name="units">in</property>
> <data-sources>
> <oda-data-source extensionID="reporting.data" name="Data Source">
> <list-property name="userProperties">
> <structure>
> <property name="name">dataFile</property>
> <property name="type">string</property>
> </structure>
> </list-property>
> <property
> name="dataFile">/HttpTestWithReporting/Http1.datafile</property >
> </oda-data-source>
> </data-sources>
> <page-setup>
> <simple-master-page name="Simple MasterPage">
> <page-footer>
> <text>
> <property name="contentType">html</property>
> <text-property
> name="content"><![CDATA[<value-of>new
> Date()</value-of>]]></text-property>
> </text>
> </page-footer>
> </simple-master-page>
> </page-setup>
> </report>
>
>
> If anyone can shed any light on this I would really appreciate it.
>
> Thanks and Regards,
>
> Nathan
|
|
|
Re: Problem with rptdesign file [message #52841 is a reply to message #52655] |
Thu, 30 June 2005 07:58  |
Eclipse User |
|
|
|
I used to have that problem too, with the earlier versions of BIRT,
however it seems that no amount of reloading workspaces resolves this
one. I am assuming it must have something to do with the way the
properties of my datasource are set, but I can't debug the problem
because it works fine against the BIRT source, just not the Jar'd release.
If you can think of anything else which could cause this, from the xml
please let me know.
Cheers
Nathan
Scott Rosenbaum wrote:
> Nathan,
>
> One quick check, have you tried closing your Eclipse workspace and then
> re-opening it? In the pre-release versions of BIRT I would sometimes
> get the environment into a state where the design file in memory was
> corrupt and I had to re-start eclipse.
>
> Scott Rosenbaum
> BIRT PMC
>
>
> Nathan McKeown wrote:
>
>> Hi,
>>
>> I had been making good progress developing against the source, a
>> custom data source and data set for BIRT and could generate reports
>> with no problems. However, when switching to using the Birt 1.0
>> Release I can create a data source and a dataset and preview the
>> results in the dataset editor, but I now recieve the following error
>> when i try to preview the report (even if the report design is empty
>> except for a datasource):
>>
>> The design file C:\Program Files\Scapa
>> Platform\eclipse\workspace\test\new_report_3.rptdesign has error and
>> can not be run.
>>
>>
>> I am unsure as what the problem is, as there is nothing output to the
>> error log or the console. Here is the xml from the report design
>> generated, although I have changed the property and extensionID fields.
>>
>> <?xml version="1.0" encoding="UTF-8"?>
>> <!-- Written by Eclipse BIRT 1.0 -->
>> <report xmlns=" http://www.eclipse.org/birt/2005/design" version="1">
>> <property name="units">in</property>
>> <data-sources>
>> <oda-data-source extensionID="reporting.data" name="Data Source">
>> <list-property name="userProperties">
>> <structure>
>> <property name="name">dataFile</property>
>> <property name="type">string</property>
>> </structure>
>> </list-property>
>> <property
>> name="dataFile">/HttpTestWithReporting/Http1.datafile</property >
>> </oda-data-source>
>> </data-sources>
>> <page-setup>
>> <simple-master-page name="Simple MasterPage">
>> <page-footer>
>> <text>
>> <property name="contentType">html</property>
>> <text-property
>> name="content"><![CDATA[<value-of>new
>> Date()</value-of>]]></text-property>
>> </text>
>> </page-footer>
>> </simple-master-page>
>> </page-setup>
>> </report>
>>
>>
>> If anyone can shed any light on this I would really appreciate it.
>>
>> Thanks and Regards,
>>
>> Nathan
|
|
|
Powered by
FUDForum. Page generated in 0.27724 seconds