Skip to main content
nikos101
Inspiring
June 1, 2010
Answered

Bad news if I can't debug cfcs in a flex project

  • June 1, 2010
  • 1 reply
  • 2192 views

I'm trying to debug a cfc in a flex project Coldfusion builder installed as a plugin is Flash builder 4

But I'm getting a message saying:

File does not belong to a coldfusion project. Apply Coldfusion nature to the project to which the file belongs.

This is bad news if I can't debug cfcs in a flex project

This topic has been closed for replies.
Correct answer Abram Adams

Personally I'd keep them as separate projects.  You can still have both projects opened in eclipse and it will choose the proper editor when you open an .mxml/as vs .cfc/cfm file.

I'm actually developing a project now that embeds Railo into my Flex/Air app (to take my cf apps offline) so I have CFML that lives inside the packaged air application.  Even in this situation I keep them separate and use a custom ant build to export my CF project (from svn) to the appropriate directory in my Flex/Air project.

1 reply

Participating Frequently
June 3, 2010

Just trying to understand this, but why do you have ColdFusion CFCs within a Flex project?  Your Flex project is compiled and will live client side, while your ColdFusion CFCs are going to live on the server.

nikos101
nikos101Author
Inspiring
June 3, 2010

Because the cfcs are specific to the flex project, I like having all my files that relate to an application in a single flex project.

nikos101
nikos101Author
Inspiring
June 9, 2010

Personally I'd keep them as separate projects.  You can still have both projects opened in eclipse and it will choose the proper editor when you open an .mxml/as vs .cfc/cfm file.

I'm actually developing a project now that embeds Railo into my Flex/Air app (to take my cf apps offline) so I have CFML that lives inside the packaged air application.  Even in this situation I keep them separate and use a custom ant build to export my CF project (from svn) to the appropriate directory in my Flex/Air project.


can you share your ant build?