Calling JET Transform from RCP application [message #10113] |
Fri, 06 April 2007 12:34  |
Eclipse User |
|
|
|
Originally posted by: f.bighelli.diginext.fr
Hi,
I would like to execute a JET transformation in my RCP application.
I try it using method JET2Platform.runTransformOnString. It didn't work...
(exception with message "null" ?)
When I get descriptor of my template, it doesn't find modelLoader and
modelExtension. i think this is the problem.
code:
IJETBundleDescriptor
descriptor=JET2Platform.getJETBundleManager().getDescriptor( "mytemplates");
String loaderId = descriptor.getModelLoaderId();
String fileType = descriptor.getModelExtension();
descriptor isn't null and loaderId and fileType are always null;
Does anyone has an idea?
Thanks,
Frederic
|
|
|
|
|
Re: Calling JET Transform from RCP application [message #11232 is a reply to message #10175] |
Tue, 10 April 2007 08:08  |
Eclipse User |
|
|
|
Frederic:
Thanks for the feedback.
I cannot guarantee that the refactoring will be completed by this June's
release - in particular, it is unlikely I'll have tag libraries that will
work outside of a full workbench.
The JET 0.8.0M6 build has a new plug-in, org.eclipse.jet.core, which is
largely free of Eclipse dependencies (except for org.eclipse.text - I will
have to remove some deprecated methods to eliminate that). But,
org.eclipse.jet.core does not yet include any tag library implementations,
nor does it include equivalents to JET2Platform.runTransformXXX().
Paul
"Frederic" <f.bighelli@diginext.fr> wrote in message
news:96be233fbcd1d8b51996c99af133c4b8$1@www.eclipse.org...
> Thanks for your response.
>
> Do you have a dead line for the first refactored version of JET2?
>
> For your question,i suggest yes for a subset (tag copyfile,file and
> folder) of JET Workspace in particular case where the target environment
> is outside Eclipse
> environment (this is my case and... sometimes there is no other
> possibility).
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03050 seconds