6 Replies Latest reply on Oct 28, 2008 10:22 PM by kukeltje

    PAR file definition

    ricardomarques

      Hi

      Is there somewhere something ragarding the PAR files definition, rules, how they are composed something like that. I can see eclipse creates them, but i'like to know what's mandatory or not.


      Thanks

        • 1. Re: PAR file definition
          kukeltje

          a par file is a zip file.

          Mandatory when using the webconsole:
          - processdefinition
          - form definitions
          - forms.xml
          - process image (but I'm not quite sure on this)

          Mandatory when using just the engine:
          - processdefinition

          • 2. Re: PAR file definition
            ricardomarques

            ok thanks, but still regarding the PAR files, I'm looking at the data model, table jbpm_processdefinition, by the name I guess that's where the process files are kept. Is my guess right?

            Because I can't see where the classes and definition files are kept, it doesn't like the table jbpm_processdefinition can record this information. How the PAR are saved as a PAR, or the content is split to many other tables?

            Can your clear a bit this issue please?

            This is a bit important because I would probably to use the same action class to many process definitions, don't know if that ir currently possible without redundancy.

            • 3. Re: PAR file definition
              gastaldi

              This is something I always wanted to know. Where are the uploaded images and classes located ??

              • 4. Re: PAR file definition
                kukeltje

                in the database

                • 5. Re: PAR file definition
                  gastaldi

                  Ronald,

                  Would you be more specific ? Which table, which column(s) ? Where is this info in the hibernate mapping ?

                  Thanks

                  • 6. Re: PAR file definition
                    kukeltje

                    They are put there in a kind of binary form. Details not known to me (just never investigated it)

                    Table definitions in relation to classes can be found here:

                    http://www.jboss.org/community/docs/DOC-11086

                    And the source is always there to look at. Just take a look at the archive parser. This is not documented since it is never used by endusers. They can access files stored in the db (from the processarchive) via the api. Search the forum and/or wiki for some more details on this.