Talk

Difference between revisions of "Setting up your workstation for extension development (build with Phing)"

From Joomla! Documentation

Line 33: Line 33:
 
--[[User:PtrNrs|Pete Nurse]] 01:35, 16 March 2010 (UTC)
 
--[[User:PtrNrs|Pete Nurse]] 01:35, 16 March 2010 (UTC)
  
*As noted at http://nickhumphrey.net/showthread.php?p=3277, you can get a "Commit failed . . . Item is out of date" error when perfectly innocently deleting a folder and then trying to commit.  The solution (work-around?) is:-
+
*You can get a "Commit failed . . . Item is out of date" error when deleting (&or moving?) a folder and then trying to commit.  The work-around (from http://nickhumphrey.net/showthread.php?p=3277) is:-
 
:Delete the folders;
 
:Delete the folders;
 
:Team->Synchronize with Repository;
 
:Team->Synchronize with Repository;
 
:Team->Commit
 
:Team->Commit
 
--[[User:PtrNrs|Pete Nurse]] 07:37, 4 April 2010 (UTC)
 
--[[User:PtrNrs|Pete Nurse]] 07:37, 4 April 2010 (UTC)

Revision as of 02:39, 4 April 2010

This article fails to explain the content of the original package before it is installed, way before setting up PHING needs improvement.

Quite unfair comment that. Mark's previous two articles cover the setup of XAMPP/Eclipse/Joomla in comprehensive detail. http://docs.joomla.org/Setting_up_your_workstation_for_Joomla!_development http://docs.joomla.org/Setting_up_your_workstation_for_Joomla%21_development_--_Part_2 (Pete Nurse 00:43, 16 March 2010 (UTC))

Tips & Traps for Eclipse/SVN/JoomlaCode[edit]

These are issues that I've come up against. Maybe my solutions are not definitively correct.

  • Good JoomlaCode resources (and they're hard to find!) are at:-
forum.joomla.org: JoomlaCode.org
docs.joomla.org: JoomlaCode FAQs (mostly admin stuff)
joomlacode.org: FAQs
  • To create a JoomlaCode account, go to the JoomlaCode Project page and click on the "add new Project" bottom at the very bottom of the page. In time your application will be reviewed and (hopefully) approved.
  • To initially put your project under SVN version control, right click the project folder and then select Team->Share Project....
  • Eclipse will not let you upload to the root folder of your JoomlaCode Project. Instead, upload to a folder with the same name as your Eclipse project.
  • When deleting a folder in Eclipse's Explorer window and then commit by right clicking and selecting Team->Commit you can (do?) get the following error:-
svn:Commit failed item . . . is out of date
To overcome this, delete the folder in the SVN repository (Window->Show View->SVN Respositories) first and then right click on teh folder and select Team->Update to HEAD.
  • Under some circumstances, you might find that you cannot write to the reposisitory receiving the following error:-
svn: Server sent unexpected return value (403 Forbidden) in response to MKACTIVITY request
This may be due to a problem with password caching. The following page shows how to clear the cached passwords:-
http://help.collab.net/index.jsp?topic=/faq/clear_old_password.html

--Pete Nurse 01:35, 16 March 2010 (UTC)

Delete the folders;
Team->Synchronize with Repository;
Team->Commit

--Pete Nurse 07:37, 4 April 2010 (UTC)