NB and multiple projects
| Newsgroups | gmane.comp.java.netbeans.general |
|---|---|
| Message-ID | <14877435.734991270113598971.JavaMail.defaultUser@defaultHost> |
Hi all, I need some help to solve a blocking problem I have. :_( I've made some NB projects (Java SE) that almost have the same structure: project_dir | +- src | +- lib and few more. Inside "lib" there are 4-5 jars needed for each project, added as "jar/folder" in the project libraries (either compile or run). Then I have some dependencies relationships between those projects, currently managed with "add project" in NB, in the project libraries. Something like A->B- >C<-B<-D with no circular dependencies. Usually NB builds, for each project, a dist directory with the project jar file and inside the dist a lib directory with the libraries/jars of that project. The jar of the project has a manifest correctly pointing to the lib/*. jar files. So, double-clicking on this jar project (yes, I'm on windows...), everything works. But, when I build a project that depend on another project it also creates the dist and dist/lib dirs with the main project in the dist and inside dist/lib the jar of the base project on which the main depend. But there are no the jars of the "inner" project! Is there a way to solve these dependencies issues, jars, manifest and so on with NB? Unfortunately I cannot use maven or introduce maven at this point of the project. Help, Marco