Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » is there a way to generate a project
is there a way to generate a project [message #787566] Tue, 31 January 2012 13:32 Go to next message
Wim Jongman is currently offline Wim Jongman
Messages: 276
Registered: July 2009
Senior Member

Hi,

Is there a way to generate a new project with the [file/] directive outside of the gensrc directory?

Thanks,

Wim Jongman

[Updated on: Tue, 31 January 2012 13:32]

Report message to a moderator

Re: is there a way to generate a project [message #787996 is a reply to message #787566] Wed, 01 February 2012 03:11 Go to previous messageGo to next message
Laurent Goubet is currently offline Laurent Goubet
Messages: 1625
Registered: July 2009
Senior Member
Hi Wim,

Well, technically, you could : generate a ".project" file in a folder (which will be the "new project"), then generate whatever you wish the project to contain... However Eclipse would not simply accept it as a new project : you would still need to import this new "folder" as an "existing project" (file > import... then "existing project into workspace").

Other than that possibility, creating new projects through a generation is not something we support out of the box.

Laurent Goubet
Obeo
Re: is there a way to generate a project [message #788235 is a reply to message #787996] Wed, 01 February 2012 09:36 Go to previous messageGo to next message
Wim Jongman is currently offline Wim Jongman
Messages: 276
Registered: July 2009
Senior Member

I understand, Thanks Laurent.
Re: is there a way to generate a project [message #788338 is a reply to message #787996] Wed, 01 February 2012 12:20 Go to previous message
Ed Willink is currently offline Ed Willink
Messages: 4035
Registered: July 2009
Senior Member
Hi

If you write a query to invoke custom Java, you do not actually have to
observe the language constraints of no side effects.

You can quite happily interact with the Eclipse IDE after planting
references to a few convenient objects in global variables during start up.

Regards

Ed Willink

On 01/02/2012 08:11, Laurent Goubet wrote:
> Hi Wim,
>
> Well, technically, you could : generate a ".project" file in a folder
> (which will be the "new project"), then generate whatever you wish the
> project to contain... However Eclipse would not simply accept it as a
> new project : you would still need to import this new "folder" as an
> "existing project" (file > import... then "existing project into
> workspace").
>
> Other than that possibility, creating new projects through a
> generation is not something we support out of the box.
>
> Laurent Goubet
> Obeo
Previous Topic:[acceleo] The type of the first parameter of the main template named ... is a proxy.
Next Topic:[Acceleo] The generation fail to generate any file because there are no model elements that matches
Goto Forum:
  


Current Time: Fri Aug 29 06:27:40 EDT 2014

Powered by FUDForum. Page generated in 0.01595 seconds