Version in CVS - Plugin creation problems [message #22908] |
Fri, 25 March 2005 10:01  |
Eclipse User |
|
|
|
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   |
Eclipse User |
|
|
|
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 #23342 is a reply to message #23225] |
Mon, 28 March 2005 15:31  |
Eclipse User |
|
|
|
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.
|
|
|
Powered by
FUDForum. Page generated in 0.09373 seconds