<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "Is it possible to create a 2nd ehcache.xml file and use it for tests alone?"]]></title>
		<link>http://forums.terracotta.org/forums/posts/list/16.page</link>
		<description><![CDATA[Latest messages posted in the topic "Is it possible to create a 2nd ehcache.xml file and use it for tests alone?"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>Is it possible to create a 2nd ehcache.xml file and use it for tests alone?</title>
				<description><![CDATA[ Hi,
I'm using ehcache but my ehcache.xml file also has terracotta configured into it - therefore when writing tests I run into problems as this slows down the process severely by constantly trying to connect to the terracotta server.

I was wondering is there any way I can create another ehcache.xml file (an exact replica however minus the terracotta config) to use for the sole purpose of running tests?
I know there will be classpath issues but is there any way of overcoming this? 

I'm also using both maven and spring so is there maybe a possibility of injecting the classpath through spring or declaring it in the pom through maven?

Thanks in advance.]]></description>
				<guid isPermaLink="true">http://forums.terracotta.org/forums/posts/list/3923.page#21220</guid>
				<link>http://forums.terracotta.org/forums/posts/list/3923.page#21220</link>
				<pubDate><![CDATA[Wed, 7 Jul 2010 07:35:32]]> GMT</pubDate>
				<author><![CDATA[ Maggsull]]></author>
			</item>
			<item>
				<title>Re:Is it possible to create a 2nd ehcache.xml file and use it for tests alone?</title>
				<description><![CDATA[ There are many options - simplest I suppose you could keep 2 ehcache.xml (ehcache_withTC.xml or ehcache_noTC.xml) files and depending on your environment create a symlink called ehcache.xml to the right one. And have your code bootstrap via ehcache.xml - or use a java-system.property to determine which ehcache.xml to load...


]]></description>
				<guid isPermaLink="true">http://forums.terracotta.org/forums/posts/list/3923.page#21226</guid>
				<link>http://forums.terracotta.org/forums/posts/list/3923.page#21226</link>
				<pubDate><![CDATA[Wed, 7 Jul 2010 10:57:00]]> GMT</pubDate>
				<author><![CDATA[ zeeiyer]]></author>
			</item>
			<item>
				<title>Re:Is it possible to create a 2nd ehcache.xml file and use it for tests alone?</title>
				<description><![CDATA[ Issue seems to be resolved.Please let us know if more information is required.]]></description>
				<guid isPermaLink="true">http://forums.terracotta.org/forums/posts/list/3923.page#28577</guid>
				<link>http://forums.terracotta.org/forums/posts/list/3923.page#28577</link>
				<pubDate><![CDATA[Wed, 20 Jul 2011 03:18:49]]> GMT</pubDate>
				<author><![CDATA[ rajoshi]]></author>
			</item>
	</channel>
</rss>