Skip to main content



      Home
Home » Archived » BIRT » How can I build the BIRT viewer source code?
How can I build the BIRT viewer source code? [message #263200] Thu, 13 December 2007 08:12 Go to next message
Eclipse UserFriend
Originally posted by: sprudhom.nortel.com

Sorry for the repost, the first time I sent this as a reply to another post.
Not the right way to do it.

Greetings,
I have successfully installed the BIRT viewer and created some reports. Now
I would like to do some customization of the viewer. Therefore I need to
build the source code.

I downloaded birt-report-designer-all-in-one-2.1.3.zip and I tried building
BIRT_2_1_3_Release_20070705 from CVS (I also tried building 2.2.1 with the
2.2.1 all-in-one but had some many problems I switched to 2.1.3 which seemed
more promising.)

I am using Sun Java SDK (and JRE) 1.4.2_16

I have followed the instructions here:
http://www.eclipse.org/birt/phoenix/build/buildInstructions. php

And the build of the overall project works but I cannot build the WebViewer.

When I invoke "ant.." on BuildWebViewer.xml as suggested on the web page I
get the following error (see below).

Question: what is the procedure to build the BIRT viewer? I see post/blogs
from different people on the web that did it so I know it is possible but
how??

I cannot find org.eclipse.birt.data.oda anywhere, where is that coming from?

Cheers,

Serge



Here is the build Error:

Buildfile: D:\Profiles\SPRUDHOM.AMERICASE\Eclipse
Workspaces\BIRT_2_1_3\org.eclipse.birt.report.viewer\BuildWe bViewer.xml

init:

[delete] Deleting directory D:\Profiles\SPRUDHOM.AMERICASE\Eclipse
Workspaces\BIRT_2_1_3\org.eclipse.birt.report.viewer\birt_we b

[copy] Copying 545 files to D:\Profiles\SPRUDHOM.AMERICASE\Eclipse
Workspaces\BIRT_2_1_3\org.eclipse.birt.report.viewer\birt_we b

[copy] Copied 52 empty directories to 4 empty directories under
D:\Profiles\SPRUDHOM.AMERICASE\Eclipse
Workspaces\BIRT_2_1_3\org.eclipse.birt.report.viewer\birt_we b

enginesdk:

[mkdir] Created dir: D:\Profiles\SPRUDHOM.AMERICASE\Eclipse
Workspaces\BIRT_2_1_3\org.eclipse.birt.report.viewer\birt_we b\WEB-INF\platform

ExportSDK:

[mkdir] Created dir: D:\Profiles\SPRUDHOM.AMERICASE\Eclipse
Workspaces\BIRT_2_1_3\org.eclipse.birt.report.viewer\birt_we b\WEB-INF\platform\configuration

[copy] Copying 1 file to D:\Profiles\SPRUDHOM.AMERICASE\Eclipse
Workspaces\BIRT_2_1_3\org.eclipse.birt.report.viewer\birt_we b\WEB-INF\platform\configuration

[mkdir] Created dir: D:\Profiles\SPRUDHOM.AMERICASE\Eclipse
Workspaces\BIRT_2_1_3\org.eclipse.birt.report.viewer\birt_we b\WEB-INF\platform\plugins

[copy] Copying 25 files to D:\Profiles\SPRUDHOM.AMERICASE\Eclipse
Workspaces\BIRT_2_1_3\org.eclipse.birt.report.viewer\birt_we b\WEB-INF\platform\plugins

[copy] Copying 9 files to D:\Profiles\SPRUDHOM.AMERICASE\Eclipse
Workspaces\BIRT_2_1_3\org.eclipse.birt.report.viewer\birt_we b\WEB-INF\platform\plugins\com.lowagie.itext

[copy] Copying 4 files to D:\Profiles\SPRUDHOM.AMERICASE\Eclipse
Workspaces\BIRT_2_1_3\org.eclipse.birt.report.viewer\birt_we b\WEB-INF\platform\plugins\org.apache.commons.codec

[copy] Copying 15 files to D:\Profiles\SPRUDHOM.AMERICASE\Eclipse
Workspaces\BIRT_2_1_3\org.eclipse.birt.report.viewer\birt_we b\WEB-INF\platform\plugins\org.apache.xerces

[copy] Copying 21 files to D:\Profiles\SPRUDHOM.AMERICASE\Eclipse
Workspaces\BIRT_2_1_3\org.eclipse.birt.report.viewer\birt_we b\WEB-INF\platform\plugins\org.apache.batik

[copy] Copying 6 files to D:\Profiles\SPRUDHOM.AMERICASE\Eclipse
Workspaces\BIRT_2_1_3\org.eclipse.birt.report.viewer\birt_we b\WEB-INF\platform\plugins\org.apache.batik.pdf

[copy] Copying 4 files to D:\Profiles\SPRUDHOM.AMERICASE\Eclipse
Workspaces\BIRT_2_1_3\org.eclipse.birt.report.viewer\birt_we b\WEB-INF\platform\plugins\org.mozilla.rhino

[copy] Copying 6 files to D:\Profiles\SPRUDHOM.AMERICASE\Eclipse
Workspaces\BIRT_2_1_3\org.eclipse.birt.report.viewer\birt_we b\WEB-INF\platform\plugins\org.w3c.sac

[copy] Copying 6 files to D:\Profiles\SPRUDHOM.AMERICASE\Eclipse
Workspaces\BIRT_2_1_3\org.eclipse.birt.report.viewer\birt_we b\WEB-INF\platform\plugins\org.apache.derby.core

init:

compileSource:

Jar:

Export:

[jar] Building jar: D:\Profiles\SPRUDHOM.AMERICASE\Eclipse
Workspaces\BIRT_2_1_3\org.eclipse.birt.report.viewer\birt_we b\WEB-INF\platform\plugins\org.eclipse.birt.core_2.1.3.quali fier.jar


BUILD FAILED

D:\Profiles\SPRUDHOM.AMERICASE\Eclipse
Workspaces\BIRT_2_1_3\org.eclipse.birt.report.viewer\BuildWe bViewer.xml:252:
The following error occurred while executing this line:

D:\Profiles\SPRUDHOM.AMERICASE\Eclipse
Workspaces\BIRT_2_1_3\org.eclipse.birt.report.engine\BuildEn gine.xml:346:
The following error occurred while executing this line:

java.io.FileNotFoundException: D:\Profiles\SPRUDHOM.AMERICASE\Eclipse
Workspaces\BIRT_2_1_3\org.eclipse.birt.data.oda\BuildOda.xml (The system
cannot find the file specified)


Total time: 30 seconds
Re: How can I build the BIRT viewer source code? [message #263210 is a reply to message #263200] Thu, 13 December 2007 09:48 Go to previous message
Eclipse UserFriend
Originally posted by: jasonweathersby.alltel.net

Serge,

look Here
http://wiki.eclipse.org/BIRT/FAQ/Birt_Project#Q:_How_do_I_bu ild_the_2.2_BIRT_Viewer.3F

Jason

Serge Prud'homme wrote:
> Sorry for the repost, the first time I sent this as a reply to another post.
> Not the right way to do it.
>
> Greetings,
> I have successfully installed the BIRT viewer and created some reports. Now
> I would like to do some customization of the viewer. Therefore I need to
> build the source code.
>
> I downloaded birt-report-designer-all-in-one-2.1.3.zip and I tried building
> BIRT_2_1_3_Release_20070705 from CVS (I also tried building 2.2.1 with the
> 2.2.1 all-in-one but had some many problems I switched to 2.1.3 which seemed
> more promising.)
>
> I am using Sun Java SDK (and JRE) 1.4.2_16
>
> I have followed the instructions here:
> http://www.eclipse.org/birt/phoenix/build/buildInstructions. php
>
> And the build of the overall project works but I cannot build the WebViewer.
>
> When I invoke "ant.." on BuildWebViewer.xml as suggested on the web page I
> get the following error (see below).
>
> Question: what is the procedure to build the BIRT viewer? I see post/blogs
> from different people on the web that did it so I know it is possible but
> how??
>
> I cannot find org.eclipse.birt.data.oda anywhere, where is that coming from?
>
> Cheers,
>
> Serge
>
>
>
> Here is the build Error:
>
> Buildfile: D:\Profiles\SPRUDHOM.AMERICASE\Eclipse
> Workspaces\BIRT_2_1_3\org.eclipse.birt.report.viewer\BuildWe bViewer.xml
>
> init:
>
> [delete] Deleting directory D:\Profiles\SPRUDHOM.AMERICASE\Eclipse
> Workspaces\BIRT_2_1_3\org.eclipse.birt.report.viewer\birt_we b
>
> [copy] Copying 545 files to D:\Profiles\SPRUDHOM.AMERICASE\Eclipse
> Workspaces\BIRT_2_1_3\org.eclipse.birt.report.viewer\birt_we b
>
> [copy] Copied 52 empty directories to 4 empty directories under
> D:\Profiles\SPRUDHOM.AMERICASE\Eclipse
> Workspaces\BIRT_2_1_3\org.eclipse.birt.report.viewer\birt_we b
>
> enginesdk:
>
> [mkdir] Created dir: D:\Profiles\SPRUDHOM.AMERICASE\Eclipse
> Workspaces\BIRT_2_1_3\org.eclipse.birt.report.viewer\birt_we b\WEB-INF\platform
>
> ExportSDK:
>
> [mkdir] Created dir: D:\Profiles\SPRUDHOM.AMERICASE\Eclipse
> Workspaces\BIRT_2_1_3\org.eclipse.birt.report.viewer\birt_we b\WEB-INF\platform\configuration
>
> [copy] Copying 1 file to D:\Profiles\SPRUDHOM.AMERICASE\Eclipse
> Workspaces\BIRT_2_1_3\org.eclipse.birt.report.viewer\birt_we b\WEB-INF\platform\configuration
>
> [mkdir] Created dir: D:\Profiles\SPRUDHOM.AMERICASE\Eclipse
> Workspaces\BIRT_2_1_3\org.eclipse.birt.report.viewer\birt_we b\WEB-INF\platform\plugins
>
> [copy] Copying 25 files to D:\Profiles\SPRUDHOM.AMERICASE\Eclipse
> Workspaces\BIRT_2_1_3\org.eclipse.birt.report.viewer\birt_we b\WEB-INF\platform\plugins
>
> [copy] Copying 9 files to D:\Profiles\SPRUDHOM.AMERICASE\Eclipse
> Workspaces\BIRT_2_1_3\org.eclipse.birt.report.viewer\birt_we b\WEB-INF\platform\plugins\com.lowagie.itext
>
> [copy] Copying 4 files to D:\Profiles\SPRUDHOM.AMERICASE\Eclipse
> Workspaces\BIRT_2_1_3\org.eclipse.birt.report.viewer\birt_we b\WEB-INF\platform\plugins\org.apache.commons.codec
>
> [copy] Copying 15 files to D:\Profiles\SPRUDHOM.AMERICASE\Eclipse
> Workspaces\BIRT_2_1_3\org.eclipse.birt.report.viewer\birt_we b\WEB-INF\platform\plugins\org.apache.xerces
>
> [copy] Copying 21 files to D:\Profiles\SPRUDHOM.AMERICASE\Eclipse
> Workspaces\BIRT_2_1_3\org.eclipse.birt.report.viewer\birt_we b\WEB-INF\platform\plugins\org.apache.batik
>
> [copy] Copying 6 files to D:\Profiles\SPRUDHOM.AMERICASE\Eclipse
> Workspaces\BIRT_2_1_3\org.eclipse.birt.report.viewer\birt_we b\WEB-INF\platform\plugins\org.apache.batik.pdf
>
> [copy] Copying 4 files to D:\Profiles\SPRUDHOM.AMERICASE\Eclipse
> Workspaces\BIRT_2_1_3\org.eclipse.birt.report.viewer\birt_we b\WEB-INF\platform\plugins\org.mozilla.rhino
>
> [copy] Copying 6 files to D:\Profiles\SPRUDHOM.AMERICASE\Eclipse
> Workspaces\BIRT_2_1_3\org.eclipse.birt.report.viewer\birt_we b\WEB-INF\platform\plugins\org.w3c.sac
>
> [copy] Copying 6 files to D:\Profiles\SPRUDHOM.AMERICASE\Eclipse
> Workspaces\BIRT_2_1_3\org.eclipse.birt.report.viewer\birt_we b\WEB-INF\platform\plugins\org.apache.derby.core
>
> init:
>
> compileSource:
>
> Jar:
>
> Export:
>
> [jar] Building jar: D:\Profiles\SPRUDHOM.AMERICASE\Eclipse
> Workspaces\BIRT_2_1_3\org.eclipse.birt.report.viewer\birt_we b\WEB-INF\platform\plugins\org.eclipse.birt.core_2.1.3.quali fier.jar
>
>
> BUILD FAILED
>
> D:\Profiles\SPRUDHOM.AMERICASE\Eclipse
> Workspaces\BIRT_2_1_3\org.eclipse.birt.report.viewer\BuildWe bViewer.xml:252:
> The following error occurred while executing this line:
>
> D:\Profiles\SPRUDHOM.AMERICASE\Eclipse
> Workspaces\BIRT_2_1_3\org.eclipse.birt.report.engine\BuildEn gine.xml:346:
> The following error occurred while executing this line:
>
> java.io.FileNotFoundException: D:\Profiles\SPRUDHOM.AMERICASE\Eclipse
> Workspaces\BIRT_2_1_3\org.eclipse.birt.data.oda\BuildOda.xml (The system
> cannot find the file specified)
>
>
> Total time: 30 seconds
>
>
>
Previous Topic:BIRT exception - flatfile data source is not valid
Next Topic:Chart with cross tab as source of data
Goto Forum:
  


Current Time: Wed Jun 25 19:34:15 EDT 2025

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

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

Back to the top