I have an ear project running in jBoss 3.2.1 that uses an Informix datasource. The aplication works, if I put the informix jdbc driver archive into the lib directory of the jBoss server/default and the data source (*-ds.xml) into its deploy directory.
Looking into jBoss docs and forums it is not quite clear, if putting the datasource definition into the ear should work or not … at least it does not in practice.
So I would like to deploy the datasource definition along with the ear as separate file. To accomplish this I would like to add an Ant builder to the external tool builders of the ear project that copies the file to the proper place. But I do not know if the necessary variables (used server config i.e. jBOSS home) are exposed to the Ant script by MyEclipse and how they are named ?
Regards,
Jörg