On 02/13/2014 06:54 AM, [email protected] wrote:
[ERROR] Failed to execute goal 
org.eclipse.tycho:tycho-compiler-plugin:0.19.0:compile (default-compile) on 
project org.eclipse.jst.j2ee.tests: Compilation failure: Compilation failure:
[ERROR] 
/jobs/genie.webtools/cbi-build/workspace/webtools.javaee.tests/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/wtp/j2ee/headless/tests/ejb/operations/AddEJBeanOperationTest.java:[231]
[ERROR] sb.append(line).append(System.lineSeparator());
[ERROR] ^^^^^^^^^^^^^
[ERROR] The method lineSeparator() is undefined for the type System
[ERROR] -> [Help 1]
[ERROR] Failed to execute goal 
org.eclipse.tycho.extras:tycho-p2-extras-plugin:0.19.0:mirror (default) on project 
repositoryunittests: Error during mirroring: Mirroring failed: No repository found 
at 
file:/jobs/genie.webtools/cbi-build/workspace/webtools.repositories/repositoryunittests//../jst4x.tests/target/repository.
 -> [Help 2]
The method System.lineSeparator() seems to be available since Java 7. However, this bundle is configured to use Java 1.5 [1]. Please use System.getProperty("line.separator") instead. Also, I believe the error should have been visible in IDE if you have JDT correctly configured, so you should double-check your global and project JDT configuration.

[1] http://git.eclipse.org/c/jeetools/webtools.javaee.tests.git/tree/tests/org.eclipse.jst.j2ee.tests/META-INF/MANIFEST.MF#n73
--
Mickael Istria
Eclipse developer at JBoss, by Red Hat <http://www.jboss.org/tools>
My blog <http://mickaelistria.wordpress.com> - My Tweets <http://twitter.com/mickaelistria>
_______________________________________________
wtp-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/wtp-dev

Reply via email to