简体   繁体   中英

distributing java jar lib to multiple destinations on clean-build in NetBeans 7.1

I have a simple POJO library (build using NetBeans 7.1) and couple of projects that will depend on it (one Grails, one Griffon, maybe Android).

When running 'Clean and Build Project' in NB, what's the easiest way to push the generated .jar to those projects depending on it?

Or should I be thinking about 'pulling' the jar lib when projects depending on it get build? I'm using IntelliJ for the 'consumer' projects.

您可以使POJO库和其他项目成为maven项目,并将其添加为依赖项,这样它将自动包含在jar中。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM