Scala File Type associated with Java Source File - cause of syntax errors
detected in current version of Scala IDE
ch.epfl.lamp.sdt.aspects_2.8.0.RC6-t20100630034733-g8a351e15244ef62b7a6e0b9cdf8b85f3b68fa1f8.jar
ch.epfl.lamp.sdt.core_2.8.0.RC6-t20100630034733-gd7e8fe3a18aec16eb1cffea23b3378ed793cfe69.jar
*.scala file type by default associated with 'Java Source File' content type
It is a cause of errors of syntax analyzer - analyzer checks *.scala as *.java source file
when I try remove assosiation (Java Source File --> *.scala), it is restored after restart of eclipse
Environment - Spring Tool Suite. sts-2.3.2.RELEASE (eclipse 3.5.2)
ch.epfl.lamp.sdt.aspects_2.8.0.RC6-t20100630034733-g8a351e15244ef62b7a6e0b9cdf8b85f3b68fa1f8.jar
ch.epfl.lamp.sdt.core_2.8.0.RC6-t20100630034733-gd7e8fe3a18aec16eb1cffea23b3378ed793cfe69.jar
*.scala file type by default associated with 'Java Source File' content type
It is a cause of errors of syntax analyzer - analyzer checks *.scala as *.java source file
when I try remove assosiation (Java Source File --> *.scala), it is restored after restart of eclipse
Environment - Spring Tool Suite. sts-2.3.2.RELEASE (eclipse 3.5.2)
Leave a comment
on 2010-06-30 08:16 *
By
Do you have JDT Weaving enabled?
on 2010-09-18 10:43 *
By ninethirty
Just chiming in -- this problem still exists with STS 2.5.0M3. It's the same issue as the various tickets involving incompatability with the Spring IDE (it's the Spring IDE that's causing the problem). The issue seems to be that Spring IDE brings its own JDT Weaving plugin, so trying to install Scala's JDT Weaver plugin fails with a dependency error. Meanwhile, while JDT Weaving is enabled in preferences, it's acting like it's not -- Scala files are parsed as Java. To clarify: JDT weaving IS enabled, according to the preferences.
It's easy to replicate -- just try installing Scala IDE in any version of SpringSource Tool Suite (best Eclipse bundle available, IMO) or install Spring iDE before installing Scala.
It's easy to replicate -- just try installing Scala IDE in any version of SpringSource Tool Suite (best Eclipse bundle available, IMO) or install Spring iDE before installing Scala.
on 2010-11-16 04:54 *
By andrewbass
I confirm to have the same problem with Spring IDE 2.3.2.201003220227-RELEASE and Eclipse 3.5.2.
- Remove files with *.scala extension from Java Source File content type under Content Types
- Remove or disable the Java Builder from project properties
- Use m2Eclipse (Maven support for Eclipse) to do Java and/or Scala source compilation
on 2010-11-16 04:56 *
By andrewbass
The three items above are possible workarounds.
Updating tickets (#1000069, #1000195, #1000213, #1000223, #1000006, #1000021, #1000038, #1000048, #1000051, #1000052, #1000075, #1000103, #1000109, #1000115, #1000119, #1000156, #1000186, #1000207, #1000238, #1000262, #1000263, #380, #389, #683, #1238, #1331, #1635, #1645, #1715, #1729, #1744, #1783, #1839, #1869, #1885, #1890, #1902, #1918, #1919, #1924, #1925, #1946, #1964, #1991, #2131, #2233, #2342, #2348, #2408, #2459, #2499, #2523, #2572, #2582, #2602, #2614, #2615, #2675, #2710, #2745, #2763, #2816, #2830, #2834, #2878, #2879, #2887, #2888, #2901, #2911, #2912, #2922, #2937, #2938, #2942, #2951, #2955, #2957, #2961, #2964, #2965, #2974, #2975, #2989, #2990, #3002, #3055, #3070, #3087, #3135, #3139, #3173, #3182, #3184, #3200, #3213, #3214, #3221, #3243, #3251)
on 2011-03-24 12:18 *
By Iulian Dragos
Updating tickets (#1000199, #1000200, #1000201, #1000204, #1000205, #1000209, #1000210, #1000211, #1000212, #1000215, #1000217, #1000218, #1000220, #1000222, #1000226, #1000227, #1000228, #1000230, #1000231, #1000232, #1000233, #1000235, #1000236, #1000237, #1000239, #1000240, #1000241, #1000242, #1000243, #1000244, #1000248, #1000249, #1000252, #1000253, #1000254, #1000255, #1000256, #1000258, #1000259, #1000032, #1000059, #1000062, #1000163, #1000197, #1000216, #1000221, #1000224, #1000121, #1000175, #1000219, #1000251, #1000069, #1000195, #1000213, #1000223, #1000006, #1000021, #1000038, #1000048, #1000051, #1000052, #1000075, #1000103, #1000109, #1000115, #1000119, #1000156, #1000186, #1000207, #1000238, #1000262, #1000263, #380, #389, #683, #1238, #1331, #1635, #1645, #1715, #1729, #1744, #1783, #1839, #1869, #1885, #1890, #1902, #1918, #1919, #1924, #1925, #1946, #1964, #1991, #2131, #2233, #2342, #2348, #2408)