I’ve found that if I have a EJB project named Zappa then the resulting jar will be Zappa.jar. However, I’d like the resulting jar to be something like 1234Zappa.jar.
Background:
We have a team of developers who share projects.
We all use jboss 3.x, and we use loading sequences according to number prefixes.
We like to use local access.
We have some of the same EJBs deployed across several production app servers but that support different apps.
Depending on the app server the EJB is deployed on, it might require a different number prefix.
I’ve noticed that .mymetadata has a
archive=Zappa.jar
in it, but just changing the name there does not seem to do the job for me.
My ideal situation would be to pull down the project “Zappa” from source control, set the resulting archive name to what I want it to be, then continue to have fun with the nifty deployment tool and app server button.
I don’t want to have to go rename the file at the file system and then have trouble debugging it in the IDE.
My best solution so far is to pull down the project from source control, rename it, do my stuff, then rename it again before checking it in to source control. But that’s kinda goofy.
Can you please help?