Re: "[ERROR] Resource xyz.jpg not found" when running codeserver - works without codeserver (gwt2.51)

2013-12-16 Thread Olaf Raether
thanks again,

i found this - good sample too:
http://lumpofcode.blogspot.com/2012/11/configuring-gwt-codeserver-and.html

now everything is working fine. 
The only thing that is a little bit disappointing is, that I codeserver
can´t handlewithin module files

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: "[ERROR] Resource xyz.jpg not found" when running codeserver - works without codeserver (gwt2.51)

2013-12-16 Thread Thomas Broyer


On Monday, December 16, 2013 2:09:06 PM UTC+1, Olaf Raether wrote:
>
> Thanks, 
> your hint brought me back on the track.
> I added the related projects to the buildpath and the errors went away.
>
> Now everything is fine, except that I only get a list of files when i 
> click on module after opening the codeserver url.
>

See http://stackoverflow.com/a/18333050/116472 for a step-by-step 
explanation how to use superdevmode. 

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: "[ERROR] Resource xyz.jpg not found" when running codeserver - works without codeserver (gwt2.51)

2013-12-16 Thread Olaf Raether
Thanks, 
your hint brought me back on the track.
I added the related projects to the buildpath and the errors went away.

Now everything is fine, except that I only get a list of files when i click 
on module after opening the codeserver url.
But this is a different story. I will open up a new post for this.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: "[ERROR] Resource xyz.jpg not found" when running codeserver - works without codeserver (gwt2.51)

2013-12-16 Thread Thomas Broyer
Try adding the "src" folder to the classpath (like you'd do for DevMode or 
the Compiler) instead of passing it as a -src.

On Monday, December 16, 2013 11:19:45 AM UTC+1, Olaf Raether wrote:
>
> I´m starting codeserver from eclipse.
> This is standalone project. So there no additional classpath entries 
> except the ones needed for gwt and codeserver.
>  
> The arguments look like this
>
> -src "${workspace_loc:GwtProject}/src" 
> -src "${workspace_loc:DependentProject}/src"  de.project.mymodule
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: "[ERROR] Resource xyz.jpg not found" when running codeserver - works without codeserver (gwt2.51)

2013-12-16 Thread Olaf Raether
I´m starting codeserver from eclipse.
This is standalone project. So there no additional classpath entries except 
the ones needed for gwt and codeserver.
 
The arguments look like this

-src "${workspace_loc:GwtProject}/src" 
-src "${workspace_loc:DependentProject}/src"  de.project.mymodule


-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: "[ERROR] Resource xyz.jpg not found" when running codeserver - works without codeserver (gwt2.51)

2013-12-16 Thread Thomas Broyer
How are you launching the codeserver? (which classpath, which arguments)

On Monday, December 16, 2013 8:49:23 AM UTC+1, Olaf Raether wrote:
>
> I want to compile my project with codeserver.
> But when I do so I get the follow errors:
>
>
> Computing all possible rebind results for 
> 'de.epro.m3builder.client.ProductImages'
>   Rebinding de.epro.m3builder.client.ProductImages
>  Invoking generator 
> com.google.gwt.resources.rebind.context.InlineClientBundleGenerator
> Preparing method a600010Int135px
>Finding resources
>   [ERROR] Resource 
> de/epro/gwt/resources/images/products/A6000_10_int_135px.jpg not found. Is 
> the name specified as ClassLoader.getResource() would expect?
> Preparing method a600020Int135px
>Finding resources
>   [ERROR] Resource 
> de/epro/gwt/resources/images/products/A6000_20_int_135px.jpg not found. Is 
> the name specified as ClassLoader.getResource() would expect?
>
>
> But the images are at that path and it works fine without codeserver and 
> within the code everything looks fine. 
>
> public interface ProductImages extends ClientBundle {
>
> @Source("de/epro/gwt/resources/images/products/A6000_10_int_135px.jpg")
> ImageResource a600010Int135px();
> ...
> } 
>
> So how can I go ahead with that ?
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.