tags:

views:

11

answers:

1

I'm making ejb jar via ejbjar task in ant with naming="directory" but it generates jar with name of folder plus -generic. Is it possible to skip this postfix via some property?

A: 

There is a genericjarsuffix parameter that defaults to "-generic.jar" and keepgeneric which defaults to "false" which determines whether the generic file used as input to the application server deployment tool(s) is retained.

The documentation describes the options available for the different application servers.

Since keepgeneric defaults to "false", does your Ant script explicitly set this to "true" somewhere?

richj
Oh yes i forgot about genericjarsuffix property )