|Re: Question about buildDirectory and pluginPath [message #493681 is a reply to message #493648]
||Tue, 27 October 2009 14:24
| Andrew Niefer
Registered: July 2009
pluginPath is a File.pathSeparator (';' or ':') separated list of paths. |
This, together with buildDirectory forms a list of paths, where we
consider plugins found like this:
1) if <path>\plugins exists, then <path>\plugins\* are plugins
2) else if <path>\META-INF\MANIFEST.MF, or <path>\plugin.xml or
<path>\fragment.xml exit, then <path> is a plugin.
3) else if <path> is a folder, then <path>\* are plugins
4) else if <path> is a file ending in .jar, it is a plugin.
There is similar logic for features.
In your case, you want case (3), set pluginPath=plugins_test and
plugins_test/* will be found. This is comparable to setting pluginPath
to point to a workspace folder.
Matthias Kohles wrote:
> Hey everyone,
> i'm currently writing ant scripts to run a feature based headless build
> on a rcp application.
> Now I have a small question about the properties "buildDirectory" and
> First, the buildDirectory specifies the location of the
> plugins/features, so they have to be located in buildDirectory/plugins
> and buildDirectory/features.
> The problem now is, that i have splitted up the plugins and features in
> my buildDirectory. The core plugins/features are in the normal
> plugins/features directories and the plugins for testing are located for
> example in "plugins_test". Now i want to build all of the
> features/plugins, but to do this, i currently have to copy the
> plugins/features from "plugins_test" to "plugins" and so on, in order to
> get them built. Is there an easier way to do this and avoiding those
> copy operations???
> Second question: For what exactly is the pluginPath property? I read the
> description but i don't get it. Can i specify the location of my plugins
> in "plugins_test" for example with this property to get them built?
Powered by FUDForum
. Page generated in 0.03224 seconds