I've run into the "dangling meta character" issue again. I again followed the
"quickstart" tutorial but this time I'm on my Ubuntu Linux box, rather than
my XP box.
Login:
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error executing ant tasks
Embedded error: The following error occurred while executing this line:
/home/kerry/sentinel-2-appfuse/myproject/src/test/resources/config.xml:3:
java.util.regex.PatternSyntaxException: Dangling meta character '*' near
index 0
*.somewhere.com
^
I looked at Matt's suggested fix, to edit ./src/test/resources/web-tests.xml
and change this:
<property
file="${basedir}/target/${webapp.name}/WEB-INF/classes/ApplicationResources_${user.language}.properties"/>
<property
file="${basedir}/target/${webapp.name}/WEB-INF/classes/ApplicationResources.properties"/>
to this:
<property
file="${basedir}/target/classes/ApplicationResources_${user.language}.properties"/>
<property
file="${basedir}/target/classes/ApplicationResources.properties"/>
... but when I looked closer I noticed that my original lines weren't as
described above. The dollar sign has been escaped:
<property
file="\${basedir}/target/${webapp.name}/WEB-INF/classes/ApplicationResources_${user.language}.properties"/>
<property
file="\${basedir}/target/${webapp.name}/WEB-INF/classes/ApplicationResources.properties"/>
If I remove the backslash and try again, things proceed without an error.
Hope this helps track down the problem!
Cheers
Kerry
--
View this message in context:
http://www.nabble.com/Run-mvn-integration-test--Canoo-Web-test-Error%21%21%21-tf3179622s2369.html#a13148709
Sent from the AppFuse - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]