Hi Malinga, Thanks a lot for the info!
Following your guide, I build the axis2 code, create project files for idea and then import the whole project to intellij. Till now there is no problem. But, when I try to run the "Make Project (ctrl+F9)" inside the intellij, it shows an Error that "Cannot start compilation: the output path is not specified for modules "Version", "Ping", "Scripting", "Addressing". Specify the output path in Configure Project." Did you get such error in your case? Also, if I can compile the whole axis2 project successfully, can I deploy the newly generated jar files automatically to the axis2 library inside of tomcat? Then I can test the changes I made into axis2. Thanks a lot!! Best regards, Cuiting On Wed, Apr 20, 2011 at 3:16 PM, Supun Malinga <[email protected]> wrote: > Hi Chen, > > I believe the readme is a bit outdated! :) > Just do a mvn clean install from the axis2 root directory then it will > build all the things one go. then use mvn idea:idea to create the project > files and load the created .iml project from idea. > > If you want to import the source for only a particular module, follow the > same procedure under that module directory. However since modules may depend > one another its best to do a root level build first and then create idea > project files in the module dir. > > Hope this helps. > > thanks > > On Wed, Apr 20, 2011 at 6:25 PM, Cuiting Chen <[email protected] > > wrote: > >> Hi Malinga, >> >> The way I did is quite similar to the first one. After I downloaded the >> source code, I put the code in the idea workspace, import it into idea, then >> >> 1. I followed the information from the readme.txt: , >> 1) Use ant (http://ant.apache.org) to build the first >> time. There is a build.xml at the top level which automatically builds the >> plugins first and then runs a regular "mvn install". >> >> 2) Manually "mvn install" both of the plugins in the >> following >> places: modules/tool/axis2-mar-maven-plugin >> modules/tool/axis2-aar-maven-plugin >> >> 2. Then I run "mvn idea:idea", after this step, the itellij will reload >> the project. >> >> After reloading, there are still those errors about no axiom package etc. >> >> So according to your experience, I should build the source code at first, >> then import it to itellij? I am trying this to see what will happen. Thanks >> a lot!! >> >> Best regards, >> Cuiting >> >> >> >> On Wed, Apr 20, 2011 at 2:21 PM, Supun Malinga <[email protected]> wrote: >> >>> Hi Chen, >>> >>> I which ways you imported the project to intellij idea? There are two >>> ways, >>> 1) running mvn idea:idea and creating the idea project files and then >>> import from idea. >>> 2) directly importing the project from the pom.xml itself (idea10 >>> supports this.) >>> >>> I usually do the first option and it should work fine. >>> >>> thanks, >>> >>> On Wed, Apr 20, 2011 at 5:45 PM, Cuiting Chen < >>> [email protected]> wrote: >>> >>>> Hi there, >>>> >>>> I build axis2 source code successfully, the project is also imported in >>>> IntelliJ, and there are still some errors, e.g., "package >>>> org.apache.axiom.om does not exist". Theoretically maven should deal >>>> with the dependencies automatically when building the source code, and >>>> those >>>> errors should not show up. Is there anything wrong? How can I make those >>>> errors disappear? Thanks in advance! >>>> >>>> -- >>>> Best regards, >>>> Cuiting Chen >>>> >>>> >>> >>> >>> -- >>> Supun Malinga, >>> >>> Software Engineer, >>> WSO2 Inc. >>> http://wso2.com >>> http://wso2.org >>> email - [email protected] <[email protected]> >>> mobile - 071 56 91 321 >>> >>> >> >> >> -- >> Best regards, >> Cuiting Chen >> >> > > > -- > Supun Malinga, > > Software Engineer, > WSO2 Inc. > http://wso2.com > http://wso2.org > email - [email protected] <[email protected]> > mobile - 071 56 91 321 > > -- Best regards, Cuiting Chen
