Maybe the difference between String and GString[1]
equals should always work
Robert
[1] http://groovy.codehaus.org/Strings+and+GString
Op Thu, 04 Sep 2014 21:59:54 +0200 schreef Jörg Hohwiller
<jo...@j-hohwiller.de>:
Hi there,
I am not a groovy expert and need some help.
An IT of flatten-maven-plugin fails with this error:
assert 'no-one' == flattendProject.repositories.repository.id
| | | | |
| | | | no-one
| | | no-onehttp://localhost:61379
| | no-onehttp://localhost:61379
|
4.0.0org.codehaus.mojo.flatten.itsexternal-parent0.0.1-SNAPSHOTApache
License, Version
2.0http://www.apache.org/licenses/LICENSE-2.0org.springframeworkspring-core4.0.5.RELEASEcompileno-onehttp://localhost:61379
false
at
org.codehaus.groovy.runtime.InvokerHelper.assertFailed(InvokerHelper.java:399)
IMHO "no-one" should be equal to "no-one". Also I assumed that the hole
story of groovy was to make things easy so hopefully I am not checking
the String "no-one" being equals to the DOM node <id>no-none</id> what
would explain why this is false but it seems to work in other setups so
there must be something I am missing here.
I would love to complete this last issue so we can pull out the next
release of the plugin.
Any ideas would be very appreciated.
Thanks in advance
Jörg
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email