Home » Archived » BIRT » Building BIRT
Building BIRT [message #244193] |
Fri, 22 June 2007 04:02  |
Eclipse User |
|
|
|
How does one go about building BIRT from scratch? The only instructions
seem to be for 2.1.1 and they're inaccurate which doesn't inspire a lot
of confidence (such as mentioning
org.eclipse.birt.report.data.oda.flatfile.* stuff which I can't find in CVS.
Even when I follow the instruction (as best I can), there are still a
huge number of errors and warnings). What are the developers using for
their environments?
Cheers,
Pax.
|
|
| |
Re: Building BIRT [message #245779 is a reply to message #244370] |
Mon, 02 July 2007 02:32   |
Eclipse User |
|
|
|
Jason et al, I'm not sure if I'm doing something incredibly wrong
here. I downloaded the 2.2 release all-in-one report designer, created
a CVS connection and downloaded the source to 2.2.
It builds (or, more accurately, doesn't build) with 152 errors and 29083
warnings. I can only assume, with these numbers, it's me doing
something wrong here.
The first batch of errors appear to be related to non-existence of
dex/dom4j so I'll look into that but the instructions to just download
the allinone and get the cvs source don't seem to be all that's needed.
If there's no up-to-date doco describing how to get a development
environment up and running fast for a new developer, I'd like to offer
to do it.
Cheers,
Al.
Jason Weathersby wrote:
>
> We are updating these now. The 2.1.1 instructions will work for the
> tagged version. If you check out the BIRT source with the allinone
> download the source should build automatically. There is also a source
> download for each version, where you can extract all into a blank
> workspace, then open it and it should build. You can also build the
> source headless by using the instructions in the
> org.eclipse.birt.releng.birtbuilder project.
>
> Jason
>
> Allan Chandler wrote:
>> How does one go about building BIRT from scratch? The only
>> instructions seem to be for 2.1.1 and they're inaccurate which doesn't
>> inspire a lot of confidence (such as mentioning
>> org.eclipse.birt.report.data.oda.flatfile.* stuff which I can't find
>> in CVS.
>>
>> Even when I follow the instruction (as best I can), there are still a
>> huge number of errors and warnings). What are the developers using
>> for their environments?
>>
>> Cheers,
>> Pax.
>>
|
|
|
Re: Building BIRT [message #245997 is a reply to message #245779] |
Mon, 02 July 2007 17:18   |
Eclipse User |
|
|
|
Originally posted by: jasonweathersby.alltel.net
Al,
If you close the test project and data adapter projects the source
should build fine. I am in the process of updating just about every
page on the site. If you want to add an entry to the FAQ on building
BIRT this would be great. The only issue I am having is documenting
changing the web viewer example and re deploying it. There are
essentially 3 ways to build BIRT:
1 - Check out the source
2 - Unzip the source download
3 - Use the BIRT builder project
Post the error you are having and maybe I can help.
Jason
Allan Chandler wrote:
> Jason et al, I'm not sure if I'm doing something incredibly wrong
> here. I downloaded the 2.2 release all-in-one report designer, created
> a CVS connection and downloaded the source to 2.2.
>
> It builds (or, more accurately, doesn't build) with 152 errors and 29083
> warnings. I can only assume, with these numbers, it's me doing
> something wrong here.
>
> The first batch of errors appear to be related to non-existence of
> dex/dom4j so I'll look into that but the instructions to just download
> the allinone and get the cvs source don't seem to be all that's needed.
>
> If there's no up-to-date doco describing how to get a development
> environment up and running fast for a new developer, I'd like to offer
> to do it.
>
> Cheers,
> Al.
>
>
> Jason Weathersby wrote:
>>
>> We are updating these now. The 2.1.1 instructions will work for the
>> tagged version. If you check out the BIRT source with the allinone
>> download the source should build automatically. There is also a
>> source download for each version, where you can extract all into a
>> blank workspace, then open it and it should build. You can also build
>> the source headless by using the instructions in the
>> org.eclipse.birt.releng.birtbuilder project.
>>
>> Jason
>>
>> Allan Chandler wrote:
>>> How does one go about building BIRT from scratch? The only
>>> instructions seem to be for 2.1.1 and they're inaccurate which
>>> doesn't inspire a lot of confidence (such as mentioning
>>> org.eclipse.birt.report.data.oda.flatfile.* stuff which I can't find
>>> in CVS.
>>>
>>> Even when I follow the instruction (as best I can), there are still a
>>> huge number of errors and warnings). What are the developers using
>>> for their environments?
>>>
>>> Cheers,
>>> Pax.
>>>
|
|
|
Re: Building BIRT [message #246193 is a reply to message #245997] |
Wed, 04 July 2007 00:26   |
Eclipse User |
|
|
|
Jason et al,
Current status is as follows. I've managed to get a clean-ish build (no
errors but 28000+ warnings) by doing the following.
1/ Install the BIRT report designer all-in-one Eclipse package and run it.
2/ Set Java compiler compliance to 5 (was 6).
3/ Add a JRE 5 runtime environment (I only had 6 on my desktop) and set
it to the default.
4/ Open a CVS perspective.
5/ Create a CVS repository anonymous@dev.eclipse.org:/cvsroot/birt.
6/ Select the sourceBIRT_2_2_0_Release_20070625 version.
7/ Check out org.eclipse.birt.build.
8/ Back to the Java perspective, right-click on
org.eclipse.birt.build/lib, import, general, filesystem, dom4j-1.6.1.jar
(downloaded from the dom4j web site).
9/ Right-click that jar, build-path, add-to-build-path.
10/ Check out all the other projects from CVS except:
org.eclipse.birt.data.oda.adapter.dtp
org.eclipse.birt.report.tests
org.eclipse.birt.report.tests.viewer.
Sit back and wait for the auto-build to finish.
Do we need to worry about the rather large number of warnings?
Cheers,
Al.
Jason Weathersby wrote:
> Al,
>
> If you close the test project and data adapter projects the source
> should build fine. I am in the process of updating just about every
> page on the site. If you want to add an entry to the FAQ on building
> BIRT this would be great. The only issue I am having is documenting
> changing the web viewer example and re deploying it. There are
> essentially 3 ways to build BIRT:
>
> 1 - Check out the source
> 2 - Unzip the source download
> 3 - Use the BIRT builder project
>
>
> Post the error you are having and maybe I can help.
>
> Jason
>
> Allan Chandler wrote:
>> Jason et al, I'm not sure if I'm doing something incredibly wrong
>> here. I downloaded the 2.2 release all-in-one report designer,
>> created a CVS connection and downloaded the source to 2.2.
>>
>> It builds (or, more accurately, doesn't build) with 152 errors and
>> 29083 warnings. I can only assume, with these numbers, it's me doing
>> something wrong here.
>>
>> The first batch of errors appear to be related to non-existence of
>> dex/dom4j so I'll look into that but the instructions to just download
>> the allinone and get the cvs source don't seem to be all that's needed.
>>
>> If there's no up-to-date doco describing how to get a development
>> environment up and running fast for a new developer, I'd like to offer
>> to do it.
>>
>> Cheers,
>> Al.
>>
>>
>> Jason Weathersby wrote:
>>>
>>> We are updating these now. The 2.1.1 instructions will work for the
>>> tagged version. If you check out the BIRT source with the allinone
>>> download the source should build automatically. There is also a
>>> source download for each version, where you can extract all into a
>>> blank workspace, then open it and it should build. You can also
>>> build the source headless by using the instructions in the
>>> org.eclipse.birt.releng.birtbuilder project.
>>>
>>> Jason
>>>
>>> Allan Chandler wrote:
>>>> How does one go about building BIRT from scratch? The only
>>>> instructions seem to be for 2.1.1 and they're inaccurate which
>>>> doesn't inspire a lot of confidence (such as mentioning
>>>> org.eclipse.birt.report.data.oda.flatfile.* stuff which I can't find
>>>> in CVS.
>>>>
>>>> Even when I follow the instruction (as best I can), there are still
>>>> a huge number of errors and warnings). What are the developers
>>>> using for their environments?
>>>>
>>>> Cheers,
>>>> Pax.
>>>>
|
|
|
Re: Building BIRT [message #246366 is a reply to message #246193] |
Wed, 04 July 2007 20:43   |
Eclipse User |
|
|
|
Allan Chandler wrote:
> Jason et al,
>
> Current status is as follows. I've managed to get a clean-ish build (no
> errors but 28000+ warnings) by doing the following.
>
> 1/ Install the BIRT report designer all-in-one Eclipse package and run it.
> 2/ Set Java compiler compliance to 5 (was 6).
> 3/ Add a JRE 5 runtime environment (I only had 6 on my desktop) and set
> it to the default.
> 4/ Open a CVS perspective.
> 5/ Create a CVS repository anonymous@dev.eclipse.org:/cvsroot/birt.
> 6/ Select the sourceBIRT_2_2_0_Release_20070625 version.
> 7/ Check out org.eclipse.birt.build.
> 8/ Back to the Java perspective, right-click on
> org.eclipse.birt.build/lib, import, general, filesystem, dom4j-1.6.1.jar
> (downloaded from the dom4j web site).
> 9/ Right-click that jar, build-path, add-to-build-path.
> 10/ Check out all the other projects from CVS except:
> org.eclipse.birt.data.oda.adapter.dtp
> org.eclipse.birt.report.tests
> org.eclipse.birt.report.tests.viewer.
>
> Sit back and wait for the auto-build to finish.
>
> Do we need to worry about the rather large number of warnings?
>
> Cheers,
> Al.
>
> Jason Weathersby wrote:
>> Al,
>>
>> If you close the test project and data adapter projects the source
>> should build fine. I am in the process of updating just about every
>> page on the site. If you want to add an entry to the FAQ on building
>> BIRT this would be great. The only issue I am having is documenting
>> changing the web viewer example and re deploying it. There are
>> essentially 3 ways to build BIRT:
>>
>> 1 - Check out the source
>> 2 - Unzip the source download
>> 3 - Use the BIRT builder project
>>
>>
>> Post the error you are having and maybe I can help.
>>
>> Jason
>>
>> Allan Chandler wrote:
>>> Jason et al, I'm not sure if I'm doing something incredibly wrong
>>> here. I downloaded the 2.2 release all-in-one report designer,
>>> created a CVS connection and downloaded the source to 2.2.
>>>
>>> It builds (or, more accurately, doesn't build) with 152 errors and
>>> 29083 warnings. I can only assume, with these numbers, it's me
>>> doing something wrong here.
>>>
>>> The first batch of errors appear to be related to non-existence of
>>> dex/dom4j so I'll look into that but the instructions to just
>>> download the allinone and get the cvs source don't seem to be all
>>> that's needed.
>>>
>>> If there's no up-to-date doco describing how to get a development
>>> environment up and running fast for a new developer, I'd like to
>>> offer to do it.
>>>
>>> Cheers,
>>> Al.
>>>
>>>
>>> Jason Weathersby wrote:
>>>>
>>>> We are updating these now. The 2.1.1 instructions will work for the
>>>> tagged version. If you check out the BIRT source with the allinone
>>>> download the source should build automatically. There is also a
>>>> source download for each version, where you can extract all into a
>>>> blank workspace, then open it and it should build. You can also
>>>> build the source headless by using the instructions in the
>>>> org.eclipse.birt.releng.birtbuilder project.
>>>>
>>>> Jason
>>>>
>>>> Allan Chandler wrote:
>>>>> How does one go about building BIRT from scratch? The only
>>>>> instructions seem to be for 2.1.1 and they're inaccurate which
>>>>> doesn't inspire a lot of confidence (such as mentioning
>>>>> org.eclipse.birt.report.data.oda.flatfile.* stuff which I can't
>>>>> find in CVS.
>>>>>
>>>>> Even when I follow the instruction (as best I can), there are still
>>>>> a huge number of errors and warnings). What are the developers
>>>>> using for their environments?
>>>>>
>>>>> Cheers,
>>>>> Pax.
>>>>>
Ignore the warning messages.
Cheers
Qs
|
|
|
Re: Building BIRT [message #246489 is a reply to message #246366] |
Thu, 05 July 2007 09:40   |
Eclipse User |
|
|
|
Originally posted by: jasonweathersby.alltel.net
I did not think the birt.build project was needed.
I will double check this.
Are you going to add this to the wiki?
Jason
qwang wrote:
> Allan Chandler wrote:
>> Jason et al,
>>
>> Current status is as follows. I've managed to get a clean-ish build
>> (no errors but 28000+ warnings) by doing the following.
>>
>> 1/ Install the BIRT report designer all-in-one Eclipse package and run
>> it.
>> 2/ Set Java compiler compliance to 5 (was 6).
>> 3/ Add a JRE 5 runtime environment (I only had 6 on my desktop) and
>> set it to the default.
>> 4/ Open a CVS perspective.
>> 5/ Create a CVS repository anonymous@dev.eclipse.org:/cvsroot/birt.
>> 6/ Select the sourceBIRT_2_2_0_Release_20070625 version.
>> 7/ Check out org.eclipse.birt.build.
>> 8/ Back to the Java perspective, right-click on
>> org.eclipse.birt.build/lib, import, general, filesystem,
>> dom4j-1.6.1.jar (downloaded from the dom4j web site).
>> 9/ Right-click that jar, build-path, add-to-build-path.
>> 10/ Check out all the other projects from CVS except:
>> org.eclipse.birt.data.oda.adapter.dtp
>> org.eclipse.birt.report.tests
>> org.eclipse.birt.report.tests.viewer.
>>
>> Sit back and wait for the auto-build to finish.
>>
>> Do we need to worry about the rather large number of warnings?
>>
>> Cheers,
>> Al.
>>
>> Jason Weathersby wrote:
>>> Al,
>>>
>>> If you close the test project and data adapter projects the source
>>> should build fine. I am in the process of updating just about every
>>> page on the site. If you want to add an entry to the FAQ on building
>>> BIRT this would be great. The only issue I am having is documenting
>>> changing the web viewer example and re deploying it. There are
>>> essentially 3 ways to build BIRT:
>>>
>>> 1 - Check out the source
>>> 2 - Unzip the source download
>>> 3 - Use the BIRT builder project
>>>
>>>
>>> Post the error you are having and maybe I can help.
>>>
>>> Jason
>>>
>>> Allan Chandler wrote:
>>>> Jason et al, I'm not sure if I'm doing something incredibly wrong
>>>> here. I downloaded the 2.2 release all-in-one report designer,
>>>> created a CVS connection and downloaded the source to 2.2.
>>>>
>>>> It builds (or, more accurately, doesn't build) with 152 errors and
>>>> 29083 warnings. I can only assume, with these numbers, it's me
>>>> doing something wrong here.
>>>>
>>>> The first batch of errors appear to be related to non-existence of
>>>> dex/dom4j so I'll look into that but the instructions to just
>>>> download the allinone and get the cvs source don't seem to be all
>>>> that's needed.
>>>>
>>>> If there's no up-to-date doco describing how to get a development
>>>> environment up and running fast for a new developer, I'd like to
>>>> offer to do it.
>>>>
>>>> Cheers,
>>>> Al.
>>>>
>>>>
>>>> Jason Weathersby wrote:
>>>>>
>>>>> We are updating these now. The 2.1.1 instructions will work for
>>>>> the tagged version. If you check out the BIRT source with the
>>>>> allinone download the source should build automatically. There is
>>>>> also a source download for each version, where you can extract all
>>>>> into a blank workspace, then open it and it should build. You can
>>>>> also build the source headless by using the instructions in the
>>>>> org.eclipse.birt.releng.birtbuilder project.
>>>>>
>>>>> Jason
>>>>>
>>>>> Allan Chandler wrote:
>>>>>> How does one go about building BIRT from scratch? The only
>>>>>> instructions seem to be for 2.1.1 and they're inaccurate which
>>>>>> doesn't inspire a lot of confidence (such as mentioning
>>>>>> org.eclipse.birt.report.data.oda.flatfile.* stuff which I can't
>>>>>> find in CVS.
>>>>>>
>>>>>> Even when I follow the instruction (as best I can), there are
>>>>>> still a huge number of errors and warnings). What are the
>>>>>> developers using for their environments?
>>>>>>
>>>>>> Cheers,
>>>>>> Pax.
>>>>>>
> Ignore the warning messages.
>
> Cheers
> Qs
|
|
|
Re: Building BIRT [message #246826 is a reply to message #246489] |
Mon, 09 July 2007 00:53   |
Eclipse User |
|
|
|
Jason et al.
You're right. It appears the birt.build project is just for the
automated headless overnight-type builds. I removed it without any
errors showing up. I also ditched the other birt.report.tests.*
projects. I had decided to add everything and then remove those that
wouldn't build without more JARs (when it was obvious they weren't needed).
There's a couple of other *.tests.* projects which may not be needed but
I have to get back to my day job at the moment so I'll look into those
later (or leave it for someone else to investigate).
Most of my original errors were caused by use of Java6 instead of Java5.
It appears some things which were deprecated in Java5 are actually
out of Java6 - no doubt developers will find out when/if they move up.
I've updated the Wiki for all to view and change if necessary. See
http://wiki.eclipse.org/BIRT/FAQ/Birt_Project#Q:_How_do_I_bu ild_BIRT.3F
for the entry.
Cheers,
Al.
Jason Weathersby wrote:
> I did not think the birt.build project was needed.
> I will double check this.
>
> Are you going to add this to the wiki?
>
> Jason
>
> qwang wrote:
>> Allan Chandler wrote:
>>> Jason et al,
>>>
>>> Current status is as follows. I've managed to get a clean-ish build
>>> (no errors but 28000+ warnings) by doing the following.
>>>
>>> 1/ Install the BIRT report designer all-in-one Eclipse package and
>>> run it.
>>> 2/ Set Java compiler compliance to 5 (was 6).
>>> 3/ Add a JRE 5 runtime environment (I only had 6 on my desktop) and
>>> set it to the default.
>>> 4/ Open a CVS perspective.
>>> 5/ Create a CVS repository anonymous@dev.eclipse.org:/cvsroot/birt.
>>> 6/ Select the sourceBIRT_2_2_0_Release_20070625 version.
>>> 7/ Check out org.eclipse.birt.build.
>>> 8/ Back to the Java perspective, right-click on
>>> org.eclipse.birt.build/lib, import, general, filesystem,
>>> dom4j-1.6.1.jar (downloaded from the dom4j web site).
>>> 9/ Right-click that jar, build-path, add-to-build-path.
>>> 10/ Check out all the other projects from CVS except:
>>> org.eclipse.birt.data.oda.adapter.dtp
>>> org.eclipse.birt.report.tests
>>> org.eclipse.birt.report.tests.viewer.
>>>
>>> Sit back and wait for the auto-build to finish.
>>>
>>> Do we need to worry about the rather large number of warnings?
>>>
>>> Cheers,
>>> Al.
>>>
>>> Jason Weathersby wrote:
>>>> Al,
>>>>
>>>> If you close the test project and data adapter projects the source
>>>> should build fine. I am in the process of updating just about every
>>>> page on the site. If you want to add an entry to the FAQ on
>>>> building BIRT this would be great. The only issue I am having is
>>>> documenting changing the web viewer example and re deploying it.
>>>> There are essentially 3 ways to build BIRT:
>>>>
>>>> 1 - Check out the source
>>>> 2 - Unzip the source download
>>>> 3 - Use the BIRT builder project
>>>>
>>>>
>>>> Post the error you are having and maybe I can help.
>>>>
>>>> Jason
>>>>
>>>> Allan Chandler wrote:
>>>>> Jason et al, I'm not sure if I'm doing something incredibly wrong
>>>>> here. I downloaded the 2.2 release all-in-one report designer,
>>>>> created a CVS connection and downloaded the source to 2.2.
>>>>>
>>>>> It builds (or, more accurately, doesn't build) with 152 errors and
>>>>> 29083 warnings. I can only assume, with these numbers, it's me
>>>>> doing something wrong here.
>>>>>
>>>>> The first batch of errors appear to be related to non-existence of
>>>>> dex/dom4j so I'll look into that but the instructions to just
>>>>> download the allinone and get the cvs source don't seem to be all
>>>>> that's needed.
>>>>>
>>>>> If there's no up-to-date doco describing how to get a development
>>>>> environment up and running fast for a new developer, I'd like to
>>>>> offer to do it.
>>>>>
>>>>> Cheers,
>>>>> Al.
>>>>>
>>>>>
>>>>> Jason Weathersby wrote:
>>>>>>
>>>>>> We are updating these now. The 2.1.1 instructions will work for
>>>>>> the tagged version. If you check out the BIRT source with the
>>>>>> allinone download the source should build automatically. There is
>>>>>> also a source download for each version, where you can extract all
>>>>>> into a blank workspace, then open it and it should build. You can
>>>>>> also build the source headless by using the instructions in the
>>>>>> org.eclipse.birt.releng.birtbuilder project.
>>>>>>
>>>>>> Jason
>>>>>>
>>>>>> Allan Chandler wrote:
>>>>>>> How does one go about building BIRT from scratch? The only
>>>>>>> instructions seem to be for 2.1.1 and they're inaccurate which
>>>>>>> doesn't inspire a lot of confidence (such as mentioning
>>>>>>> org.eclipse.birt.report.data.oda.flatfile.* stuff which I can't
>>>>>>> find in CVS.
>>>>>>>
>>>>>>> Even when I follow the instruction (as best I can), there are
>>>>>>> still a huge number of errors and warnings). What are the
>>>>>>> developers using for their environments?
>>>>>>>
>>>>>>> Cheers,
>>>>>>> Pax.
>>>>>>>
>> Ignore the warning messages.
>>
>> Cheers
>> Qs
|
|
|
Re: Building BIRT [message #246854 is a reply to message #246826] |
Mon, 09 July 2007 03:19   |
Eclipse User |
|
|
|
What I'd like to do now is get the entire process documented all the way
up to generating the correctly formed BIRT runtime file, with all
pre-requisite JARs and such included.
In other words, an install pack equivalent to the zip file downloadable
from the BIRT site (such as birt-runtime-2.1.3-S20070705.zip).
I can see nothing in the Eclipse workspace that was generated by the
Eclipse automatic build that matches the contents of this file (or the
zip file itself). All the JAR files seem to be the non-BIRT stuff such
as iText and Apache stuff. How do I package up the class files (which
are created in a build) into correct JARs? Any ideas, anyone?
Cheers,
Al.
Allan Chandler wrote:
> Jason et al.
>
> You're right. It appears the birt.build project is just for the
> automated headless overnight-type builds. I removed it without any
> errors showing up. I also ditched the other birt.report.tests.*
> projects. I had decided to add everything and then remove those that
> wouldn't build without more JARs (when it was obvious they weren't needed).
>
> There's a couple of other *.tests.* projects which may not be needed but
> I have to get back to my day job at the moment so I'll look into those
> later (or leave it for someone else to investigate).
>
> Most of my original errors were caused by use of Java6 instead of Java5.
> It appears some things which were deprecated in Java5 are actually out
> of Java6 - no doubt developers will find out when/if they move up.
>
> I've updated the Wiki for all to view and change if necessary. See
> http://wiki.eclipse.org/BIRT/FAQ/Birt_Project#Q:_How_do_I_bu ild_BIRT.3F
> for the entry.
>
> Cheers,
> Al.
>
> Jason Weathersby wrote:
>> I did not think the birt.build project was needed.
>> I will double check this.
>>
>> Are you going to add this to the wiki?
>>
>> Jason
>>
>> qwang wrote:
>>> Allan Chandler wrote:
>>>> Jason et al,
>>>>
>>>> Current status is as follows. I've managed to get a clean-ish build
>>>> (no errors but 28000+ warnings) by doing the following.
>>>>
>>>> 1/ Install the BIRT report designer all-in-one Eclipse package and
>>>> run it.
>>>> 2/ Set Java compiler compliance to 5 (was 6).
>>>> 3/ Add a JRE 5 runtime environment (I only had 6 on my desktop) and
>>>> set it to the default.
>>>> 4/ Open a CVS perspective.
>>>> 5/ Create a CVS repository anonymous@dev.eclipse.org:/cvsroot/birt.
>>>> 6/ Select the sourceBIRT_2_2_0_Release_20070625 version.
>>>> 7/ Check out org.eclipse.birt.build.
>>>> 8/ Back to the Java perspective, right-click on
>>>> org.eclipse.birt.build/lib, import, general, filesystem,
>>>> dom4j-1.6.1.jar (downloaded from the dom4j web site).
>>>> 9/ Right-click that jar, build-path, add-to-build-path.
>>>> 10/ Check out all the other projects from CVS except:
>>>> org.eclipse.birt.data.oda.adapter.dtp
>>>> org.eclipse.birt.report.tests
>>>> org.eclipse.birt.report.tests.viewer.
>>>>
>>>> Sit back and wait for the auto-build to finish.
>>>>
>>>> Do we need to worry about the rather large number of warnings?
>>>>
>>>> Cheers,
>>>> Al.
>>>>
>>>> Jason Weathersby wrote:
>>>>> Al,
>>>>>
>>>>> If you close the test project and data adapter projects the source
>>>>> should build fine. I am in the process of updating just about
>>>>> every page on the site. If you want to add an entry to the FAQ on
>>>>> building BIRT this would be great. The only issue I am having is
>>>>> documenting changing the web viewer example and re deploying it.
>>>>> There are essentially 3 ways to build BIRT:
>>>>>
>>>>> 1 - Check out the source
>>>>> 2 - Unzip the source download
>>>>> 3 - Use the BIRT builder project
>>>>>
>>>>>
>>>>> Post the error you are having and maybe I can help.
>>>>>
>>>>> Jason
>>>>>
>>>>> Allan Chandler wrote:
>>>>>> Jason et al, I'm not sure if I'm doing something incredibly
>>>>>> wrong here. I downloaded the 2.2 release all-in-one report
>>>>>> designer, created a CVS connection and downloaded the source to 2.2.
>>>>>>
>>>>>> It builds (or, more accurately, doesn't build) with 152 errors and
>>>>>> 29083 warnings. I can only assume, with these numbers, it's me
>>>>>> doing something wrong here.
>>>>>>
>>>>>> The first batch of errors appear to be related to non-existence of
>>>>>> dex/dom4j so I'll look into that but the instructions to just
>>>>>> download the allinone and get the cvs source don't seem to be all
>>>>>> that's needed.
>>>>>>
>>>>>> If there's no up-to-date doco describing how to get a development
>>>>>> environment up and running fast for a new developer, I'd like to
>>>>>> offer to do it.
>>>>>>
>>>>>> Cheers,
>>>>>> Al.
>>>>>>
>>>>>>
>>>>>> Jason Weathersby wrote:
>>>>>>>
>>>>>>> We are updating these now. The 2.1.1 instructions will work for
>>>>>>> the tagged version. If you check out the BIRT source with the
>>>>>>> allinone download the source should build automatically. There
>>>>>>> is also a source download for each version, where you can extract
>>>>>>> all into a blank workspace, then open it and it should build.
>>>>>>> You can also build the source headless by using the instructions
>>>>>>> in the org.eclipse.birt.releng.birtbuilder project.
>>>>>>>
>>>>>>> Jason
>>>>>>>
>>>>>>> Allan Chandler wrote:
>>>>>>>> How does one go about building BIRT from scratch? The only
>>>>>>>> instructions seem to be for 2.1.1 and they're inaccurate which
>>>>>>>> doesn't inspire a lot of confidence (such as mentioning
>>>>>>>> org.eclipse.birt.report.data.oda.flatfile.* stuff which I can't
>>>>>>>> find in CVS.
>>>>>>>>
>>>>>>>> Even when I follow the instruction (as best I can), there are
>>>>>>>> still a huge number of errors and warnings). What are the
>>>>>>>> developers using for their environments?
>>>>>>>>
>>>>>>>> Cheers,
>>>>>>>> Pax.
>>>>>>>>
>>> Ignore the warning messages.
>>>
>>> Cheers
>>> Qs
|
|
|
Re: Building BIRT [message #247011 is a reply to message #246854] |
Mon, 09 July 2007 16:45  |
Eclipse User |
|
|
|
Originally posted by: jasonweathersby.alltel.net
Al,
Thanks for doing this. I am going to add a section on building the
viewer, because the build viewer xml files are no longer supported.
With what you have documented so far and adding the viewer should allow
anyone to make their specific changes to a plugin/viewer and redeploy
it. I think this is more important than creating the complete zips.
There is also a way to do a headless build, which brings everything
together, but is more complicated.
Jason
Allan Chandler wrote:
> What I'd like to do now is get the entire process documented all the way
> up to generating the correctly formed BIRT runtime file, with all
> pre-requisite JARs and such included.
>
> In other words, an install pack equivalent to the zip file downloadable
> from the BIRT site (such as birt-runtime-2.1.3-S20070705.zip).
>
> I can see nothing in the Eclipse workspace that was generated by the
> Eclipse automatic build that matches the contents of this file (or the
> zip file itself). All the JAR files seem to be the non-BIRT stuff such
> as iText and Apache stuff. How do I package up the class files (which
> are created in a build) into correct JARs? Any ideas, anyone?
>
> Cheers,
> Al.
>
> Allan Chandler wrote:
>> Jason et al.
>>
>> You're right. It appears the birt.build project is just for the
>> automated headless overnight-type builds. I removed it without any
>> errors showing up. I also ditched the other birt.report.tests.*
>> projects. I had decided to add everything and then remove those that
>> wouldn't build without more JARs (when it was obvious they weren't
>> needed).
>>
>> There's a couple of other *.tests.* projects which may not be needed
>> but I have to get back to my day job at the moment so I'll look into
>> those later (or leave it for someone else to investigate).
>>
>> Most of my original errors were caused by use of Java6 instead of
>> Java5. It appears some things which were deprecated in Java5 are
>> actually out of Java6 - no doubt developers will find out when/if they
>> move up.
>>
>> I've updated the Wiki for all to view and change if necessary. See
>> http://wiki.eclipse.org/BIRT/FAQ/Birt_Project#Q:_How_do_I_bu ild_BIRT.3F
>> for the entry.
>>
>> Cheers,
>> Al.
>>
>> Jason Weathersby wrote:
>>> I did not think the birt.build project was needed.
>>> I will double check this.
>>>
>>> Are you going to add this to the wiki?
>>>
>>> Jason
>>>
>>> qwang wrote:
>>>> Allan Chandler wrote:
>>>>> Jason et al,
>>>>>
>>>>> Current status is as follows. I've managed to get a clean-ish
>>>>> build (no errors but 28000+ warnings) by doing the following.
>>>>>
>>>>> 1/ Install the BIRT report designer all-in-one Eclipse package and
>>>>> run it.
>>>>> 2/ Set Java compiler compliance to 5 (was 6).
>>>>> 3/ Add a JRE 5 runtime environment (I only had 6 on my desktop) and
>>>>> set it to the default.
>>>>> 4/ Open a CVS perspective.
>>>>> 5/ Create a CVS repository anonymous@dev.eclipse.org:/cvsroot/birt.
>>>>> 6/ Select the sourceBIRT_2_2_0_Release_20070625 version.
>>>>> 7/ Check out org.eclipse.birt.build.
>>>>> 8/ Back to the Java perspective, right-click on
>>>>> org.eclipse.birt.build/lib, import, general, filesystem,
>>>>> dom4j-1.6.1.jar (downloaded from the dom4j web site).
>>>>> 9/ Right-click that jar, build-path, add-to-build-path.
>>>>> 10/ Check out all the other projects from CVS except:
>>>>> org.eclipse.birt.data.oda.adapter.dtp
>>>>> org.eclipse.birt.report.tests
>>>>> org.eclipse.birt.report.tests.viewer.
>>>>>
>>>>> Sit back and wait for the auto-build to finish.
>>>>>
>>>>> Do we need to worry about the rather large number of warnings?
>>>>>
>>>>> Cheers,
>>>>> Al.
>>>>>
>>>>> Jason Weathersby wrote:
>>>>>> Al,
>>>>>>
>>>>>> If you close the test project and data adapter projects the source
>>>>>> should build fine. I am in the process of updating just about
>>>>>> every page on the site. If you want to add an entry to the FAQ on
>>>>>> building BIRT this would be great. The only issue I am having is
>>>>>> documenting changing the web viewer example and re deploying it.
>>>>>> There are essentially 3 ways to build BIRT:
>>>>>>
>>>>>> 1 - Check out the source
>>>>>> 2 - Unzip the source download
>>>>>> 3 - Use the BIRT builder project
>>>>>>
>>>>>>
>>>>>> Post the error you are having and maybe I can help.
>>>>>>
>>>>>> Jason
>>>>>>
>>>>>> Allan Chandler wrote:
>>>>>>> Jason et al, I'm not sure if I'm doing something incredibly
>>>>>>> wrong here. I downloaded the 2.2 release all-in-one report
>>>>>>> designer, created a CVS connection and downloaded the source to 2.2.
>>>>>>>
>>>>>>> It builds (or, more accurately, doesn't build) with 152 errors
>>>>>>> and 29083 warnings. I can only assume, with these numbers, it's
>>>>>>> me doing something wrong here.
>>>>>>>
>>>>>>> The first batch of errors appear to be related to non-existence
>>>>>>> of dex/dom4j so I'll look into that but the instructions to just
>>>>>>> download the allinone and get the cvs source don't seem to be all
>>>>>>> that's needed.
>>>>>>>
>>>>>>> If there's no up-to-date doco describing how to get a development
>>>>>>> environment up and running fast for a new developer, I'd like to
>>>>>>> offer to do it.
>>>>>>>
>>>>>>> Cheers,
>>>>>>> Al.
>>>>>>>
>>>>>>>
>>>>>>> Jason Weathersby wrote:
>>>>>>>>
>>>>>>>> We are updating these now. The 2.1.1 instructions will work for
>>>>>>>> the tagged version. If you check out the BIRT source with the
>>>>>>>> allinone download the source should build automatically. There
>>>>>>>> is also a source download for each version, where you can
>>>>>>>> extract all into a blank workspace, then open it and it should
>>>>>>>> build. You can also build the source headless by using the
>>>>>>>> instructions in the org.eclipse.birt.releng.birtbuilder project.
>>>>>>>>
>>>>>>>> Jason
>>>>>>>>
>>>>>>>> Allan Chandler wrote:
>>>>>>>>> How does one go about building BIRT from scratch? The only
>>>>>>>>> instructions seem to be for 2.1.1 and they're inaccurate which
>>>>>>>>> doesn't inspire a lot of confidence (such as mentioning
>>>>>>>>> org.eclipse.birt.report.data.oda.flatfile.* stuff which I can't
>>>>>>>>> find in CVS.
>>>>>>>>>
>>>>>>>>> Even when I follow the instruction (as best I can), there are
>>>>>>>>> still a huge number of errors and warnings). What are the
>>>>>>>>> developers using for their environments?
>>>>>>>>>
>>>>>>>>> Cheers,
>>>>>>>>> Pax.
>>>>>>>>>
>>>> Ignore the warning messages.
>>>>
>>>> Cheers
>>>> Qs
|
|
|
Goto Forum:
Current Time: Sat Jun 07 20:55:18 EDT 2025
Powered by FUDForum. Page generated in 0.03716 seconds
|