[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [ptp-dev] Error with synchronized makefile build
|
Hi,
yes the RemoteMakeBuilder isn't used. One of the standard CDT builders is used (if I remember correctly, it depends on the project type, which builder that is). The SyncCommandLauncher is used to execute the command generated by the CDT builder on the remote machine.
Sorry I don't know how to get a IMakeBuilderInfo object for the CDT builder.
Roland
On Wed, Oct 12, 2011 at 7:41 PM, Wyatt Spear
<wspear@xxxxxxxxxxxxxx> wrote:
So, my previous testing with synchronized projects was only using the managed make. It get the error below using a standard makefile build with a synchronized project and I'm having trouble locating where/how the synchronized builder does it. I'm not seeing
any activity in ptp.rdt.sync/core/remotemake/RemoteMakeBuilder so I assume it is handled eslewhere. Any pointers would be appreciated.
The basic issue is, I'm trying to get the IMakeBuilderInfo object to do some pre-build checking, using:
final IMakeBuilderInfo info = MakeCorePlugin.createBuildInfo(thisProject, RemoteMakeBuilder.REMOTE_MAKE_BUILDER_ID);
This returns the error:
org.eclipse.core.runtime.CoreException: Missing Builder: org.eclipse.ptp.rdt.core.remoteMakeBuilder
at org.eclipse.cdt.make.internal.core.BuildInfoFactory$BuildInfoProject.<init>(BuildInfoFactory.java:464)
at org.eclipse.cdt.make.internal.core.BuildInfoFactory.create(BuildInfoFactory.java:539)
at org.eclipse.cdt.make.core.MakeCorePlugin.createBuildInfo(MakeCorePlugin.java:157)
at org.eclipse.ptp.etfw.internal.BuilderTool.standardMakeBuild(BuilderTool.java:211)
at org.eclipse.ptp.etfw.internal.BuilderTool.buildIndstrumented(BuilderTool.java:142)
at org.eclipse.ptp.etfw.internal.BuilderTool.run(BuilderTool.java:637)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
This checking may not be strictly necessary. A way to use my IProject object to determine that I'm working on a standard-make synchronized build and that it is valid before proceeding would be fine.
Thanks,
Wyatt Spear
--
ORNL/UT Center for Molecular Biophysics
cmb.ornl.gov865-241-1537, ORNL PO BOX 2008 MS6309