FDT 4 & Project Templates

/, FDT/FDT 4 & Project Templates

If you install the final release of FDT4 the location of the FDT folder, which included the project types & project templates on Mac OS X has changed.
In the past it was located in your main Users folder:

[box] /Users/{yourusersname}/FDT[/box]

Now it has changed to

[box] /Users/{yourusersname}/Library/Application Support/FDT[/box]

you will see this folder structure

So as an example if you want to change your output folder from bin to deploy in your Empty AS 3 project, you would use this new location

[box] /{yourusersname}/Library/Application Support/FDT/projectTemplates/Web/EmptyAS3/description.xml[/box]

Mine reads like so

<?xml version="1.0" encoding="UTF-8"?>
<tns:projectTemplate xmlns:tns="http://fdt.powerflasher.com/ProjectTemplate"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://fdt.powerflasher.com/ProjectTemplate ../../projectTemplate.xsd">

<name>Empty AS3 Project</name>
	<description>This template contains only the basic libraries to develop and compile a pure AS3 project.</description>
	<projectType>AS 3</projectType>
	<folders>
		<sourceFolder>src</sourceFolder>
		<outputFolder>deploy</outputFolder>
	</folders>
</tns:projectTemplate>

By | 2010-09-27T01:47:06+00:00 September 27th, 2010|Blog, FDT|1 Comment

About the Author:

One Comment

  1. JohnO September 27, 2010 at 1:54 am

    I’d start by creating a copy of the existing project template, renaming it,and modify it to match your project setup needs. My new project template that I use creates my standard project setup with RobotLegs, AS3 Signals, and OSMF 1.0 already setup with the package structure that I like to use. Project templates don’t support variables yet (vote here for variables http://bugs.powerflasher.com/jira/browse/FDT-1195), but a quick refactor works to rename my project files.

    More info here: http://www.fdt.powerflasher.com/milestone-2/fdt-4-tutorial-project-types-and-project-templates/

Leave A Comment