[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[linuxtools-dev] Building linuxtools headless-ly
|
I'm new to Eclipse, coming from a pure C/automake/autoconf background,
and experimenting with RPM package building.
I wanted to build some of the Linuxtools plugins headlessly using a
pre-built Eclipse I got from some other team. We are *not* using
eclipse-build. but I took a look at how fedora might be doing in using
pdebuild.sh to build their packages.
I'm trying to use the following command to build
'org.eclipse.linuxtools.profiling':
java -cp /root/sandbox/eclipse/plugins/org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar org.eclipse.core.launcher.Main -application org.eclipse.ant.core.antRunner -debug -consolelog -Dtype=feature -Did=org.eclipse.linuxtools.profiling -DbaseLocation=/root/sandbox/eclipse -DsourceDirectory=/root/sandbox/profiling -DbuildDirectory=/root/sandbox/build -Dbuilder=/root/sandbox/eclipse/plugins/org.eclipse.pde.build_3.6.1.R36x_v20110111/templates/headless-build -DjavacSource=1.5 -DjavacTarget=1.5 -DforceContextQualifier=20110215 -f /root/sandbox/eclipse/plugins/org.eclipse.pde.build_3.6.1.R36x_v20110111/scripts/build.xml -vmargs -Duser.home=/root/sandbox/home
which is failing somewhere with this error message:
BUILD FAILED
/root/sandbox/eclipse/plugins/org.eclipse.pde.build_3.6.1.R36x_v20110111/scripts/build.xml:35: The following error occurred while executing this line:
/root/sandbox/eclipse/plugins/org.eclipse.pde.build_3.6.1.R36x_v20110111/scripts/build.xml:91: The following error occurred while executing this line:
/root/sandbox/eclipse/plugins/org.eclipse.pde.build_3.6.1.R36x_v20110111/templates/headless-build/customTargets.xml:12: The following error occurred while executing this line:
/root/sandbox/eclipse/plugins/org.eclipse.pde.build_3.6.1.R36x_v20110111/templates/headless-build/allElements.xml:16: The following error occurred while executing this line:
/root/sandbox/eclipse/plugins/org.eclipse.pde.build_3.6.1.R36x_v20110111/scripts/genericTargets.xml:107: Unable to find feature: org.eclipse.linuxtools.profiling.
(I could provide more verbose output if needed)
Am I missing something here? Is it even possible to do what I'm trying
to do or am I being naive?
my "/root/sandbox/eclipse" directory has eclipse-sdk with jdt, pde and
cdt. The "/root/sandbox/profiling" dir is a svn checkout with the
following dirs:
[root@tao profiling]# ls -l
total 384
-rwxr-xr-x. 1 root root 696 Feb 15 13:58 build.sh
-rw-r--r--. 1 root root 355484 Feb 15 16:26 build.sh.output
drwxr-xr-x. 2 root root 4096 Feb 15 13:28 org.eclipse.linuxtools.profiling-feature
drwxr-xr-x. 5 root root 4096 Feb 15 13:28 org.eclipse.linuxtools.profiling.launch
drwxr-xr-x. 7 root root 4096 Feb 15 13:28 org.eclipse.linuxtools.profiling.launch.remote
drwxr-xr-x. 2 root root 4096 Feb 15 13:28 org.eclipse.linuxtools.profiling.remote-feature
drwxr-xr-x. 2 root root 4096 Feb 15 13:28 org.eclipse.linuxtools.profiling.test-feature
drwxr-xr-x. 5 root root 4096 Feb 15 13:28 org.eclipse.linuxtools.profiling.tests
drwxr-xr-x. 5 root root 4096 Feb 15 13:28 org.eclipse.linuxtools.profiling.ui
drwxr-xr-x. 4 root root 4096 Feb 15 13:28 org.eclipse.linuxtools.profiling.ui.capability
--
Klaus Heinrich Kiwi | klausk@xxxxxxxxxx | http://blog.klauskiwi.com
Open Source Security blog : http://www.ratliff.net/blog
IBM Linux Technology Center : http://www.ibm.com/linux/ltc