banyak yang @deprecated di Gwt-Ext


image hmm, gw sekarang lagi belajar GWT1.5.x

nah disitu tuh dah harus pake Java 1.5 keatas, jadi dah support annotation dan generic.

nah pas gw coba pake gwt-ext 2.0.5 wew gak disangka 😀

ternyata…

banyak yang deprecated ketika proses kompilasi dari java ke javascript 😀

padahal di sitursnya dah tertulis :

image

walaupun emang berhasil, cuma banyak WARNING di trace kompilasinya yang menyatakan kalo library gwt-ext masih pake gwt versi 1.4 kebawah

wew, sayang sekali, padahal gw suka banget ma gwt-ext, mudah2an nanti gak kayak gini lagi 😀

nich trace warningnya :

D:programminggwt_workspacegwtEXT>ButtonApplication-compile.cmd
Scanning source for uses of the deprecated gwt.typeArgs javadoc annotation; plea
se use Java parameterized types instead
   Type com.gwtext.client.data.NodeModel
      Field attributesAllowed
         [WARN] Deprecated use of gwt.typeArgs for field attributesAllowed; Plea
se use java.util.ArrayList as the field's type
      Field children
         [WARN] Deprecated use of gwt.typeArgs for field children; Please use ja
va.util.ArrayList as the field's type
      Field properties
         [WARN] Deprecated use of gwt.typeArgs for field properties; Please use
java.util.HashMap as the field's type
Compiling module echo.gwt.ext.ButtonApplication
Scanning for additional dependencies: jar:file:/C:/Programming/gwt-windows-1.5.3
/gwt-user.jar!/com/google/gwt/i18n/client/LocaleInfo.java
   Computing all possible rebind results for 'com.google.gwt.i18n.client.impl.Lo
caleInfoImpl'
      Rebinding com.google.gwt.i18n.client.impl.LocaleInfoImpl
         Scanning source for uses of the deprecated gwt.typeArgs javadoc annotat
ion; please use Java parameterized types instead
            Type com.gwtext.client.data.NodeModel
               Field attributesAllowed
                  [WARN] Deprecated use of gwt.typeArgs for field attributesAllo
wed; Please use java.util.ArrayList as the field's type
               Field children
                  [WARN] Deprecated use of gwt.typeArgs for field children; Plea
se use java.util.ArrayList as the field's type

               Field properties
                  [WARN] Deprecated use of gwt.typeArgs for field properties; Pl
ease use java.util.HashMap as the field's type
Scanning for additional dependencies: jar:file:/C:/Programming/gwt-windows-1.5.3
/gwt-user.jar!/com/google/gwt/user/client/ui/MenuBar.java
   Computing all possible rebind results for 'com.google.gwt.user.client.ui.Menu
Bar.MenuBarImages'
      Rebinding com.google.gwt.user.client.ui.MenuBar.MenuBarImages
         Scanning source for uses of the deprecated gwt.typeArgs javadoc annotat
ion; please use Java parameterized types instead
            Type com.gwtext.client.data.NodeModel
               Field attributesAllowed
                  [WARN] Deprecated use of gwt.typeArgs for field attributesAllo
wed; Please use java.util.ArrayList as the field's type
               Field children
                  [WARN] Deprecated use of gwt.typeArgs for field children; Plea
se use java.util.ArrayList as the field's type

               Field properties
                  [WARN] Deprecated use of gwt.typeArgs for field properties; Pl
ease use java.util.HashMap as the field's type
   Computing all possible rebind results for 'com.google.gwt.user.client.ui.Menu
Bar.MenuBarImagesRTL'
      Rebinding com.google.gwt.user.client.ui.MenuBar.MenuBarImagesRTL
         Scanning source for uses of the deprecated gwt.typeArgs javadoc annotat
ion; please use Java parameterized types instead
            Type com.gwtext.client.data.NodeModel
               Field attributesAllowed
                  [WARN] Deprecated use of gwt.typeArgs for field attributesAllo
wed; Please use java.util.ArrayList as the field's type
               Field children
                  [WARN] Deprecated use of gwt.typeArgs for field children; Plea
se use java.util.ArrayList as the field's type

               Field properties
                  [WARN] Deprecated use of gwt.typeArgs for field properties; Pl
ease use java.util.HashMap as the field's type
Scanning for additional dependencies: jar:file:/C:/Programming/gwt-windows-1.5.3
/gwt-user.jar!/com/google/gwt/i18n/client/DateTimeFormat.java
   Computing all possible rebind results for 'com.google.gwt.i18n.client.constan
ts.DateTimeConstants'
      Rebinding com.google.gwt.i18n.client.constants.DateTimeConstants
         Scanning source for uses of the deprecated gwt.typeArgs javadoc annotat
ion; please use Java parameterized types instead
            Type com.gwtext.client.data.NodeModel
               Field attributesAllowed
                  [WARN] Deprecated use of gwt.typeArgs for field attributesAllo
wed; Please use java.util.ArrayList as the field's type
               Field children
                  [WARN] Deprecated use of gwt.typeArgs for field children; Plea
se use java.util.ArrayList as the field's type

               Field properties
                  [WARN] Deprecated use of gwt.typeArgs for field properties; Pl
ease use java.util.HashMap as the field's type
Compilation succeeded
Linking compilation into D:programminggwt_workspacegwtEXTwwwecho.gwt.ext.Bu
ttonApplication
D:programminggwt_workspacegwtEXT>

bye 😀

Iklan

10 pemikiran pada “banyak yang @deprecated di Gwt-Ext

  1. mas aku mau namya dikit. bagaimana yah caranya bikin jFrame atau jDialog agar pas tampil trus user menekan tombol esc (escape), jFrame atau jDialog itu bisa langsung diexit atau di-close???tolong dijawab mas eeecchhoooooo…..

  2. Ping balik: Belajar JaVa « WAHYU FIGHTER

  3. Ping balik: Tutorial Java dari Eko Kurniawan Khannedy « nge-WP@net

  4. …nah disitu tuh dah harus pake Java 1.5 keatas, jadi dah support annotation dan generic…

    Mungkin lebih tepatnya J2EE 1.5 atau Java EE 5..

  5. Oke Hebat Banget…
    Tapi Saya Ingin Bertanya ?
    tau BufferedReader kan ??

    saya ingin pas menginput dari BufferedReader apa yang kita
    ketikan menjadi ****
    seperti memasukan Password gitu ?
    Apakah Kamu Bisa ????

  6. mas, kalo misalnya kita punya project dan mau projectnya di masukin GWT ext bisa ngga??

    apa kalo mau memulai membuat GWT (di IDE) harus dari NEW >> GWT Web Aplication? atau kita bisa masukin ke Aplikasi kita yang sudah kita buat?/

    thx

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s