[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [cdt-dev] processRunner to the template engine
|
High Beth
thanks again for your hints.
as you mentioned, it doesn't worked with the runtime workbench.
after checking the examples from the PTP project, it worked for me.
thanks. c~
Am Dienstag, 27. November 2007 16:09 schrieb Beth Tibbitts:
> Hi Conrad,
>
> Are you running in an eclipse workspace, launching a runtime workbench
> ("Eclipse application")?
>
> > and i have build a class SetDestinationTarget which is located in
> > <plugin_dir>/src/com/conrad/target/SetDestinationTarget.java
>
> I don't know if this would work or not.
> Try putting the process runner in the same project as your other plugin
> code and xml file - that is, in your workspace plugin project, not in your
> plugins directory, to start with.
> That should be easier to debug.
>
> But now that I look closer: looks like you put a Java source file in your
> plugin_dir. It should be a class file.
> Again, try running from your workspace first, to make sure it works, then
> export everything.
> (Or, is <plugin_dir> your project in your workspace?)
>
> Also
>
> > SetDestinationTarget Unknown process: com.conrad.target.TargetDestination
> > Unknown process: com.conrad.target.TargetDestination
>
> Looks like you used 'SetDestinationTarget' for the class name but it's
> looking for 'TargetDestination'
> (Just a guess/observation, I haven't tried your code)
>
> Have you looked in the .log file? Is that where the listed errors came
> from?
>
> You could look at how the processes work in the CDT new project templates,
> or my code in PTP/PLDT.
> To find PLDT in CVS: under tools, under org.eclipse.ptp, under the tools
> folder, project: org.eclipse.ptp.pldt.wizards
>
> Suggestion: when setting up the plugin.xml, use the manifest editor (not
> the plain text editor) and make sure that, for the templateProcessTypes
> extension,
> your processType is listed under that..
> Also, on the right side of the manifest editor, when you click on
> 'processRunner*' link make sure it goes to your class.
> This is one way to make sure at least this much stuff is linked up
> correctly.
> It can be tedious getting everything to match.
>
>
>