Hi, Sorry if I did not explain the problem properly. This is regarding running the codegen main class from the IDE (IntellijIDEA to be exact). I've set up the project as a multi module project (which I think is the right way to do so) and module dependancies can be put only in one direction. Since xmlbeans module has a dependancy on the codegen module at compilation, I cannot put a dependancy in the codegen module on the xmlbeans module for running the codegen. In other words I cannot run the codegen with -d xmlbeans option inside the IDE
On 4/19/06, Dennis Sosnoski <[EMAIL PROTECTED]> wrote: > Ajith Ranabahu wrote: > > >After the XMLBeans module has been moved out, I'm facing a problem > >with running WSDL2Java in the IDE. What happens is that the XMLBeans > >module depends on the codegen module for compilation (since > >org.apache.axis2.xmlbeans.CodeGenerationUtility included in the > >xmlbeans module) but if I'm running WSDL2Java with -d xmlbeans option > >then I need the xmlbeans module in the classpath. This causes a cyclic > >dependancy !! > > > > > Why do you need to run WSDL2Java with -d xmlbeans option in order to > build the codegen module? AFAIK you should be able to build the codegen > module without running the xmlbeans code, then can build the xmlbeans > module after that. That's the way the maven build is set up, anyway. > > - Dennis > > -- Ajith Ranabahu
