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

Copy directory structure to Tomcat

$
0
0

Hi,

 

I need to copy a directory (with its subdirectories) from my Tomcat\etc to the ${CATALINA_BASE}\etc directory.

 

Suppose my TOMCAT_HOME is /home/bdusauso/tomcat.

Inside ${TOMCAT_HOME} there is the /etc directory which contains files and subdirectories.

 

When deploying my app to tomcat, IntelliJ takes /home/bdusauso/.IntelliJIdea12/system/tomcat as CATALINA_BASE.

But my application needs files in the /etc subdirectory of CATALINA_BASE :

 

org.springframework.beans.factory.BeanInitializationException: Could not load properties; nested exception is java.io.FileNotFoundException: /home/bdusauso/.IntelliJIdea12/system/tomcat/Unnamed_plmrep_4/etc/plmrep/env.properties (The system cannot find the path specified)

 

So, how can I tell IntelliJ to copy this directory at the right place ?

 

Thanks.


Viewing all articles
Browse latest Browse all 5661

Latest Images

Trending Articles



Latest Images

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