remove byte code and generated resources