|
Re: JET Editor in Kepler [message #1067459 is a reply to message #1067442] |
Mon, 08 July 2013 19:38 |
Ed Willink Messages: 7679 Registered: July 2009 |
Senior Member |
|
|
Hi
"An error occurred copying file " makes me suspect that your download
failed in some way. Try and again and check the md5sum.
However, the most recent build was in 2011, so I am afraid that you may
be out of luck for Kepler.
Those of use who are enthusiasts for models are not so enthuisiastic
about JET that has been overtaken by more recent tools such as Xtend or
Acceleo.
Regards
Ed Willink
On 08/07/2013 20:06, Franck De Bruijn wrote:
> Hi,
>
> I'm giving the new Kepler release a go. I have always used the JET
> editor in my previous Eclipse installation (Indigo).
>
> However, I do not manage to succeed the installation. Is JET editor
> still supported?
>
> I tried the following:
>
> 1) Downloaded the All-In-One-Update-Site from
> http://www.eclipse.org/modeling/m2t/downloads/?project=jet
>
> 2) Unzipped the file
>
> 3) Eclipse > Help > Install New Software
>
> 4) Added the local directory as site
>
> 5) Checked all items to be installed
>
> 6) Normal continuation in the wizard
>
> 7) First a message 'Cannot perform installation (some files are missing)'
>
> 8 ) Accept the solution
>
> 9) Then the following error appeared:
>
> An error occurred while collecting items to be installed
> session context was:(profile=epp.package.jee,
> phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=,
> action=).
> An error occurred copying file
> E:\temp\m2t\plugins\org.eclipse.jet_1.1.1.v201101311015.jar.
> E:\temp\m2t\plugins\org.eclipse.jet_1.1.1.v201101311015.jar (The
> system cannot find the file specified)
> An error occurred copying file
> E:\temp\m2t\plugins\org.eclipse.jet.capabilities_1.0.0.v200906120900.jar.
> E:\temp\m2t\plugins\org.eclipse.jet.capabilities_1.0.0.v200906120900.jar
> (The system cannot find the file specified)
> An error occurred copying file
> E:\temp\m2t\plugins\org.eclipse.jet.core_1.2.1.v201101271243.jar.
> E:\temp\m2t\plugins\org.eclipse.jet.core_1.2.1.v201101271243.jar (The
> system cannot find the file specified)
> An error occurred copying file
> E:\temp\m2t\plugins\org.eclipse.jet.doc_1.1.0.v201003251524.jar.
> E:\temp\m2t\plugins\org.eclipse.jet.doc_1.1.0.v201003251524.jar (The
> system cannot find the file specified)
> An error occurred copying file
> E:\temp\m2t\plugins\org.eclipse.jet.editor_1.1.0.v201002261043.jar.
> E:\temp\m2t\plugins\org.eclipse.jet.editor_1.1.0.v201002261043.jar
> (The system cannot find the file specified)
> An error occurred copying file
> E:\temp\m2t\plugins\org.eclipse.jet.source_1.1.1.v201101271243.jar.
> E:\temp\m2t\plugins\org.eclipse.jet.source_1.1.1.v201101271243.jar
> (The system cannot find the file specified)
> An error occurred copying file
> E:\temp\m2t\plugins\org.eclipse.jet.ui_1.0.0.v200906120900.jar.
> E:\temp\m2t\plugins\org.eclipse.jet.ui_1.0.0.v200906120900.jar (The
> system cannot find the file specified)
>
> It turns out that all the files are in *.jar.pack.gz format are.
> Googled some. Found this wiki-entry: http://wiki.eclipse.org/Pack200.
> Followed the instructions there. Managed to unpack the real jars.
> Retried installation.
>
> Then I get a checksum error.
>
> Any help is appreciated!
>
> Thanks in advance,
> Kind regards,
> Franck
|
|
|
Re: JET Editor in Kepler [message #1067461 is a reply to message #1067442] |
Mon, 08 July 2013 19:54 |
Paul Elder Messages: 849 Registered: July 2009 |
Senior Member |
|
|
Franck:
You can get JET to install into Kepler, but you need to be running a Java 6 JRE during the install. Java 7 has problems with nested JARs (which, unfortunately, JET contains).
So, if possible, find your eclipse.ini, point it to a Java 6 JRE, restart, install JET, shutdown, switch back to the Java 7 JRE, and restart.
Paul
|
|
|
|
Re: JET Editor in Kepler [message #1067884 is a reply to message #1067818] |
Thu, 11 July 2013 05:47 |
Ed Willink Messages: 7679 Registered: July 2009 |
Senior Member |
|
|
Hi
Modeling people like to use models, e.g. *.ecore (or *.uml) files.
Model-aware tools tend to support more compact, more relevant and more
strongly type checked expressions.
JET has no understanding of models so it is all rather obscure encoded Java.
Acceleo gives you the MOFM2T standard, with OCL expressions, but it is
currently interpreted so you would find the performance disappointing in
comparison to JET.
Xtend incorporating the capabilities of Xpand gives you a
powerful/confusing beyond-Java world. The templates are much more
readable, debuggable and may approach the performance of JET.
Regards
Ed Willink
On 10/07/2013 18:09, Franck De Bruijn wrote:
> Hi Paul/Ed,
>
> Thanks for your time. Greatly appreciated.
>
> I tried Paul's directive, but had no luck. More or less same error.
>
> I then tried to install the M2T plugins from the original Helios
> update repository. After hours of download, also no success here.
>
> I googled some further and found a thread on StackOverflow
> (easiest-way-to-upgrade-eclipse-3-7-to-4-2-juno - I am not allowed to
> paste links, apparently). Here I got the tip to use the File -> Import
> -> Installation -> From existing Installation.
>
> I tested this on a fresh install of Kepler and this works like a
> charm. No special JVM startup configuration (default JRE 7 used).
>
> I heavily rely on JET for our own code generation tool. We have around
> 100 templates based on JET, so I really try to prevent to rewrite
> those to another templating engine.
>
> At the time (must be 3/4 years ago) I used Velocity as templating
> engine. For performance reasons JET engine turned out to be much
> faster (I think 10-fold or so) which really helps if you generate
> 1000s of files. What I like about JET engine is that the templates are
> converted to JAVA-classes and that from the JET-templates you have
> access to all kinds of JAVA-helper classes. The JET editor does a
> reasonable job for letting you know if you make compile-time errors.
>
> @Ed: I am curious to know if you know why JET has lost popularity (if
> it ever gained any, I don't know ...) compared to Xtend and Acceleo?
>
> Thanks for listening,
> Kind regards,
> Franck
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03895 seconds