Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Project Templates

Hi Matt,
I've developed one thought but not sure if it is the cause. Still it may help down the road. You would need to add your templates to "Binary Build" in plugin.xml/Build tab. Not sure if you need to do it while developing but when installing that's for sure.

I still think it is good idea to take a look here: 
> One simpler example than in help page would be "Hello World Project" template itself which is defined in
> org.eclipse.cdt.managedbuilder.gnu.ui. Check out templates/projecttemplates/* and plugin.xml.

Thanks,
Andrew

On Thu, Oct 15, 2009 at 4:01 PM, Matt Watson <mwatson@xxxxxxxxxxxx> wrote:
Hello,

I've gotten past the initial problems I had, and I'm able to see my template under the New Project wizard.  Selecting it and finishing however causes a popup which repeatedly says Missing Arguments (3 spots).  Moving past this error, the files to be included in my new project according to my template are not there.  Obviously this is an issue...

I copied the example template to test how it operated, and it did the same.

Any thoughts?

--
Matt Watson | mwatson@xxxxxxxxxxxx



On Wed, Oct 14, 2009 at 1:11 PM, Matt Watson <mwatson@xxxxxxxxxxxx> wrote:
Andrew,

That's got it!  Thanks for the help :)

--
Matt Watson | mwatson@xxxxxxxxxxxx



On Wed, Oct 14, 2009 at 12:57 PM, Andrew Gvozdev <angvoz.dev@xxxxxxxxx> wrote:
Matt,
You got Eclipse SDK installed but (my guess) not CDT SDK. When you install CDT there is "Eclipse C/C++ Development Tools SDK" as a separate item. Check if you got it installed under Help->About->Installation Details.

Andrew


On Wed, Oct 14, 2009 at 3:44 PM, Matt Watson <mwatson@xxxxxxxxxxxx> wrote:
Andrew,

Thanks for the quick reply.  You mention it sounds like I'm missing an SDK.  Could you be more specific about this?  I think you're on the right track because I saw a message about missing extension point schema when I was in the extensions page of the plugin manifest.

Looking at my "install more software" screen, I have the Eclipse Platform SDK v 3.5.1and Eclipse SDK of same version installed.  Is this what you were referring to, and if so, given that I apparently have it, what would you suggest my next step be?

Thanks again,
--

Matt Watson | mwatson@xxxxxxxxxxxx



On Wed, Oct 14, 2009 at 12:35 PM, Andrew Gvozdev <angvoz.dev@xxxxxxxxx> wrote:
Hi Matt,
Sounds like you don't have SDK installed and so missing extension point schema. You still can add extension point in plugin.xml as XML fragment manually.

One simpler example than in help page would be "Hello World Project" template itself which is defined in org.eclipse.cdt.managedbuilder.gnu.ui. Check out templates/projecttemplates/* and plugin.xml.

Andrew

On Wed, Oct 14, 2009 at 2:51 PM, Matt Watson <mwatson@xxxxxxxxxxxx> wrote:
Hello all,

I've been tasked with building a "New Project Template" for CUDA projects.  All it will do is include 3 files in any new project directory in the workspace.  (preferably also points to our Makefile for building).

I've found the help page which most closely details what I want to do here : Project Template Engine
BUT step 9 of the "How to register a template with eclipse" does not produce a (template) it instead does (generic).  This seems to be critical as I have no way of telling eclipse of this template otherwise.

I've created the xml required in template.xml, and have my other files in the same directory.  Basically I'm stuck at the packaging of the template, and integrating it into eclipse.

I can send a tar of my files as is to anyone who can help.

Any/all help appreciated!

--
Matt Watson | mwatson@xxxxxxxxxxxx

_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev



_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev



_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev



_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev




_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev



Back to the top