yzhbest / google-plugin-for-eclipse

Automatically exported from code.google.com/p/google-plugin-for-eclipse
Eclipse Public License 1.0
0 stars 0 forks source link

Bogus validation: Resource file is missing #320

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Steps to reproduce:
1. Create ClientBundle interface and add a method which is annotated with 
Source annotation in the following way:

@ClientBundle.Source(value = 
"org/eclipse/xtend/gwt/stockwatcher/css/StockWatcher.css")
public abstract StockCssResource stock();

You will get an error: Resource file stock is missing. 

2. But If you remove ClientBundle part from the reference's name then the error 
is vanished:

@Source(value = "org/eclipse/xtend/gwt/stockwatcher/css/StockWatcher.css")
public abstract StockCssResource stock();

No errors anymore.

GWT: 2.7.3
GP: 3.8

Original issue reported on code.google.com by anton.k....@gmail.com on 4 Dec 2014 at 2:14