Everytime I run this command, the new users added by me will be deleted.

1) Does this command always re-create the database tables ?

2)Any other option to start the application without re-creating the tables
or deleting the data ?



Matt Raible-3 wrote:
> 
> If you have all the artifacts downloaded, no - you shouldn't need to
> connect. Use -o to work offline with Maven.  For example:
> 
> mvn jetty:run-war -o
> 
> Matt
> 
> On 1/30/07, Fan <[EMAIL PROTECTED]> wrote:
>>
>> Do I need to get connected with the internet in order to run "mvn
>> jetty:run-war" ?
>>
>>
>>
>>
>>
>>
>> Matt Raible-3 wrote:
>> >
>> > You need to run "mvn jetty:run-war" from the directory that has the
>> > Jetty Plugin defined in its pom.xml.  Running it from the web module
>> > should fix the problem.
>> >
>> > Matt
>> >
>> > On 1/28/07, Fan <[EMAIL PROTECTED]> wrote:
>> >>
>> >> I had successfully run "mvn integration-test" with the following info:
>> >>
>> >> run-all-tests:
>> >> [INFO] Executed tasks
>> >> [INFO]
>> >> [INFO]
>> >> [INFO]
>> >>
>> ------------------------------------------------------------------------
>> >> [INFO] Reactor Summary:
>> >> [INFO]
>> >>
>> ------------------------------------------------------------------------
>> >> [INFO] AppFuse Modular Application ........................... SUCCESS
>> >> [1.610s]
>> >> [INFO] AppFuse Modular Application - Core .................... SUCCESS
>> >> [6.000s]
>> >> [INFO] AppFuse Modular Application - Web (Struts 2) .......... SUCCESS
>> >> [1:19.344
>> >> s]
>> >> [INFO]
>> >>
>> ------------------------------------------------------------------------
>> >> [INFO]
>> >>
>> ------------------------------------------------------------------------
>> >> [INFO] BUILD SUCCESSFUL
>> >> [INFO]
>> >>
>> ------------------------------------------------------------------------
>> >> [INFO] Total time: 1 minute 27 seconds
>> >> [INFO] Finished at: Sun Jan 28 23:42:26 SGT 2007
>> >> [INFO] Final Memory: 37M/63M
>> >> [INFO]
>> >>
>> ------------------------------------------------------------------------
>> >>
>> >>
>> >>
>> >> But when I ran "mvn jetty:run-war", it hit the following error:
>> >>
>> >> [INFO] Scanning for projects...
>> >> [INFO] Reactor build order:
>> >> [INFO]   AppFuse Modular Application
>> >> [INFO]   AppFuse Modular Application - Core
>> >> [INFO]   AppFuse Modular Application - Web (Struts 2)
>> >> [INFO] Searching repository for plugin with prefix: 'jetty'.
>> >> [INFO]
>> >>
>> ------------------------------------------------------------------------
>> >> [ERROR] BUILD ERROR
>> >> [INFO]
>> >>
>> ------------------------------------------------------------------------
>> >> [INFO] The plugin 'org.apache.maven.plugins:maven-jetty-plugin' does
>> not
>> >> exist o
>> >> r no valid version could be found
>> >> [INFO]
>> >>
>> ------------------------------------------------------------------------
>> >> [INFO] For more information, run Maven with the -e switch
>> >> [INFO]
>> >>
>> ------------------------------------------------------------------------
>> >> [INFO] Total time: < 1 second
>> >> [INFO] Finished at: Sun Jan 28 23:43:35 SGT 2007
>> >> [INFO] Final Memory: 1M/3M
>> >> [INFO]
>> >>
>> ------------------------------------------------------------------------
>> >> --
>> >> View this message in context:
>> >> http://www.nabble.com/mvn-jetty%3Arun-war-tf3131555s2369.html#a8676744
>> >> 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:
>> http://www.nabble.com/mvn-jetty%3Arun-war-tf3131555s2369.html#a8709199
>> 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: 
http://www.nabble.com/mvn-jetty%3Arun-war-tf3131555s2369.html#a8744876
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to