|
|
|
Re: [Acceleo 3] continuous integration on acceleo projects [message #641354 is a reply to message #641160] |
Thu, 25 November 2010 07:45 |
|
This is a multi-part message in MIME format.
--------------020205030505000402010405
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Hi Christophe,
I believe that Sebastien could help more than myself, since he managed
to get the compilation running standalone in his environment. I had
written this part of the FAQ :
http://wiki.eclipse.org/Acceleo/FAQ#How_can_I_compile_my_mtl _files_in_a_standalone_environment.3F
with information on this if it can help.
Laurent Goubet
Obeo
On 24/11/2010 14:11, Christophe Demarey wrote:
> Sebastien Roy wrote on Wed, 24 November 2010 06:52
>> Hello,
>> Continuous Integration is possible with maven :
>> First make a wrapper (Ant or maven) for acceleo compiler (packaged in
>> AcceleoParser jar file).
>
> I saw there is already an ant task:
> http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.m2t/org .eclipse.acceleo/plugins/org.eclipse.acceleo.parser/src-ant/ org/eclipse/acceleo/parser/compiler/AcceleoCompiler.java?vie w=markup&revision=1.14&root=Modeling_Project
>
> Is it usable?
>
> Quote:
>> Build your mtl files with this compiler.
>> Write a maven plugin for you acceleo project.
>> Use this plugin to generate code from your model
>
>
> What about dependencies? Is there a maven/ivy repository with acceleo
> and all its dependencies available? If not, is it possible to publish it?
> If this is not possible, what are the required dependencies for a
> standalone execution of acceleo?
>
> Regards,
> Christophe.
--------------020205030505000402010405
Content-Type: text/x-vcard; charset=utf-8;
name="laurent_goubet.vcf"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="laurent_goubet.vcf"
YmVnaW46dmNhcmQNCmZuOkxhdXJlbnQgR291YmV0DQpuOkdvdWJldDtMYXVy ZW50DQpvcmc6
PGEgaHJlZj0iaHR0cDovL3d3dy5vYmVvLmZyIj5PYmVvPC9hPg0KZW1haWw7 aW50ZXJuZXQ6
bGF1cmVudC5nb3ViZXRAb2Jlby5mcg0KdXJsOmh0dHA6Ly93d3cub2Jlby5m cg0KdmVyc2lv
bjoyLjENCmVuZDp2Y2FyZA0KDQo=
--------------020205030505000402010405--
|
|
|
|
|
Re: [Acceleo 3] continuous integration on acceleo projects [message #643888 is a reply to message #643882] |
Wed, 08 December 2010 15:37 |
|
This is a multi-part message in MIME format.
--------------030906040605020506050308
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Hi,
We've had a few people ask here how to use Acceleo in standalone with
profiled UML models ... And I must admit I don't know the exact things
that are to be done in order to register UML profiles. You should ask
this on the eclipse.modeling.mdt.uml newsgroup.
When you do get a valid answer on this point, could you point me to the
exact code needed for the registration for further reference?
Laurent Goubet
Obeo
On 08/12/2010 16:32, D.H.Akehurst wrote:
> Hi,
>
> Thanks for all the posts on this topic, I also am trying to set up a
> hudson CI build to
>
> 1) compile the MTL files
> 2) compile associated .java files
> 3) execute the code generator
>
>
> using this thread and an earlier one I have almost achieved the goal.
>
> final issue is that my source .uml file "MyModel.uml" references another
> .uml file that is an associated profile - "MyProfile.uml".
>
> When executing the code generator (using the exec:java plugin for maven
> and the acceleo 'Generate.class' file for my templates) I get an error:
>
> "Package with uri 'http:///schemas/MyProfile/_uxGMcPi2Ed-z3tfFFpxgGA/0'
> not found. (file:.../MyModel.uml)"
>
> of course everything works fine from within eclipse. My guess is that
> the profile needs to be registered...but is not all the needed info in
> the MyModel.uml file?
>
> what am I missing?
>
> many thanks
--------------030906040605020506050308
Content-Type: text/x-vcard; charset=utf-8;
name="laurent_goubet.vcf"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="laurent_goubet.vcf"
YmVnaW46dmNhcmQNCmZuOkxhdXJlbnQgR291YmV0DQpuOkdvdWJldDtMYXVy ZW50DQpvcmc6
PGEgaHJlZj0iaHR0cDovL3d3dy5vYmVvLmZyIj5PYmVvPC9hPg0KZW1haWw7 aW50ZXJuZXQ6
bGF1cmVudC5nb3ViZXRAb2Jlby5mcg0KdXJsOmh0dHA6Ly93d3cub2Jlby5m cg0KdmVyc2lv
bjoyLjENCmVuZDp2Y2FyZA0KDQo=
--------------030906040605020506050308--
|
|
|
|
Re: [Acceleo 3] continuous integration on acceleo projects [message #644046 is a reply to message #643914] |
Thu, 09 December 2010 08:45 |
|
This is a multi-part message in MIME format.
--------------060403030504020903010006
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Hi,
And thanks, at least this gives me a potential answer for the people
who'll come after you :).
Laurent Goubet
Obeo
On 08/12/2010 17:55, D.H.Akehurst wrote:
> It appears that you don't need to do anything different to register a
> profile.
>
> Provided there is a full path name to the main model.
>
> The acceleo Generate.java:main method takes two arguments. The first is
> the filename of the model to generate over. When this is a relative
> path, it can't find the referenced profile, when it is a full path name,
> the profile is found fine.
>
>
--------------060403030504020903010006
Content-Type: text/x-vcard; charset=utf-8;
name="laurent_goubet.vcf"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="laurent_goubet.vcf"
YmVnaW46dmNhcmQNCmZuOkxhdXJlbnQgR291YmV0DQpuOkdvdWJldDtMYXVy ZW50DQpvcmc6
PGEgaHJlZj0iaHR0cDovL3d3dy5vYmVvLmZyIj5PYmVvPC9hPg0KZW1haWw7 aW50ZXJuZXQ6
bGF1cmVudC5nb3ViZXRAb2Jlby5mcg0KdXJsOmh0dHA6Ly93d3cub2Jlby5m cg0KdmVyc2lv
bjoyLjENCmVuZDp2Y2FyZA0KDQo=
--------------060403030504020903010006--
|
|
|
|
Re: [Acceleo 3] continuous integration on acceleo projects [message #644782 is a reply to message #644149] |
Tue, 14 December 2010 08:44 |
|
This is a multi-part message in MIME format.
--------------090500000401050007070608
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Hi Ed,
Doesn't look like it.
Laurent Goubet
Obeo
On 09/12/2010 17:53, Ed Willink wrote:
> Hi Laurent
>
> This may be another symptom of Bug 318137 and/or Bug 306692.
>
> Regards
>
> Ed
>
> On 09/12/2010 08:45, Laurent Goubet wrote:
>> Hi,
>>
>> And thanks, at least this gives me a potential answer for the people
>> who'll come after you :).
>>
>> Laurent Goubet
>> Obeo
>>
>> On 08/12/2010 17:55, D.H.Akehurst wrote:
>>> It appears that you don't need to do anything different to register a
>>> profile.
>>>
>>> Provided there is a full path name to the main model.
>>>
>>> The acceleo Generate.java:main method takes two arguments. The first is
>>> the filename of the model to generate over. When this is a relative
>>> path, it can't find the referenced profile, when it is a full path name,
>>> the profile is found fine.
>>>
>>>
>>
>
--------------090500000401050007070608
Content-Type: text/x-vcard; charset=utf-8;
name="laurent_goubet.vcf"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="laurent_goubet.vcf"
YmVnaW46dmNhcmQNCmZuOkxhdXJlbnQgR291YmV0DQpuOkdvdWJldDtMYXVy ZW50DQpvcmc6
PGEgaHJlZj0iaHR0cDovL3d3dy5vYmVvLmZyIj5PYmVvPC9hPg0KZW1haWw7 aW50ZXJuZXQ6
bGF1cmVudC5nb3ViZXRAb2Jlby5mcg0KdXJsOmh0dHA6Ly93d3cub2Jlby5m cg0KdmVyc2lv
bjoyLjENCmVuZDp2Y2FyZA0KDQo=
--------------090500000401050007070608--
|
|
|
Powered by
FUDForum. Page generated in 0.03866 seconds