<commit_before><?xml version="1.0" encoding="UTF-8"?>
<project name="activiti.qa.db">

	<target name="create.db.schema">
		<echo message="creating database schema"/>
		<echo message="  basedir: ${basedir}"/>
		<echo message="  database: ${database}"/>
		<property file="${user.home}/.activiti/jdbc/${database}.properties"/>
		<echo message="  jdbc.driver: ${jdbc.driver}"/>
		<echo message="  jdbc.url: ${jdbc.url}"/>
		<echo message="  jdbc.username: ${jdbc.username}"/>
		<echo message="  jdbc.password: ${jdbc.password}"/>
		<!-- echo message="  test_classpath: ${test_classpath}" / -->
		<path id="test.classpath">
			<pathelement path="${test_classpath}"/>
		</path>
		<sql driver="${jdbc.driver}" password="${<PASSWORD>}" url="${jdbc.url}" userid="${jdbc.username}" classpathref="test.classpath">
			<javaresource name="org/activiti/db/create/activiti.${database}.create.sql" classpathref="test.classpath"/>
		</sql>
	</target>

	<target name="drop.db.schema">
		<echo message="dropping database schema"/>
		<echo message="  basedir: ${basedir}"/>
		<echo message="  database: ${database}"/>
		<property file="${user.home}/.activiti/jdbc/${database}.properties"/>
		<echo message="  jdbc.driver: ${jdbc.driver}"/>
		<echo message="  jdbc.url: ${jdbc.url}"/>
		<echo message="  jdbc.username: ${jdbc.username}"/>
		<echo message="  jdbc.password: ${jdbc.password}"/>
		<!-- echo message="  test_classpath: ${test_classpath}" / -->
		<path id="test.classpath">
			<pathelement path="${test_classpath}"/>
		</path>
		<sql driver="${jdbc.driver}" password="${<PASSWORD>}" url="${jdbc.url}" userid="${jdbc.username}" classpathref="test.classpath">
			<javaresource name="org/activiti/db/drop/activiti.${database}.drop.sql" classpathref="test.classpath"/>
		</sql>
	</target>
	
	<!-- target name="create.activiti.cfg">
		<echo message="creating activiti.cfg.xml in target environment"/>
		<echo message="  basedir: ${basedir}"/>
		<echo message="  database: ${database}"/>
		
		<property file="${user.home}/.activiti/jdbc/${database}.properties"/>

		<echo message="  jdbc.driver: ${jdbc.driver}"/>
		<echo message="  jdbc.url: ${jdbc.url}"/>
		<echo message="  jdbc.username: ${jdbc.username}"/>
		<echo message="  jdbc.password: ${jdbc.password}"/>
		
		<replaceregexp file="./target/test-classes/activiti.cfg.xml" flags="s"
		                match='database type=".*?"' 
			              replace='database type="${database}"'/>
		<replaceregexp file="./target/test-classes/activiti.cfg.xml" flags="s"
		                    match='driver=".*?"' 
		                    replace='driver="${jdbc.driver}"'/>
		<replaceregexp file="./target/test-classes/activiti.cfg.xml" flags="s"
		                        match='url=".*?"' 
		                        replace='url="${jdbc.url}"'/>
		<replaceregexp file="./target/test-classes/activiti.cfg.xml" flags="s"
		                        match='username=".*?"' 
		                        replace='username="${jdbc.username}"'/>
		<replaceregexp file="./target/test-classes/activiti.cfg.xml" flags="s"
		                        match='password=".*?"' 
		                        replace='password="${<PASSWORD>}"'/>
		<replaceregexp file="./target/test-classes/activiti.cfg.xml" flags="s"
		                        match='schema-strategy=".*?"' 
		                        replace='schema-strategy="false"'/>
	</target -->
	
