|[Texo] running tools outside eclipse [message #633026]
||Fri, 15 October 2010 07:16
| Jean Duracel
Registered: October 2010
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.
|Re: [Texo] running tools outside eclipse [message #633076 is a reply to message #633049]
||Fri, 15 October 2010 09:42
| Martin Taal
Registered: July 2009
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
- 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:
It is very easy to run the texo build locally
just do this:
1) cvs -d :pserver:firstname.lastname@example.org:/cvsroot/modeling co -d 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:
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.
With Regards, Martin Taal
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
Cell: +31 (0)6 288 48 943
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: email@example.com - firstname.lastname@example.org
Web: www.springsite.com - www.elver.org
Powered by FUDForum
. Page generated in 0.02431 seconds