•  · 29 friends

Publishing Third Party Modules

This is a request for Boonex to provide very clear instructions on how third-party vendors can package their modules for publishing in the marketplace. I have many modules built at this stage but unable to publish as I cannot make headway with the limited information provided on packaging modules. 

This is what I have gathered and attempted so far.

1) Phing must be downloaded from https://www.phing.info/ 

2) The phing-latest.phar file should be uploaded to UNA root folder

3)  build.xml along with "tests" folder must be copied from https://github.com/unaio/una and pasted in UNA root folder

4) Run the following command: php phing-latest.phar

After following the steps above, I am getting the following error ..... Unable to find property file: path_to_una\build.properties.

Have I missed a step? If not, where can I find this missing build.properties file?

I am hoping a Boonex staff member or some developer that has published a module already can shed some light here. 


Regards,

Modzzz

1 0 0 0 0 0
  • 294
Replies (11)
  • Una Team go4it please, we need his modules :)

    0 0 0 0 0 0
    • build.xml is made to work with development environment, so it's better to clone whole repository to be able to run phing, however copying build.xml and tests folders should work as well.

      Unable to find property file: path_to_una\build.properties.

      build.properties isn't required, so this isn't error but a notice.

      When you run phing without params (for example: php phing-latest.phar) then default target is run which is running phpunit tests. To package module you need to pass additional parameters as described in the documentation.

      0 0 0 0 0 0
      • Thank you for your assistance Alex T

        The following worked for step 4:

        4) Run the following command: php phing-latest.phar package_module -Dvendor=modzzz -Dmodule=tutorials

        where "modzzz" is the vendor name and "tutorials" is the module being packaged

        0 0 0 0 0 0
        • Don't you just hate that you have to jump through hoops to do something that was so simple with Dolphin?

          0 0 0 0 0 0
          • Alex T⚜️ and Andrew Boon guys. Can we just spend a few minutes and record some videos that walk through the process of module publishing and app compiling.  


            Why have us struggle like this. 

            0 0 0 0 0 0
            • Can't wait to see what you have in store for us and welcome

              0 0 0 0 0 0
              • Myself as well... Excited.

                0 0 0 0 0 0
                • let us know when you have them in the market!

                  0 0 0 0 0 0
                  • Alex T⚜️ and Andrew Boon guys. Can we just spend a few minutes and record some videos that walk through the process of module publishing and app compiling.  

                    Why have us struggle like this. 

                    We'll try to do it in the future.

                    0 0 0 0 0 0
                    • Hi Jerome Mingo, Alex T⚜️ 

                      I am trying to package my first  module but I don't find specific instructions to do it.

                      Is PHING only option to do it? 

                      Could you help me posting the links to this process. 


                      Thanks in advance!


                      0 0 0 0 0 0
                      • 1) Phing must be downloaded from https://www.phing.info/ 

                        2) The phing-latest.phar file should be uploaded to UNA root folder

                        3)  build.xml along with "tests" folder must be copied from https://github.com/unaio/una and pasted in UNA root folder

                        4) Run the following command: php phing-latest.phar package_module -Dvendor=modzzz -Dmodule=tutorials

                           (where "modzzz" is the vendor name and "tutorials" is the module being packaged)

                        After Step 4), the zip file for the module will be created in a packages folder (found in your UNA root)

                        To facilitate the above, I have a local installation of UNA using Ampps

                        0 0 0 0 0 0
                        Not logged in users can't 'Comments Post'.
                        Added:
                        Category:

                        UNA - Social Media Software Framework

                        Close