Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Clean generated files in rwt-resources folder
Clean generated files in rwt-resources folder [message #825188] Tue, 20 March 2012 15:26 Go to next message
sheng xr is currently offline sheng xrFriend
Messages: 2
Registered: March 2012
Junior Member
Hi,

I use gc.drawImage() to show images in Canvas as follows,
canvas.addPaintListener(new PaintListener() {
    public void paintControl(PaintEvent event) {
        GC gc = event.gc;
        gc.drawImage(bgImage, 0, 0);
        ....
    }
});

it works fine, but a lot of temp files are generated in [.metadata\.plugins\org.eclipse.rap.ui\context\rwt-resources\generated] work folder. The files in folder can be deleted automatically by RAP? If not, i think the files will become more and more.

Thanks

[Updated on: Tue, 20 March 2012 15:44]

Report message to a moderator

Re: Clean generated files in rwt-resources folder [message #832495 is a reply to message #825188] Fri, 30 March 2012 07:57 Go to previous message
Rüdiger Herrmann is currently offline Rüdiger HerrmannFriend
Messages: 335
Registered: July 2009
Senior Member
if the folder that you mentioned is located below Tomcats "work" folder,
then it will be eventually deleted by Tomcat.

From your experience, the amount of data generated isn't very high.
However, RAP currently does not clean up resources when the context it
belongs to is stopped. If you think this is necessary, please file an
enhancement request [1].

Regards,
Rüdiger

[1] http://eclipse.org/rap/bugs

On 20.03.2012 16:26, sheng xr wrote:
> Hi,
>
> I use gc.drawImage() to show images in Canvas as follows,
>
> canvas.addPaintListener(new PaintListener() {
> public void paintControl(PaintEvent event) {
> GC gc = event.gc;
> gc.drawImage(bgImage, 0, 0);
> ....
> }
> });
>
> it works fine, but temp files is generated in
> [.metadata\.plugins\org.eclipse.rap.ui\context\rwt-resources\generated]
> work folder. The files in folder can be deleted automatically by Tomcat?
> If not, i think the files will become more and more.
>
> Thanks
--
Rüdiger Herrmann
http://codeaffine.com
Previous Topic:Project Explorer in RAP
Next Topic:Clean generated files in rwt-resources folder
Goto Forum:
  


Current Time: Tue Apr 23 12:58:21 GMT 2024

Powered by FUDForum. Page generated in 0.03477 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top