[ 
https://issues.apache.org/jira/browse/CXF-3685?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13070929#comment-13070929
 ] 

Glen Mazza commented on CXF-3685:
---------------------------------

Eclipse is assuming that the package root starts with the root directory (and 
hence main is part of the project), because you did not instruct the IDE 
otherwise.  From the command prompt, you need to type mvn eclipse:eclipse, then 
import the project into Eclipse, it should detect the proper directory 
structure that way.  I'm not sure about Netbeans, but unless instructed 
otherwise it will also assume the base directory (and not main/java) is the 
start of the source code, and hence where the package structure must start 
(i.e., "maven/java/...".

We do not build (compile) with Eclipse or Netbeans, we just code from there 
(and some use IntelliJ or text editors, etc.)  Building/compiling is done using 
Maven with a separate console window (although some use Maven IDE plugins, but 
its essentially the same story.)  We have PMD and checkstyle tools incorporated 
into the Maven build process to make sure the code is clean but in general 
those are our only concerns.  Specific IDE complaints are not our concern 
because developers can and do use many different types of IDEs for development 
-- the only thing we have in common is Maven for building.

The Maven directory structure we're following you can also see in countless 
other projects -- WSS4J, Camel, Karaf, Glassfish Metro, etc.  This is an IDE 
configuration error on your part, not something wrong with the code.

> IDEs flagging issue in the jax_rs_basic_https sample project (as packaging 
> related).
> ------------------------------------------------------------------------------------
>
>                 Key: CXF-3685
>                 URL: https://issues.apache.org/jira/browse/CXF-3685
>             Project: CXF
>          Issue Type: Bug
>          Components: Samples
>    Affects Versions: 2.4.1
>         Environment: JAX-RS Basic Demo With HTTPS communications 
> (jax_rs_basic_https)
>            Reporter: Robert Liguori
>            Priority: Minor
>         Attachments: packaging_issue.gif
>
>
> The package statements in the jax_rs_basic_https sample project files do not 
> match the actually package names.
> Example:
> package httpsdemo.client; vs. main.java.httpsdemo.client
> Note: This appears to be fine with other example projects, but not this one.

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

        

Reply via email to