Quantcast
Channel: JetBrains Developer Community : Thread List - IntelliJ IDEA Users
Viewing all articles
Browse latest Browse all 5661

IDEA 12.1.1 How can I add arbitrary XML file to spring facet?

$
0
0

I'm using IDEA 12.1.1. My project is setup to use ipr and iml files rather than the .idea folder.

 

I want to add an arbitrary Spring XML configuration file to my module's spring facet.

 

  1. I open the spring facet for my module in the module settings.
  2. I have a file set defined in the spring facet.
  3. If I edit the file set (which seems to be called an 'Application Context' in the titlebar of the dialog) I can then press the green plus to the fileset.
  4. I select the "XML based configurations" option.
  5. I then get the Select Path Dialog.
  6. The Select Path Dialog seems to be rooted at the folder containing my project file (the .ipr file) and it is not possible to select anything outside of this folder.
  7. My project file is in a folder that is next to my applications code rather than above the code, therefore I cannot actually navigate the Select Path Dialog to the location of the file that I want to include.

 

 

Does anyone have any ideas why the Select Path Dialog for the XML based configurations of the spring facet is rooted to the .ipr path and does anyone have any suggestions as to how I might add a file from outside this folder without having to redo all the project configuration?

 

Many thanks,

Nicko


Viewing all articles
Browse latest Browse all 5661

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>