cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Glen Mazza (JIRA)" <j...@apache.org>
Subject [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
Date Thu, 21 Apr 2011 11:07:05 GMT

    [ 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

Mime
View raw message