<commit_before>package de.wwu.md2.framework.generator.backend

class ProjectSettings {
	
	def static jsdtscope() '''
		<?xml version="1.0" encoding="UTF-8"?>
		<classpath>
			<classpathentry kind="src" path="WebContent"/>
			<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.JRE_CONTAINER"/>
			<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.WebProject">
				<attributes>
					<attribute name="hide" value="true"/>
				</attributes>
			</classpathentry>
			<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.baseBrowserLibrary"/>
			<classpathentry kind="output" path=""/>
		</classpath>
	'''
	
	def static orgEclipseJdtCorePrefs() '''
		eclipse.preferences.version=1
		org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
		org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
		org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
		org.eclipse.jdt.core.compiler.compliance=1.6
		org.eclipse.jdt.core.compiler.debug.lineNumber=generate
		org.eclipse.jdt.core.compiler.debug.localVariable=generate
		org.eclipse.jdt.core.compiler.debug.sourceFile=generate
		org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
		org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
		org.eclipse.jdt.core.compiler.source=1.6
	'''
	
	def static orgEclipseJptCorePrefs() '''
		eclipse.preferences.version=1
		org.eclipse.jpt.core.platform=generic2_0
		org.eclipse.jpt.jpa.core.discoverAnnotatedClasses=true
	'''
	
	def static orgEclipseWstCommonComponent(String basePackageName) '''
		<?xml version="1.0" encoding="UTF-8"?>
		<project-modules id="moduleCoreId" project-version="1.5.0">
		    <wb-module deploy-name="«basePackageName»">
		        <wb-resource deploy-path="/" source-path="/WebContent" tag="defaultRootSource"/>
		        <wb-resource deploy-path="/WEB-INF/classes" source-path="/src"/>
		        <property name="context-root" value="«basePackageName»"/>
		        <property name="java-output-path" value="/«basePackageName»/build/classes"/>
		    </wb-module>
		</project-modules>
	'''
	
	def static orgEclipseWstCommonProjectFacetCorePrefs() '''
		<root>
		  <facet id="jpt.jpa">
		    <node name="libprov">
		      <attribute name="provider-id" value="jpa-user-library-provider"/>
		    </node>
		  </facet>
		</root>
	'''
	
	def static orgEclipseWstCommonProjectFacetCore() '''
		<?xml version="1.0" encoding="UTF-8"?>
		<faceted-project>
		  <runtime name="GlassFish 3.1.2"/><commit_msg>Changed to Glassfish 4.0<commit_after>package de.wwu.md2.framework.generator.backend

class ProjectSettings {
	
	def static jsdtscope() '''
		<?xml version="1.0" encoding="UTF-8"?>
		<classpath>
			<classpathentry kind="src" path="WebContent"/>
			<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.JRE_CONTAINER"/>
			<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.WebProject">
				<attributes>
					<attribute name="hide" value="true"/>
				</attributes>
			</classpathentry>
			<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.baseBrowserLibrary"/>
			<classpathentry kind="output" path=""/>
		</classpath>
	'''
	
	def static orgEclipseJdtCorePrefs() '''
		eclipse.preferences.version=1
		org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
		org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
		org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
		org.eclipse.jdt.core.compiler.compliance=1.6
		org.eclipse.jdt.core.compiler.debug.lineNumber=generate
		org.eclipse.jdt.core.compiler.debug.localVariable=generate
		org.eclipse.jdt.core.compiler.debug.sourceFile=generate
		org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
		org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
		org.eclipse.jdt.core.compiler.source=1.6
	'''
	
	def static orgEclipseJptCorePrefs() '''
		eclipse.preferences.version=1
		org.eclipse.jpt.core.platform=generic2_0
		org.eclipse.jpt.jpa.core.discoverAnnotatedClasses=true
	'''
	
	def static orgEclipseWstCommonComponent(String basePackageName) '''
		<?xml version="1.0" encoding="UTF-8"?>
		<project-modules id="moduleCoreId" project-version="1.5.0">
		    <wb-module deploy-name="«basePackageName»">
		        <wb-resource deploy-path="/" source-path="/WebContent" tag="defaultRootSource"/>
		        <wb-resource deploy-path="/WEB-INF/classes" source-path="/src"/>
		        <property name="context-root" value="«basePackageName»"/>
		        <property name="java-output-path" value="/«basePackageName»/build/classes"/>
		    </wb-module>
		</project-modules>
	'''
	
	def static orgEclipseWstCommonProjectFacetCorePrefs() '''
		<root>
		  <facet id="jpt.jpa">
		    <node name="libprov">
		      <attribute name="provider-id" value="jpa-user-library-provider"/>
		    </node>
		  </facet>
		</root>
	'''
	
	def static orgEclipseWstCommonProjectFacetCore() '''
		<?xml version="1.0" encoding="UTF-8"?>
		<faceted-project>
		  <runtime name="GlassFish 4.0"/>
{'fraction_non_alphanumeric': 0.15969274307661208, 'fraction_numerical': 0.010713563776025874, 'mean_word_length': 4.413566739606127, 'pattern_counts': {'":': 0, '<': 65, '<?xml version=': 6, '>': 65, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 6}, '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': '2019779', 'n_tokens_mistral': 1850, 'n_tokens_neox': 1662, 'n_words': 230}