[mevenide-dev] [jira] Updated: (MEVENIDE-613) NetBeans does not recognise Test Packages as a source directory

"Milos Kleint (JIRA)" <jira-yCVjj/[email protected]>
Newsgroups gmane.comp.jakarta.turbine.maven.mevenide.devel
Message-ID <31966713.1206186765597.JavaMail.haus-jira@codehaus01.managed.contegix.com>
     [ http://jira.codehaus.org/browse/MEVENIDE-613?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Milos Kleint updated MEVENIDE-613:
----------------------------------

    Affects Version/s: NB_3.0
        Fix Version/s: NB_3.1

confirmed in released 3.0.11. In current trunk (3.1-SNAPSHOT it seems to work fine. (http://deadlock.netbeans.org/hudson/job/mevenide/)


> NetBeans does not recognise Test Packages as a source directory
> ---------------------------------------------------------------
>
>                 Key: MEVENIDE-613
>                 URL: http://jira.codehaus.org/browse/MEVENIDE-613
>             Project: mevenide
>          Issue Type: Bug
>          Components: mevenide2-netbeans
>    Affects Versions: NB_3.0
>         Environment: NetBeans 6.0.1, NetBeans 6.1Beta
> Using external Maven: apache-maven-2.0.8
> jdk 1.6.0_04
>            Reporter: David Rosell
>            Assignee: Milos Kleint
>            Priority: Minor
>             Fix For: NB_3.1
>
>
> It is a major annoyance to have correct code marked as incorrect in NetBeans.
> When checking out the apache-commons.csv project, NetBeans mark all the test classes as error.
> NetBeans don't recognise the Test Package directory as a source directory. All classes in Test Package are reported as "Incorrect Package" - "Change package declaration to src.test.org.apache.commons.csv". (the correct package is "org.apache.commons.csv")
> I believe it is this section in the pom that is missinterpreted:
>   <build>
>       <sourceDirectory>src/java</sourceDirectory>
>       <testSourceDirectory>src/test</testSourceDirectory> 
>   </build>
> The project builds correctly and the tests run correctly.
> To reproduce the problem - Check out the trunk from apache-commons-csv:
> http://svn.apache.org/repos/asf/commons/sandbox/csv/trunk/

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.