Fullscreen
Loading...
 
Skip to main content
Using Eclipse to develop Tikiwiki

Eclipse

Eclipse is an IDE framework that works on many applications

Installation

Eclipse can be downloaded from the eclipse.org websiteQuestion.
We recommend to use Oxygen release (4.7) as it is more stable than the latest release.

Depending on your needs you may either start with :
Eclipse for PHP Developers
http://www.eclipse.org/downloads/packages/release/oxygen/3a/eclipse-php-developersQuestion

Eclipse IDE for JavaScript and Web Developers
http://www.eclipse.org/downloads/packages/release/oxygen/3a/eclipse-ide-javascript-and-web-developersQuestion

Both versions can be augmented with all the different modules.
Your are suggested to install the Service Interface and Datatype Editor that will be very useful if you have to edit XML/XSD file.

Plug-ins

Eclipse use an update manager to add plugins.
You can look at the plugins which are already installed by going into menu Help โ†’ Install New Software... โ†’ Manage
You can add those repositories to Eclipse installation by going into menu Help โ†’ Install New Software... โ†’ Add
Howto add a repository to EclipseQuestion


Eclipse PHP Development Tools (PDT)
https://download.eclipse.org/tools/pdt/updates/latest/Question

Service Interface and Datatype Editor (For XML/XSD/WSDL)
https://download.eclipse.org/webtools/incubator/repository/sieditor/snapshot/Question

Markdown Editor (All versions)
https://nodeclipse.github.io/updates/markdown/Question

Data Tools Platform (DTP) 1.14.1 (Oxygen) - Include SQL Query Builder
https://download.eclipse.org/datatools/1.14.1.201712071719/repositoryQuestion

Eclipse C/C++ Development Tooling Required by Linux Tools
https://download.eclipse.org/tools/cdt/releases/9.4Question (CDT 9.4.3 for Eclipse Oxygen)

Eclipse Linux Tools 6.2.0 (Oxygen)
https://download.eclipse.org/linuxtools/update-6.2.0/Question

Papyrus Modeling environment (UML2)
https://download.eclipse.org/modeling/mdt/papyrus/updates/releases/oxygenQuestion

Visual Editor for XML (VEX)
https://download.eclipse.org/vex/releases/latest/Question

Eclipse Update Site for Web Tools Platform and other eclipse tools. Recommended for Javascript editing.
https://download.eclipse.org/releases/oxygen/Question

SVN Connector
https://download.eclipse.org/technology/subversive/4.0/update-site/Question (Subversive Plugin)
Subversive HomepageQuestion

Sample connection string (when specifying mysql driver): jdbc:mysql://ip:port/dbname?zeroDateTimeBehavior=convertToNull

NOTE: You will need the current version of MySQL Connector/J (the database connector for Eclipse). Download the driver jar file, put it somewhere convenient (such as the root level of your workspace folder), and then go into SQL Explorer. Click the "Create New Connection Profile" button above the connections list, then the "New Driver..." button in the ensuing dialog. From here, enter a name for the driver and the example URL from above (with the connection details filled in). Click the "Extra Class Path" header, then the "Add" button. Choose the Connector/J jar file from the dialog. Click "List Drivers", then select "com.mysql.jdbc.Driver" from the Driver Class Name dropdown and save your changes. Your new MySQL driver should now show up in the driver list with the name you gave it.

MySQL Connector for JDBCQuestion

RedExp Tester for EclipseQuestion: Allows you to build and test regular expressions within the Eclipse IDE.

RegexUtilQuestion: Eclipse plugin for testing/editing regular expressions flavor of the Sun Java standard API

QuickRegExQuestion

Start with Tiki

Create a workspace then in the left pane right click, choose import, from SVN and enter the link to the Tikiwiki SVN repository. Follow the instructions on the screen.
Example SVN repositories: https://svn.code.sf.net/p/tikiwiki/code/trunk, https://svn.code.sf.net/p/tikiwiki/code/branches/18.x

Import the code templates and formatting into your workspace.

To commit or update, right click on the file name in the tree, select team and pick commit, update, etc...

If you want to download your own offline repository then you first need to download one of the Eclipse packages as you need to be able to run Eclipse to download the repository. The makeupdates.tar.gz file contain multiples scripts to download each one of the different repository for offline use. You can call each script with ECLIPSEFOLDER=(your eclipse folder) and UPDATEFOLDER=(where you want the downloads main folder). By default ECLIPSEFOLDER will be set to $HOME/eclipse and UPDATEFOLDER to $HOME/tmp/eclipse.

Problem with classes not found in PHP

If you get thousands of errors when loading Tiki into Eclipse then you may have a problem with Eclipse not finding the regular PHP classes created in the main namespace. You should quit Eclipse and go into your project folder. If you have a file named .buildpath then you should add the buildpathentry as found in the file php-buildpath-fix. In case there is not .buildpath file you can simply copy the php-buildpath-fix into your project top folder and rename it to .buildpath.

Don't hesitate to look into the mailing lists or ask for help. We're not only OpenSource, we are also a open community.

Show PHP error messages