Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Create multiple CDT projects simultaneously

> -----Original Message-----
> From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx]
> On Behalf Of Abdelhalim Ragab
> Sent: Friday, May 27, 2011 3:48 PM
> To: cdt-dev@xxxxxxxxxxx
> Subject: [cdt-dev] Create multiple CDT projects simultaneously
> Hi,
> I was trying to use CDT templates to add a new example that consists of
> multiple projects  (2 exe + 1 library)
> I attempted to achieve this using CDT template, and the process
> "org.eclipse.cdt.managedbuilder.core.NewManagedProject", where I call
> this process multiple times in the template xml file, but apparently this
> wasn't successful. For some reason I"m getting the error "Invalid Project
> Description" which I traced to some "location" URL handling.

Yeah, I believe the NewManagedProject process really means "turn your new project into a Managed project". I do not believe the template system was designed to create projects. It assumes the new project wizard has already created them. You probably need to write your own new project wizard.
> I'm now wondering if that was one of the intended usages of
> "org.eclipse.cdt.managedbuilder.core.NewManagedProject" or is there any
> better approach.
> Also if that was one of the use cases for
> "org.eclipse.cdt.managedbuilder.core.NewManagedProject", how do you
> handle naming conflicts of other projects created in this template?
> Additional pages in the NPW?
> Finally, how do you handle multiple platforms (Windows, Linux), the arg
> "artifactExtension" won't help much in this case.
> ..Abdelhalim
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx

Back to the top