Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [pde-dev] Exporting plug-in with linked resources?


PDE/Build which performs the export behind the scenes, has several problems with linked content.

In particular for this case, in the generated build.xml, the ant script used to copy files into the result assumes that the resources are all coming from within the plugin project.  There is no access to the workspace at this point, so the assumption is really that everything is under the plugin's directory on disk.

In order to get such external resources included in the result, you will need to use customBuildCallbacks (http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse.pde.doc.user/guide/tasks/pde_custom_callbacks.htm) to do it.
Use the pre.gather.bin.parts or post.gather.bin.parts targets.

-Andrew



"Ryan Huff" <rhuff@xxxxxxxxxxxxx>
Sent by: pde-dev-bounces@xxxxxxxxxxx

12/17/2007 05:55 PM

Please respond to
"Eclipse PDE general developers list." <pde-dev@xxxxxxxxxxx>

To
"Eclipse PDE general developers list." <pde-dev@xxxxxxxxxxx>
cc
Subject
[pde-dev] Exporting plug-in with linked resources?





Greetings,

I have a plug-in project set up within Eclipse, with one folder that is a linked resource.  On the Build Configuration page, I have selected many items from within the linked resource to include when I export the plug-in.  However, when I use the Export Wizard to do so, none of the items from my linked resource are included
L.  The export succeeds without error, and everything _else_ is in the exported directory…but it is like my linked resources are being totally ignored.  I _must_ be doing something wrong…any “gotchas” using linked resources in this manner?  Essentially, I have some libraries which I wish to include when I export the plug-in, but do not wish to physically include in my plug-in project.  Any help is _greatly_ appreciated.  Thanks!
 
- Ryan _______________________________________________
pde-dev mailing list
pde-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/pde-dev


Back to the top