Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] processRunner to the template engine

Do you have recent build of CDT 4.0.2?

...Beth

Beth Tibbitts  (859) 243-4981  (TL 545-4981)
High Productivity Tools / Parallel Tools  http://eclipse.org/ptp
IBM T.J.Watson Research Center
Mailing Address:  IBM Corp., 455 Park Place, Lexington, KY 40511


                                                                       
             Conrad Berhörster                                       
             <conrad.berhoerst                                         
             er@xxxxxx>                                                 To
             Sent by:                  cdt-dev@xxxxxxxxxxx             
             cdt-dev-bounces@e                                          cc
             clipse.org                                                
                                                                   Subject
                                       [cdt-dev] processRunner to the  
             11/16/07 11:09 AM         template engine                 
                                                                       
                                                                       
             Please respond to                                         
               "CDT General                                            
             developers list."                                         
             <cdt-dev@eclipse.                                         
                   org>                                                
                                                                       
                                                                       




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/Howtodeveloptemplates.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




Back to the top