Loading...
 
Using Eclipse to develop Tikiwiki Type of page »  Developers documentation

Eclipse

Eclipse is an IDE framework that works on many applications

Installation

Eclipse can be downloaded from the eclipse.org website.
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-developers

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

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 Eclipse


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

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

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

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

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

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

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

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

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

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

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 JDBC

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

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

QuickRegEx

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.

Keywords

The following is a list of keywords that should serve as hubs for navigation within the Tiki development and should correspond to documentation keywords.

Each feature in Tiki has a wiki page which regroups all the bugs, requests for enhancements, etc. It is somewhat a form of wiki-based project management. You can also express your interest in a feature by adding it to your profile. You can also try out the Dynamic filter.

Accessibility (WAI & 508)
Accounting
Administration
Ajax
Articles & Submissions
Backlinks
Banner
Batch
BigBlueButton audio/video/chat/screensharing
Blog
Bookmark
Browser Compatibility
Calendar
Category
Chat
Comment
Communication Center
Consistency
Contacts Address book
Contact us
Content template
Contribution
Cookie
Copyright
Credits
Custom Home (and Group Home Page)
Database MySQL - MyISAM
Database MySQL - InnoDB
Date and Time
Debugger Console
Directory (of hyperlinks)
Documentation link from Tiki to doc.tiki.org (Help System)
Docs
DogFood
Draw
Dynamic Content
Preferences
Dynamic Variable
External Authentication
FAQ
Featured links
Feeds (RSS)
File Gallery
Forum
Friendship Network (Community)
Group
Help
History
Hotword
HTML Page
i18n (Multilingual, l10n, Babelfish)
Image Gallery
Import-Export
Install
Integrator
Interoperability
Inter-User Messages
InterTiki
jQuery
Kaltura video management
Karma
Live Support
Logs (system & action)
Lost edit protection
Mail-in
Map
Menu
Meta Tag
Missing features
Visual Mapping
Mobile
Mods
Modules
MultiTiki
MyTiki
Newsletter
Notepad
OS independence (Non-Linux, Windows/IIS, Mac, BSD)
Organic Groups (Self-managed Teams)
Packages
Payment
PDF
Performance Speed / Load / Compression / Cache
Permission
Poll
Profiles
Quiz
Rating
Realname
Report
Revision Approval
Scheduler
Score
Search engine optimization (SEO)
Search
Security
Semantic links
Share
Shopping Cart
Shoutbox
Site Identity
Slideshow
Smarty Template
Social Networking
Spam protection (Anti-bot CATPCHA)
Spellcheck
Spreadsheet
Staging and Approval
Stats
Survey
Syntax Highlighter (Codemirror)
Tablesorter
Tags
Task
Tell a Friend, alert + Social Bookmarking
Terms and Conditions
Theme
TikiTests
Timesheet
Token Access
Toolbar (Quicktags)
Tours
Trackers
TRIM
User Administration
User Files
User Menu
Watch
Webmail and Groupmail
WebServices
Wiki History, page rename, etc
Wiki plugins extends basic syntax
Wiki syntax text area, parser, etc
Wiki structure (book and table of content)
Workspace and perspectives
WYSIWTSN
WYSIWYCA
WYSIWYG
XMLRPC
XMPP




Useful Tools