You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Runo Barrdahl (JIRA)" <ji...@apache.org> on 2011/04/21 08:57:06 UTC

[jira] [Created] (CXF-3467) apache-cxf-2.4.0-src: minor issue when used with Eclipse 3.5.2: helloWorldSoapHttp created all llowercase in code, and M2_REPO classpath variable missing in Eclipse

apache-cxf-2.4.0-src: minor issue when used with Eclipse 3.5.2: helloWorldSoapHttp created all llowercase in code, and M2_REPO classpath variable missing in Eclipse
--------------------------------------------------------------------------------------------------------------------------------------------------------------------

                 Key: CXF-3467
                 URL: https://issues.apache.org/jira/browse/CXF-3467
             Project: CXF
          Issue Type: Bug
          Components: OSGi
    Affects Versions: 2.4
         Environment: Windows XP
JDK 1.6.0_24
apache-maven-2.2.1
Eclipse 3.5.2 Galileo SR2

            Reporter: Runo Barrdahl
            Priority: Minor
             Fix For: 2.4


The following procedure was followed when installing apache-cxf-2.4.0-src:
1. Expansion of zip to C:\apache-cxf-2.4.0-src
2. @mvn -Pfastinstall
3. @mvn -Psetup.eclipse -Declipse.workspace.dir=C:/eclipse-workspaces/3.5.2_Galileo-SR2/Eclipse_CXF
4. Import into Eclipse of all projects in C:\apache-cxf-2.4.0-src
5. Then 2 errors appear: a) class path variable M2_REPO is referred to but not present in Eclipse, so it had to be manually added. b) inconsistency in java code of Eclipse project cxf-systests-databinding, such that helloWorldSoapHttp is in lowercase in references to imported packages.

Details of error: C:\apache-cxf-2.4.0-src\systests\databinding\target\generated\src\test\java\jibx_bindings\hello_world.xml: helloworldsoaphttp is all lowercase, while in Eclipse, created Java is helloWorldSoapHttp - that causes errors in eclipse. See also: C:\apache-cxf-2.4.0-src\systests\databinding\target\generated\src\test\java\org\apache, and C:\apache-cxf-2.4.0-src\systests\databinding\target\test-classes\schemaorg_apache_xmlbeans


For more information, don't hesistate to contact me by mail.

Best Regards, Runo Barrdahl

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CXF-3467) apache-cxf-2.4.0-src: minor issue when used with Eclipse 3.5.2: helloWorldSoapHttp created all llowercase in code, and M2_REPO classpath variable missing in Eclipse

Posted by "Runo Barrdahl (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-3467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13022726#comment-13022726 ] 

Runo Barrdahl commented on CXF-3467:
------------------------------------

Dear Glen:

Thanks for your fast comments.

Well, as regards the M2_REPO variable, what I implicitly meant was that the requirement to define it in Eclipse may be added in the configuration quide, in order to avoid the error.

You mighet be right about the second issue, I can not judge on that. Only, I saw a discrepance in Eclipse java project code as compared to the *.xml referred to by me.


Med vänlig hälsning / Best regards,

Runo Barrdahl, civ. ing., tekn. lic


Tieto Sweden AB, Financial Services
  




