Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[pde-dev] Problem with missing productBuild/features directory

Platform: Ubuntu 7.10, Intel Pentium M,
	  eclipse 3.2.2,
	  maven 2.0.4,
	  pde-maven-plugin (whatever was pulled in today when I first
	  started using it)

Note1: I'm unsure about the charter whether this list is for the
 developers of the PDEBuild, or for developers using PDEBuild.  I am of
 the latter category.  This seems to be the only PDE list or newsgroup
 available, so I'm chancing a question

Note2: Details of configuration and the full error messages further below.

I'm attempting to use the pde-maven-plugin to build a .product.
Exporting the product from the wizard in eclipse works.  The .product is
defined using plugin-dependencies, not features.

I get the error messages below.

Does anyone recognize these error messages?  And knows what to do to
lose them?  The directory at the final error message really doesn't
exist. 

Thanx!

Error message follows
/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/productBuild.xml:24: The following error occurred while executing this line:
/media/sda8/username/p4/depot/myproj/MAIN/myproj_eclipse_myapp_export/target/eclipse/plugins/org.eclipse.pde.build_3.2.1.r321_v20060823/scripts/build.xml:67: The following error occurred while executing this line:
/media/sda8/username/p4/depot/myproj/MAIN/myproj_eclipse_myapp_export/target/eclipse/plugins/org.eclipse.pde.build_3.2.1.r321_v20060823/templates/headless-build/customTargets.xml:96: The following error occurred while executing this line:
/media/sda8/username/p4/depot/myproj/MAIN/myproj_eclipse_myapp_export/target/eclipse/plugins/org.eclipse.pde.build_3.2.1.r321_v20060823/templates/headless-build/customTargets.xml:44: The following error occurred while executing this line:
/media/sda8/username/p4/depot/myproj/MAIN/myproj_eclipse_myapp_export/target/eclipse/plugins/org.eclipse.pde.build_3.2.1.r321_v20060823/templates/headless-build/customTargets.xml:10: The following error occurred while executing this line:
/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/allElements.xml:9: The following error occurred while executing this line:
/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



Here follow the details:

Here's what I've done:
 - Created pom.xml files on the top of all places plug-in projects that
   are used in my project's workspace lives (some projects come from CVS
   HEAD, some from a CVS branch, and some from two different places in
   perforce), that zips together the project sources living there 
 - Created a pom.xml in a different place that:
   - Builds an eclipse installation in target/eclipse, containing
     - The eclipse 3.2.2 SDK (Win32 version, even though I'm building on
       a linux box)
     - The eclipse 3.2.2 RCP delta pack
     - The eclipse 3.2.2 GEF SDK
     Basically, I'm using the approach outline here:
	http://docs.codehaus.org/display/MAVENUSER/Eclipse+Plugin
   - Unpack the zip files containing the plug-in project sources into
     the plugins/ subdir of the maven project
   - Create a plugin config for pde:attach
	http://mojo.codehaus.org/pde-maven-plugin/attach-mojo.html
     - Set the eclipseInstall parameter in the POM to point to the
       target/eclipse subdir of the maven project
     - Set the buildDir in the POM to the top dir of the maven project
 
There is also a buildConfiguration/build.properties that I've nicked
from a different PDE Build, and commented out all settings specific to
that build, and instead set them in buildProperties of the plug-in
config. 

Ie. the project has the following layout:
 myproj_eclipse_myapp_export/
  buildConfiguration/build.properties
  pom.xml
  plugins/
   com.somecompany.someplugin/
   ...
  target/
   eclipse/
    startup.jar
    features/
    plugins/


Here comes the full error log for the pde:attach execution:

[INFO] [pde:attach {execution: build-pde}]
[INFO] java -classpath /media/sda8/username/p4/depot/myproj/MAIN/myproj_eclipse_myapp_export/target/eclipse/startup.jar org.eclipse.core.launcher.Main -application org.eclipse.ant.core.antRunner -buildfile /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/productBuild.xml -Dbuilder=/media/sda8/username/p4/depot/myproj/MAIN/myproj_eclipse_myapp_export/buildConfiguration -DbuildDirectory=/media/sda8/username/p4/depot/myproj/MAIN/myproj_eclipse_myapp_export/../.. -DbuildTempFolder=/media/sda8/username/p4/depot/myproj/MAIN/myproj_eclipse_myapp_export/target/pdeTemp -DarchivePrefix=content_myapp -DbuildDirectory=. -DbuildId=content_myapp -DjavacFailOnError=true
Buildfile: /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/productBuild.xml

main:

preBuild:

preSetup:

checkLocalMaps:

getMapFiles:
   [concat] No existing files and no nested text, doing nothing

postSetup:

checkLocalBase:

getBaseComponents:

generateFeature:

fetch:

generateFeature:
[eclipse.generateFeature] Some inter-plug-in dependencies have not been satisfied.

generate:

preGenerate:

allElements:

allElementsDelegator:

init:

generateScript:
[eclipse.buildScript] Some inter-plug-in dependencies have not been satisfied.

postGenerate:

clean:

allElements:

allElementsDelegator:

init:

cleanElement:
     [echo] ./features/org.eclipse.pde.build.container.feature

BUILD FAILED
/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/productBuild.xml:24: The following error occurred while executing this line:
/media/sda8/username/p4/depot/myproj/MAIN/myproj_eclipse_myapp_export/target/eclipse/plugins/org.eclipse.pde.build_3.2.1.r321_v20060823/scripts/build.xml:67: The following error occurred while executing this line:
/media/sda8/username/p4/depot/myproj/MAIN/myproj_eclipse_myapp_export/target/eclipse/plugins/org.eclipse.pde.build_3.2.1.r321_v20060823/templates/headless-build/customTargets.xml:96: The following error occurred while executing this line:
/media/sda8/username/p4/depot/myproj/MAIN/myproj_eclipse_myapp_export/target/eclipse/plugins/org.eclipse.pde.build_3.2.1.r321_v20060823/templates/headless-build/customTargets.xml:44: The following error occurred while executing this line:
/media/sda8/username/p4/depot/myproj/MAIN/myproj_eclipse_myapp_export/target/eclipse/plugins/org.eclipse.pde.build_3.2.1.r321_v20060823/templates/headless-build/customTargets.xml:10: The following error occurred while executing this line:
/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/allElements.xml:9: The following error occurred while executing this line:
/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

Total time: 2 seconds
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error executing command line. Exit code:13
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 minute 19 seconds
[INFO] Finished at: Sun Nov 25 19:22:43 CET 2007
[INFO] Final Memory: 14M/26M
[INFO] ------------------------------------------------------------------------

Compilation exited abnormally with code 1 at Sun Nov 25 19:22:44



Back to the top