Hi,

I did a simple use case diagram using polarsys 0.7 and try to export it to png 
file using "Export all diagrams" contextual menu of di file.

It displays error and I do not arrive to export my schema to image file.

A bug or a mistake from my side ?

Bernard Granier
8 rue Michel de l'Hospital
95310 Saint Ouen l'Aumone
01 30 37 27 84
  ----- Original Message -----
  From: Topcased user list where issues are discussed
  To: [email protected]
  Sent: Monday, November 18, 2013 10:40 AM
  Subject: Re: [Topcased-users] Acceleo java service: "Class ... Couldn't be 
found in the classpath of the bundle containing module ....emtl"


  it is described in the attached sample of the bug.


  owever, there is my workaround :
  AcceleoServicesRegistry.INSTANCE.addServiceClass("plugin_id", 
"QualifiedNameOfServiceWithoutExtension");



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

    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 mailing list
  [email protected]
  http://lists.gforge.enseeiht.fr/cgi-bin/mailman/listinfo/topcased-users

---
Ce courrier électronique ne contient aucun virus ou logiciel malveillant parce 
que la protection avast! Antivirus est active.
http://www.avast.com
_______________________________________________
Topcased-users mailing list
[email protected]
http://lists.gforge.enseeiht.fr/cgi-bin/mailman/listinfo/topcased-users

Reply via email to