Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [pde-build-dev] PDE Target Root Folder - Is an Ant Property available that points tothis folder?


In 3.2 we introduced support where each plugins can specify custom steps for the build process without having to completly handcraft a build.xml.
Some of the callbacks offered give you access to the classpath used to compile the jars.
For more details see help > plugin development environment guide > Advanced PDE Build topics > Feature and plug-in custom build steps

HTH

PaScaL



"Lyndel McGee" <Lyndel.McGee@xxxxxxxxxxxxxx>
Sent by: pde-build-dev-bounces@xxxxxxxxxxx

06/29/2006 07:23 PM

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

To
<pde-build-dev@xxxxxxxxxxx>
cc
Subject
[pde-build-dev] PDE Target Root Folder - Is an Ant Property        available that points tothis folder?





As part of the PDE Plugin/Feature export step for a plugin that is NOT using custom build, a build.xml file is created that has explicit classpath entries to plugin bundles.  For example, my dependency might be org.eclipse.osgi and when the plugin is built, build.xml contains either a relative path ../../plugins/org.eclipse.osgi_1.0.0.jar or when the PDE target is on a different drive something like C:\target\eclipse\plugins.
 
Normally having this hidden from the user is perfectly OK, except when a Custom Build is used.  What I'd like to be able to do is to specify in my custom build file a classpath such as ${baseLocation}/plugins/org.eclipse.osgi_1.0.0.jar.  At this point, I can find no way via Ant properties to ascertain how I could resolve "baseLocation".  Is there some other property that Custom Build Files should be using?  Is this what the new "pluginPath" property introduced into GenericTargets.xml in release (3.2?) is purposed for?
 
If not, might I suggest that this be added?
 
TIA
Lyndel McGee


This e-mail transmission may contain information that is proprietary, privileged and/or confidential and is intended exclusively for the person(s) to whom it is addressed. Any use, copying, retention or disclosure by any person other than the intended recipient or the intended recipient's designees is strictly prohibited. If you are the intended recipient, you must treat the information in confidence and in accordance with all laws related to the privacy and confidentiality of such information. If you are not the intended recipient or their designee, please notify the sender immediately by return e-mail and delete all copies of this email, including all attachments.
_______________________________________________
pde-build-dev mailing list
pde-build-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/pde-build-dev


Back to the top