You are viewing a plain text version of this content. The canonical link for it is here.
Posted to npanday-commits@incubator.apache.org by "Lars Corneliussen (JIRA)" <ji...@apache.org> on 2012/05/09 07:14:09 UTC
[jira] [Commented] (NPANDAY-418) Automatically exclude test sources
from main sources in compile-plugin
[ https://issues.apache.org/jira/browse/NPANDAY-418?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13271169#comment-13271169 ]
Lars Corneliussen commented on NPANDAY-418:
-------------------------------------------
Mostly done. Currently it wouldn't work, if testDir is inside sourceDir, but only if they are equal. (For example both ./)
> Automatically exclude test sources from main sources in compile-plugin
> ----------------------------------------------------------------------
>
> Key: NPANDAY-418
> URL: https://issues.apache.org/jira/browse/NPANDAY-418
> Project: NPanday
> Issue Type: Improvement
> Components: Maven Plugins
> Affects Versions: 1.4-incubating
> Reporter: Lars Corneliussen
> Assignee: Lars Corneliussen
> Labels: compile, test
> Fix For: 1.5.0-incubating
>
>
> I'd like to run a configuration, where all test sources are automatically excluded from the main compilation.
> Usually in .NET-Projects, Tests are in a separate assembly. NPanday supports having tests within the same Project, but then they have to be in a separate folder.
> I'd like support for these two layouts:
> {code:title=Layout one}
> MyProj
> - Some.cs
> - More
> - Here.cs
> Test
> - SomeTest.cs
> - More
> - HereTest.cs
> {code}
> {code:title=Layout two}
> MyProj
> - Some.cs
> - SomeTest.cs
> - More
> - Here.cs
> - HereTest.cs
> {code}
> In both cases it should be sufficient to tell NPanday how to find test fixtures. Then it can figure out that those are not to be included in the main artifact.
> What do you think?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira