Java Service [message #1860882] |
Thu, 07 September 2023 03:03  |
Eclipse User |
|
|
|
Hi community !
I'm trying, with no success so far, to get a functional Java Service in my odesign project.
I'm pretty sure that my service is correctly registered, because the autocompletion works and propose the methods that I've written. Also, if I suppress the Java extension declaration, the validation tells me that the services can't be found.
But.
But nothing happens then. For example, I have a simple Task concept with an attribute 'name' and the service below returns nothing:
public String getTaskName(Task task) {
return task.getName();
}
or when I try to calculate a collection, it seems to return nothing:
public List<Task> getAllTargets(Task task) {
List<Task> targets = new ArrayList<>();
targets.add(task);
return targets;
}
Have anyone have a clue about what I've missed ?
Thx
|
|
|
|
|
Re: Java Service [message #1861111 is a reply to message #1860887] |
Thu, 21 September 2023 05:50  |
Eclipse User |
|
|
|
Hi,
at last, it works... but I had to delete my Eclipse workspace and re-import my projects.
So, I don't know where the problem was.
|
|
|
Powered by
FUDForum. Page generated in 0.03145 seconds