How to change GWT.xml with maven profile by a GWT project

2011-11-02 Thread Kotuboy
Currently, i am working on a gwt-maven project. As every GWT project, it 
has the following gwt.xml


> 
> 
>.
>. 
>...
>

I created another gwt.xml to set configuration for continous integration. 
(as defined 
here
.)


> 
> 
>.
>. 
>...
>

and here is my pom to manage the profiles and change the gwt.xml.


>   ci
> 
>   
> 
>   org.codehaus.mojo
>   gwt-maven-plugin
>   
>   com.myCompany.myProject
>   OBF
>   
>   
> 
>  
> 
> 
>



If i try to package the project with profile ci (mvn package -Pci), i get 
the following error.

[ERROR] Failed to execute goal 
org.codehaus.mojo:gwt-maven-plugin:2.3.0-1:compile (default) on project 
MyProject: GWT Module com.myCompany.myProject not found in project sources 
or resources. -> [Help 1]



Where is the problem? How can i solve it?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/Ce8prFlUT3AJ.
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.



Findbugs problem by GWT Project.

2011-10-31 Thread Kotuboy
I have a maven GWT project and i am using findbugs to analyze the code.


org.codehaus.mojo
findbugs-maven-plugin
2.3.2

1.6
com.mycompany.




But I am getting the following error and dont get any result from findbugs. 
The other plugins are working properly.

 [INFO] Fork Value is true
[java] The following classes needed for analysis were missing:
[java] com.google.gwt.core.client.GWTBridge
[java] Missing classes: 2 
[INFO] xmlOutput is false

 What is the difference of findbugs?? What do you recommend?


-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/wR4i3La3lgQJ.
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.



How to prevent/handle 500 and 404 error

2011-10-19 Thread Kotuboy
Hi,

It is a general question to understand the logic behind rpc call.
I have many rpc interfaces like (XService, XserviceAsync), (Yservice, 
YServiceAsync)... and the service classes on the Server part.
I want to catch all errors and exceptions and show the client a meanigful 
message.

How can I do that?
Currently I get for example the following message




-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/l_i3UqEE8fgJ.
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.



Re: Using images as Background image which are defined in client bundle

2011-10-19 Thread Kotuboy

Actually I did not want to cahnge the behaviour of standard CSS of GWT. But 
I want to to be able to manipulate it.

Therefore I created a CSS file which is identical with Standard GWT CSS 
file.

But it could not find the images defined in CSS.( i.e. 
url("images/hborder.png"))

To get this effect I put the image in resources folder. No effect.  (I hava 
a maven project. )

The second way was from Prakash. It is not exactly what i want but i have no 
choice at the moment.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/jkvEyEdeJRoJ.
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.



Re: Using images as Background image which are defined in client bundle

2011-10-17 Thread Kotuboy
Hi Prakash,

There is now another problem. 
I want the image as a background image of button. (As in Standard GWT 
button.)
It covers all button and I can not see the text on button. It does not look 
like a button but a normal image.

?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/wAcb_6lg6J4J.
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.



Re: Using images as Background image which are defined in client bundle

2011-10-17 Thread Kotuboy
Thanks Prakash..

I must change some properties but It works. 

Oleeyyy. :-))


-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/vywbe0LeKtUJ.
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.



Using images as Background image which are defined in client bundle

2011-10-17 Thread Kotuboy
Hi 
I am trying to use an image as a background of a button. I defined the image 
as a resource in client bundle.

@Source("image/hborder.png")
ImageResource hBorder();

In the css file, I tried to reference this image with the following code

.gwt-Button {   
margin: 0;
padding: 3px 5px;
text-decoration: none;
font-size: small;
cursor: pointer;
cursor: hand;   
gwt-image:'hBorder' ;
background: repeat-x 0px -27px;
border: 1px outset #ccc;

}

But the image is not shown. What should I change??

Where is the problem..?

Thanks

kayser

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/nkqRfT8JOmQJ.
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.



Aw: App runs dev-mode but doesn't run if deployed

2011-07-27 Thread Kotuboy
Hi,
I am the "log guy", I solved the problem. But i did not undrestand really 
why this error occured.
Everything works fine in dev-mode. But as soon as i deploy it on tomcat, we 
get the problem.

The problem was: In the Logactivity class I tried to test the logger with 
this.logger.log(Level.SEVERE, "Message"). 
I think at that time the logger was null. I don't know why. But it is only 
guess. The reason can be something else.

Maybe somebody has an idea???

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/ypwaH7AarX4J.
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.



Gin @Inject problem with Logger

2011-07-26 Thread Kotuboy
Hi,
I use in the constructor of a class Logger and instantiate it in a gin
Module.
the class has the @Inject annotation.

when i start the application, the following exception was thrown out.

[INFO] 1) A binding to java.util.logging.Logger was already configured
at [unknown source].

Any Idea??

-- 
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.