Skip to main content



      Home
Home » Archived » BIRT » Version in CVS - Plugin creation problems
Version in CVS - Plugin creation problems [message #22908] Fri, 25 March 2005 10:01 Go to next message
Eclipse UserFriend
Originally posted by: mbatchelor.no_s_p_a_m.pentaho.com

Hey all,

I've sync'd with the latest code, cleaned and rebuilt (which was successful)
but I can't seem to export it as a plugin.

I end up with a plethora of errors when it tries to export to a .zip file:

chartadapter.jar.bin.log
jdbc.jar.bin.log
test.jar.bin.log
ui.jar.bin.log

Here is the chartadapter.jar.bin.log file.


chartadapter.jar.bin.log
----------
1. ERROR in
D:\japps\birtsrc\org.eclipse.birt.chart.reportitem\src\org\e clipse\birt\char
t\reportitem\ChartReportItemBuilderImpl.java (at line 20)
import org.eclipse.birt.report.designer.ui.dialogs.ExpressionBuilde r;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^
The import org.eclipse.birt.report.designer.ui.dialogs.ExpressionBuilde r
cannot be resolved
----------
2. ERROR in
D:\japps\birtsrc\org.eclipse.birt.chart.reportitem\src\org\e clipse\birt\char
t\reportitem\ChartReportItemBuilderImpl.java (at line 21)
import org.eclipse.birt.report.designer.ui.extensions.ReportItemBui lderUI;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import org.eclipse.birt.report.designer.ui.extensions cannot be resolved
----------
3. ERROR in
D:\japps\birtsrc\org.eclipse.birt.chart.reportitem\src\org\e clipse\birt\char
t\reportitem\ChartReportItemBuilderImpl.java (at line 37)
public class ChartReportItemBuilderImpl extends ReportItemBuilderUI
implements IUIServiceProvider
^^^^^^^^^^^^^^^^^^^
ReportItemBuilderUI cannot be resolved or is not a valid superclass
----------
4. ERROR in
D:\japps\birtsrc\org.eclipse.birt.chart.reportitem\src\org\e clipse\birt\char
t\reportitem\ChartReportItemBuilderImpl.java (at line 139)
final ExpressionBuilder eb = new ExpressionBuilder(sExpression);
^^^^^^^^^^^^^^^^^
ExpressionBuilder cannot be resolved or is not a type
----------
5. ERROR in
D:\japps\birtsrc\org.eclipse.birt.chart.reportitem\src\org\e clipse\birt\char
t\reportitem\ChartReportItemBuilderImpl.java (at line 139)
final ExpressionBuilder eb = new ExpressionBuilder(sExpression);
^^^^^^^^^^^^^^^^^
ExpressionBuilder cannot be resolved or is not a type
----------
----------
6. ERROR in
D:\japps\birtsrc\org.eclipse.birt.chart.reportitem\src\org\e clipse\birt\char
t\reportitem\ChartReportItemGenerationImpl.java (at line 0)
/*********************************************************** ************
^
The type org.eclipse.birt.data.engine.api.IBaseQueryDefinition cannot be
resolved. It is indirectly referenced from required .class files
----------
6 problems (6 errors)


One of the problems is that it seems to be having problems resolving
ExpressionBuilder. But, it's clearly there:

D:\japps\birtsrc>dir ExpressionBuilder.class/s
Volume in drive D is laptop_d
Volume Serial Number is D8D9-588A

Directory of
D:\japps\birtsrc\org.eclipse.birt.report.designer.ui\bin\org \eclipse\birt\re
port\designer\ui\dialogs

03/24/2005 04:22 PM 10,720 ExpressionBuilder.class
Re: Version in CVS - Plugin creation problems [message #22995 is a reply to message #22908] Fri, 25 March 2005 14:55 Go to previous messageGo to next message
Eclipse UserFriend
Hi Marc,

When you say you tried exporting as a plug-in, did you choose:

Right Click on project > Export > Deployable Plug-ins and Fragments >
[Select Plug-in detail to export]

... and exported it as 'A single deployable zip file'

This should've worked for you without any compilation errors.
If not, here's a temporary workaround until we get it fixed:

Export the directory structure into the ZIP
Some of the JAR files aren't created in the ZIP due to the compilation
errors that you listed.
However, you can individually export those JAR files (that failed) for
each project and manually add them into the ZIP file.
Not a very elegant solution but it should do the trick.

Also, it appears as though we have references to inconsistent JAR file
names in the 'build.properties' file for some of the chart plug-ins.

The JAR file name references in build.properties need to be the same as
what is defined in plugin.xml

Example:

'build.properties' in reportitem refers to 'chartadapter.jar'
'plugin.xml' in reportitem refers to 'reportitem.jar'
'build.properties' should've been updated to refer to 'reportitem.jar' to
be consistent with 'plugin.xml'

'build.properties' in device.extension refers to 'device-extensions.jar'
'plugin.xml' in device.extension refers to 'device-extension.jar'
'build.properties' should've been updated to refer to
'device-extension.jar' to be consistent with 'plugin.xml'

'build.properties' in ui.extension refers to 'ui-extensions.jar'
'plugin.xml' in ui.extension refers to 'ui-extension.jar'
'build.properties' should've been updated to refer to 'ui-extension.jar'
to be consistent with 'plugin.xml'

These problems will be corrected soon.

- Rohit


---

Hey all,

I've sync'd with the latest code, cleaned and rebuilt (which was
successful)
but I can't seem to export it as a plugin.

I end up with a plethora of errors when it tries to export to a .zip file:

chartadapter.jar.bin.log
jdbc.jar.bin.log
test.jar.bin.log
ui.jar.bin.log

Here is the chartadapter.jar.bin.log file.


chartadapter.jar.bin.log
----------
1. ERROR in
D:\japps\birtsrc\org.eclipse.birt.chart.reportitem\src\org\e clipse\birt\char
t\reportitem\ChartReportItemBuilderImpl.java (at line 20)
import org.eclipse.birt.report.designer.ui.dialogs.ExpressionBuilde r;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^
The import org.eclipse.birt.report.designer.ui.dialogs.ExpressionBuilde r
cannot be resolved
----------
2. ERROR in
D:\japps\birtsrc\org.eclipse.birt.chart.reportitem\src\org\e clipse\birt\char
t\reportitem\ChartReportItemBuilderImpl.java (at line 21)
import org.eclipse.birt.report.designer.ui.extensions.ReportItemBui lderUI;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import org.eclipse.birt.report.designer.ui.extensions cannot be
resolved
----------
3. ERROR in
D:\japps\birtsrc\org.eclipse.birt.chart.reportitem\src\org\e clipse\birt\char
t\reportitem\ChartReportItemBuilderImpl.java (at line 37)
public class ChartReportItemBuilderImpl extends ReportItemBuilderUI
implements IUIServiceProvider
^^^^^^^^^^^^^^^^^^^
ReportItemBuilderUI cannot be resolved or is not a valid superclass
----------
4. ERROR in
D:\japps\birtsrc\org.eclipse.birt.chart.reportitem\src\org\e clipse\birt\char
t\reportitem\ChartReportItemBuilderImpl.java (at line 139)
final ExpressionBuilder eb = new ExpressionBuilder(sExpression);
^^^^^^^^^^^^^^^^^
ExpressionBuilder cannot be resolved or is not a type
----------
5. ERROR in
D:\japps\birtsrc\org.eclipse.birt.chart.reportitem\src\org\e clipse\birt\char
t\reportitem\ChartReportItemBuilderImpl.java (at line 139)
final ExpressionBuilder eb = new ExpressionBuilder(sExpression);
^^^^^^^^^^^^^^^^^
ExpressionBuilder cannot be resolved or is not a type
----------
----------
6. ERROR in
D:\japps\birtsrc\org.eclipse.birt.chart.reportitem\src\org\e clipse\birt\char
t\reportitem\ChartReportItemGenerationImpl.java (at line 0)
/*********************************************************** ************
^
The type org.eclipse.birt.data.engine.api.IBaseQueryDefinition cannot be
resolved. It is indirectly referenced from required .class files
----------
6 problems (6 errors)


One of the problems is that it seems to be having problems resolving
ExpressionBuilder. But, it's clearly there:

D:\japps\birtsrc>dir ExpressionBuilder.class/s
Volume in drive D is laptop_d
Volume Serial Number is D8D9-588A

Directory of
D:\japps\birtsrc\org.eclipse.birt.report.designer.ui\bin\org \eclipse\birt\re
port\designer\ui\dialogs

03/24/2005 04:22 PM 10,720 ExpressionBuilder.class
Re: Version in CVS - Plugin creation problems [message #23120 is a reply to message #22908] Sun, 27 March 2005 21:24 Go to previous messageGo to next message
Eclipse UserFriend
Hi Marc,

I updated 'build.properties' for each of the chart plug-ins and fixed a
compilation error in the source.

I tried exporting the deployable plug-ins as a ZIP and it worked.

Please pull out the latest source and try again.

- Rohit

---

Subject: Version in CVS - Plugin creation problems
From: mbatchelor@xxxxxxxxxxxx (Marc Batchelor)
Newsgroups: eclipse.birt
Organization: EclipseCorner
Date: Mar 25 2005 10:01:55

Hey all,

I've sync'd with the latest code, cleaned and rebuilt (which was
successful)
but I can't seem to export it as a plugin.

I end up with a plethora of errors when ...[more]
Re: Version in CVS - Plugin creation problems [message #23159 is a reply to message #23120] Mon, 28 March 2005 07:29 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mbatchelor.no_s_p_a_m.pentaho.com

> I updated 'build.properties' for each of the chart plug-ins and fixed a
> compilation error in the source.
>
> I tried exporting the deployable plug-ins as a ZIP and it worked.
>
> Please pull out the latest source and try again.

Hey there,

Thanks for your reply. I synchronized with the repository again, cleaned and
built. I then went to export, chose Deployable plug-ins and fragments, and
selected all.

I still have issues in jdbc.jar, reportitem.jar, tests.jar and ui.jar.

Here's a couple of error messages from each:

jdbc.jar.bin.log
==========
----------
1. ERROR in
D:\japps\birtsrc\org.eclipse.birt.report.data.oda.jdbc.ui\sr c\org\eclipse\bi
rt\report\data\oda\jdbc\ui\editors\JdbcSQLContentAssistProce ssor.java (at
line 22)
import org.eclipse.birt.report.designer.ui.editors.sql.ISQLSyntax;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import org.eclipse.birt.report.designer.ui.editors cannot be resolved
----------
2. ERROR in
D:\japps\birtsrc\org.eclipse.birt.report.data.oda.jdbc.ui\sr c\org\eclipse\bi
rt\report\data\oda\jdbc\ui\editors\JdbcSQLContentAssistProce ssor.java (at
line 48)
ISQLSyntax
^^^^^^^^^^
ISQLSyntax cannot be resolved or is not a valid superinterface
----------
----------

reportitem.jar.bin.log
==============
----------
1. ERROR in
D:\japps\birtsrc\org.eclipse.birt.chart.reportitem\src\org\e clipse\birt\char
t\reportitem\ChartReportItemBuilderImpl.java (at line 20)
import org.eclipse.birt.report.designer.ui.dialogs.ExpressionBuilde r;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^
The import org.eclipse.birt.report.designer.ui.dialogs.ExpressionBuilde r
cannot be resolved

tests.jar.bin.log
==========
----------
1. ERROR in
D:\japps\birtsrc\org.eclipse.birt.report.designer.tests\src\ org\eclipse\birt
\report\designer\tests\example\matrix\ReportItemBuilderUITes t.java (at line
14)
import org.eclipse.birt.report.designer.ui.extensions.IReportItemBu ilderUI;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^
The import
org.eclipse.birt.report.designer.ui.extensions.IReportItemBu ilderUI cannot
be resolved

ui.jar.bin.log
========
----------
1. ERROR in
D:\japps\birtsrc\org.eclipse.birt.report.designer.ui\src\org \eclipse\birt\re
port\designer\internal\ui\dialogs\DataSetParametersPage.java (at line 18)
import org.eclipse.birt.data.engine.api.IParameterMetaData;
^^^^^^^^^^^^^^^^^^^^^
The import org.eclipse.birt.data cannot be resolved
----------
2. ERROR in
D:\japps\birtsrc\org.eclipse.birt.report.designer.ui\src\org \eclipse\birt\re
port\designer\internal\ui\dialogs\DataSetParametersPage.java (at line 554)
IParameterMetaData paramFromDataSet = (IParameterMetaData)iter.next();
^^^^^^^^^^^^^^^^^^
IParameterMetaData cannot be resolved or is not a type
Re: Version in CVS - Plugin creation problems [message #23196 is a reply to message #23120] Mon, 28 March 2005 12:37 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mbatchelor.no_s_p_a_m.pentaho.com

Ok - I think I know what the problem is. The problem is that there are many
missing build.properties files in the source that's up there.

org.eclipse.birt.report.engine
org.eclipse.birt.core
org.eclipse.birt.report.data.oda.jdbc
org.eclipse.birt.report.engine.emitter.fo
org.eclipse.birt.report.engine.emitter.html
org.eclipse.birt.report.model
org.eclipse.birt.report.viewer

All of these have a plugin.xml, but no build.properties.

Does someone there have the build.properties files for these projects that
they could add to CVS?

Thanks,

Marc

"Rohit Cola
Re: Version in CVS - Plugin creation problems [message #23225 is a reply to message #23196] Mon, 28 March 2005 14:44 Go to previous messageGo to next message
Eclipse UserFriend
Hi Marc,

Could you file a bug for this? We will work on providing missing
'build.properties' files for the remaining BIRT plug-in projects so that
the source could be exported as deployable plug-ins/features.

- Rohit


---

Ok - I think I know what the problem is. The problem is that there are many
missing build.properties files ... [more]
Re: Version in CVS - Plugin creation problems [message #23342 is a reply to message #23225] Mon, 28 March 2005 15:31 Go to previous message
Eclipse UserFriend
Originally posted by: mbatchelor.no_s_p_a_m.pentaho.com

> Could you file a bug for this? We will work on providing missing
> 'build.properties' files for the remaining BIRT plug-in projects so that
> the source could be exported as deployable plug-ins/features.


Done.
Previous Topic::-)
Next Topic:Getting charts to appear...
Goto Forum:
  


Current Time: Thu May 08 23:20:13 EDT 2025

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

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

Back to the top