To prevent spam users, you can only post on this forum after registration, which is by invitation. If you want to post on the forum, please send me a mail (h DOT m DOT w DOT verbeek AT tue DOT nl) and I'll send you an invitation in return for an account.

I want to learn the source code of the plug-in.

Can I export the source code of the plug-in from PROM and learn it in eclipse?

Comments

  • hverbeekhverbeek Posts: 782
    edited April 26
    Hi,

    You check the code out in Eclipse. For example, you can check out the source code for the PetriNets package from https://svn.win.tue.nl/repos/prom/Packages/PetriNets/Trunk, modify these source codes in Eclipse, and then run ProM with the changed source codes using the package's ProM launch file.

    The PetriNets package contains only plugins related to Petri nets. If you want to change the source code of some other plugin, you need to check the package out that contains that plugin. You can simply replace "PetriNets" in the package URL with the package name. A full overview of plugins and in which package they are contained can be found on https://svn.win.tue.nl/trac/prom/wiki/ProM610/Plugins and https://svn.win.tue.nl/trac/prom/wiki/ProM610/Variants.

    Kind regards,
    Eric.


    Post edited by hverbeek on
  • wuyannewuyanne Posts: 18
    hverbeek said:
    Hi,

    You check the code out in Eclipse. For example, you can check out the source code for the PetriNets package from https://svn.win.tue.nl/repos/prom/Packages/PetriNets/Trunk, modify these source codes in Eclipse, and then run ProM with the changed source codes using the package's ProM launch file.

    The PetriNets package contains only plugins related to Petri nets. If you want to change the source code of some other plugin, you need to check the package out that contains that plugin. You can simply replace "PetriNets" in the package URL with the package name. A full overview of plugins and in which package they are contained can be found on https://svn.win.tue.nl/trac/prom/wiki/ProM610/Plugins and https://svn.win.tue.nl/trac/prom/wiki/ProM610/Variants.

    Kind regards,
    Eric.


    Sorry, I don't know how to import from this website to eclipse. Do I need to download every file? Could you explain it in more detail?
  • hverbeekhverbeek Posts: 782
    Hi,

    1. In Eclipse, make sure you have an SVN client installed, like Subclipse.
    2. In Eclipse, Select File / New / Project.
    3. Select SVN / Checkout Projects from SVN and select Next >.
    4. If necessary, create a new repository location: https://svn.win.tue.nl/repos/prom.
    5. Select this location and select Next >
    6. Select Packages / MultiPerspecitveProcessExplorer / Trunk and select Finish.
    This will check out the entire MultiPerspectiveProcessExplorer package as a project in Eclipse.

    Kind regards,
    Eric.
  • wuyannewuyanne Posts: 18
    hverbeek said:
    Hi,

    1. In Eclipse, make sure you have an SVN client installed, like Subclipse.
    2. In Eclipse, Select File / New / Project.
    3. Select SVN / Checkout Projects from SVN and select Next >.
    4. If necessary, create a new repository location: https://svn.win.tue.nl/repos/prom.
    5. Select this location and select Next >
    6. Select Packages / MultiPerspecitveProcessExplorer / Trunk and select Finish.
    This will check out the entire MultiPerspectiveProcessExplorer package as a project in Eclipse.

    Kind regards,
    Eric.
    I just did it! Thank you very much. Best wishes to you! I have another question. Can all the packages I can use in PROM be found in https://svn.win.tue.nl/repos/prom/Packages?
  • hverbeekhverbeek Posts: 782
    Hi,

    Yes, all packages can indeed be found in that repository. Just replace MultiPerspectiveProcessExplorer in the steps mentioned above with the name of the package you want.

    Kind regards,
    Eric.
Sign In or Register to comment.