[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [cdt-dev] processRunner to the template engine
|
Hello,
is there nobody with a hint out there, which can help me.
I don't know if my answer to Beth Tibbitts came through. here again the
answer:
i use cdt 4.0.1 and a question. Does this matter?
All i want to know is how to include the process runner classes into the xml
data.
thanks c~
Am Freitag, 16. November 2007 17:09 schrieb ich:
> Hello all, especially Bala,
>
> I want to produce ma own process runner method.
> i have read the docs under
> org.eclipse.cdt/all/org.eclipse.cdt.doc.isv/guide/projectTemplateEngine/How
>todeveloptemplates.html and found the mail
> http://dev.eclipse.org/mhonarc/lists/cdt-dev/msg10713.html
>
>
> unfortunately that doesn't work for me and i can't find the mistake.
>
> here is my code
>
> in the plugin.xml
>
>
> <extension point="org.eclipse.cdt.core.templateProcessTypes">
> <processType name="TargetDestination"
>
> processRunner="com.conrad.target.SetDestinationTarget">
> <simple
> name="targetDestination">
> </simple>
> </processType>
> </extension>
>
> then i have build a file with the process method
> called cpptemplate.xml
>
> <process type="com.conrad.target.TargetDestination">
> <simple name="targetDestination" value="$(projectName)"/>
> </process>
>
> that would be found because the wizard will show the specified wizardpage
>
>
> and i have build a class SetDestinationTarget which is located in
> <plugin_dir>/src/com/conrad/target/SetDestinationTarget.java
>
> if i try to build a new Project i will get the error
>
> SetDestinationTarget Unknown process: com.conrad.target.TargetDestination
> Unknown process: com.conrad.target.TargetDestination
>
> No Condition--> Process 1
> (org.eclipse.cdt.managedbuilder.core.NewManagedProject)-->Success: Executed
> successfully with args: [name:qqqqq,
> location:/data/ebs/emlix/intern/src/eclipse/runtime-EclipseApplication,
> artifactExtension:exe, isCProject:false]
> No Condition--> Process 2
> (org.eclipse.cdt.core.CreateSourceFolder)-->Success: Executed successfully
> with args: [projectName:qqqqq, path:src]
> No Condition--> Process 3 (org.eclipse.cdt.core.AddFiles)-->Success:
> Executed successfully with args: [projectName:qqqqq, files:
> {{source:Basename.cpp, target:src/qqqqq.cpp, replaceable:true}}]
>
>
> any ideas c~
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/cdt-dev