Odd BuildViewer.xml build failure [message #229690] |
Thu, 22 March 2007 18:20  |
Eclipse User |
|
|
|
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 #229954 is a reply to message #229946] |
Fri, 23 March 2007 15:14   |
Eclipse User |
|
|
|
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] |
Sun, 25 March 2007 23:32  |
Eclipse User |
|
|
|
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
>>>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03584 seconds