> apache-cxf-2.4.0-src: minor issue when used with Eclipse 3.5.2: helloWorldSoapHttp created all llowercase in code, and M2_REPO classpath variable missing in Eclipse
> --------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CXF-3467
>                 URL: https://issues.apache.org/jira/browse/CXF-3467
>             Project: CXF
>          Issue Type: Bug
>          Components: OSGi
>    Affects Versions: 2.4
>         Environment: Windows XP
> JDK 1.6.0_24
> apache-maven-2.2.1
> Eclipse 3.5.2 Galileo SR2
>            Reporter: Runo Barrdahl
>            Priority: Minor
>             Fix For: 2.4
>
>
> The following procedure was followed when installing apache-cxf-2.4.0-src:
> 1. Expansion of zip to C:\apache-cxf-2.4.0-src
> 2. @mvn -Pfastinstall
> 3. @mvn -Psetup.eclipse -Declipse.workspace.dir=C:/eclipse-workspaces/3.5.2_Galileo-SR2/Eclipse_CXF
> 4. Import into Eclipse of all projects in C:\apache-cxf-2.4.0-src
> 5. Then 2 errors appear: a) class path variable M2_REPO is referred to but not present in Eclipse, so it had to be manually added. b) inconsistency in java code of Eclipse project cxf-systests-databinding, such that helloWorldSoapHttp is in lowercase in references to imported packages.
> Details of error: C:\apache-cxf-2.4.0-src\systests\databinding\target\generated\src\test\java\jibx_bindings\hello_world.xml: helloworldsoaphttp is all lowercase, while in Eclipse, created Java is helloWorldSoapHttp - that causes errors in eclipse. See also: C:\apache-cxf-2.4.0-src\systests\databinding\target\generated\src\test\java\org\apache, and C:\apache-cxf-2.4.0-src\systests\databinding\target\test-classes\schemaorg_apache_xmlbeans
> For more information, don't hesistate to contact me by mail.
> Best Regards, Runo Barrdahl

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CXF-3467) apache-cxf-2.4.0-src: minor issue when used with Eclipse 3.5.2: helloWorldSoapHttp created all llowercase in code, and M2_REPO classpath variable missing in Eclipse

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-3467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13023199#comment-13023199 ] 

Daniel Kulp commented on CXF-3467:
----------------------------------


The maven eclipse plugin should have set the M2_REPO variable.    Can you try again and then check the file :


workspace/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jdt.core.prefs

and see if it's defined in there?   I just tried it with:

 mvn -Psetup.eclipse -Declipse.workspace.dir=/tmp/workspace

and it seemed to work fine.  That said, I'm NOT sure if the eclipse.workspace.dir thing can deal with a drive letter.   I honestly don't know.  (I hate windows)



> apache-cxf-2.4.0-src: minor issue when used with Eclipse 3.5.2: helloWorldSoapHttp created all llowercase in code, and M2_REPO classpath variable missing in Eclipse
> --------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CXF-3467
>                 URL: https://issues.apache.org/jira/browse/CXF-3467
>             Project: CXF
>          Issue Type: Bug
>          Components: OSGi
>    Affects Versions: 2.4
>         Environment: Windows XP
> JDK 1.6.0_24
> apache-maven-2.2.1
> Eclipse 3.5.2 Galileo SR2
>            Reporter: Runo Barrdahl
>            Priority: Minor
>             Fix For: 2.4
>
>
> The following procedure was followed when installing apache-cxf-2.4.0-src:
> 1. Expansion of zip to C:\apache-cxf-2.4.0-src
> 2. @mvn -Pfastinstall
> 3. @mvn -Psetup.eclipse -Declipse.workspace.dir=C:/eclipse-workspaces/3.5.2_Galileo-SR2/Eclipse_CXF
> 4. Import into Eclipse of all projects in C:\apache-cxf-2.4.0-src
> 5. Then 2 errors appear: a) class path variable M2_REPO is referred to but not present in Eclipse, so it had to be manually added. b) inconsistency in java code of Eclipse project cxf-systests-databinding, such that helloWorldSoapHttp is in lowercase in references to imported packages.
> Details of error: C:\apache-cxf-2.4.0-src\systests\databinding\target\generated\src\test\java\jibx_bindings\hello_world.xml: helloworldsoaphttp is all lowercase, while in Eclipse, created Java is helloWorldSoapHttp - that causes errors in eclipse. See also: C:\apache-cxf-2.4.0-src\systests\databinding\target\generated\src\test\java\org\apache, and C:\apache-cxf-2.4.0-src\systests\databinding\target\test-classes\schemaorg_apache_xmlbeans
> For more information, don't hesistate to contact me by mail.
> Best Regards, Runo Barrdahl

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CXF-3467) apache-cxf-2.4.0-src: minor issue when used with Eclipse 3.5.2: helloWorldSoapHttp created all llowercase in code, and M2_REPO classpath variable missing in Eclipse

Posted by "Glen Mazza (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-3467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13022719#comment-13022719 ] 

Glen Mazza commented on CXF-3467:
---------------------------------

As for (5), The missing M2_REPO is not an error, you need to define it in your workspace to point to your local Maven repository.  M2_REPO is used by just about every Maven-based project that you import into Eclipse, not just CXF.  Google "setting m2_repo in eclipse" for more countless links.

Further, I'm not sure if the other is a CXF bug either--could be though.  We do our builds using Maven (normally in a separate command-line window), not Eclipse, Eclipse is just for editing the code.  I'm not sure of the benefits of customizing the source code for one particular IDE.  (There are people using NetBeans, for example.)



> apache-cxf-2.4.0-src: minor issue when used with Eclipse 3.5.2: helloWorldSoapHttp created all llowercase in code, and M2_REPO classpath variable missing in Eclipse
> --------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CXF-3467
>                 URL: https://issues.apache.org/jira/browse/CXF-3467
>             Project: CXF
>          Issue Type: Bug
>          Components: OSGi
>    Affects Versions: 2.4
>         Environment: Windows XP
> JDK 1.6.0_24
> apache-maven-2.2.1
> Eclipse 3.5.2 Galileo SR2
>            Reporter: Runo Barrdahl
>            Priority: Minor
>             Fix For: 2.4
>
>
> The following procedure was followed when installing apache-cxf-2.4.0-src:
> 1. Expansion of zip to C:\apache-cxf-2.4.0-src
> 2. @mvn -Pfastinstall
> 3. @mvn -Psetup.eclipse -Declipse.workspace.dir=C:/eclipse-workspaces/3.5.2_Galileo-SR2/Eclipse_CXF
> 4. Import into Eclipse of all projects in C:\apache-cxf-2.4.0-src
> 5. Then 2 errors appear: a) class path variable M2_REPO is referred to but not present in Eclipse, so it had to be manually added. b) inconsistency in java code of Eclipse project cxf-systests-databinding, such that helloWorldSoapHttp is in lowercase in references to imported packages.
> Details of error: C:\apache-cxf-2.4.0-src\systests\databinding\target\generated\src\test\java\jibx_bindings\hello_world.xml: helloworldsoaphttp is all lowercase, while in Eclipse, created Java is helloWorldSoapHttp - that causes errors in eclipse. See also: C:\apache-cxf-2.4.0-src\systests\databinding\target\generated\src\test\java\org\apache, and C:\apache-cxf-2.4.0-src\systests\databinding\target\test-classes\schemaorg_apache_xmlbeans
> For more information, don't hesistate to contact me by mail.
> Best Regards, Runo Barrdahl

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (CXF-3467) apache-cxf-2.4.0-src: minor issue when used with Eclipse 3.5.2: helloWorldSoapHttp created all llowercase in code, and M2_REPO classpath variable missing in Eclipse

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-3467?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp resolved CXF-3467.
------------------------------

    Resolution: Fixed
      Assignee: Daniel Kulp

Changed the package names for the xmlbeans and jibx generated stuff to not have them in the same package, just with different case.    

