Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Re: Acceleo Compiler
Re: Acceleo Compiler [message #644054] Thu, 09 December 2010 09:26 Go to next message
Laurent Goubet is currently offline Laurent GoubetFriend
Messages: 1902
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------080202050103030600020007
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

Hi Maik,

This, too, is related to package registration IIRC (you're trying to
load a model which metamodel is defined as "http://" and EMF does not
find the EPackage, thus tries on the net ... or something like that,
can't recall :p).

Adding the EMF newsgroup to the CC: list so that Ed can see this and,
hopefully, give a better answer ^^.

Laurent Goubet
Obeo

On 09/12/2010 10:07, Maik wrote:
> Hi,
>
> i use the acceleoCompiler.jar calling via ant task.
>
> Acceleo Compiler
>
> http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.m2t/org .eclipse.acceleo/plugins/org.eclipse.acceleo.parser/lib/acce leoCompiler.jar?revision=1.6&root=Modeling_Project
>
>
> I get the following exception
>
> Caused by: org.eclipse.emf.ecore.resource.impl.ResourceSetImpl$1Diagnos
> ticWrappedException: java.net.ConnectException: Connection timed out:
> connect
> at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.handleDe
> mandLoadException(ResourceSetImpl.java:315)
>
>
> My ant task
>
> <target name="compileAcceleo">
> <acceleoCompiler sourceFolders="${WORKSPACE}/src">
> </acceleoCompiler>
> </target>
>
>
> Best regards
> Maik


--------------080202050103030600020007
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=
--------------080202050103030600020007--
Re: Acceleo Compiler [message #644161 is a reply to message #644054] Thu, 09 December 2010 17:21 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
Guys,

Comments below.

Laurent Goubet wrote:
> Hi Maik,
>
> This, too, is related to package registration IIRC (you're trying to
> load a model which metamodel is defined as "http://" and EMF does not
> find the EPackage, thus tries on the net ... or something like that,
> can't recall :p).
Yes, if the package isn't registered, the logical nsURI is used as the
physical location URI.
>
> Adding the EMF newsgroup to the CC: list so that Ed can see this and,
> hopefully, give a better answer ^^.
>
> Laurent Goubet
> Obeo
>
> On 09/12/2010 10:07, Maik wrote:
>> Hi,
>>
>> i use the acceleoCompiler.jar calling via ant task.
>>
>> Acceleo Compiler
>>
>> http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.m2t/org .eclipse.acceleo/plugins/org.eclipse.acceleo.parser/lib/acce leoCompiler.jar?revision=1.6&root=Modeling_Project
>>
>>
>>
>> I get the following exception
>>
>> Caused by: org.eclipse.emf.ecore.resource.impl.ResourceSetImpl$1Diagnos
>> ticWrappedException: java.net.ConnectException: Connection timed out:
>> connect
>> at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.handleDe
>> mandLoadException(ResourceSetImpl.java:315)
>>
>>
>> My ant task
>>
>> <target name="compileAcceleo">
>> <acceleoCompiler sourceFolders="${WORKSPACE}/src">
>> </acceleoCompiler>
>> </target>
>>
>>
>> Best regards
>> Maik
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Teneo/EclipseLink/EMF Resource
Next Topic:Fixed Element Behaviour
Goto Forum:
  


Current Time: Thu Apr 25 04:58:54 GMT 2024

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

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

Back to the top