Trying to have resources working on both eclipse and netbeans