| Summary: | [xtend] Running "Run as -> Java Application" logs an error | ||
|---|---|---|---|
| Product: | [Tools] Xtend | Reporter: | Dennis Huebner <dennis.huebner> |
| Component: | Core | Assignee: | Project Inbox <xtend-inbox> |
| Status: | CLOSED WORKSFORME | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | sven.efftinge |
| Version: | 2.2.0 | Flags: | sven.efftinge:
juno+
|
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Mac OS X - Carbon (unsup.) | ||
| Whiteboard: | |||
Couldn't reproduce this. |
Eclipse SDK Version: 3.8.0 Build id: I20111209-1447 Xtext Version: 2.3.0.v201201160741 Build id: N201201160741 Create new Xtend Class: package de.dhuebner.xcore class XtendClazz { def static main(String[] args){ print("Test") } } Add return type void: package de.dhuebner.xcore class XtendClazz { def static void main(String[] args){ print("Test") } } Save... In the context menu trigger "Run as -> Java Application" action. An error is logged (stack trace is missing): null Error Wed Jan 18 13:58:18 CET 2012 main() [in XtendClazz [in [Working copy] XtendClazz.java [in de.dhuebner.xcore [in xtend-gen [in test]]]]] does not exist