Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [Texo] running tools outside eclipse(Advice needed to run texo tools outside Eclipse)
[Texo] running tools outside eclipse [message #633026] Fri, 15 October 2010 07:16 Go to next message
Jean Duracel is currently offline Jean Duracel
Messages: 10
Registered: October 2010
Junior Member
Dear readers,

I need to run the Texo tools (ecore conversion to java/ orm.xml) but outside of eclipse ...

These are the functions callable inside the menu Texo.

The goal is to run them in a sort of batch application.

Can you give me some pointers where to look at for these inside the huge eclipse source code.

Thanks in advance for you comments.

Jean
Re: [Texo] running tools outside eclipse [message #633037 is a reply to message #633026] Fri, 15 October 2010 07:42 Go to previous messageGo to next message
Martin Taal is currently offline Martin Taal
Messages: 5339
Registered: July 2009
Senior Member
Hi Jean,
Running outside of eclipse is difficult as Texo uses eclipse functionality for merging and source formatting. But that
does not mean you cann't run generation actions from the command line (ant). The texo build also runs through ant and it
also generates from ecore models. I don't know your environment or goal but if the idea is to setup a build-like
environment then the texo build script can be a good basis. I find this an interesting case, so if I can help to set it
up them that's fine. Let me know if this is indeed what you mean, then I can provide some more details.

gr. Martin

On 10/15/2010 09:16 AM, Jean Duracel wrote:
> Dear readers,
>
> I need to run the Texo tools (ecore conversion to java/ orm.xml) but
> outside of eclipse ...
>
> These are the functions callable inside the menu Texo.
>
> The goal is to run them in a sort of batch application.
>
> Can you give me some pointers where to look at for these inside the huge
> eclipse source code.
>
> Thanks in advance for you comments.
> Jean


--

With Regards, Martin Taal

Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Cell: +31 (0)6 288 48 943
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
Re: [Texo] running tools outside eclipse [message #633049 is a reply to message #633037] Fri, 15 October 2010 08:23 Go to previous messageGo to next message
Jean Duracel is currently offline Jean Duracel
Messages: 10
Registered: October 2010
Junior Member
Hello Martin,

Thanks a lot you quick answer.

Yes it is this way I think about using Texo. That is to say running some ant script to get the work done without having to use eclipse.

Your details would be greatly appreciated.

Regards

Jean
Re: [Texo] running tools outside eclipse [message #633076 is a reply to message #633049] Fri, 15 October 2010 09:42 Go to previous messageGo to next message
Martin Taal is currently offline Martin Taal
Messages: 5339
Registered: July 2009
Senior Member
Hi Jean,
Here you are:

Texo uses buckminster for running the build, buckminster downloads projects from cvs/svn and takes care of building and
running junit tests in an eclipse environment. Buckminster can take some to get used but there is good documentation and
great support on the buckminster newsgroup. See also the wiki page at the bottom.

The texo build consists of 3 steps:

1: download from cvs and build the plugins used for generating artifacts and texo runtime
2: generate artifacts:
- creates a new eclipse environment with these plugins
- downloads ecore models from cvs and generates code inside a plugin
- build this generated code, creates a plugin
3: test
- installs eclipse with the texo runtime plugins (from step 1) and the generated artifacts plugins (from step 2)
- run testcases

The build can be seen here:
https://hudson.eclipse.org/hudson/job/emft-texo-nightly/

It is very easy to run the texo build locally
just do this:
1) cvs -d :pserver:anonymous@dev.eclipse.org:/cvsroot/modeling co -d org.eclipse.emf.texo.releng.buckminster
org.eclipse.emf/org.eclipse.emf.texo/releng/org.eclipse.emf. texo.releng.buckminster
2) go into the downloaded directory org.eclipse.emf.texo.releng.buckminster
3) do: ant

The build takes about 20 mins, the whole build setup is done in the org.eclipse.emf.texo.releng.buckminster project.

Here is a wiki page on the build setup of Teneo which uses a similar setup as Texo:
http://wiki.eclipse.org/Teneo/Teneo_Build_Setup

gr. Martin

On 10/15/2010 10:23 AM, Jean Duracel wrote:
> Hello Martin,
>
> Thanks a lot you quick answer.
>
> Yes it is this way I think about using Texo. That is to say running some
> ant script to get the work done without having to use eclipse.
>
> Your details would be greatly appreciated.
>
> Regards
>
> Jean
>


--

With Regards, Martin Taal

Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Cell: +31 (0)6 288 48 943
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
Re: [Texo] running tools outside eclipse [message #633112 is a reply to message #633076] Fri, 15 October 2010 12:06 Go to previous message
Jean Duracel is currently offline Jean Duracel
Messages: 10
Registered: October 2010
Junior Member
Thanks a lot for this roadmap.
I will digg in it .

Regards,

Jean
Previous Topic:[EMF Compare] Is it possible to ignore the element order?
Next Topic:accessing ecore model content
Goto Forum:
  


Current Time: Sat Oct 25 16:11:51 GMT 2014

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

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