[DataBinding] Dependency on ICU4J [message #449034] |
Mon, 08 May 2006 16:54  |
Eclipse User |
|
|
|
Hello
I tried the JFace data binding provisional API and it really does seem
to make my life much easier. However, why do I have to provide ICU4J
(>3MB) to be able to run a JFace application that uses data binding?
3MB are quite heavy for a SWT or SWT/JFace application. Within an
Eclipse RCP application it might be OK, however, when I don't need date
conversion it should run without ICU4J, not?
Thanks in advance for clarification.
Christian
Here's the stacktrace I get (runtime error) when I try to run my test
application:
Exception in thread "main" java.lang.NoClassDefFoundError:
com/ibm/icu/text/DateFormat
at
org.eclipse.jface.internal.databinding.provisional.conversio n.DateConversionSupport. <init>(DateConversionSupport.java:38)
at
org.eclipse.jface.internal.databinding.provisional.validatio n.String2DateValidator. <init>(String2DateValidator.java:23)
at
org.eclipse.jface.internal.databinding.provisional.factories .DefaultBindSupportFactory$ValidatorRegistry. <init>(DefaultBindSupportFactory.java:283)
at
org.eclipse.jface.internal.databinding.provisional.factories .DefaultBindSupportFactory$ValidatorRegistry. <init>(DefaultBindSupportFactory.java:268)
at
org.eclipse.jface.internal.databinding.provisional.factories .DefaultBindSupportFactory. <init>(DefaultBindSupportFactory.java:48)
at
ch.dvbern.test.databinding.TestApplication.createContext(Tes tApplication.java:89)
at ch.dvbern.test.databinding.TestApplication.bind(TestApplicat ion.java:79)
at
ch.dvbern.test.databinding.TestApplication.createContents(Te stApplication.java:65)
at org.eclipse.jface.window.Window.create(Window.java:426)
at org.eclipse.jface.window.Window.open(Window.java:785)
at
ch.dvbern.test.databinding.TestApplication.main(TestApplicat ion.java:124)
|
|
|
Re: [DataBinding] Dependency on ICU4J [message #449065 is a reply to message #449034] |
Tue, 09 May 2006 22:20  |
Eclipse User |
|
|
|
http://wiki.eclipse.org/index.php/ICU4J#Replacement_Plug-in
"Christian Hauser" <c.hauser@active.ch> schrieb im Newsbeitrag
news:e3ob6i$gj1$1@utils.eclipse.org...
> Hello
>
> I tried the JFace data binding provisional API and it really does seem to
> make my life much easier. However, why do I have to provide ICU4J (>3MB)
> to be able to run a JFace application that uses data binding?
>
> 3MB are quite heavy for a SWT or SWT/JFace application. Within an Eclipse
> RCP application it might be OK, however, when I don't need date conversion
> it should run without ICU4J, not?
>
> Thanks in advance for clarification.
>
> Christian
>
> Here's the stacktrace I get (runtime error) when I try to run my test
> application:
>
> Exception in thread "main" java.lang.NoClassDefFoundError:
> com/ibm/icu/text/DateFormat
> at
> org.eclipse.jface.internal.databinding.provisional.conversio n.DateConversionSupport. <init>(DateConversionSupport.java:38)
> at
> org.eclipse.jface.internal.databinding.provisional.validatio n.String2DateValidator. <init>(String2DateValidator.java:23)
> at
> org.eclipse.jface.internal.databinding.provisional.factories .DefaultBindSupportFactory$ValidatorRegistry. <init>(DefaultBindSupportFactory.java:283)
> at
> org.eclipse.jface.internal.databinding.provisional.factories .DefaultBindSupportFactory$ValidatorRegistry. <init>(DefaultBindSupportFactory.java:268)
> at
> org.eclipse.jface.internal.databinding.provisional.factories .DefaultBindSupportFactory. <init>(DefaultBindSupportFactory.java:48)
> at
> ch.dvbern.test.databinding.TestApplication.createContext(Tes tApplication.java:89)
> at
> ch.dvbern.test.databinding.TestApplication.bind(TestApplicat ion.java:79)
> at
> ch.dvbern.test.databinding.TestApplication.createContents(Te stApplication.java:65)
> at org.eclipse.jface.window.Window.create(Window.java:426)
> at org.eclipse.jface.window.Window.open(Window.java:785)
> at
> ch.dvbern.test.databinding.TestApplication.main(TestApplicat ion.java:124)
|
|
|
Powered by
FUDForum. Page generated in 0.03318 seconds