Community
Participate
Working Groups
Build Identifier: The following exceptions occur during my cquery import and prevent successful execution of the build.product action http://pastebin.com/k3RMHCf3 Looks like the team provider wants to open a ui element. It happens with subversion and subclipse, does not matter which one is used. Reproducible: Always
Seems you have UI components installed in a headless environment. I would not recommend that since it adds things like security providers prompting for login/password. You need a clean headless install using our headless features.
Here is what I do to install the headless Eclipse: # install headless buckminster base product with p2 headless director echo Installing buckminster director/director -r http://download.eclipse.org/tools/buckminster/headless-3.6 -d buckminster-headless -p Buckminster -i org.eclipse.buckminster.cmdline.product -i org.eclipse.buckminster.core.headless.feature.feature.group -roaming cd buckminster-headless # install cvs feature echo Installing cvs support ./buckminster install http://download.eclipse.org/tools/buckminster/headless-3.6 org.eclipse.buckminster.cvs.headless.feature # install pde feature echo Installing pde support ./buckminster install http://download.eclipse.org/tools/buckminster/headless-3.6 org.eclipse.buckminster.pde.headless.feature # install emma feature echo Installing test support with junit and emma ./buckminster install http://download.eclipse.org/tools/buckminster/headless-3.6 org.eclipse.buckminster.emma.headless.feature # install svn feature echo Installing svn support #./buckminster install http://download.cloudsmith.com/buckminster/external-3.6 org.eclipse.buckminster.subclipse.headless.feature ./buckminster install http://download.cloudsmith.com/buckminster/external-3.6 org.eclipse.buckminster.subversive.headless.feature # install required emf features for generating the meta classes out of the meta models and customized aspect templates echo Installing required emf features ./buckminster install http://download.eclipse.org/releases/helios/ org.eclipse.emf.ecore ./buckminster install http://download.eclipse.org/releases/helios/ org.eclipse.emf.codegen.ecore ./buckminster install http://download.eclipse.org/releases/helios/ org.eclipse.emf.converter # install required gmf features for generating the diagram editors out of the editor models and customized aspect templates echo Installing required gmf features ./buckminster install http://download.eclipse.org/modeling/gmf/updates/interim/ org.eclipse.gmf.xpand ./buckminster install http://download.eclipse.org/modeling/gmf/updates/interim/ org.eclipse.gmf.tooling # add gmf extmodel echo Adding own gmf extension model ./buckminster install http://example.com/updates_extmodel/ com.example.gmf.extmodel.feature Any suggestions how I could find the problem?
My guess is that by installing the gmf tooling, you get the whole UI shebang. I don't think that's desirable. Is there any chance you can install just the headless parts needed for the actual generation? IIRC, gmf does provide headless support.
Oh, and b.t.w. The subversive and subclipse features are mutually exclusive. You should never install both.
(In reply to comment #3) > My guess is that by installing the gmf tooling, you get the whole UI shebang. I > don't think that's desirable. Is there any chance you can install just the > headless parts needed for the actual generation? IIRC, gmf does provide > headless support. Have to investigate this, thanks for the pointer! (In reply to comment #4) > Oh, and b.t.w. The subversive and subclipse features are mutually exclusive. > You should never install both. Yeah I know, thus one line is commented out by a # above :-)
Seems like there is no "slim feature" available. The gmf.xpand feature does not include the required codegen plugin which is only contained in the tooling feature. Which options do I have? Maybe it is possible to create an own wrapping feature for only the required plugins? But in this case one would have to mirror all the plugins probably...
Additional info: both the xpand and the tooling plugins make UI contributions (e.g. xpand or graphdef editors).
I think you should bring this up with gmf. Generators and such should really be runnable in a headless environment. If it's just a matter of packaging, perhaps whey are willing to help out.
Added https://bugs.eclipse.org/bugs/show_bug.cgi?id=315247 :-) Thanks again!
As I am not sure about when the gmf bug will be handled I worked around it temporarily by using two different headless Eclipse installations and different jobs in Hudson. One job does only the generation tasks and then archive the whole workspace. The other job gets this archifact (by using the Copy Workspace SCM plugin), extracts it and goes on by using the other Eclipse without any emf or gmf contributions.