[appfuse-user] Small problem when running examples...

2010-04-19 Thread Lian (Firstlighting)
I have installed all requisite software items, including JDK, Maven, MySQL, and Eclipse. All environmental variables have been set, and all software are running correctly by themselves. I ran following command mvn archetype:generate -B -DarchetypeGroupId=org.appfuse.archetypes -DarchetypeArti

Re: [appfuse-user] Small problem when running examples...

2010-04-19 Thread Ebrahim Pasbani
Use -DarchetypeRepository=http://repo1.maven.org/maven2/ option or add above repository in your setting.xml of maven. On Mon, Apr 19, 2010 at 6:02 PM, Lian (Firstlighting) < [email protected]> wrote: > I have installed all requisite software items, including JDK, Maven, > MySQL, and Ecli

[appfuse-user] running unit testing inside Eclipse throws jdbc.properties file not found Exception.

2010-04-19 Thread Ben Li
Hi All, I am having a small problem when I run the unit testing inside the Eclipse. it throws jdbc.property file not found exception. has anyone have this problem and how can I solve it? if I run the unit testing using the command line "mvn" it works as excepted. Thanks in advance. My develo

Re: [appfuse-user] running unit testing inside Eclipse throws jdbc.properties file not found Exception.

2010-04-19 Thread Matt Raible
You can setup Eclipse to ignore the src/main/resources/jdbc.properties and hopefully it will read the one in target/classes/jdbc.properties (that has the parsed values in it). Another solution is to copy target/classes/jdbc.properties to src/main/resources. If you do this, be aware that you won't b

Re: [appfuse-user] running unit testing inside Eclipse throws jdbc.properties file not found Exception.

2010-04-19 Thread Ben Li
Thanks for the quick reply. does anyone know how to make Eclipse ignore the src/main/resources/jdbc.properties? Thanks, Ben On Mon, Apr 19, 2010 at 2:03 PM, Matt Raible wrote: > You can setup Eclipse to ignore the src/main/resources/jdbc.properties and > hopefully it will read the one in targ

Re: [appfuse-user] running unit testing inside Eclipse throws jdbc.properties file not found Exception.

2010-04-19 Thread Ebrahim Pasbani
Open Properties page of project. In "Java Build Path" section and in "Source" tab, select Excluded and edit it. On Tue, Apr 20, 2010 at 2:28 AM, Ben Li wrote: > Thanks for the quick reply. > > does anyone know how to make Eclipse ignore the > src/main/resources/jdbc.properties? > > Thanks, > > B