Yes, it seems to be the same problem.
Now, in practice, how do you register yourself the service "manually"?

Thanks,
Thierry Lafage.

Topcased user list where issues are discussed a écrit :
Maybe you are facing this bug :
https://bugs.eclipse.org/bugs/show_bug.cgi?id=406528

a workaround i found is to register myself the service.


2013/11/15 Topcased user list where issues are discussed <[email protected] <mailto:[email protected]>>

    Hi Topcased users,

    I've been stucked by a problem with acceleo Java services for a
    long time. I've tried several things to make it work, but I didn't
    manage...
    So, here is the problem: I want to define a basic service in Java
    and I want to call it from a query in an .mtl file.
    I strictly followed the Acceleo Tutorial : I defined a Java source
    "Toto.java" where I put my java class, then I defined a tutu.mtl
    service file where I defined the queries associated with the Java
    service. Then, I defined another .mtl file, the main module,
    main.mtl, where the queries from tutu.mtl are called.
    I added the package of my Java service Toto in the MANIFEST.MF and
    I assured it is in the runtime classpath.
    When I run the main.mtl (with Acceleo plugin application
    (default)), I get this error:
    "Class pkg.name.Toto Couldn't be found in the classpath of the
    bundle containing module tutu.emtl"

    At first, I was running Topcased-5.1. So I updated to
    Topcased-5.3.0 -> same problem.
    Then I saw that the acceleo version is not the latest one in
    Topcased-5.3.0. So I updated to Acceleo 3.4.1 -> same problem.
    With this latest config, I first tried to put Toto.java and
    tutu.mtl in a different package, name "services" as recommended in
    the tutorial. Then, I put all files in the same package -> same
    problem.

    I searched the Internet for this problem and I found little
    information. It seems that the problem has been fixed by the
    latest acceleo releases, but I can't fix it out.

    Any clue would be greatly appreciated (I can give more details if
    needed).

    Regards,
    Thierry Lafage.

    _______________________________________________
    Topcased-users mailing list
    [email protected]
    <mailto:[email protected]>
    http://lists.gforge.enseeiht.fr/cgi-bin/mailman/listinfo/topcased-users


------------------------------------------------------------------------

_______________________________________________
Topcased-users mailing list
[email protected]
http://lists.gforge.enseeiht.fr/cgi-bin/mailman/listinfo/topcased-users

_______________________________________________
Topcased-users mailing list
[email protected]
http://lists.gforge.enseeiht.fr/cgi-bin/mailman/listinfo/topcased-users
  • [Topcased-users] Acceleo jav... Topcased user list where issues are discussed
    • Re: [Topcased-users] Ac... Topcased user list where issues are discussed
      • Re: [Topcased-users... Topcased user list where issues are discussed
        • Re: [Topcased-u... Topcased user list where issues are discussed
          • Re: [Topcas... Topcased user list where issues are discussed
            • Re: [T... Topcased user list where issues are discussed
              • Re... Topcased user list where issues are discussed
                • ... Topcased user list where issues are discussed
                • ... Topcased user list where issues are discussed
                • ... Topcased user list where issues are discussed
          • [Topcased-u... Topcased user list where issues are discussed
          • Re: [Topcas... Topcased user list where issues are discussed
            • Re: [T... Topcased user list where issues are discussed

Reply via email to