Work with both eclipse and node