Talk:Setting up your workstation for Joomla! development -- Part 2

From Joomla! Documentation

Jump to: navigation, search

Can you add a section for those of us that are doing extension development? ie. how do we do this when the svn is our project NOT for doing joomla dev itself, if I'm making sense.

Contents

To debug your site, not Joomla itself

I am using eclipse to debug my particular sites not to make patches for the Joomla core.

I have found the following to work, there may be a better way, I'm still new at this.

  1. create a new php project
  2. navigate to the new project in the PHP Explorer
  3. use akeeba backup to make a copy of your site
  4. expand the backup in a temporary folder outside of the workspace
  5. use file/import/general/file system to bring in all of the resources (files and folders) for the entire site
  6. run the install

Actually just found an easier way

  • create the project and select "Create project at existing location"
    • for me, the project is already in my MAMP root folder 'htdocs'
    • be sure to use exactly the same name as the current htdocs folder for the project name
    • this does create a couple hidden files in the folder that you'll want to be sure don't go up to your production site.

Added new article for extension development

Great idea! See Setting up your workstation for extension development. Mark Dexter 02:08, 23 January 2009 (UTC)

Error in "Recommended eclipse settings"

-startup
plugins\org.eclipse.equinox.launcher_1.0.101.R34x_v20080819.jar
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
512m
-vmargs
-Xms512m
-Xmx512m

Don“t know about Linux machines, but on Windows Systems the line starting with "plugins" must have a "/" instead of "\", or eclipse will throw an error on startup, mentioning, that it can't find the corresponding launcher.

For Windows the correct syntax must be:

plugins/org.eclipse.equinox.launcher_1.0.101.R34x_v20080819.jar

--mk2-design 15:14, 12 September 2009 (UTC)

Well, on my XP and Vista machines, that syntax works fine with Eclipse 3.4. Mark Dexter 22:02, 12 September 2009 (UTC)

Extension Installation

I was able to get through it on my own, but I noticed this tutorial doesn't provide any guidance as to installing extensions in Eclipse. Specifically, I had no SVN enabling extension installed by default, but in the tutorial it seems like I should. Maybe a link to a help topic, or acknowledgment that I might need to install some extensions?

Hi. This is the second part of the article. In the first part, it guides you through installing SVN for Eclipse. Here is the link: Setting_up_your_workstation_for_Joomla!_development#Install_Eclipse_Subversion. Mark Dexter 22:09, 1 October 2009 (UTC)

Not prompted for username and password when Check Out Joomla Source

>When it asks for the username and password, use "anonymous" as the username and leave the password blank.

I didn't get prompted for a username and password as per the instructions. To solve I had to change the following setting:

preferences->team->SVN->SVN Interface->Client

Change from JavaHL to SVNKit

regards

Tim

Change in default path in Eclipse 2.2

See eclipse bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=330744

Note the instructions at the bottom, for each project, go into properties, php-debug and set the appropriate path

Personal tools