I have encountered what appears to be the same problem -- just followed the quickstart today using:
C:\work\appfuse2>mvn archetype:create -DarchetypeGroupId=org.appfuse.archetypes -DarchetypeArtifactId=appfuse-modular-struts -DremoteRepositories=http://static. appfuse.org/releases -DarchetypeVersion=2.0 -DgroupId=com.mycompany.app -Dartifa ctId=myproject .... C:\work\appfuse2>cd myproject C:\work\appfuse2\myproject>mvn [INFO] Scanning for projects... ... Login: [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Error executing ant tasks Embedded error: The following error occurred while executing this line: C:\work\appfuse2\myproject\web\src\test\resources\config.xml:3: java.util.regex. PatternSyntaxException: Dangling meta character '*' near index 0 *.somewhere.com ^ [INFO] ------------------------------------------------------------------------ Locale info in logs: [INFO] [talledLocalContainer] [myproject] WARN [main] Settings.getLocale(143) | Settings: Could not parse struts.locale setting, substituting default VM locale and... [INFO] [antrun:run {execution: default}] [INFO] Executing tasks [mkdir] Created dir: C:\work\appfuse2\myproject\web\target\webtest-data [echo] Testing 'myproject-webapp-1.0-SNAPSHOT' with locale 'en' Hope this helps! Cheers Kerry Matt Raible-3 wrote: > > Do you have more information from your logs - like what locale your OS is > using? I need to reproduce the problem locally in order to fix. > > Matt > > On 2/6/07, jason.jiang <[EMAIL PROTECTED]> wrote: >> >> >> now i use M3(JSF Basic) run integration-test, but still ERROR! >> >> this my pom.xml: >> ............. >> <plugin> >> <groupId>org.codehaus.mojo</groupId> >> <artifactId>native2ascii-maven-plugin</artifactId> >> <version>1.0-beta-1-SNAPSHOT</version> >> <configuration> >> <dest>target/classes</dest> >> <src>src/main/resources</src> >> </configuration> >> <executions> >> <execution> >> <id>native2ascii-utf8</id> >> <goals> >> <goal>native2ascii</goal> >> </goals> >> <configuration> >> <encoding>UTF8</encoding> >> <includes>ApplicationResources_zh*</includes> >> </configuration> >> </execution> >> <execution> >> <id>native2ascii-8859_1</id> >> <goals> >> <goal>native2ascii</goal> >> </goals> >> <configuration> >> <encoding>8859_1</encoding> >> <includes> >> >> >> ApplicationResources_zh*.properties, >> ApplicationResources_de.properties, >> ApplicationResources_fr.properties, >> ApplicationResources_nl.properties, >> ApplicationResources_pt*.properties >> </includes> >> </configuration> >> </execution> >> </executions> >> </plugin> >> </plugins> >> <resources> >> <resource> >> <directory>src/main/resources</directory> >> <excludes> >> >> <exclude>ApplicationResources_zh*.properties</exclude> >> <exclude>ApplicationResources_de.properties</exclude> >> <exclude>ApplicationResources_fr.properties</exclude> >> <exclude>ApplicationResources_nl.properties</exclude> >> >> <exclude>ApplicationResources_pt*.properties</exclude> >> </excludes> >> <filtering>true</filtering> >> </resource> >> </resources> >> ............ >> >> >> error: >> [INFO] >> ------------------------------------------------------------------------ >> [ERROR] BUILD ERROR >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Error executing ant tasks >> >> Embedded error: The following error occurred while executing this line: >> E:\dev\appfuse2.0\M3\kooyueproject\src\test\resources\web-tests.xml:23: >> Canoo We >> btest: R_1454. >> Test failed. >> Exception raised: com.canoo.webtest.engine.StepExecutionException: >> Unexpected ex >> ception caught: java.util.regex.PatternSyntaxException: Dangling meta >> character >> '?' near index 3 >> .*??.* >> ^, Step: VerifyTitle at >> E:\dev\appfuse2.0\M3\kooyueproject\src\test\resources >> \login.xml:2: with >> (taskName="verifytitle")com.canoo.webtest.engine.StepExecuti >> onException: Unexpected exception caught: >> java.util.regex.PatternSyntaxException >> : Dangling meta character '?' near index 3 >> .*??.* >> ^, Step: VerifyTitle at >> E:\dev\appfuse2.0\M3\kooyueproject\src\test\resources >> \login.xml:2: with (taskName="verifytitle") >> at >> com.canoo.webtest.steps.Step.handleUnexpectedException(Step.java:413) >> >> at com.canoo.webtest.steps.Step.execute(Step.java:109) >> at >> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275) >> at org.apache.tools.ant.Task.perform(Task.java:364) >> at >> com.canoo.webtest.ant.TestStepSequence.executeSteps(TestStepSequence. >> java:43) >> at >> com.canoo.webtest.ant.TestStepSequence.doExecute(TestStepSequence.jav >> >> :( !!!!! >> >> >> Matt Raible-3 wrote: >> > >> > The following diff should show you how to add it: >> > >> > http://tinyurl.com/2hqlnf >> > >> > Note that you'll also need to exclude these resources from getting >> > processed >> > in your pom.xml: >> > >> > >> > 280221 <resources> 281222 <resource> 282223 >> > <directory>src/main/resources</directory> [image: >> > <]< >> http://fisheye4.cenqua.com/browse/appfuse/trunk/archetypes/appfuse-basic-struts/src/main/resources/archetype-resources/pom.xml?r1=2424&r2=2421&u=3&ignore=&k=#seg1 >> >[image: >> >>]< >> http://fisheye4.cenqua.com/browse/appfuse/trunk/archetypes/appfuse-basic-struts/src/main/resources/archetype-resources/pom.xml?r1=2424&r2=2421&u=3&ignore=&k=#seg3 >> > >> > 224+ <excludes> 225+ >> > >> <exclude>ApplicationResources_zh*.properties</exclude> >> > 226+ >> > >> <exclude>ApplicationResources_de.properties</exclude> >> > 227+ >> > >> <exclude>ApplicationResources_fr.properties</exclude> >> > 228+ >> > >> <exclude>ApplicationResources_nl.properties</exclude> >> > 229+ >> > >> <exclude>ApplicationResources_pt*.properties</exclude> >> > 230+ </excludes> >> > 283231 <filtering>true</filtering> 284232 >> > </resource> 285233 </resources> >> > Hope this helps, >> > >> > Matt >> > >> > On 2/6/07, jason.jiang <[EMAIL PROTECTED]> wrote: >> >> i create my project today and i not search "native2ascii" my OS >> default >> >> local is "", how i add native2ascii plugin in my pom.xml? >> >> >> > >> ----------------------------------------------------------------------------------------------------------------------- >> >> [INFO] [antrun:run {execution: default}] [INFO] Executing tasks >> [delete] >> >> Deleting: >> >> E:\dev\appfuse2.0\modular-jsf\web\target\webtest-data\web- >> >> tests-result.xml [echo] Testing 'modular-jsf-webapp-1.0-SNAPSHOT' with >> >> locale 'zh' Login: log4j:WARN No appenders could be found for logger >> >> (com.canoo.webtest.ant.TestSte pSequence). log4j:WARN Please >> initialize >> > the >> >> log4j system properly. [INFO] >> >> >> ------------------------------------------------------------------------ >> >> [ERROR] BUILD ERROR [INFO] >> >> >> ------------------------------------------------------------------------ >> >> [INFO] Error executing ant tasks >> >> >> > >> ---------------------------------------------------------------------------------------------------------------------------------- >> >> thinks! >> >> >> >> Matt Raible-3 wrote: >> >> When did you create your project? Is there a native2ascii plugin in >> your >> >> pom.xml? Just search for "native2ascii" to see. What is the default >> >> locale >> >> on your OS? It's possible there's some encoding issues with bundles >> other >> >> than English (but hopefully not!). Matt On 2/6/07, Michael Horwitz >> wrote: >> >> >> >> It looks like you are checking a title in a test step, and that the >> > regular >> >> > expression you entered as the title is incorrect or that it is >> having >> > >> >> problems with the character set you are using. I'm not sure of any > >> >> tips/tricks for getting the canoo tests to work with UTF-16 character >> > sets. >> >> > Perhaps someone else knows? > > Mike. > > > On 2/6/07, >> >> jason.jiangwrote: >> >> > > > > Hi, > > > > I run mvn integration-test with appfuse2.0 M2 >> >> (modular-jsf), but throw > > Exception... > > > > > > > > Login: > > >> >> log4j:WARN No appenders could be found for logger > > >> >> (com.canoo.webtest.ant.TestSte > > pSequence). > > log4j:WARN Please >> >> initialize the log4j system properly. > > [INFO] > > > >> >> >> ------------------------------------------------------------------------ >> >> > > [ERROR] BUILD ERROR > > [INFO] > > > >> >> >> ------------------------------------------------------------------------ >> >> > > [INFO] Error executing ant tasks > > > > Embedded error: The >> >> following >> >> error occurred while executing this line: > > > >> >> E:\dev\appfuse2.0\modular-jsf\web\src\test\resources\web-tests.xml:23: >> >> > Canoo > > Web > > test: R_1454. > > Test failed. > > Exception >> raised: >> >> > >> >> com.canoo.webtest.engine.StepExecutionException: > > >> >> Unexpected ex > > ception caught: >> >> java.util.regex.PatternSyntaxException: > Dangling meta > > >> >> character > > '?' near index 3 > > .*??.* > > ^, Step: VerifyTitle at >> > >> > >> >> E:\dev\appfuse2.0\modular-jsf\web\src\test\resources\ > > >> >> login.xml:2: with > > > >> >> (taskName="verifytitle")com.canoo.webtest.engine.StepExecutio >> >> > > nException: Unexpected exception caught: > > >> >> java.util.regex.PatternSyntaxException: > > Dangling meta >> >> character '?' near index 3 > > .*??.* > > ^, Step: VerifyTitle at > > >> >> E:\dev\appfuse2.0\modular-jsf\web\src\test\resources\ > > >> >> login.xml:2: with (taskName="verifytitle") > > at > > > >> >> com.canoo.webtest.steps.Step.handleUnexpectedException(Step.java:413) >> >> > > > > at > >> >> com.canoo.webtest.steps.Step.execute(Step.java:109) > > at >> >> > > > >> >> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275) >> >> > > at > org.apache.tools.ant.Task.perform(Task.java:364) > >> >> > at > > > >> >> com.canoo.webtest.ant.TestStepSequence.executeSteps(TestStepSequence. >> >> > > java:43) > > at > > > >> >> com.canoo.webtest.ant.TestStepSequence.doExecute(TestStepSequence.jav >> >> > > a:31) > > at > >> >> com.canoo.webtest.steps.Step.execute(Step.java:106) > > at >> >> org.apache.tools.ant.Task.perform(Task.java > :364) > > at >> >> > >> >> com.canoo.webtest.ant.WebtestTask.execute(WebtestTask.java:164) >> >> > > at > > > >> >> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275) >> >> > > at org.apache.tools.ant.Task.perform(Task.java > :364) >> >> > > at > >> >> org.apache.tools.ant.Target.execute(Target.java:341) > > at >> >> > org.apache.tools.ant.Target.performTasks(Target.java:369) >> >> > > at > > > >> >> org.apache.tools.ant.Project.executeSortedTargets(Project.java >> >> > :1216) > > at > > > >> >> org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(Single >> >> > > CheckExecutor.java:37) > > at > >> >> org.apache.tools.ant.Project.executeTargets(Project.java:1068) >> >> > > at org.apache.tools.ant.taskdefs.Ant.execute > >> >> (Ant.java:382) > > at > > > >> >> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275) >> >> > > at > org.apache.tools.ant.Task.perform(Task.java:364) > >> >> > at org.apache.tools.ant.Target.execute(Target.java > >> >> :341) > > at > > > >> >> org.apache.maven.plugin.antrun.AbstractAntMojo.executeTasks(AbstractA >> >> > > ntMojo.java:108) > > at > > > >> >> org.apache.maven.plugin.antrun.AntRunMojo.execute(AntRunMojo.java:83) >> >> > > > > at > > > >> >> org.apache.maven.plugin.DefaultPluginManager.executeMojo >> >> > (DefaultPlugi > > nManager.java:412) > > at > > > >> >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa >> >> > > ultLifecycleExecutor.java:534) > > at > > > >> >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi >> >> > > fecycle(DefaultLifecycleExecutor.java:475) > > at > > > >> >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau >> >> > > ltLifecycleExecutor.java:454) > > at > > > >> >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan >> >> > > dleFailures(DefaultLifecycleExecutor.java:306) > > at > > > >> >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen >> >> > > ts(DefaultLifecycleExecutor.java:273) > > at > > > >> >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute >> >> > (DefaultLi > > fecycleExecutor.java:140) > > at > >> >> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322) >> >> > > at > >> >> org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115) >> >> > > at org.apache.maven.cli.MavenCli.main > >> >> (MavenCli.java:256) > > at > >> >> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> >> > > at > > > >> >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. >> >> > > java:39) > > at > > >> >> sun.reflect.DelegatingMethodAccessorImpl.invoke > >> >> (DelegatingMethodAcces > > sorImpl.java:25) > > at >> >> java.lang.reflect.Method.invoke(Method.java:585) > > at > > > >> >> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) >> >> > > at org.codehaus.classworlds.Launcher.launch > >> >> (Launcher.java:255) > > at > > > >> >> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) >> >> > > > > at > >> >> org.codehaus.classworlds.Launcher.main(Launcher.java:375) > >> >> > Caused by: java.util.regex.PatternSyntaxException : > >> >> Dangling meta character > > '?' n > > ear index 3 > > .*??.* > > ^ > > >> at >> >> java.util.regex.Pattern.error(Pattern.java:1650) > > at > >> >> java.util.regex.Pattern.sequence(Pattern.java:1787) > > at >> >> java.util.regex.Pattern.expr (Pattern.java:1687) > > at >> >> java.util.regex.Pattern.compile(Pattern.java:1397) > > at >> >> java.util.regex.Pattern.(Pattern.java:1124) > > at >> >> java.util.regex.Pattern.compile(Pattern.java:840) > > at > > > >> >> com.canoo.webtest.engine.RegExStringVerifier.verifyStrings(RegExStrin >> >> > > gVerifier.java:28) > > at > > > >> >> com.canoo.webtest.steps.verify.AbstractVerifyTextStep.verifyStrings(A >> >> > > bstractVerifyTextStep.java:61) > > at > > > >> >> com.canoo.webtest.steps.verify.AbstractVerifyTextStep.verifyText(Abst >> >> > > ractVerifyTextStep.java:65) > > at > > > >> >> com.canoo.webtest.steps.verify.VerifyTitle.doExecute(VerifyTitle.java >> >> > > :25) > > at com.canoo.webtest.steps.Step.execute > >> >> (Step.java:106) > > ... 38 more > > > > [INFO] > > > >> >> >> ------------------------------------------------------------------------ >> >> > > [INFO] For more information, run Maven with the -e switch > > >> [INFO] >> >> > >> >> >> >> > >> >> >> ------------------------------------------------------------------------ >> >> > > [INFO] Total time: 2 minutes 59 seconds > > [INFO] Finished at: >> Tue >> > Feb >> >> 06 16:46:42 CST 2007 > > [INFO] Final Memory: 20M/36M > > [INFO] > > > >> >> >> ------------------------------------------------------------------------ >> >> > > > > > > How that thing occur? Any idea about how to fix it? > > > >> > >> >> Thanks! > > > > jason.jiang > > > > -- > > View this message in >> context: >> >> > >> >> >> > >> http://www.nabble.com/Run-mvn-integration-test--Canoo-Web-test-Error%21%21%21-tf3179622s2369.html#a8822956 >> >> > > Sent from the AppFuse - User mailing list archive at Nabble.com. > >> > >> >> > >> >> >> >> > >> >> --------------------------------------------------------------------- >> >> > > To unsubscribe, e-mail: > >> >> [EMAIL PROTECTED] > > For additional >> >> commands, e-mail: [EMAIL PROTECTED] > > > > > > -- >> >> http://raibledesigns.com >> >> --------------------------------------------------------------------- >> >> To unsubscribe, e-mail: >> >> [EMAIL PROTECTED] For additional >> >> commands, e-mail: [EMAIL PROTECTED] >> >> ________________________________ >> >> View this message in context: Re: Run mvn integration-test Canoo Web >> >> test >> >> Error!!! >> >> >> >> Sent from the AppFuse - User mailing list archive at Nabble.com. >> >> >> > >> > >> > -- >> > http://raibledesigns.com >> > >> > >> >> -- >> View this message in context: >> http://www.nabble.com/Run-mvn-integration-test--Canoo-Web-test-Error%21%21%21-tf3179622s2369.html#a8839187 >> Sent from the AppFuse - User mailing list archive at Nabble.com. >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > > -- > http://raibledesigns.com > > -- View this message in context: http://www.nabble.com/Run-mvn-integration-test--Canoo-Web-test-Error%21%21%21-tf3179622s2369.html#a13053365 Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]