<commit_before><?xml version="1.0"?>
<!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure//EN" "http://jetty.mortbay.org/configure.dtd">

<!-- THIS IS FOR RUNNING IN local OR development MODE ONLY! YOU SHOULD SET UP JNDI  
ACCORDING TO YOUR SERVER'S DOCUMENTATION AND USE THAT. IT IS NOT RECOMMENDED TO USE JETTY IN 
A PRODUCTION ENVIRONMENT.
-->
<Configure class="org.eclipse.jetty.webapp.WebAppContext">

	<!-- Add an EnvEntry only valid for this webapp -->
	<New id="appName" class="org.eclipse.jetty.plus.jndi.EnvEntry">
		<Arg>appName</Arg>
		<Arg type="java.lang.String">mycompany-site</Arg>
		<Arg type="boolean">true</Arg>
	</New>
	
	<New id="webDS" class="org.eclipse.jetty.plus.jndi.EnvEntry">
		<Arg>jdbc/web</Arg>
		<Arg>
			<New class="org.apache.commons.dbcp.BasicDataSource">
				<Set name="driverClassName">org.hsqldb.jdbcDriver</Set>
				<Set name="url">jdbc:hsqldb:hsql://localhost/broadleaf</Set>
				<Set name="username">sa</Set>
				<Set name="password"></Set>
			</New>
		</Arg>
	</New>
	
	<New id="webSecureDS" class="org.eclipse.jetty.plus.jndi.EnvEntry">
		<Arg>jdbc/webSecure</Arg>
		<Arg>
			<New class="org.apache.commons.dbcp.BasicDataSource">
				<Set name="driverClassName">org.hsqldb.jdbcDriver</Set>
				<Set name="url">jdbc:hsqldb:hsql://localhost/broadleaf</Set>
				<Set name="username">sa</Set>
				<Set name="password"></Set>
			</New>
		</Arg>
	</New>
	
	<New id="cmsStorageDS" class="org.eclipse.jetty.plus.jndi.EnvEntry">
		<Arg>jdbc/cmsStorage</Arg>
		<Arg>
			<New class="org.apache.commons.dbcp.BasicDataSource">
				<Set name="driverClassName">org.hsqldb.jdbcDriver</Set>
				<Set name="url">jdbc:hsqldb:hsql://localhost/broadleaf</Set>
				<Set name="username">sa</Set>
				<Set name="password"></Set>
			</New>
		</Arg>
	</New>

</Configure><commit_msg>Replace env entry with Resource, which is more appropriate.<commit_after><?xml version="1.0"?>
<!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure//EN" "http://jetty.mortbay.org/configure.dtd">

<!-- THIS IS FOR RUNNING IN local OR development MODE ONLY! YOU SHOULD SET UP JNDI  
ACCORDING TO YOUR SERVER'S DOCUMENTATION AND USE THAT. IT IS NOT RECOMMENDED TO USE JETTY IN 
A PRODUCTION ENVIRONMENT.
-->
<Configure class="org.eclipse.jetty.webapp.WebAppContext">

	<!-- Add an EnvEntry only valid for this webapp -->
	<New id="appName" class="org.eclipse.jetty.plus.jndi.EnvEntry">
		<Arg>appName</Arg>
		<Arg type="java.lang.String">mycompany-site</Arg>
		<Arg type="boolean">true</Arg>
	</New>
	
	<New id="webDS" class="org.eclipse.jetty.plus.jndi.Resource">
		<Arg>jdbc/web</Arg>
		<Arg>
			<New class="org.apache.commons.dbcp.BasicDataSource">
				<Set name="driverClassName">org.hsqldb.jdbcDriver</Set>
				<Set name="url">jdbc:hsqldb:hsql://localhost/broadleaf</Set>
				<Set name="username">sa</Set>
				<Set name="password"></Set>
			</New>
		</Arg>
	</New>
	
	<New id="webSecureDS" class="org.eclipse.jetty.plus.jndi.Resource">
		<Arg>jdbc/webSecure</Arg>
		<Arg>
			<New class="org.apache.commons.dbcp.BasicDataSource">
				<Set name="driverClassName">org.hsqldb.jdbcDriver</Set>
				<Set name="url">jdbc:hsqldb:hsql://localhost/broadleaf</Set>
				<Set name="username">sa</Set>
				<Set name="password"></Set>
			</New>
		</Arg>
	</New>
	
	<New id="cmsStorageDS" class="org.eclipse.jetty.plus.jndi.Resource">
		<Arg>jdbc/cmsStorage</Arg>
		<Arg>
			<New class="org.apache.commons.dbcp.BasicDataSource">
				<Set name="driverClassName">org.hsqldb.jdbcDriver</Set>
				<Set name="url">jdbc:hsqldb:hsql://localhost/broadleaf</Set>
				<Set name="username">sa</Set>
				<Set name="password"></Set>
			</New>
		</Arg>
	</New>

</Configure>
{'fraction_non_alphanumeric': 0.18518518518518517, 'fraction_numerical': 0.0010893246187363835, 'mean_word_length': 4.292507204610951, 'pattern_counts': {'":': 0, '<': 127, '<?xml version=': 2, '>': 127, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4615385', 'n_tokens_mistral': 1532, 'n_tokens_neox': 1349, 'n_words': 243}