Archive

Archive for the ‘eclipse’ Category

Upgrade to Flex 3.5 – removes html templates files

May 29, 2010 Leave a comment

I came across the problem when I upgraded my Eclipse Flex Builder Plugin to use Flex 3.5 SDK.

When I was using clean my project option, it was removing html-template folders content, and solution is (I found a solution on web from one blog/ article):

Go to your project’s properties (right click, Properties)
Go to Flex Compiler
Under “Html wrapper” un-check “Generate HTML wrapper file” Click “Apply”
Then check “Generate HTML wrapper file” (the same one you just unchecked)
Click “Apply”
You should now see that the html wrapper files are regenerated.

This happened to me when I used the clean option on one of my projects.

Advertisements
Categories: eclipse, Flex, Flex SDK

Snippets in CFEclipse

September 28, 2009 Leave a comment

Found this on Ray’s site where Bob wrote it in his comments to one article, thanks Bob (article)

Snippets in CFEclipse

Set directory in Eclipse: Window > Preferences > CFEclipse > alter File Paths To Snippets Directory

To create a snippet in Eclipse, open Snip Tree View (Window > Show View > Snip Tree View). Click the + icon to add a new snippet. ‘Insert’ inserts the current snippet into your CF document.

Each snippet comprises one XML file, for example here’s a basic CFQUERY for a SELECT:

select
select
<!–[CDATA[
SELECT
FROM
WHERE
]]–>

If you’re working in a team environment, you could point everyone’s snippet file path to the same network directory in order to share snippets.

PS: remove before pasting in Eclipse

Categories: eclipse