Re: [Codenarc-developer] tons of exceptions in build
Brought to you by:
chrismair
From: Hamlet D'A. <ham...@gm...> - 2011-06-01 04:23:45
|
Can we write a unit test in the abstract test case to make sure these are valid for all rules? I can validate a regex... can you validate a wildcard expression? On Wed, Jun 1, 2011 at 4:21 AM, Chris Mair <chr...@ea...> wrote: > Hamlet, > > I do see those exceptions in the test output as well, when I run mvn test, > though all the tests pass. > > It is because the JavaIoPackageAccessRule has doNotApplyToFilesMatching = > DEFAULT_TEST_CLASS_NAMES (wildcard string) instead of DEFAULT_TEST_FILES > (regex). I checked in the fix for that, and don't see those errors anymore. > > Chris > -----Original Message----- > From: Hamlet DArcy [mailto:ham...@ca...] > Sent: Tuesday, May 31, 2011 5:32 AM > To: cod...@li... > Subject: [Codenarc-developer] tons of exceptions in build > > Hi Chris, > > When running the maven build, I get a ton of exceptions. I never know if it > works correctly or is a new error. > > I see this exception quite often when I run "mvn test": > > java.util.regex.PatternSyntaxException: Dangling meta character '*' near > index 0 *Test,*Tests,*TestCase ^ > at java.util.regex.Pattern.error(Pattern.java:1713) > at java.util.regex.Pattern.sequence(Pattern.java:1878) > at java.util.regex.Pattern.expr(Pattern.java:1752) > > > Is it normal that these exceptions are thrown? > > -- > Hamlet D'Arcy > ham...@ca... > > > ---------------------------------------------------------------------------- > -- > Simplify data backup and recovery for your virtual environment with vRanger. > > Installation's a snap, and flexible recovery options mean your data is safe, > secure and there when you need it. Data protection magic? > Nope - It's vRanger. Get your free trial download today. > http://p.sf.net/sfu/quest-sfdev2dev > _______________________________________________ > Codenarc-developer mailing list > Cod...@li... > https://lists.sourceforge.net/lists/listinfo/codenarc-developer > > > ------------------------------------------------------------------------------ > Simplify data backup and recovery for your virtual environment with vRanger. > Installation's a snap, and flexible recovery options mean your data is safe, > secure and there when you need it. Data protection magic? > Nope - It's vRanger. Get your free trial download today. > http://p.sf.net/sfu/quest-sfdev2dev > _______________________________________________ > Codenarc-developer mailing list > Cod...@li... > https://lists.sourceforge.net/lists/listinfo/codenarc-developer > -- Hamlet D'Arcy ham...@gm... |