Model Directory outside the workspace directory [message #414422] |
Tue, 06 November 2007 09:20  |
Eclipse User |
|
|
|
Hello,
the Model Directory property of the genmodel controls
the location into which model code is generated. Is this
directory always relative to the workspace root?
I am using the org.eclipse.emf.examples.generator.validator
example and would like to generate code/text
that is in an arbitrary directory/URI.
E.g. file:/c:/someDirectory/
Is this possible? How?
Regards,
Reinhold
|
|
|
|
Re: Model Directory outside the workspace directory [message #414426 is a reply to message #414425] |
Tue, 06 November 2007 10:13  |
Eclipse User |
|
|
|
Thanks Ed,
the workaround with the project outside of the workspace directory
will do for now. When generating code or project files for other
IDEs than eclipse it would have been nice to specify an arbitrary
directory/URI (e.g. the workspace of the non eclipse IDE) without
a detour.
Regards,
Reinhold
"Ed Merks" <merks@ca.ibm.com> wrote in message
news:fgpupe$lao$1@build.eclipse.org...
> Reinhold,
>
> When generating while running as an Eclipse application the code will
> generally expect this to be a workspace relative path. Note that you can
> create a project that's physically located anywhere in the file system, so
> with that approach, create a project called someDirectory that's located
> at c:/someDirectory, you could achieve the goal. I think you generally
> should be generating into the workspace when running as an Eclipse
> application...
>
>
> Reinhold Bihler wrote:
>> Hello,
>>
>> the Model Directory property of the genmodel controls
>> the location into which model code is generated. Is this
>> directory always relative to the workspace root?
>>
>> I am using the org.eclipse.emf.examples.generator.validator
>> example and would like to generate code/text
>> that is in an arbitrary directory/URI.
>> E.g. file:/c:/someDirectory/
>>
>> Is this possible? How?
>>
>> Regards,
>>
>> Reinhold
>>
>>
>>
>>
|
|
|
Powered by
FUDForum. Page generated in 0.06195 seconds