[
https://issues.apache.org/jira/browse/NPANDAY-418?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13022682#comment-13022682
]
Lars Corneliussen commented on NPANDAY-418:
-------------------------------------------
Currently we use the csc /recurse option. I think we should use Ant-like
include/exclude semantics for both normal and test sources.
> 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.3.1-incubating
> Reporter: Lars Corneliussen
> Labels: compile, test
> Fix For: 2.0
>
>
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira