Mojo

Simplify configuration for sources

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Not A Bug
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: native
  • Labels:
    None
  • Environment:
    native-m-p alpha-2
    linux, red hat, g++ via gcc.
  • Complexity:
    Intermediate
  • Number of attachments :
    0

Description

It is necessary to have one source-element for each and every folder, also for subfolders. This seems a bit excessive?
Even though it is necessary to list all folders explicitly when actually running the compilation, this inconvenience could be masked by the plugin.

A configuration like

<sources>
<source>src/main/native</source>
</sources>

should in other words also include files located in src/main/native/someFolder.

I would also like to suggest that either all files in these folders or for example *.cpp are included by default. Especially when it is necessary to specify all folders it seems a bit excessive to have to specify a filter for every folder.

Activity

Hide
Dan Tran added a comment -

a patch is very welcomed

Show
Dan Tran added a comment - a patch is very welcomed
Hide
Dan Tran added a comment -

please use NativeSources's includes/excludes configuration using ANT expression

for example

<includes>
<include>*/.c</include>
</includes>

Show
Dan Tran added a comment - please use NativeSources's includes/excludes configuration using ANT expression for example <includes> <include>*/.c</include> </includes>

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: