Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [xtext-dev] Recent changes

Hi Samantha,

the jar is downloaded to ./.antlr-generator-3.0.1.jar. The leading dot makes it disappear in the package explorer, but you can see it in the navigator.
This location can be modified using the workflow if needed. 

The jar is only needed when generating the parser. As soon as you ship a language it is not needed.
So if your users only use already developed languages but doesn't implement their own they don't need it.

Does that answer your questions?

Sven

On May 28, 2010, at 10:24 PM, Samantha Chan wrote:


Hi Sven,

When the ANTLR jar is downloaded from Itemis, where is the jar being stored locally?

Is this download also being done if the user has just installed the "runtime" bundle from Eclipse?  Or will our user need to know to download the ANTLR jar from Itemis manually?

Thanks...
Samantha



From: Sven Efftinge <sven.efftinge@xxxxxxxxx>
To: Xtext dev list <xtext-dev@xxxxxxxxxxx>
Date: 21/05/2010 10:14 AM
Subject: [xtext-dev] Recent changes
Sent by: xtext-dev-bounces@xxxxxxxxxxx





Hi all,

I've moved our code generating the ANTLR grammars to Eclipse.org,  
since that was all clean EPL code developed by us.
Also the call to the ANTLR code generator is now done via reflection  
(i.e. no compile time dependency anymore).
Furthermore the various ANTLR fragments are now asking the user to  
download the ANTLR generator from an itemis website, if it cannot be  
found on the classpath. If the user agrees, the jar is downloaded,  
stored locally, dynamically added to the classpath and executed.
If they don't agree with downloading they are referred to the packrat  
parser alternative.

This change finally allows users to have fun with Xtext versions  
downloaded from eclipse.org, which don't have the non-approved ANTLR  
parser generator.
The reason for this change is that the Eclipse Foundation asked us to  
remove all the download links to the itemis website but instead use  
eclipse.org downloads, which is now possible. :-)

I've installed the nightly builds into a vanilla eclipse and  
everything seems to work nicely.

Sven
_______________________________________________
xtext-dev mailing list
xtext-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/xtext-dev


_______________________________________________
xtext-dev mailing list
xtext-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/xtext-dev


Back to the top