Author: brett Date: Tue May 9 01:11:33 2006 New Revision: 405334 URL: http://svn.apache.org/viewcvs?rev=405334&view=rev Log: add test to confirm line endings remain in tact
Added: maven/plugins/trunk/maven-idea-plugin/src/test/resources/ maven/plugins/trunk/maven-idea-plugin/src/test/resources/idea-projects/ maven/plugins/trunk/maven-idea-plugin/src/test/resources/idea-projects/rewrite-line-endings/ maven/plugins/trunk/maven-idea-plugin/src/test/resources/idea-projects/rewrite-line-endings/maven-idea-plugin.iml Modified: maven/plugins/trunk/maven-idea-plugin/pom.xml maven/plugins/trunk/maven-idea-plugin/src/main/java/org/apache/maven/plugin/idea/AbstractIdeaMojo.java maven/plugins/trunk/maven-idea-plugin/src/test/java/org/apache/maven/plugin/idea/IdeaModuleTest.java Modified: maven/plugins/trunk/maven-idea-plugin/pom.xml URL: http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-idea-plugin/pom.xml?rev=405334&r1=405333&r2=405334&view=diff ============================================================================== --- maven/plugins/trunk/maven-idea-plugin/pom.xml (original) +++ maven/plugins/trunk/maven-idea-plugin/pom.xml Tue May 9 01:11:33 2006 @@ -1,5 +1,5 @@ <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <parent> <artifactId>maven-plugins</artifactId> <groupId>org.apache.maven.plugins</groupId> @@ -58,6 +58,12 @@ <groupId>org.apache.maven</groupId> <artifactId>maven-plugin-testing-harness</artifactId> <version>1.0-SNAPSHOT</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>jmock</groupId> + <artifactId>jmock</artifactId> + <version>1.0.1</version> <scope>test</scope> </dependency> </dependencies> Modified: maven/plugins/trunk/maven-idea-plugin/src/main/java/org/apache/maven/plugin/idea/AbstractIdeaMojo.java URL: http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-idea-plugin/src/main/java/org/apache/maven/plugin/idea/AbstractIdeaMojo.java?rev=405334&r1=405333&r2=405334&view=diff ============================================================================== --- maven/plugins/trunk/maven-idea-plugin/src/main/java/org/apache/maven/plugin/idea/AbstractIdeaMojo.java (original) +++ maven/plugins/trunk/maven-idea-plugin/src/main/java/org/apache/maven/plugin/idea/AbstractIdeaMojo.java Tue May 9 01:11:33 2006 @@ -245,49 +245,46 @@ protected void doDependencyResolution( MavenProject project, ArtifactRepository localRepo ) throws InvalidDependencyVersionException, ProjectBuildingException { - if ( project.getDependencies() != null ) + Map managedVersions = + createManagedVersionMap( artifactFactory, project.getId(), project.getDependencyManagement() ); + + try + { + ArtifactResolutionResult result = artifactResolver.resolveTransitively( getProjectArtifacts(), + project.getArtifact(), + managedVersions, localRepo, + project.getRemoteArtifactRepositories(), + artifactMetadataSource ); + + project.setArtifacts( result.getArtifacts() ); + } + catch ( ArtifactNotFoundException e ) { - Map managedVersions = - createManagedVersionMap( artifactFactory, project.getId(), project.getDependencyManagement() ); + getLog().debug( e.getMessage(), e ); - try + StringBuffer msg = new StringBuffer(); + msg.append( "An error occurred during dependency resolution.\n\n" ); + msg.append( " Failed to retrieve " + e.getDownloadUrl() + "\n" ); + msg.append( "from the following repositories:" ); + for ( Iterator repositories = e.getRemoteRepositories().iterator(); repositories.hasNext(); ) { - ArtifactResolutionResult result = artifactResolver.resolveTransitively( getProjectArtifacts(), - project.getArtifact(), - managedVersions, localRepo, - project.getRemoteArtifactRepositories(), - artifactMetadataSource ); - - project.setArtifacts( result.getArtifacts() ); + ArtifactRepository repository = (ArtifactRepository) repositories.next(); + msg.append( "\n " + repository.getId() + "(" + repository.getUrl() + ")" ); } - catch ( ArtifactNotFoundException e ) - { - getLog().debug( e.getMessage(), e ); - - StringBuffer msg = new StringBuffer(); - msg.append( "An error occurred during dependency resolution.\n\n" ); - msg.append( " Failed to retrieve " + e.getDownloadUrl() + "\n" ); - msg.append( "from the following repositories:" ); - for ( Iterator repositories = e.getRemoteRepositories().iterator(); repositories.hasNext(); ) - { - ArtifactRepository repository = (ArtifactRepository) repositories.next(); - msg.append( "\n " + repository.getId() + "(" + repository.getUrl() + ")" ); - } - msg.append( "\nCaused by: " + e.getMessage() ); + msg.append( "\nCaused by: " + e.getMessage() ); - getLog().warn( msg ); - } - catch ( ArtifactResolutionException e ) - { - getLog().debug( e.getMessage(), e ); + getLog().warn( msg ); + } + catch ( ArtifactResolutionException e ) + { + getLog().debug( e.getMessage(), e ); - StringBuffer msg = new StringBuffer(); - msg.append( "An error occurred during dependency resolution of the following artifact:\n\n" ); - msg.append( " " + e.getGroupId() + ":" + e.getArtifactId() + e.getVersion() + "\n\n" ); - msg.append( "Caused by: " + e.getMessage() ); + StringBuffer msg = new StringBuffer(); + msg.append( "An error occurred during dependency resolution of the following artifact:\n\n" ); + msg.append( " " + e.getGroupId() + ":" + e.getArtifactId() + e.getVersion() + "\n\n" ); + msg.append( "Caused by: " + e.getMessage() ); - getLog().warn( msg ); - } + getLog().warn( msg ); } } Modified: maven/plugins/trunk/maven-idea-plugin/src/test/java/org/apache/maven/plugin/idea/IdeaModuleTest.java URL: http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-idea-plugin/src/test/java/org/apache/maven/plugin/idea/IdeaModuleTest.java?rev=405334&r1=405333&r2=405334&view=diff ============================================================================== --- maven/plugins/trunk/maven-idea-plugin/src/test/java/org/apache/maven/plugin/idea/IdeaModuleTest.java (original) +++ maven/plugins/trunk/maven-idea-plugin/src/test/java/org/apache/maven/plugin/idea/IdeaModuleTest.java Tue May 9 01:11:33 2006 @@ -1,31 +1,41 @@ package org.apache.maven.plugin.idea; -import org.dom4j.Document; -import org.dom4j.Element; +/* + * Copyright 2004-2006 The Apache Software Foundation. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import org.apache.maven.artifact.resolver.ArtifactResolutionResult; +import org.apache.maven.artifact.resolver.ArtifactResolver; +import org.apache.maven.model.Model; +import org.apache.maven.plugin.Mojo; import org.apache.maven.plugin.idea.stubs.TestCounter; +import org.apache.maven.project.MavenProject; import org.codehaus.plexus.PlexusTestCase; +import org.codehaus.plexus.util.FileUtils; +import org.dom4j.Document; +import org.dom4j.Element; +import org.jmock.Mock; +import org.jmock.core.matcher.InvokeOnceMatcher; +import org.jmock.core.stub.ReturnStub; import java.io.File; import java.util.ArrayList; +import java.util.Collections; import java.util.Iterator; import java.util.List; -/* - * Copyright 2005-2006 The Apache Software Foundation. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - /** * @author Edwin Punzalan */ @@ -38,6 +48,36 @@ executeMojo( "src/test/module-plugin-configs/min-plugin-config.xml" ); } + public void testRewriteLineEndings() + throws Exception + { + Mojo mojo = new IdeaModuleMojo(); + + MavenProject project = new MavenProject( new Model() ); + project.setArtifactId( "maven-idea-plugin" ); + String basedir = "target/test-classes/idea-projects/rewrite-line-endings"; + project.setFile( getTestFile( basedir + "/pom.xml" ) ); + project.getBuild().setDirectory( "target" ); + project.getBuild().setOutputDirectory( project.getBuild().getDirectory() + "/classes" ); + project.getBuild().setTestOutputDirectory( project.getBuild().getDirectory() + "/test-classes" ); + setVariableValueToObject( mojo, "executedProject", project ); + + ArtifactResolutionResult result = new ArtifactResolutionResult(); + result.setArtifactResolutionNodes( Collections.EMPTY_SET ); + + Mock artifactResolver = new Mock( ArtifactResolver.class ); + artifactResolver.expects( new InvokeOnceMatcher() ).method( "resolveTransitively" ).will( + new ReturnStub( result ) ); + + setVariableValueToObject( mojo, "artifactResolver", artifactResolver.proxy() ); + + String originalContent = FileUtils.fileRead( new File( project.getBasedir(), "maven-idea-plugin.iml" ) ); + mojo.execute(); + + String newContent = FileUtils.fileRead( new File( project.getBasedir(), "maven-idea-plugin.iml" ) ); + assertEquals( "Check content unchanged", originalContent, newContent ); + } + public void testExcludeDirectoryConfig() throws Exception { @@ -51,7 +91,7 @@ sub.mkdirs(); File sub2 = new File( excluded, "sub2" ); sub2.mkdirs(); - File subsub1 = new File( sub, "sub1"); + File subsub1 = new File( sub, "sub1" ); subsub1.mkdirs(); Document imlDocument = executeMojo( "src/test/module-plugin-configs/dir-exclusion-plugin-config.xml" ); @@ -98,8 +138,7 @@ assertEquals( "Test deployment descriptor version", "2.3", deployDescriptor.attributeValue( "version" ) ); assertEquals( "Test deployment descriptor name", "web.xml", deployDescriptor.attributeValue( "name" ) ); assertEquals( "Test deployment descriptor optional", "false", deployDescriptor.attributeValue( "optional" ) ); - assertEquals( "Test deployment descriptor file", - "file://$MODULE_DIR$/src/main/webapp/WEB-INF/web.xml", + assertEquals( "Test deployment descriptor file", "file://$MODULE_DIR$/src/main/webapp/WEB-INF/web.xml", deployDescriptor.attributeValue( "url" ) ); Element webroots = component.element( "webroots" ); @@ -154,8 +193,7 @@ assertEquals( "Test deployment descriptor version", "2.x", deployDescriptor.attributeValue( "version" ) ); assertEquals( "Test deployment descriptor name", "ejb-jar.xml", deployDescriptor.attributeValue( "name" ) ); assertEquals( "Test deployment descriptor optional", "false", deployDescriptor.attributeValue( "optional" ) ); - assertEquals( "Test deployment descriptor file", - "file://$MODULE_DIR$/src/main/resources/META-INF/ejb-jar.xml", + assertEquals( "Test deployment descriptor file", "file://$MODULE_DIR$/src/main/resources/META-INF/ejb-jar.xml", deployDescriptor.attributeValue( "url" ) ); List containerElementList = findElementsByName( component, "containerElement" ); @@ -193,8 +231,7 @@ assertEquals( "Test deployment descriptor version", "1.3", deployDescriptor.attributeValue( "version" ) ); assertEquals( "Test deployment descriptor name", "application.xml", deployDescriptor.attributeValue( "name" ) ); assertEquals( "Test deployment descriptor optional", "false", deployDescriptor.attributeValue( "optional" ) ); - assertEquals( "Test deployment descriptor file", - "file://$MODULE_DIR$/target/application.xml", + assertEquals( "Test deployment descriptor file", "file://$MODULE_DIR$/target/application.xml", deployDescriptor.attributeValue( "url" ) ); } @@ -235,7 +272,7 @@ { Element orderEntry = (Element) orderEntries.next(); - if ( "module-library".equals( orderEntry.attributeValue( "type" ) ) ) + if ( "module-library".equals( orderEntry.attributeValue( "type" ) ) ) { Element library = orderEntry.element( "library" ); @@ -244,12 +281,14 @@ } } - File srcFile = new File( PlexusTestCase.getBasedir(), "target/local-repo/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1-src.jar" ); + File srcFile = new File( PlexusTestCase.getBasedir(), + "target/local-repo/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1-src.jar" ); assertTrue( "Test maven-model source is downloaded", srcFile.exists() ); srcFile = new File( PlexusTestCase.getBasedir(), "target/local-repo/junit/junit/3.8.1/junit-3.8.1-src.jar" ); assertTrue( "Test junit source is downloaded", srcFile.exists() ); - File docFile = new File( PlexusTestCase.getBasedir(), "target/local-repo/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1-doc.jar" ); + File docFile = new File( PlexusTestCase.getBasedir(), + "target/local-repo/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1-doc.jar" ); assertTrue( "Test maven-model javadoc is downloaded", docFile.exists() ); } @@ -279,8 +318,7 @@ assertEquals( "Test deployment descriptor version", "2.3", deployDescriptor.attributeValue( "version" ) ); assertEquals( "Test deployment descriptor name", "web.xml", deployDescriptor.attributeValue( "name" ) ); assertEquals( "Test deployment descriptor optional", "false", deployDescriptor.attributeValue( "optional" ) ); - assertEquals( "Test deployment descriptor file", - "file://$MODULE_DIR$/src/main/web/WEB-INF/web.xml", + assertEquals( "Test deployment descriptor file", "file://$MODULE_DIR$/src/main/web/WEB-INF/web.xml", deployDescriptor.attributeValue( "url" ) ); Element webroots = component.element( "webroots" ); @@ -413,7 +451,7 @@ component = findComponent( imlDocument.getRootElement(), "WebModuleProperties" ); boolean webModuleFound = false; - for( Iterator elements = component.elementIterator( "containerElement" ); elements.hasNext(); ) + for ( Iterator elements = component.elementIterator( "containerElement" ); elements.hasNext(); ) { Element containerElement = (Element) elements.next(); @@ -426,10 +464,10 @@ assertNull( "Library url for modules must not be present", containerElement.element( "url" ) ); Element method = findElementByNameAttribute( containerElement, "attribute", "method" ); - assertEquals( "Test Library module method", "5", method.attributeValue( "value" ) ); + assertEquals( "Test Library module method", "5", method.attributeValue( "value" ) ); Element uri = findElementByNameAttribute( containerElement, "attribute", "URI" ); - assertEquals( "Test Library module method", "/WEB-INF/classes", uri.attributeValue( "value" ) ); + assertEquals( "Test Library module method", "/WEB-INF/classes", uri.attributeValue( "value" ) ); webModuleFound = true; } @@ -461,7 +499,7 @@ component = findComponent( imlDocument.getRootElement(), "EjbModuleProperties" ); boolean ejbModuleFound = false; - for( Iterator elements = component.elementIterator( "containerElement" ); elements.hasNext(); ) + for ( Iterator elements = component.elementIterator( "containerElement" ); elements.hasNext(); ) { Element containerElement = (Element) elements.next(); @@ -474,10 +512,10 @@ assertNull( "Library url for modules must not be present", containerElement.element( "url" ) ); Element method = findElementByNameAttribute( containerElement, "attribute", "method" ); - assertEquals( "Test Library module method", "6", method.attributeValue( "value" ) ); + assertEquals( "Test Library module method", "6", method.attributeValue( "value" ) ); Element uri = findElementByNameAttribute( containerElement, "attribute", "URI" ); - assertEquals( "Test Library module method", "/WEB-INF/classes", uri.attributeValue( "value" ) ); + assertEquals( "Test Library module method", "/WEB-INF/classes", uri.attributeValue( "value" ) ); ejbModuleFound = true; } @@ -497,10 +535,12 @@ Element component = findComponent( imlDocument.getRootElement(), "NewModuleRootManager" ); Element output = findElement( component, "output" ); - assertEquals( "Module output url created.", "file://$MODULE_DIR$/target/classes", output.attributeValue( "url" ) ); + assertEquals( "Module output url created.", "file://$MODULE_DIR$/target/classes", + output.attributeValue( "url" ) ); Element outputTest = findElement( component, "output-test" ); - assertEquals( "Module test-output url created.", "file://$MODULE_DIR$/target/test-classes", outputTest.attributeValue( "url" ) ); + assertEquals( "Module test-output url created.", "file://$MODULE_DIR$/target/test-classes", + outputTest.attributeValue( "url" ) ); Element content = findElement( component, "content" ); Added: maven/plugins/trunk/maven-idea-plugin/src/test/resources/idea-projects/rewrite-line-endings/maven-idea-plugin.iml URL: http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-idea-plugin/src/test/resources/idea-projects/rewrite-line-endings/maven-idea-plugin.iml?rev=405334&view=auto ============================================================================== --- maven/plugins/trunk/maven-idea-plugin/src/test/resources/idea-projects/rewrite-line-endings/maven-idea-plugin.iml (added) +++ maven/plugins/trunk/maven-idea-plugin/src/test/resources/idea-projects/rewrite-line-endings/maven-idea-plugin.iml Tue May 9 01:11:33 2006 @@ -0,0 +1,191 @@ +<?xml version="1.0" encoding="UTF-8"?> +<module version="4" relativePaths="false" type="JAVA_MODULE"> + <component name="ModuleRootManager" /> + <component name="NewModuleRootManager"> + <output url="file://$MODULE_DIR$/target/classes" /> + <exclude-output /> + <output-test url="file://$MODULE_DIR$/target/test-classes" /> + <content url="file://$MODULE_DIR$"> + <sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" /> + <sourceFolder url="file://$MODULE_DIR$/src/main/resources" isTestSource="false" /> + <sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" /> + <excludeFolder url="file://$MODULE_DIR$/target" /> + </content> + <orderEntry type="inheritedJdk" /> + <orderEntry type="sourceFolder" forTests="false" /> + </component> + <component name="copyright"> + <Base> + <setting name="state" value="1" /> + </Base> + <LanguageOptions name="$TEMPLATE$"> + <option name="templateOptions"> + <value> + <option name="block" value="true" /> + <option name="separateBefore" value="false" /> + <option name="separateAfter" value="false" /> + <option name="prefixLines" value="true" /> + <option name="lenBefore" value="80" /> + <option name="lenAfter" value="80" /> + <option name="box" value="false" /> + <option name="filler" value=" " /> + </value> + </option> + <option name="notice" value="Copyright 2001-2006 The Apache Software Foundation. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License." /> + <option name="keyword" value="Copyright" /> + <option name="fileTypeOverride" value="4" /> + <option name="relativeBefore" value="true" /> + <option name="addBlankAfter" value="true" /> + <option name="fileLocation" value="1" /> + <option name="useAlternate" value="false" /> + </LanguageOptions> + <LanguageOptions name="CSS"> + <option name="templateOptions"> + <value> + <option name="block" value="true" /> + <option name="separateBefore" value="false" /> + <option name="separateAfter" value="false" /> + <option name="prefixLines" value="true" /> + <option name="lenBefore" value="80" /> + <option name="lenAfter" value="80" /> + <option name="box" value="false" /> + <option name="filler" value=" " /> + </value> + </option> + <option name="notice" value="Copyright (c) &#36;today.year, Your Corporation. All Rights Reserved." /> + <option name="keyword" value="Copyright" /> + <option name="fileTypeOverride" value="2" /> + <option name="relativeBefore" value="true" /> + <option name="addBlankAfter" value="true" /> + <option name="fileLocation" value="1" /> + <option name="useAlternate" value="false" /> + </LanguageOptions> + <LanguageOptions name="HTML"> + <option name="templateOptions"> + <value> + <option name="block" value="true" /> + <option name="separateBefore" value="false" /> + <option name="separateAfter" value="false" /> + <option name="prefixLines" value="true" /> + <option name="lenBefore" value="80" /> + <option name="lenAfter" value="80" /> + <option name="box" value="false" /> + <option name="filler" value=" " /> + </value> + </option> + <option name="notice" value="Copyright (c) &#36;today.year, Your Corporation. All Rights Reserved." /> + <option name="keyword" value="Copyright" /> + <option name="fileTypeOverride" value="2" /> + <option name="relativeBefore" value="true" /> + <option name="addBlankAfter" value="true" /> + <option name="fileLocation" value="1" /> + <option name="useAlternate" value="false" /> + </LanguageOptions> + <LanguageOptions name="JAVA"> + <option name="templateOptions"> + <value> + <option name="block" value="true" /> + <option name="separateBefore" value="false" /> + <option name="separateAfter" value="false" /> + <option name="prefixLines" value="true" /> + <option name="lenBefore" value="80" /> + <option name="lenAfter" value="80" /> + <option name="box" value="false" /> + <option name="filler" value=" " /> + </value> + </option> + <option name="notice" value="/* * Copyright (c) &#36;today.year Your Corporation. All Rights Reserved. */" /> + <option name="keyword" value="Copyright" /> + <option name="fileTypeOverride" value="3" /> + <option name="relativeBefore" value="true" /> + <option name="addBlankAfter" value="true" /> + <option name="fileLocation" value="2" /> + <option name="useAlternate" value="false" /> + </LanguageOptions> + <LanguageOptions name="JSP"> + <option name="templateOptions"> + <value> + <option name="block" value="true" /> + <option name="separateBefore" value="false" /> + <option name="separateAfter" value="false" /> + <option name="prefixLines" value="true" /> + <option name="lenBefore" value="80" /> + <option name="lenAfter" value="80" /> + <option name="box" value="false" /> + <option name="filler" value=" " /> + </value> + </option> + <option name="notice" value="Copyright (c) &#36;today.year, Your Corporation. All Rights Reserved." /> + <option name="keyword" value="Copyright" /> + <option name="fileTypeOverride" value="2" /> + <option name="relativeBefore" value="true" /> + <option name="addBlankAfter" value="true" /> + <option name="fileLocation" value="1" /> + <option name="useAlternate" value="false" /> + </LanguageOptions> + <LanguageOptions name="JavaScript"> + <option name="templateOptions"> + <value> + <option name="block" value="true" /> + <option name="separateBefore" value="false" /> + <option name="separateAfter" value="false" /> + <option name="prefixLines" value="true" /> + <option name="lenBefore" value="80" /> + <option name="lenAfter" value="80" /> + <option name="box" value="false" /> + <option name="filler" value=" " /> + </value> + </option> + <option name="notice" value="Copyright (c) &#36;today.year, Your Corporation. All Rights Reserved." /> + <option name="keyword" value="Copyright" /> + <option name="fileTypeOverride" value="2" /> + <option name="relativeBefore" value="true" /> + <option name="addBlankAfter" value="true" /> + <option name="fileLocation" value="1" /> + <option name="useAlternate" value="false" /> + </LanguageOptions> + <LanguageOptions name="Properties"> + <option name="templateOptions"> + <value> + <option name="block" value="true" /> + <option name="separateBefore" value="false" /> + <option name="separateAfter" value="false" /> + <option name="prefixLines" value="true" /> + <option name="lenBefore" value="80" /> + <option name="lenAfter" value="80" /> + <option name="box" value="false" /> + <option name="filler" value=" " /> + </value> + </option> + <option name="notice" value="Copyright (c) &#36;today.year, Your Corporation. All Rights Reserved." /> + <option name="keyword" value="Copyright" /> + <option name="fileTypeOverride" value="2" /> + <option name="relativeBefore" value="true" /> + <option name="addBlankAfter" value="true" /> + <option name="fileLocation" value="1" /> + <option name="useAlternate" value="false" /> + </LanguageOptions> + <LanguageOptions name="XML"> + <option name="templateOptions"> + <value> + <option name="block" value="true" /> + <option name="separateBefore" value="false" /> + <option name="separateAfter" value="false" /> + <option name="prefixLines" value="true" /> + <option name="lenBefore" value="80" /> + <option name="lenAfter" value="80" /> + <option name="box" value="false" /> + <option name="filler" value=" " /> + </value> + </option> + <option name="notice" value="Copyright (c) &#36;today.year, Your Corporation. All Rights Reserved." /> + <option name="keyword" value="Copyright" /> + <option name="fileTypeOverride" value="2" /> + <option name="relativeBefore" value="true" /> + <option name="addBlankAfter" value="true" /> + <option name="fileLocation" value="1" /> + <option name="useAlternate" value="false" /> + </LanguageOptions> + </component> +</module> +