> apache-cxf-2.4.0-src: minor issue when used with Eclipse 3.5.2: helloWorldSoapHttp created all llowercase in code, and M2_REPO classpath variable missing in Eclipse
> --------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CXF-3467
>                 URL: https://issues.apache.org/jira/browse/CXF-3467
>             Project: CXF
>          Issue Type: Bug
>          Components: OSGi
>    Affects Versions: 2.4
>         Environment: Windows XP
> JDK 1.6.0_24
> apache-maven-2.2.1
> Eclipse 3.5.2 Galileo SR2
>            Reporter: Runo Barrdahl
>            Assignee: Daniel Kulp
>            Priority: Minor
>             Fix For: 2.4
>
>
> The following procedure was followed when installing apache-cxf-2.4.0-src:
> 1. Expansion of zip to C:\apache-cxf-2.4.0-src
> 2. @mvn -Pfastinstall
> 3. @mvn -Psetup.eclipse -Declipse.workspace.dir=C:/eclipse-workspaces/3.5.2_Galileo-SR2/Eclipse_CXF
> 4. Import into Eclipse of all projects in C:\apache-cxf-2.4.0-src
> 5. Then 2 errors appear: a) class path variable M2_REPO is referred to but not present in Eclipse, so it had to be manually added. b) inconsistency in java code of Eclipse project cxf-systests-databinding, such that helloWorldSoapHttp is in lowercase in references to imported packages.
> Details of error: C:\apache-cxf-2.4.0-src\systests\databinding\target\generated\src\test\java\jibx_bindings\hello_world.xml: helloworldsoaphttp is all lowercase, while in Eclipse, created Java is helloWorldSoapHttp - that causes errors in eclipse. See also: C:\apache-cxf-2.4.0-src\systests\databinding\target\generated\src\test\java\org\apache, and C:\apache-cxf-2.4.0-src\systests\databinding\target\test-classes\schemaorg_apache_xmlbeans
> For more information, don't hesistate to contact me by mail.
> Best Regards, Runo Barrdahl

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CXF-3467) apache-cxf-2.4.0-src: minor issue when used with Eclipse 3.5.2: helloWorldSoapHttp created all llowercase in code, and M2_REPO classpath variable missing in Eclipse

Posted by "Runo Barrdahl (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-3467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13025081#comment-13025081 ] 

Runo Barrdahl commented on CXF-3467:
------------------------------------

Dear Daniel:

Sorry, I do not have the time to carry out any more tests.
My intention when sending in my findings was solely to make them available for the Apache CXF development team.


Med vänlig hälsning / Best regards,

Runo Barrdahl, civ. ing., tekn. lic


Tieto Sweden AB, Financial Services
  



> apache-cxf-2.4.0-src: minor issue when used with Eclipse 3.5.2: helloWorldSoapHttp created all llowercase in code, and M2_REPO classpath variable missing in Eclipse
> --------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CXF-3467
>                 URL: https://issues.apache.org/jira/browse/CXF-3467
>             Project: CXF
>          Issue Type: Bug
>          Components: OSGi
>    Affects Versions: 2.4
>         Environment: Windows XP
> JDK 1.6.0_24
> apache-maven-2.2.1
> Eclipse 3.5.2 Galileo SR2
>            Reporter: Runo Barrdahl
>            Priority: Minor
>             Fix For: 2.4
>
>
> The following procedure was followed when installing apache-cxf-2.4.0-src:
> 1. Expansion of zip to C:\apache-cxf-2.4.0-src
> 2. @mvn -Pfastinstall
> 3. @mvn -Psetup.eclipse -Declipse.workspace.dir=C:/eclipse-workspaces/3.5.2_Galileo-SR2/Eclipse_CXF
> 4. Import into Eclipse of all projects in C:\apache-cxf-2.4.0-src
> 5. Then 2 errors appear: a) class path variable M2_REPO is referred to but not present in Eclipse, so it had to be manually added. b) inconsistency in java code of Eclipse project cxf-systests-databinding, such that helloWorldSoapHttp is in lowercase in references to imported packages.
> Details of error: C:\apache-cxf-2.4.0-src\systests\databinding\target\generated\src\test\java\jibx_bindings\hello_world.xml: helloworldsoaphttp is all lowercase, while in Eclipse, created Java is helloWorldSoapHttp - that causes errors in eclipse. See also: C:\apache-cxf-2.4.0-src\systests\databinding\target\generated\src\test\java\org\apache, and C:\apache-cxf-2.4.0-src\systests\databinding\target\test-classes\schemaorg_apache_xmlbeans
> For more information, don't hesistate to contact me by mail.
> Best Regards, Runo Barrdahl

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira