Giter Site home page Giter Site logo

nbjoomlaant's Introduction

NBJoomlaAnt

A sample NetBeans 8.0 project for build your joomla extensions on a Joomla 3.x remote website. The idea is to build a simple development environment for your Joomla 3.x extensions, from where you can go further.

author: Walker Gusmão, walker at praiseweb.com.br.

WHAT IT DOES

* Zips your component into a nbproject/package/projectname.zip file
* FTPs your components files into the proper directories as long as remote.directory is set properly 
* (You do that in your project configuration when you specify Remote)

SHORT PROCESS

* loads the nbproject/project.properties file
* loads the private/private.properties file
* loads the FTP connections file that you specify in the private.properies file
** NOTE: You can specify your ${ftp.connections} file directly here.

REQUERIMENTS

* You must have Netbeans Ant Plugin installed, go Tools -> Plugins and install Ant plugin.

INSTALL INSTRUCTIONS

1. Git Clone this project on Netbeans, Team -> Git -> Clone.
Put this url: https://github.com/klarkc/NBJoomlaAnt remeber to enable the "Search for netbeans projects" option.
2. Right click in your project, go Properties -> Run Configuration, setup your ftp parameters.
3. The RemoteConnections directory is at ~/.netbeans/version/config/Preferences/org/netbeans/modules/php/project/RemoteConnections.
In this directory find the file/connection you are using for your project and put your password on a new line as follows:
    password=XXX123YYY ; where XXX123YYY is your password
    This file must be secured, never add these credentials in your projects.
4. So you change the project name in build.xml, line 3.
PS: the project name is without "com_", or "mod_" or anything else and always lowercase.

USAGE

* Build a extension:
Right Click on the build.xml file, Run Target -> zipup and just install your zip file (nbproject/package/projectname.zip) on any Joomla Website.
* Update your extension:
Right Click on the build.xml file, Run Target -> run-ftp

FURTHER INSTRUCTIONS

* If you need further instructions go ahead: http://ant.apache.org/manual/Tasks/ftp.html

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.