Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Ant Script to Create Xtext Project as Plugin(Create Ant Script to package xtext project as plugin)
Ant Script to Create Xtext Project as Plugin [message #1248628] Mon, 17 February 2014 13:31 Go to next message
raju ak is currently offline raju akFriend
Messages: 15
Registered: October 2013
Junior Member
Hi,

I am new to xtext and has created my dsl to implement some grammar. I want to build and deploy the project as Eclipse plugin using Ant script. I am able compile the xtext peoject using Ant by following the xtextcasts videos but , I am not able to generate the plugin using Ant Scripts.

Appreciate your Help !!!

Cheers

Raju
Re: Ant Script to Create Xtext Project as Plugin [message #1248935 is a reply to message #1248628] Mon, 17 February 2014 20:25 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13628
Registered: July 2009
Senior Member
Hi,

can you be a bit more specific regarding error messages etc


Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/it-services/methods-and-tools/xtext
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Ant Script to Create Xtext Project as Plugin [message #1249275 is a reply to message #1248935] Tue, 18 February 2014 04:54 Go to previous messageGo to next message
raju ak is currently offline raju akFriend
Messages: 15
Registered: October 2013
Junior Member
Hi Dietrich,

Thanks for your response. Actually I have to make plugins out of my xtext project.which i need to do with the help of Ant. I followed some process which is mentioned in xtextcast video. Able to Generate artifacts and compile all the xtend, java classes with Ant script but After that I am not very sure how to make them as plugin. If you have any idea could you please help me out.

Thanks.
Re: Ant Script to Create Xtext Project as Plugin [message #1249351 is a reply to message #1249275] Tue, 18 February 2014 06:47 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13628
Registered: July 2009
Senior Member
Hi,

i dont really see how this is connected to Xtext
- simply package all the stuff to a jar
- or use maven tycho instead of ant
- or use the export -> Deployable Plugins and Fragments Wizard to create a PDE Ant file (as a side effect on the options tab) - I have never used that so hard to give more information on the ant PDE build
http://www.eclipse.org/pde/pde-build/


Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/it-services/methods-and-tools/xtext
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Ant Script to Create Xtext Project as Plugin [message #1249402 is a reply to message #1249351] Tue, 18 February 2014 08:04 Go to previous message
Lorenzo Bettini is currently offline Lorenzo BettiniFriend
Messages: 1770
Registered: July 2009
Location: Firenze, Italy
Senior Member
On 18/02/2014 07:47, Christian Dietrich wrote:
> Hi,
>
> i dont really see how this is connected to Xtext
> - simply package all the stuff to a jar
> - or use maven tycho instead of ant
> - or use the export -> Deployable Plugins and Fragments Wizard to create
> a PDE Ant file (as a side effect on the options tab) - I have never used
> that so hard to give more information on the ant PDE build
> http://www.eclipse.org/pde/pde-build/

you may also have a look at this
http://www.lorenzobettini.it/2012/11/building-xtext-projects-with-buckminster/

--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
HOME: http://www.lorenzobettini.it
Xtext Book:
http://www.packtpub.com/implementing-domain-specific-languages-with-xtext-and-xtend/book


Previous Topic:Where to find the available key list of EAnnotation's details
Next Topic:Line breaks in the Formatter
Goto Forum:
  


Current Time: Fri Oct 23 00:29:46 GMT 2020

Powered by FUDForum. Page generated in 0.01872 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top