Adding depdencies when creating JETTransformations [message #52562] |
Mon, 25 September 2006 11:49  |
Eclipse User |
|
|
|
Hi,
Is there in anyway by which i can make my JET2Transformation add the
depencies automatically when i generate Java resources.
e.g
I am creating Struts Action classes I need my transformation to be able
to add those required depdencies in the Project path . Ofcourse I would
have configured the depdency path in Preferences of my workbench
I guess am asking too much of JET2 :-\ . but i feel that task of adding
dependency is logically associated with the Code and hence its linked to
Code generation ..
Thanks.
Kamesh
|
|
|
Re: Adding depdencies when creating JETTransformations [message #52616 is a reply to message #52562] |
Mon, 25 September 2006 13:39  |
Eclipse User |
|
|
|
When you use a code generator, everything starts to look like a text file
:-)
The easiest way to generate project references from a JET transformation is
to write a template that writes to .classpath in the project root.
Create a 'reference solution' with the project references you want, and then
create a template that generates that kind of .classpath file.
Paul
"Kamesh Sampath" <kamesh_sampath@msn.com> wrote in message
news:ef8tq6$rce$1@utils.eclipse.org...
> Hi,
>
> Is there in anyway by which i can make my JET2Transformation add the
> depencies automatically when i generate Java resources.
>
> e.g
> I am creating Struts Action classes I need my transformation to be able to
> add those required depdencies in the Project path . Ofcourse I would have
> configured the depdency path in Preferences of my workbench
>
> I guess am asking too much of JET2 :-\ . but i feel that task of adding
> dependency is logically associated with the Code and hence its linked to
> Code generation ..
>
> Thanks.
>
> Kamesh
|
|
|
Re: Adding depdencies when creating JETTransformations [message #591938 is a reply to message #52562] |
Mon, 25 September 2006 13:39  |
Eclipse User |
|
|
|
When you use a code generator, everything starts to look like a text file
:-)
The easiest way to generate project references from a JET transformation is
to write a template that writes to .classpath in the project root.
Create a 'reference solution' with the project references you want, and then
create a template that generates that kind of .classpath file.
Paul
"Kamesh Sampath" <kamesh_sampath@msn.com> wrote in message
news:ef8tq6$rce$1@utils.eclipse.org...
> Hi,
>
> Is there in anyway by which i can make my JET2Transformation add the
> depencies automatically when i generate Java resources.
>
> e.g
> I am creating Struts Action classes I need my transformation to be able to
> add those required depdencies in the Project path . Ofcourse I would have
> configured the depdency path in Preferences of my workbench
>
> I guess am asking too much of JET2 :-\ . but i feel that task of adding
> dependency is logically associated with the Code and hence its linked to
> Code generation ..
>
> Thanks.
>
> Kamesh
|
|
|
Powered by
FUDForum. Page generated in 0.04064 seconds