Java modules in enterprise app
I can't figure out how to deploy java modules along with my ear file. In my enterprise application modules, on the Java EE Application Module Settings, I see where I can pick whether or not to package up my other ejb or web modules. But it doesn't have anywhere to pick the regular java modules in the project.
Right now, we have to build and deploy with Ant, because we can do the following:
Project
Project-ejb.jar
Project-web.war
Project
Project-interfaces.jar
*
ProjectSupport1.jar
ProjectSupport2.jar
*
]]>
Is there any way I can get those ]]> modules deploying in IDEA?
Tobin
请先登录再写评论。
Hello Tobin,
You can package your java modules in web or ejb module with "Packaging Method"
set to "JAR module, link via manifest and copy to". In that case jar-files
for java modules will be packed in ear-file.
Thanks for the reply, Nikoly. I'm still having a problem.
When I go and look at my /private/tmp directory, there is no webExplodedDir52367tmp. I then deleted everything in this tmp directory. When I did a rebuild, IDEA created a new directory webExplodedDir52316tmp, but I got the same error about 52367 not existing. Why does IDEA think that this 52367 directory exists?
Tobin
Hello Tobin,
Try to set "Create exploded directory" checkbox for your Web Module (Project
Roots | ]]> | "JavaEE Build Settings" tab).