Skip to content
This repository has been archived by the owner on Jul 9, 2022. It is now read-only.

Commit

Permalink
Fix an Eclipse project file issue on the WAR Template project
Browse files Browse the repository at this point in the history
  • Loading branch information
ghillert committed Feb 27, 2012
1 parent bf3e88f commit 23627fd
Show file tree
Hide file tree
Showing 8 changed files with 49 additions and 2 deletions.
Binary file modified si-sts-templates/builds/si-template-war-1.0.0.M2.zip
Binary file not shown.
1 change: 0 additions & 1 deletion si-sts-templates/si-template-war/src/main/assembly/src.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
<excludes>
<exclude>**/*.log</exclude>
<exclude>**/.DS_Store</exclude>
<exclude>**/.settings/**</exclude>
<exclude>**/.pmd</exclude>
<exclude>**/.idea/**</exclude>
<exclude>**/.gradle/**</exclude>
Expand Down
1 change: 1 addition & 0 deletions si-template-projects/si-template-war-project/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
!.settings
15 changes: 14 additions & 1 deletion si-template-projects/si-template-war-project/.project
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.wst.common.project.facet.core.builder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.wst.jsdt.core.javascriptValidator</name>
<arguments>
Expand All @@ -25,11 +30,19 @@
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.wst.validation.validationbuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
<nature>org.springframework.ide.eclipse.core.springnature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.m2e.core.maven2Nature</nature>
<nature>org.eclipse.wst.jsdt.core.jsNature</nature>
<nature>org.eclipse.wst.jsdt.core.jsNature</nature>
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
</natures>
</projectDescription>
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#Mon Feb 27 13:56:59 EST 2012
eclipse.preferences.version=1
encoding//src/main/java=UTF-8
encoding//src/main/resources=UTF-8
encoding//src/test/java=UTF-8
encoding/<project>=UTF-8
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#Mon Feb 27 13:56:59 EST 2012
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.compliance=1.6
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
org.eclipse.jdt.core.compiler.source=1.6
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<project-modules id="moduleCoreId" project-version="1.5.0">
<wb-module deploy-name="si-template-project-war">
<wb-resource deploy-path="/" source-path="/target/m2e-wtp/web-resources"/>
<wb-resource deploy-path="/" source-path="/src/main/webapp" tag="defaultRootSource"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/java"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/resources"/>
<property name="context-root" value="si-template-project-war"/>
<property name="java-output-path" value="target/classes"/>
</wb-module>
</project-modules>

Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<faceted-project>
<fixed facet="wst.jsdt.web"/>
<installed facet="java" version="1.6"/>
<installed facet="jst.web" version="2.5"/>
<installed facet="wst.jsdt.web" version="1.0"/>
</faceted-project>

0 comments on commit 23627fd

Please sign in to comment.