Suggestions for DSL

0 views
Skip to first unread message

Mauricio Scheffer

unread,
Dec 15, 2009, 8:40:54 PM12/15/09
to HORN Development
What do you think about adding wildcards/regex to the exclusion lists?

For example, in the ActiveRecord build:
http://www.hornget.net/packages/ioc/castle.activerecord/castle.activerecord-trunk
I'd like to exclude all Spring and NUnit assemblies. So instead of:

exclude:
library "Spring.Aop"
library "Spring.Core"
library "nunit.core"
library "nunit.framework"
library "nunit.framework.extensions"
library "nunit.framework.license"

we could write:

exclude:
libraries "Spring.*"
libraries "nunit.*"

Also it would be useful to have a "file" exclusion that matched the
whole filename (not just the the filename without extension):

exclude:
file "ABC.hbm.xml"
files "*.cfg.xml"

Regex support could be added later:

exclude:
libraries /^Spring/
libraries /^nunit/


Comments welcome.

--
Mauricio

Paul Cowan

unread,
Dec 16, 2009, 4:18:35 AM12/16/09
to horn-dev...@googlegroups.com
I think we talked about this at one stage Maurcio and I think it is a wonderful idea :-).

It makes complete sense and would help keep the descriptors nice and neat.

It would be good to say I want everything fro a package also.

Cheers

Paul Cowan

Cutting-Edge Solutions (Scotland)

http://thesoftwaresimpleton.blogspot.com/



2009/12/16 Mauricio Scheffer <mauricio...@gmail.com>

--

You received this message because you are subscribed to the Google Groups "HORN Development" group.
To post to this group, send email to horn-dev...@googlegroups.com.
To unsubscribe from this group, send email to horn-developme...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/horn-development?hl=en.



Reply all
Reply to author
Forward
0 new messages