Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[pde-build-dev] Copying PDE result resources in to workspace project

Hi All,

I have written a Plugin extending the AbstractUIPlugin.
The results resources were put into existing project of the workspace by using simply java directory copy.
If I simply copy the content then the project must be refreshed in order to eclipse to recognize those and import those to the workspace.
Is there a recommended way of doing this excluding the refresh of the workspace manually. Or is there a workspace refresh that we can trigger from the code.

I have seen that wst have a way to do this

org.eclipse.wst.command.internal.env.common.FileResourceUtils .
                        makeFolderPathAtLocation(context, 
                                targetPath,
                                monitor,
                                statusHandler);

but I dont wanna include my plugin on wtp relese.

Also I need to include the results (say generated jars at my project libs/)in to the classpath as well.
Whats the recommended way to do this.

Any help would be highly appreciated. Thanks in advance!

--
Regards
Lahiru 

Back to the top