[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[pde-dev] Re: Problem with missing productBuild/features directory
|
>>>>> Steinar Bang <sb@xxxxxx>:
[snip!]
> /media/sda8/username/p4/depot/myproj/MAIN/myproj_eclipse_myapp_export/target/eclipse/plugins/org.eclipse.pde.build_3.2.1.r321_v20060823/scripts/genericTargets.xml:57: Basedir /media/sda8/username/p4/depot/myproj/MAIN/myproj_eclipse_myapp_export/target/eclipse/plugins/org.eclipse.pde.build_3.2.1.r321_v20060823/scripts/productBuild/features/org.eclipse.pde.build.container.feature does not exist
An observation:
After a build, there is a:
myproj_eclipse_myapp_export/
features/
org.eclipse.pde.build.container.feature/
containing the following files:
build.properties
build.xml
feature.xml
Perhaps something wrong with the buildDir setting at that point?
I originally had in the maven plugin config (the full plugin config
below):
<buildProperties>
<buildDirectory>.</buildDirectory>
</buildProperties>
According to
http://mojo.codehaus.org/pde-maven-plugin/attach-mojo.html
<buildDirectory> belongs in <eclipseBuildScriptProperties> and not in
<buildProperties>, but unless I have it in <buildProperties> it doesn't
build right and put the generated scripts in a very strange place (two
levels up).
So what I tried was to set it in <eclipseBuildScriptProperties> as well,
ie.
<buildProperties>
<buildDirectory>.</buildDirectory>
</buildProperties>
<eclipseBuildScriptProperties>
<buildDirectory>.</buildDirectory>
</eclipseBuildScriptProperties>
but it didn't make a difference.
Hm... could it be that I in effect have baseLocation in a subdir of
buildDirectory that confuses PDEBuild?
<buildDirectory> is .
while
<baseLocation> is ./target/eclipse
in my setup