Are you trying mvn gwt:run or mvn package (production compile)? If the latter, try
mvn clean compile gwt:compile /dmc On Thu, Jan 20, 2011 at 3:44 AM, shpyo <cichosz.pi...@gmail.com> wrote: > Hello! > I got one problem. When I put some cosmetic change to my ui, then > build via maven i can't see any changes. > Do you know why is that happening? > > My code: > LoginIU.ui.xml > <!DOCTYPE ui:UiBinder SYSTEM "http://dl.google.com/gwt/DTD/xhtml.ent"> > <ui:UiBinder xmlns:ui="urn:ui:com.google.gwt.uibinder" > xmlns:g="urn:import:com.google.gwt.user.client.ui"> > <g:HTMLPanel ui:field="loginForm"> > <table> > <tr> > <td>Login:</td> > <td><g:TextBox ui:field="loginInput"></g:TextBox></td> > </tr> > <tr> > <td>Password123:</td> > <td><g:PasswordTextBox ui:field="passInput"></ > g:PasswordTextBox></td> > </tr> > <tr> > <td colspan="2"><g:Button ui:field="loginButton">Login</ > g:Button></td> > </tr> > </table> > </g:HTMLPanel> > </ui:UiBinder> > > LoginUI.java > package com.example.web.login.client; > > import com.google.gwt.core.client.GWT; > import com.google.gwt.event.dom.client.ClickEvent; > //import com.google.gwt.event.dom.client.ClickEvent; > import com.google.gwt.uibinder.client.UiBinder; > import com.google.gwt.uibinder.client.UiField; > import com.google.gwt.uibinder.client.UiHandler; > //import com.google.gwt.uibinder.client.UiHandler; > //import com.google.gwt.user.client.Window; > import com.google.gwt.user.client.Window; > import com.google.gwt.user.client.ui.Button; > import com.google.gwt.user.client.ui.HTMLPanel; > import com.google.gwt.user.client.ui.IsWidget; > import com.google.gwt.user.client.ui.TextBox; > import com.google.gwt.user.client.ui.PasswordTextBox; > import com.google.gwt.user.client.ui.Composite; > import com.google.gwt.user.client.ui.HasText; > import com.google.gwt.user.client.ui.Widget; > > public class LoginUI extends Composite implements HasText, IsWidget { > > private static LoginUIUiBinder uiBinder = > GWT.create(LoginUIUiBinder.class); > > interface LoginUIUiBinder extends UiBinder<HTMLPanel, LoginUI> { > } > > public LoginUI() { > initWidget(uiBinder.createAndBindUi(this)); > } > > @UiField HTMLPanel loginForm; > @UiField TextBox loginInput; > @UiField PasswordTextBox passInput; > @UiField Button loginButton; > > /*public LoginUI(String firstName) { > initWidget(uiBinder.createAndBindUi(this)); > //dupa.setText(firstName); > }*/ > > @UiHandler("loginButton") > void onClick(ClickEvent e) { > Window.alert( loginInput.getText()+ " " > +passInput.getText() ); > //doLogin( loginInput.getText(), passInput.getText() ); > } > > public void setText(String text) { > //dupa.setText(text); > } > > public String getText() { > return loginButton.getText(); > } > > } > > Login.java > package com.example.web.login.client; > > import com.google.gwt.core.client.EntryPoint; > import com.google.gwt.user.client.ui.RootPanel; > > public class Login implements EntryPoint { > > public void onModuleLoad() { > LoginUI l = new LoginUI(); > RootPanel.get().add(l); > } > } > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To post to this group, send email to google-web-toolkit@googlegroups.com. > To unsubscribe from this group, send email to > google-web-toolkit+unsubscr...@googlegroups.com<google-web-toolkit%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > -- David Chandler Developer Programs Engineer, Google Web Toolkit w: http://code.google.com/ b: http://googlewebtoolkit.blogspot.com/ t: @googledevtools -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.