This repository has been archived by the owner on Nov 17, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
57 changed files
with
312 additions
and
1,083 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<projectDescription> | ||
<name>m2eclipse-scala</name> | ||
<comment></comment> | ||
<projects> | ||
</projects> | ||
<buildSpec> | ||
<buildCommand> | ||
<name>org.maven.ide.eclipse.maven2Builder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
</buildSpec> | ||
<natures> | ||
<nature>org.maven.ide.eclipse.maven2Nature</nature> | ||
</natures> | ||
</projectDescription> |
2 changes: 1 addition & 1 deletion
2
...gin/.settings/org.maven.ide.eclipse.prefs → .settings/org.maven.ide.eclipse.prefs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
m2eclipse-scala | ||
======== | ||
|
||
[m2eclipse-scala] is a work in progress to ease integration between [m2eclipse] and [scala-ide for eclipse]. | ||
|
||
* issue tracker : [m2eclipse-scala at assembla](http://scala-ide.assembla.com/spaces/m2eclipse-scala/tickets) | ||
* mailing-list : [scala-ide-user](http://groups.google.fr/group/scala-ide-user) | ||
* update-site : not available (use dropins directory see below for install) | ||
|
||
### Install | ||
1. install [m2eclipse] | ||
2. install [m2eclipse-scala] from davidB, by [dowloading](http://github.com/sonatype/m2eclipse-scala/downloads) the lastest version of the plugin into your eclipse/dropins directory | ||
3. Eclipse : `File > import > maven > Existing Maven Project ...` | ||
|
||
|
||
|
||
### Working configuration | ||
|
||
The plugin is "valitaded" by importing into eclipse the samples projects : | ||
|
||
* [Scala Only (no java)](http://github.com/sonatype/m2eclipse-scala/tree/master/samples/prj-scala-only/) | ||
* [Scala depends of some java code](http://github.com/sonatype/m2eclipse-scala/tree/master/samples/prj-scala-after-java/) | ||
* [Scala and Java cyclic dependency](http://github.com/sonatype/m2eclipse-scala/tree/master/samples/prj-scala-cycle-java/) (configuration longer than mono direction scala -> java or java -> scala to compile under maven) | ||
* [Java main code and Scala for test](http://github.com/sonatype/m2eclipse-scala/tree/master/samples/prj-java-test-in-scala/) | ||
* [Custom Layout](http://github.com/sonatype/m2eclipse-scala/tree/master/samples/prj-custom-layout/) java + scala cyclic dependencies, java+scala under the same source folder `src` and `test` (for test source folder). | ||
|
||
### Changes | ||
|
||
#### 0.0.5 (wip) | ||
|
||
* use assembla as "project host" to be under Scala-IDE umbrella | ||
* re-do tycho configuration (to build on any box) | ||
* rename directory | ||
* generate update-site via tycho | ||
* align groupId/artifactId to m2eclipse-extras | ||
|
||
#### 0.0.4 | ||
|
||
|
||
* include a workaround to run JUnit test, but right-click on JUnit test doesn't propose 'Run as unit test'. Tu run as junit : | ||
* select source file and use keybord shortcut (Alt+Shit+X T) | ||
* source file have to be named with test class name and being in the 'right' directory (like in java) | ||
* I only test with annotation (see source of samples projects listed on wiki) | ||
* create JUnit Launch configuration | ||
|
||
#### 0.0.3 | ||
|
||
* try to fix a issue (NPE) if default folders doesn't exist | ||
|
||
#### 0.0.2 | ||
|
||
|
||
* auto add "src/main/scala" and "src/test/scala" if you don't use goal "add-sources" (nor <sourceDirectory>) | ||
* add samples project http://github.com/sonatype/m2eclipse-scala/tree/master/samples/ | ||
* put documentation at https://www.assembla.com/wiki/show/scala-ide/With_M2Eclipse | ||
|
||
#### 0.0.1 | ||
|
||
* I fork the m2eclipse-scala project from sonatype and add the following feature | ||
* remove of scala-library, scala-compiler, scala-dbc, scala-swing from "Maven Dependencies" Container (under eclipse only) | ||
* re-order JRE Container and Scala Container (to avoid scala.ScalaObject NotFound and C° when use "Run As Scala Application") | ||
* add Scala-tools.org catalog | ||
|
||
|
||
[maven-scala-plugin]: http://scala-tools.org/mvnsites/maven-scala-plugin/ | ||
[maven-eclipse-plugin]: http://maven.apache.org/plugins/maven-eclipse-plugin | ||
[build-helper-maven-plugin]: http://mojo.codehaus.org/build-helper-maven-plugin/ | ||
[m2eclipse]: http://m2eclipse.sonatype.org/ | ||
[m2eclipse-scala]: https://www.assembla.com/wiki/edit/scala-ide/With_M2Eclipse | ||
[IAM]: http://www.eclipse.org/iam/ | ||
[Q4E]: http://code.google.com/p/q4e/ | ||
[ESMi]: http://code.google.com/p/esmi/ | ||
[scala-ide for eclipse]: http://scala-ide.assembla.com/ |
5 changes: 3 additions & 2 deletions
5
org.sonatype.maven.scala.tests/.classpath → org.maven.ide.eclipse.scala/.classpath
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
<?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/J2SE-1.5"/> | ||
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/> | ||
<classpathentry kind="src" path="src"/> | ||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.4"/> | ||
<classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/> | ||
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/> | ||
<classpathentry kind="output" path="target/classes"/> | ||
</classpath> |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<parent> | ||
<groupId>org.maven.ide.eclipse.scala</groupId> | ||
<artifactId>m2eclipse-scala</artifactId> | ||
<version>0.0.1</version> | ||
</parent> | ||
<artifactId>org.maven.ide.eclipse.scala</artifactId> | ||
<version>0.0.5</version> | ||
<packaging>eclipse-plugin</packaging> | ||
|
||
<properties> | ||
<maven.compiler.source>1.5</maven.compiler.source> | ||
<maven.compiler.target>1.5</maven.compiler.target> | ||
<encoding>UTF-8</encoding> | ||
</properties> | ||
|
||
</project> |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 2 additions & 3 deletions
5
org.sonatype.maven.scala.plugin/.classpath → ...aven.ide.eclipse.scala_feature/.classpath
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
<?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/J2SE-1.5"/> | ||
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/> | ||
<classpathentry kind="src" path="src/"/> | ||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.4"/> | ||
<classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/> | ||
<classpathentry kind="output" path="target/classes"/> | ||
</classpath> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
org.maven.ide.eclipse.scala_feature/.settings/org.eclipse.jdt.core.prefs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#Sat Jun 19 16:26:45 CEST 2010 | ||
eclipse.preferences.version=1 | ||
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.4 | ||
org.eclipse.jdt.core.compiler.compliance=1.4 | ||
org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning | ||
org.eclipse.jdt.core.compiler.source=1.4 |
9 changes: 9 additions & 0 deletions
9
org.maven.ide.eclipse.scala_feature/.settings/org.maven.ide.eclipse.prefs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#Sat Jun 19 16:26:45 CEST 2010 | ||
activeProfiles= | ||
eclipse.preferences.version=1 | ||
fullBuildGoals=process-test-resources | ||
includeModules=false | ||
resolveWorkspaceProjects=true | ||
resourceFilterGoals=process-resources resources\:testResources | ||
skipCompilerPlugin=true | ||
version=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
bin.includes = feature.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<feature | ||
id="org.maven.ide.eclipse.scala_feature" | ||
label="Maven Integration for Scala IDE" | ||
version="0.0.5" | ||
provider-name="Sonatype, Inc."> | ||
|
||
<description url="github.com/sonatype/m2eclipse-scala/"> | ||
Ease m2eclipse + scala-ide (eclipse plugin) integration | ||
</description> | ||
|
||
<url> | ||
<update label="m2eclipse-scala" url="http://alchim31.net/m2e-scala/update-site"/> | ||
</url> | ||
|
||
<plugin | ||
id="org.maven.ide.eclipse.scala" | ||
download-size="0" | ||
install-size="0" | ||
version="0.0.0" | ||
unpack="false"/> | ||
|
||
</feature> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<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"> | ||
|
||
<modelVersion>4.0.0</modelVersion> | ||
<parent> | ||
<groupId>org.maven.ide.eclipse.scala</groupId> | ||
<artifactId>m2eclipse-scala</artifactId> | ||
<version>0.0.1</version> | ||
</parent> | ||
|
||
<artifactId>org.maven.ide.eclipse.scala_feature</artifactId> | ||
<version>0.0.5</version> | ||
<packaging>eclipse-feature</packaging> | ||
|
||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<?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/J2SE-1.4"/> | ||
<classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/> | ||
<classpathentry kind="output" path="target/classes"/> | ||
</classpath> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
org.maven.ide.eclipse.scala_site/.settings/org.eclipse.jdt.core.prefs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#Sat Jun 19 16:26:46 CEST 2010 | ||
eclipse.preferences.version=1 | ||
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.4 | ||
org.eclipse.jdt.core.compiler.compliance=1.4 | ||
org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning | ||
org.eclipse.jdt.core.compiler.source=1.4 |
9 changes: 9 additions & 0 deletions
9
org.maven.ide.eclipse.scala_site/.settings/org.maven.ide.eclipse.prefs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#Sat Jun 19 16:26:45 CEST 2010 | ||
activeProfiles= | ||
eclipse.preferences.version=1 | ||
fullBuildGoals=process-test-resources | ||
includeModules=false | ||
resolveWorkspaceProjects=true | ||
resourceFilterGoals=process-resources resources\:testResources | ||
skipCompilerPlugin=true | ||
version=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<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"> | ||
|
||
<modelVersion>4.0.0</modelVersion> | ||
<parent> | ||
<groupId>org.maven.ide.eclipse.scala</groupId> | ||
<artifactId>m2eclipse-scala</artifactId> | ||
<version>0.0.1</version> | ||
</parent> | ||
|
||
<artifactId>org.maven.ide.eclipse.scala_site</artifactId> | ||
<packaging>eclipse-update-site</packaging> | ||
<name>Maven Integration for Scala IDE</name> | ||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<site> | ||
<description name="Maven Integration for Scala IDE"> | ||
Maven Integration for Scala IDE | ||
</description> | ||
<feature url="features/org.maven.ide.eclipse.scala_feature_0.0.5.jar" id="org.maven.ide.eclipse.scala_feature" version="0.0.0"/> | ||
</site> |
4 changes: 0 additions & 4 deletions
4
org.sonatype.maven.scala.feature/.settings/org.eclipse.mylyn.tasks.ui.prefs
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
org.sonatype.maven.scala.feature/.settings/org.eclipse.mylyn.team.ui.prefs
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.