Been using IntelliJ for CFML development for quite some time... Now I want to actually set it up properly :)
Here is my project structure:
- website
- components
- com
- maorleger
- bunch of components and subfolders with more components
- modelglueapp
- config
- maorleger
- model-glue xml's
- controller
- maorleger
- cfcs here for model-glue controllers
- views
- maorleger
- cfms here for model-glue views
- wwwroot
- maorleger - THIS IS MY DOCUMENT ROOT!
- css
- js
- some cfms (use m.cfm in examples below)
I was wondering if someone can help me set this project up in intellij. It is an existing project and I changed some names to keep things general.
Basically, I'd like to be able to get the most out of the CFML plugin. But for example in my m.cfm when I say something like:
<script src="/maorleger/js/jsfile.js" />
it does not recognize the file unless I prefix with:
<script src="/wwwroot/maorleger/js/jsfile.js" />
But then the application won't recognize the path.
Can anyone help me here? Sorry if it's a newbie question but alas I am a newbie :)
Another thing, is there anyway I can map beans to cfcs?
So I can do something like application.beanFactory.getBean('myBean').<autocompletion here for myBean component>
Thanks so much in advance! I'll be happy to supply more information and apologize if these have been asked before
--
You received this message because you are subscribed to the Google Groups "CFML plugin for IntelliJ IDEA" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cfml-plugin-for-inte...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
To unsubscribe from this group and stop receiving emails from it, send an email to cfml-plugin-for-intellij-idea+unsub...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "CFML plugin for IntelliJ IDEA" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cfml-plugin-for-intellij-idea+unsub...@googlegroups.com.
Yup, Ctrl+Shift+S to get to Settings; click ColdFusion under Project Settings; then add to Server Mappings, e.g., Directory path=/path/to/website/components/com and Logical path=/com
On Wed, Aug 14, 2013 at 3:40 PM, Matt Quackenbush wrote:
The server mapping is the logical path to the folder.
--
Sounds like an IDEA CFML Support bug, as the CFML engine would use the same resolution process (i.e., Web root and mappings) for createObject(), new X(), cfinclude, cfmodule, cfobject, etc.