RE: Annoying Eclipse issue on chemistry-soap-server
Hi Gab, I had quite a lot of trouble using m2eclipse and just skipped it. Since I'm using mvn eclipse:eclipse everything is fine with Eclipse integration of Maven. This is really simple. Regards, Stephan -Original Message- From: Gabriele Columbro [mailto:gabriele.colum...@alfresco.com] Sent: Dienstag, 30. März 2010 15:01 To: chemistry-dev@incubator.apache.org Subject: Annoying Eclipse issue on chemistry-soap-server Hey guys, even though my command line Maven build seems happy about our modules dependencies and builds fine, I got an annoying glitch in my Eclipse error panel, for class chemistry/chemistry-soap-server/src/main/java/org/apache/ chemistry/soap/server/AuthHandler.java mentioning at line 80 that SOAPHeader cannot be resolved to a type and at line 82 that The type javax.xml.soap.SOAPMessage cannot be resolved. It is indirectly referenced from required .class files I'm guessing this has something to do with my m2eclipse integration and the way it uses the emdedded maven (3.x I believe) to resolve transitive dependencies (like this WS related stuff), as I repeat build works fine from the cmd line and in Hudson. I was just wondering if any of you has this issue which keeps bothering me in the error pane (I hate red alerts in my code, and don't suggest me to use filters plz :) ) and if you found any workaround. Thanks in advance for any suggestion, ciao! Gab -- Gabriele Columbro Field Consultant, EMEA Professional Services Alfresco Software, Ltd. (http://www.alfresco.com) M: +31 (0)627 565 103 P: +39 320 161 28 46 D: +44 (0)1628 876 654 Skype: gabrielecolumbro Blog: http://www.mindthegab.com Tweet this: #Alfresco #SpringSource announce Spring Surf Extension for web app development http://bit.ly/alfsurf
Re: Annoying Eclipse issue on chemistry-soap-server
Hey guys, thanks for the answers, see my comments below: On Mar 31, 2010, at 11:06 AM, Klevenz, Stephan wrote: Hi Gab, I had quite a lot of trouble using m2eclipse and just skipped it. Since I'm using mvn eclipse:eclipse everything is fine with Eclipse integration of Maven. This is really simple. So the good thing why I use m2eclipse is to be able to manage multiple modules as a single project so that I can have full control over it (e.g. for bulk SVN changes) and for other dependency analysis tools. IIRC when you mvn eclipse:eclipse a multimodule project you end up with a .classpath for each of submodules and I want to avoid that. Are you able using mvn eclipse:eclipse to have a single project and pull up all submodules source folders and dependencies like m2eclipse does? Actually the issue is definitely related to Java5 / Java6 settings for my project as I noticed an old reference to JVM5 system library in the Eclipse project: unluckily though, when changing that to JVM 6 system library, while the original AtuhHandler problem disappear (still sorting out other local issue though). Thanks for the help, ciao! Gab Regards, Stephan -Original Message- From: Gabriele Columbro [mailto:gabriele.colum...@alfresco.com] Sent: Dienstag, 30. März 2010 15:01 To: chemistry-dev@incubator.apache.org Subject: Annoying Eclipse issue on chemistry-soap-server Hey guys, even though my command line Maven build seems happy about our modules dependencies and builds fine, I got an annoying glitch in my Eclipse error panel, for class chemistry/chemistry-soap-server/src/main/java/org/apache/ chemistry/soap/server/AuthHandler.java mentioning at line 80 that SOAPHeader cannot be resolved to a type and at line 82 that The type javax.xml.soap.SOAPMessage cannot be resolved. It is indirectly referenced from required .class files I'm guessing this has something to do with my m2eclipse integration and the way it uses the emdedded maven (3.x I believe) to resolve transitive dependencies (like this WS related stuff), as I repeat build works fine from the cmd line and in Hudson. I was just wondering if any of you has this issue which keeps bothering me in the error pane (I hate red alerts in my code, and don't suggest me to use filters plz :) ) and if you found any workaround. Thanks in advance for any suggestion, ciao! Gab -- Gabriele Columbro Field Consultant, EMEA Professional Services Alfresco Software, Ltd. (http://www.alfresco.com) M: +31 (0)627 565 103 P: +39 320 161 28 46 D: +44 (0)1628 876 654 Skype: gabrielecolumbro Blog: http://www.mindthegab.com Tweet this: #Alfresco #SpringSource announce Spring Surf Extension for web app development http://bit.ly/alfsurf -- Eng. Gabriele Columbro Alfresco Software, Ltd. M: +31 (0)627 565 103 P: +39 320 161 28 46 D: +44 (0)1628 876 654 Skype: gabrielecolumbro Blog: http://www.mindthegab.com
Re: Annoying Eclipse issue on chemistry-soap-server
Hi Gabriele, I once had this problem on a machine whose default Java VM was 1.5, as opposed to 1.6. Do you know what Java version m2eclipse uses? Kind regards Dominique On Tue, Mar 30, 2010 at 3:01 PM, Gabriele Columbro gabriele.colum...@alfresco.com wrote: Hey guys, even though my command line Maven build seems happy about our modules dependencies and builds fine, I got an annoying glitch in my Eclipse error panel, for class chemistry/chemistry-soap-server/src/main/java/org/apache/chemistry/soap/server/AuthHandler.java mentioning at line 80 that SOAPHeader cannot be resolved to a type and at line 82 that The type javax.xml.soap.SOAPMessage cannot be resolved. It is indirectly referenced from required .class files I'm guessing this has something to do with my m2eclipse integration and the way it uses the emdedded maven (3.x I believe) to resolve transitive dependencies (like this WS related stuff), as I repeat build works fine from the cmd line and in Hudson. I was just wondering if any of you has this issue which keeps bothering me in the error pane (I hate red alerts in my code, and don't suggest me to use filters plz :) ) and if you found any workaround. Thanks in advance for any suggestion, ciao! Gab -- Gabriele Columbro Field Consultant, EMEA Professional Services Alfresco Software, Ltd. (http://www.alfresco.com) M: +31 (0)627 565 103 P: +39 320 161 28 46 D: +44 (0)1628 876 654 Skype: gabrielecolumbro Blog: http://www.mindthegab.com Tweet this: #Alfresco #SpringSource announce Spring Surf Extension for web app development http://bit.ly/alfsurf
Re: Annoying Eclipse issue on chemistry-soap-server
Myself I don't use m2eclipse but rely on mvn eclipse:eclipse instead to generate .project files. This works well for me, the generated source folders are correctly set up. Florent 2010/3/30 Gabriele Columbro gabriele.colum...@alfresco.com: Hey guys, even though my command line Maven build seems happy about our modules dependencies and builds fine, I got an annoying glitch in my Eclipse error panel, for class chemistry/chemistry-soap-server/src/main/java/org/apache/chemistry/soap/server/AuthHandler.java mentioning at line 80 that SOAPHeader cannot be resolved to a type and at line 82 that The type javax.xml.soap.SOAPMessage cannot be resolved. It is indirectly referenced from required .class files I'm guessing this has something to do with my m2eclipse integration and the way it uses the emdedded maven (3.x I believe) to resolve transitive dependencies (like this WS related stuff), as I repeat build works fine from the cmd line and in Hudson. I was just wondering if any of you has this issue which keeps bothering me in the error pane (I hate red alerts in my code, and don't suggest me to use filters plz :) ) and if you found any workaround. Thanks in advance for any suggestion, ciao! Gab -- Gabriele Columbro Field Consultant, EMEA Professional Services Alfresco Software, Ltd. (http://www.alfresco.com) M: +31 (0)627 565 103 P: +39 320 161 28 46 D: +44 (0)1628 876 654 Skype: gabrielecolumbro Blog: http://www.mindthegab.com Tweet this: #Alfresco #SpringSource announce Spring Surf Extension for web app development http://bit.ly/alfsurf -- Florent Guillaume, Director of RD, Nuxeo Open Source, Java EE based, Enterprise Content Management (ECM) http://www.nuxeo.com http://www.nuxeo.org +33 1 40 33 79 87