Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Odd BuildViewer.xml build failure
Odd BuildViewer.xml build failure [message #229690] Thu, 22 March 2007 22:20 Go to next message
Dave Orme is currently offline Dave OrmeFriend
Messages: 424
Registered: July 2009
Senior Member
I've been following the build instructions on 262 of "Integrating and
Extending...", but trying to apply them to branch 2_1_3. I get to the
last step on page 263 and get the following error from Ant.

[native2ascii] Converting 3 files from
C:\Cygwin\home\djo\workspaces\birt\org.eclipse.birt.data.oda \src\org\eclipse\birt\data\oda\util
to
C:\Cygwin\home\djo\workspaces\birt\org.eclipse.birt.data.oda \src\org\eclipse\birt\data\oda\util

BUILD FAILED
C:\Cygwin\home\djo\workspaces\birt\org.eclipse.birt.report.v iewer\BuildViewer.xml:217:
The following error occurred while executing this line:
C:\Cygwin\home\djo\workspaces\birt\org.eclipse.birt.report.m odel\BuildModel.xml:381:
The following error occurred while executing this line:
C:\Cygwin\home\djo\workspaces\birt\org.eclipse.birt.data.oda \BuildOda.xml:235:
Error starting Sun's native2ascii:

Apologies if this is a newbie question. Searching Eclipse.org for
native2ascii yields 0 hits. Thanks in advance for your assistance.


Dave Orme

--
Senior Consultant, Trainer
Coconut Palm Software, Inc.
http://www.coconut-palm-software.com
Re: Odd BuildViewer.xml build failure [message #229707 is a reply to message #229690] Thu, 22 March 2007 23:04 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jasonweathersby.alltel.net

David J. Orme wrote:
> I've been following the build instructions on 262 of "Integrating and
> Extending...", but trying to apply them to branch 2_1_3. I get to the
> last step on page 263 and get the following error from Ant.
>
> [native2ascii] Converting 3 files from
> C:\Cygwin\home\djo\workspaces\birt\org.eclipse.birt.data.oda \src\org\eclipse\birt\data\oda\util
> to
> C:\Cygwin\home\djo\workspaces\birt\org.eclipse.birt.data.oda \src\org\eclipse\birt\data\oda\util
>
>
> BUILD FAILED
> C:\Cygwin\home\djo\workspaces\birt\org.eclipse.birt.report.v iewer\BuildViewer.xml:217:
> The following error occurred while executing this line:
> C:\Cygwin\home\djo\workspaces\birt\org.eclipse.birt.report.m odel\BuildModel.xml:381:
> The following error occurred while executing this line:
> C:\Cygwin\home\djo\workspaces\birt\org.eclipse.birt.data.oda \BuildOda.xml:235:
> Error starting Sun's native2ascii:
>
> Apologies if this is a newbie question. Searching Eclipse.org for
> native2ascii yields 0 hits. Thanks in advance for your assistance.
>
>
> Dave Orme
>
Does the native2ascii command run from a command prompt?
What version of Java are you using?

Jason
Re: Odd BuildViewer.xml build failure [message #229848 is a reply to message #229707] Fri, 23 March 2007 14:21 Go to previous messageGo to next message
Dave Orme is currently offline Dave OrmeFriend
Messages: 424
Registered: July 2009
Senior Member
Jason Weathersby wrote:
> David J. Orme wrote:
>> I've been following the build instructions on 262 of "Integrating and
>> Extending...", but trying to apply them to branch 2_1_3. I get to the
>> last step on page 263 and get the following error from Ant.
>>
>> [native2ascii] Converting 3 files from
>> C:\Cygwin\home\djo\workspaces\birt\org.eclipse.birt.data.oda \src\org\eclipse\birt\data\oda\util
>> to
>> C:\Cygwin\home\djo\workspaces\birt\org.eclipse.birt.data.oda \src\org\eclipse\birt\data\oda\util
>>
>>
>> BUILD FAILED
>> C:\Cygwin\home\djo\workspaces\birt\org.eclipse.birt.report.v iewer\BuildViewer.xml:217:
>> The following error occurred while executing this line:
>> C:\Cygwin\home\djo\workspaces\birt\org.eclipse.birt.report.m odel\BuildModel.xml:381:
>> The following error occurred while executing this line:
>> C:\Cygwin\home\djo\workspaces\birt\org.eclipse.birt.data.oda \BuildOda.xml:235:
>> Error starting Sun's native2ascii:
>>
>> Apologies if this is a newbie question. Searching Eclipse.org for
>> native2ascii yields 0 hits. Thanks in advance for your assistance.
>>
>>
>> Dave Orme
>>
> Does the native2ascii command run from a command prompt?

Yes.

> What version of Java are you using?

Java 6.


Regards,

Dave
--
Senior Consultant, Trainer
Coconut Palm Software, Inc.
http://www.coconut-palm-software.com
Re: Odd BuildViewer.xml build failure [message #229861 is a reply to message #229848] Fri, 23 March 2007 14:50 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jasonweathersby.alltel.net

I built the 2.1.3 branch last night. I set the java compiler settings
to 1.4 and had to add org.eclipse.birt.report.model.util to the exported
packages in the org.eclipse.birt.report.model plugin. After making
that change and adding the two external itext jars my build worked. I
also built the viewer running BuildViewer.xml. I am using Java 5.
I wonder if this is the issue. I assume you have eclipse.home set.

The line it is failing on in your build is
<native2ascii encoding="GBK"
src="${src}/org/eclipse/birt/data/oda/util"
dest="${src}/org/eclipse/birt/data/oda/util"
ext=".java"
includes="OdaResources_zh_CN.msg"
/>

Does the zh_CN.msg file exist in your org.eclipse.birt.data.oda plugin?

Jason


David J. Orme wrote:
> Jason Weathersby wrote:
>> David J. Orme wrote:
>>> I've been following the build instructions on 262 of "Integrating and
>>> Extending...", but trying to apply them to branch 2_1_3. I get to
>>> the last step on page 263 and get the following error from Ant.
>>>
>>> [native2ascii] Converting 3 files from
>>> C:\Cygwin\home\djo\workspaces\birt\org.eclipse.birt.data.oda \src\org\eclipse\birt\data\oda\util
>>> to
>>> C:\Cygwin\home\djo\workspaces\birt\org.eclipse.birt.data.oda \src\org\eclipse\birt\data\oda\util
>>>
>>>
>>> BUILD FAILED
>>> C:\Cygwin\home\djo\workspaces\birt\org.eclipse.birt.report.v iewer\BuildViewer.xml:217:
>>> The following error occurred while executing this line:
>>> C:\Cygwin\home\djo\workspaces\birt\org.eclipse.birt.report.m odel\BuildModel.xml:381:
>>> The following error occurred while executing this line:
>>> C:\Cygwin\home\djo\workspaces\birt\org.eclipse.birt.data.oda \BuildOda.xml:235:
>>> Error starting Sun's native2ascii:
>>>
>>> Apologies if this is a newbie question. Searching Eclipse.org for
>>> native2ascii yields 0 hits. Thanks in advance for your assistance.
>>>
>>>
>>> Dave Orme
>>>
>> Does the native2ascii command run from a command prompt?
>
> Yes.
>
>> What version of Java are you using?
>
> Java 6.
>
>
> Regards,
>
> Dave
Re: Odd BuildViewer.xml build failure [message #229938 is a reply to message #229861] Fri, 23 March 2007 18:30 Go to previous messageGo to next message
Dave Orme is currently offline Dave OrmeFriend
Messages: 424
Registered: July 2009
Senior Member
Jason Weathersby wrote:
> I built the 2.1.3 branch last night. I set the java compiler settings
> to 1.4 and had to add org.eclipse.birt.report.model.util to the exported
> packages in the org.eclipse.birt.report.model plugin. After making
> that change and adding the two external itext jars my build worked. I
> also built the viewer running BuildViewer.xml. I am using Java 5.
> I wonder if this is the issue. I assume you have eclipse.home set.
>
> The line it is failing on in your build is
> <native2ascii encoding="GBK"
> src="${src}/org/eclipse/birt/data/oda/util"
> dest="${src}/org/eclipse/birt/data/oda/util"
> ext=".java"
> includes="OdaResources_zh_CN.msg"
> />
>
> Does the zh_CN.msg file exist in your org.eclipse.birt.data.oda plugin?
>
> Jason
>
>
> David J. Orme wrote:
>> Jason Weathersby wrote:
>>> David J. Orme wrote:
>>>> I've been following the build instructions on 262 of "Integrating
>>>> and Extending...", but trying to apply them to branch 2_1_3. I get
>>>> to the last step on page 263 and get the following error from Ant.
>>>>
>>>> [native2ascii] Converting 3 files from
>>>> C:\Cygwin\home\djo\workspaces\birt\org.eclipse.birt.data.oda \src\org\eclipse\birt\data\oda\util
>>>> to
>>>> C:\Cygwin\home\djo\workspaces\birt\org.eclipse.birt.data.oda \src\org\eclipse\birt\data\oda\util
>>>>
>>>>
>>>> BUILD FAILED
>>>> C:\Cygwin\home\djo\workspaces\birt\org.eclipse.birt.report.v iewer\BuildViewer.xml:217:
>>>> The following error occurred while executing this line:
>>>> C:\Cygwin\home\djo\workspaces\birt\org.eclipse.birt.report.m odel\BuildModel.xml:381:
>>>> The following error occurred while executing this line:
>>>> C:\Cygwin\home\djo\workspaces\birt\org.eclipse.birt.data.oda \BuildOda.xml:235:
>>>> Error starting Sun's native2ascii:
>>>>
>>>> Apologies if this is a newbie question. Searching Eclipse.org for
>>>> native2ascii yields 0 hits. Thanks in advance for your assistance.
>>>>
>>>>
>>>> Dave Orme
>>>>
>>> Does the native2ascii command run from a command prompt?
>>
>> Yes.
>>
>>> What version of Java are you using?
>>
>> Java 6.

My bad. I had a JRE selected to compile against, not an SDK, so the
path wasn't being set correctly before ANT was invoked.

Thanks again, Jason.


Regards,

Dave Orme

--
Senior Consultant, Trainer
Coconut Palm Software, Inc.
http://www.coconut-palm-software.com
Re: Odd BuildViewer.xml build failure [message #229946 is a reply to message #229938] Fri, 23 March 2007 18:37 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jasonweathersby.alltel.net

Glad to hear Dave.

David J. Orme wrote:
> Jason Weathersby wrote:
>> I built the 2.1.3 branch last night. I set the java compiler settings
>> to 1.4 and had to add org.eclipse.birt.report.model.util to the
>> exported packages in the org.eclipse.birt.report.model plugin. After
>> making
>> that change and adding the two external itext jars my build worked. I
>> also built the viewer running BuildViewer.xml. I am using Java 5.
>> I wonder if this is the issue. I assume you have eclipse.home set.
>>
>> The line it is failing on in your build is
>> <native2ascii encoding="GBK"
>> src="${src}/org/eclipse/birt/data/oda/util"
>> dest="${src}/org/eclipse/birt/data/oda/util"
>> ext=".java"
>> includes="OdaResources_zh_CN.msg"
>> />
>> Does the zh_CN.msg file exist in your org.eclipse.birt.data.oda plugin?
>>
>> Jason
>>
>>
>> David J. Orme wrote:
>>> Jason Weathersby wrote:
>>>> David J. Orme wrote:
>>>>> I've been following the build instructions on 262 of "Integrating
>>>>> and Extending...", but trying to apply them to branch 2_1_3. I get
>>>>> to the last step on page 263 and get the following error from Ant.
>>>>>
>>>>> [native2ascii] Converting 3 files from
>>>>> C:\Cygwin\home\djo\workspaces\birt\org.eclipse.birt.data.oda \src\org\eclipse\birt\data\oda\util
>>>>> to
>>>>> C:\Cygwin\home\djo\workspaces\birt\org.eclipse.birt.data.oda \src\org\eclipse\birt\data\oda\util
>>>>>
>>>>>
>>>>> BUILD FAILED
>>>>> C:\Cygwin\home\djo\workspaces\birt\org.eclipse.birt.report.v iewer\BuildViewer.xml:217:
>>>>> The following error occurred while executing this line:
>>>>> C:\Cygwin\home\djo\workspaces\birt\org.eclipse.birt.report.m odel\BuildModel.xml:381:
>>>>> The following error occurred while executing this line:
>>>>> C:\Cygwin\home\djo\workspaces\birt\org.eclipse.birt.data.oda \BuildOda.xml:235:
>>>>> Error starting Sun's native2ascii:
>>>>>
>>>>> Apologies if this is a newbie question. Searching Eclipse.org for
>>>>> native2ascii yields 0 hits. Thanks in advance for your assistance.
>>>>>
>>>>>
>>>>> Dave Orme
>>>>>
>>>> Does the native2ascii command run from a command prompt?
>>>
>>> Yes.
>>>
>>>> What version of Java are you using?
>>>
>>> Java 6.
>
> My bad. I had a JRE selected to compile against, not an SDK, so the
> path wasn't being set correctly before ANT was invoked.
>
> Thanks again, Jason.
>
>
> Regards,
>
> Dave Orme
>
Re: Odd BuildViewer.xml build failure [message #229954 is a reply to message #229946] Fri, 23 March 2007 19:14 Go to previous messageGo to next message
Dave Orme is currently offline Dave OrmeFriend
Messages: 424
Registered: July 2009
Senior Member
I got everything built. FYI: I had to import org.apache.batik,
org.apache.batik.pdf, and org.apache.xerces plugins into my workspace in
order for everything to build.

Does this sound right or should I file a bug?


Regards,

Dave Orme

Jason Weathersby wrote:
> Glad to hear Dave.
>
> David J. Orme wrote:
>> Jason Weathersby wrote:
>>> I built the 2.1.3 branch last night. I set the java compiler
>>> settings to 1.4 and had to add org.eclipse.birt.report.model.util to
>>> the exported packages in the org.eclipse.birt.report.model plugin.
>>> After making
>>> that change and adding the two external itext jars my build worked.
>>> I also built the viewer running BuildViewer.xml. I am using Java 5.
>>> I wonder if this is the issue. I assume you have eclipse.home set.
>>>
>>> The line it is failing on in your build is
>>> <native2ascii encoding="GBK"
>>> src="${src}/org/eclipse/birt/data/oda/util"
>>> dest="${src}/org/eclipse/birt/data/oda/util"
>>> ext=".java"
>>> includes="OdaResources_zh_CN.msg"
>>> /> Does the zh_CN.msg file exist in your
>>> org.eclipse.birt.data.oda plugin?
>>>
>>> Jason
>>>
>>>
>>> David J. Orme wrote:
>>>> Jason Weathersby wrote:
>>>>> David J. Orme wrote:
>>>>>> I've been following the build instructions on 262 of "Integrating
>>>>>> and Extending...", but trying to apply them to branch 2_1_3. I
>>>>>> get to the last step on page 263 and get the following error from
>>>>>> Ant.
>>>>>>
>>>>>> [native2ascii] Converting 3 files from
>>>>>> C:\Cygwin\home\djo\workspaces\birt\org.eclipse.birt.data.oda \src\org\eclipse\birt\data\oda\util
>>>>>> to
>>>>>> C:\Cygwin\home\djo\workspaces\birt\org.eclipse.birt.data.oda \src\org\eclipse\birt\data\oda\util
>>>>>>
>>>>>>
>>>>>> BUILD FAILED
>>>>>> C:\Cygwin\home\djo\workspaces\birt\org.eclipse.birt.report.v iewer\BuildViewer.xml:217:
>>>>>> The following error occurred while executing this line:
>>>>>> C:\Cygwin\home\djo\workspaces\birt\org.eclipse.birt.report.m odel\BuildModel.xml:381:
>>>>>> The following error occurred while executing this line:
>>>>>> C:\Cygwin\home\djo\workspaces\birt\org.eclipse.birt.data.oda \BuildOda.xml:235:
>>>>>> Error starting Sun's native2ascii:
>>>>>>
>>>>>> Apologies if this is a newbie question. Searching Eclipse.org for
>>>>>> native2ascii yields 0 hits. Thanks in advance for your assistance.
>>>>>>
>>>>>>
>>>>>> Dave Orme
>>>>>>
>>>>> Does the native2ascii command run from a command prompt?
>>>>
>>>> Yes.
>>>>
>>>>> What version of Java are you using?
>>>>
>>>> Java 6.
>>
>> My bad. I had a JRE selected to compile against, not an SDK, so the
>> path wasn't being set correctly before ANT was invoked.
>>
>> Thanks again, Jason.
>>
>>
>> Regards,
>>
>> Dave Orme
>>


--
Senior Consultant, Trainer
Coconut Palm Software, Inc.
http://www.coconut-palm-software.com
Re: Odd BuildViewer.xml build failure [message #230236 is a reply to message #229954] Mon, 26 March 2007 03:32 Go to previous message
Eclipse UserFriend
Originally posted by: jasonweathersby.alltel.net

Dave,

What BIRT package did you have installed when you started building the
source? The allinone or the framework or neither? I may need to update
the build docs to reflect this requirement. I used the allinone, and
the batik files existed in my environment.

Jason

David J. Orme wrote:
> I got everything built. FYI: I had to import org.apache.batik,
> org.apache.batik.pdf, and org.apache.xerces plugins into my workspace in
> order for everything to build.
>
> Does this sound right or should I file a bug?
>
>
> Regards,
>
> Dave Orme
>
> Jason Weathersby wrote:
>> Glad to hear Dave.
>>
>> David J. Orme wrote:
>>> Jason Weathersby wrote:
>>>> I built the 2.1.3 branch last night. I set the java compiler
>>>> settings to 1.4 and had to add org.eclipse.birt.report.model.util to
>>>> the exported packages in the org.eclipse.birt.report.model plugin.
>>>> After making
>>>> that change and adding the two external itext jars my build worked.
>>>> I also built the viewer running BuildViewer.xml. I am using Java 5.
>>>> I wonder if this is the issue. I assume you have eclipse.home set.
>>>>
>>>> The line it is failing on in your build is
>>>> <native2ascii encoding="GBK"
>>>> src="${src}/org/eclipse/birt/data/oda/util"
>>>> dest="${src}/org/eclipse/birt/data/oda/util"
>>>> ext=".java"
>>>> includes="OdaResources_zh_CN.msg"
>>>> /> Does the zh_CN.msg file exist in your
>>>> org.eclipse.birt.data.oda plugin?
>>>>
>>>> Jason
>>>>
>>>>
>>>> David J. Orme wrote:
>>>>> Jason Weathersby wrote:
>>>>>> David J. Orme wrote:
>>>>>>> I've been following the build instructions on 262 of "Integrating
>>>>>>> and Extending...", but trying to apply them to branch 2_1_3. I
>>>>>>> get to the last step on page 263 and get the following error from
>>>>>>> Ant.
>>>>>>>
>>>>>>> [native2ascii] Converting 3 files from
>>>>>>> C:\Cygwin\home\djo\workspaces\birt\org.eclipse.birt.data.oda \src\org\eclipse\birt\data\oda\util
>>>>>>> to
>>>>>>> C:\Cygwin\home\djo\workspaces\birt\org.eclipse.birt.data.oda \src\org\eclipse\birt\data\oda\util
>>>>>>>
>>>>>>>
>>>>>>> BUILD FAILED
>>>>>>> C:\Cygwin\home\djo\workspaces\birt\org.eclipse.birt.report.v iewer\BuildViewer.xml:217:
>>>>>>> The following error occurred while executing this line:
>>>>>>> C:\Cygwin\home\djo\workspaces\birt\org.eclipse.birt.report.m odel\BuildModel.xml:381:
>>>>>>> The following error occurred while executing this line:
>>>>>>> C:\Cygwin\home\djo\workspaces\birt\org.eclipse.birt.data.oda \BuildOda.xml:235:
>>>>>>> Error starting Sun's native2ascii:
>>>>>>>
>>>>>>> Apologies if this is a newbie question. Searching Eclipse.org
>>>>>>> for native2ascii yields 0 hits. Thanks in advance for your
>>>>>>> assistance.
>>>>>>>
>>>>>>>
>>>>>>> Dave Orme
>>>>>>>
>>>>>> Does the native2ascii command run from a command prompt?
>>>>>
>>>>> Yes.
>>>>>
>>>>>> What version of Java are you using?
>>>>>
>>>>> Java 6.
>>>
>>> My bad. I had a JRE selected to compile against, not an SDK, so the
>>> path wasn't being set correctly before ANT was invoked.
>>>
>>> Thanks again, Jason.
>>>
>>>
>>> Regards,
>>>
>>> Dave Orme
>>>
>
>
Previous Topic:to jason...
Next Topic:M5 Excel Emitter
Goto Forum:
  


Current Time: Tue Jul 16 10:06:23 GMT 2024

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

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

Back to the top