Skip to Content Skip to Navigation
bobbravo2: @hostgator Sponsored WordCamp Houston (@wordcamphtx) August 7th, I want to be there! #wchtx
bobbravo2: Starcraft 2 is awesome so far

XML file for Joomla Front-end editing

Phing build file for automatically building the Component/Plugins for Joomla front-end editing

Adjust the file paths to match your development environment (the following are on a windows XP vm running WAMP)

<?xml version="1.0" ?>
<project name="testsite" basedir="." default="main">
 <property name="package"  value="${phing.project.name}" override="true" />
 <property name="components" value="C:\wamp\www\Joomla Dev\Joomla 1.5 Source\components" override="true" />
 <property name="plg_sys" value="C:\wamp\www\Joomla Dev\Joomla 1.5 Source\plugins\system" override="true" />
 <property name="srcdir"   value="${project.basedir}" override="true" />
 <!-- Fileset for all files -->
 <fileset dir=".\components" id="compdir">
 <include name="**" />
 </fileset>
 <!-- system plugin -->
 <fileset dir=".\plugins\system\frontendeditor" id="sysplgdir">
 <include name="**" />
 </fileset>
 <!-- content plugin -->
 <fileset dir=".\plugins\content\articleeditor" id="contplgdir">
 <include name="**" />
 </fileset>
 
 
 <!-- Main Target -->
 <target name="main" description="main target">
 <copy todir="${components}">
 <fileset refid="compdir" />
 </copy>
 <copy todir="${plg_sys}">
 <fileset refid="sysplgdir" />
 <fileset refid="contplgdir" />
 </copy>
 </target>
 
 <!-- Rebuild -->
 <target name="rebuild" description="rebuilds this package">
 <delete dir="${builddir}" />
 <phingcall target="main" />
 </target>
</project>
 

blog comments powered by Disqus