</project><commit_msg>re-enabled and fixed target create.activiti.cfg in qa/db/build.xml<commit_after><?xml version="1.0" encoding="UTF-8"?>
<project name="activiti.qa.db">

	<target name="create.db.schema">
		<echo message="creating database schema"/>
		<echo message="  basedir: ${basedir}"/>
		<echo message="  database: ${database}"/>
		<property file="${user.home}/.activiti/jdbc/${database}.properties"/>
		<echo message="  jdbc.driver: ${jdbc.driver}"/>
		<echo message="  jdbc.url: ${jdbc.url}"/>
		<echo message="  jdbc.username: ${jdbc.username}"/>
		<echo message="  jdbc.password: ${jdbc.password}"/>
		<!-- echo message="  test_classpath: ${test_classpath}" / -->
		<path id="test.classpath">
			<pathelement path="${test_classpath}"/>
		</path>
		<sql driver="${jdbc.driver}" password="${<PASSWORD>}" url="${jdbc.url}" userid="${jdbc.username}" classpathref="test.classpath">
			<javaresource name="org/activiti/db/create/activiti.${database}.create.sql" classpathref="test.classpath"/>
		</sql>
	</target>

	<target name="drop.db.schema">
		<echo message="dropping database schema"/>
		<echo message="  basedir: ${basedir}"/>
		<echo message="  database: ${database}"/>
		<property file="${user.home}/.activiti/jdbc/${database}.properties"/>
		<echo message="  jdbc.driver: ${jdbc.driver}"/>
		<echo message="  jdbc.url: ${jdbc.url}"/>
		<echo message="  jdbc.username: ${jdbc.username}"/>
		<echo message="  jdbc.password: ${jdbc.password}"/>
		<!-- echo message="  test_classpath: ${test_classpath}" / -->
		<path id="test.classpath">
			<pathelement path="${test_classpath}"/>
		</path>
		<sql driver="${jdbc.driver}" password="${<PASSWORD>}" url="${jdbc.url}" userid="${jdbc.username}" classpathref="test.classpath">
			<javaresource name="org/activiti/db/drop/activiti.${database}.drop.sql" classpathref="test.classpath"/>
		</sql>
	</target>
	
	<target name="create.activiti.cfg">
		<echo message="creating activiti.cfg.xml in target environment"/>
		<echo message="  basedir: ${basedir}"/>
		<echo message="  database: ${database}"/>
		
		<property file="${user.home}/.activiti/jdbc/${database}.properties"/>

		<echo message="  jdbc.driver: ${jdbc.driver}"/>
		<echo message="  jdbc.url: ${jdbc.url}"/>
		<echo message="  jdbc.username: ${jdbc.username}"/>
		<echo message="  jdbc.password: ${jdbc.password}"/>
		
		<replaceregexp file="./target/test-classes/activiti.cfg.xml" flags="s"
		                match='databaseType=".*?"' 
			              replace='databaseType="${database}"'/>
		<replaceregexp file="./target/test-classes/activiti.cfg.xml" flags="s"
		                    match='jdbcDriver=".*?"' 
		                    replace='jdbcDriver="${jdbc.driver}"'/>
		<replaceregexp file="./target/test-classes/activiti.cfg.xml" flags="s"
		                        match='jdbcUrl=".*?"' 
		                        replace='jdbcUrl="${jdbc.url}"'/>
		<replaceregexp file="./target/test-classes/activiti.cfg.xml" flags="s"
		                        match='jdbcUsername=".*?"' 
		                        replace='jdbcUsername="${jdbc.username}"'/>
		<replaceregexp file="./target/test-classes/activiti.cfg.xml" flags="s"
		                        match='jdbcPassword=".*?"' 
		                        replace='jdbcPassword="${<PASSWORD>}"'/>
		<replaceregexp file="./target/test-classes/activiti.cfg.xml" flags="s"
		                        match='databaseSchemaUpdate=".*?"' 
		                        replace='databaseSchemaUpdate="false"'/>
	</target>
	
</project>
{'fraction_non_alphanumeric': 0.21222287047841307, 'fraction_numerical': 0.0008751458576429405, 'mean_word_length': 3.293675641828428, 'pattern_counts': {'":': 0, '<': 115, '<?xml version=': 2, '>': 115, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 17}, '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': '5955223', 'n_tokens_mistral': 2382, 'n_tokens_neox': 2089, 'n_words': 357}