Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [wtp-dev] wtp cvs (today) and rdb resource

I debug this and find in LabelService#initializeLabelServiceProvider (line 67) this

String location = bundle.getLocation().substring(8) + iconLocation;

bundle.getLocaton() return this : update@/u1/eclipse-webtools/eclipse/plugins/org.eclipse.wst.rdb.core.ui_1.0.0/

and substring(8) is u1/eclipse-webtools/eclipse/plugins/org.eclipse.wst.rdb.core.ui_1.0.0/

It isn't good location for bundle.I don't know plugin , but it should be or

String location = bundle.getLocation().substring(7) + iconLocation;

or

String location = File.pathSeparator + bundle.getLocation().substring(8) + iconLocation;

regards
On Tuesday 21 December 2004 08:37 pm, snpe wrote:
> Hello,
> I build wtp from cvs (wtp-sdk).It work , but I have error with resource.
> For instance, WTP seek file in
> u1/eclipse-webtools/eclipse/plugins/org.eclipse.wst.rdb.core.ui_1.0.0/icons/database.gif 
> 
> File exists in 
> /u1/eclipse-webtools/eclipse/plugins/org.eclipse.wst.rdb.core.ui_1.0.0/icons/database.gif 
> 
> wtp don't add first character '/' 
> 
> This is only example - wtp get error for more resources and I can't work with rdb (server explorer)
> 
> regards
> Haris Peco
> _______________________________________________
> wtp-dev mailing list
> wtp-dev@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/wtp-dev
> 


Back to the top