Search code examples
netbeansjoomlapackagingjoomla-extensionsnetbeans-8

How do you automatically package PHP code for Joomla! using NetBeans?


Using NetBeans 8, how can I create a script to do each of these things?

  • While in development of a Joomla! component, I would like to make contents of the site and admin sub-directories, go into the components and administrator/components directories respectively of the local Joomla! instance.
  • Create a ZIP file containing only the files for distribution.

Solution

  • For such a scenario you should look into Phing (or even Apache Ant).

    The Joomla Documentation provides some basic steps to do this in Eclipse. I am sure it can be valuable to achieve something similar in Netbeans as well.

    Extension development using eclipse and phing

    Joomla Ant build files

    Hope this helps a bit to get you in the right direction.