errors while exporting to Repository [message #782350] |
Mon, 23 January 2012 15:16 |
Mauro Condarelli Messages: 428 Registered: September 2009 |
Senior Member |
|
|
I have a DSL working ok when I test with
I want to incorporate int main eclipse.
I go into "Deployable plug-ins and fragments", select all plug-ins (rpc, rpc.tests & rpc.ui) and then "Install into host,
Repository."
Operation fails:
=========================================
Problem during export
Errors occurred during the export operation. The ant tasks generated log files
which can e found at /srv/devel/install/logs.zip
=========================================
I do attach the complete zip file, but errors are all the same:
=========================================
1. ERROR in /srv/devel/parser.WS/com.softin.rpc/src/com/softin/rpc/MyIntegerConverterImplementation.java (at line 10)
public Integer toValue(String string, INode node)
throws ValueConverterException {
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The method toValue(String, INode) of type MyIntegerConverterImplementation must override a superclass method
=========================================
Which is strange.
MyIntegerConverterImplementation.java is trivial:
=========================================
package com.softin.rpc;
import org.eclipse.xtext.conversion.IValueConverter;
import org.eclipse.xtext.conversion.ValueConverterException;
import org.eclipse.xtext.nodemodel.INode;
public class MyIntegerConverterImplementation implements IValueConverter<Integer> {
@Override
public Integer toValue(String string, INode node)
throws ValueConverterException {
return Integer.decode(string);
}
@Override
public String toString(Integer value) throws ValueConverterException {
return value.toString();
}
}
=========================================
I also tried commenting out the offending "@Override" and the export seems to succeed, but the same errors pops up again when the editor is actually instantiated.
What am I doing wrong?
TiA
Mauro
-
Attachment: logs.zip
(Size: 1.44KB, Downloaded 133 times)
|
|
|
Powered by
FUDForum. Page generated in 0.02715 seconds