Skip to content

Commit

Permalink
Unify and simplify test-projects (tesla#152)
Browse files Browse the repository at this point in the history
- check-in the .classpath/.project file into git
- use "bin" as output-folder
- remove unnecessary plugin_customization.ini, pom.xml and launch files.
  • Loading branch information
HannesWell authored May 14, 2022
1 parent 7fd1fc3 commit 4ee5c43
Show file tree
Hide file tree
Showing 15 changed files with 113 additions and 175 deletions.
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
.classpath
.project
# Keep .classpath/.project files for this and direct child projects
!/.project
!/*/.classpath
!/*/.project

.settings/
target/
bin/

.DS_Store

.polyglot*
.tycho-consumer-pom.xml
17 changes: 17 additions & 0 deletions .project
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>m2e-core-tests</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.m2e.core.maven2Builder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.m2e.core.maven2Nature</nature>
</natures>
</projectDescription>
15 changes: 15 additions & 0 deletions org.eclipse.m2e.editor.tests/.classpath
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-11">
<attributes>
<attribute name="module" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="src" path="src">
<attributes>
<attribute name="test" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="output" path="bin"/>
</classpath>
5 changes: 0 additions & 5 deletions org.eclipse.m2e.editor.tests/.gitignore

This file was deleted.

28 changes: 28 additions & 0 deletions org.eclipse.m2e.editor.tests/.project
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>org.eclipse.m2e.editor.tests-2</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.ManifestBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.SchemaBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.pde.PluginNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>
2 changes: 1 addition & 1 deletion org.eclipse.m2e.editor.tests/build.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
source.. = src/
output.. = target/classes/
output.. = bin/
bin.includes = META-INF/,\
.,\
about.html
43 changes: 0 additions & 43 deletions org.eclipse.m2e.editor.tests/m2e.editor.tests.launch

This file was deleted.

11 changes: 0 additions & 11 deletions org.eclipse.m2e.editor.tests/plugin_customization.ini

This file was deleted.

54 changes: 0 additions & 54 deletions org.eclipse.m2e.editor.tests/pom.xml

This file was deleted.

15 changes: 15 additions & 0 deletions org.eclipse.m2e.tests/.classpath
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-11">
<attributes>
<attribute name="module" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="src" path="src">
<attributes>
<attribute name="test" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="output" path="bin"/>
</classpath>
5 changes: 0 additions & 5 deletions org.eclipse.m2e.tests/.gitignore

This file was deleted.

28 changes: 28 additions & 0 deletions org.eclipse.m2e.tests/.project
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>org.eclipse.m2e.tests</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.ManifestBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.SchemaBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.pde.PluginNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>
2 changes: 1 addition & 1 deletion org.eclipse.m2e.tests/build.properties
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#

source.. = src/
output.. = target/classes/
output.. = bin/
bin.includes = META-INF/,\
.,\
plugin.xml,\
Expand Down
11 changes: 0 additions & 11 deletions org.eclipse.m2e.tests/plugin_customization.ini

This file was deleted.

44 changes: 0 additions & 44 deletions org.eclipse.m2e.tests/pom.xml

This file was deleted.

0 comments on commit 4ee5c43

Please sign in to comment.