You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2004/04/25 22:29:04 UTC

[jira] Closed: (MPAPPSERVER-7) some properties do not play nice with maven console or reinvoked goals

Message:

   The following issue has been closed.

   Resolver: Peter Lynch
       Date: Sun, 25 Apr 2004 4:27 PM

Checking in plugin.jelly;
/home/cvs/maven-plugins/appserver/plugin.jelly,v  <--  plugin.jelly
new revision: 1.9; previous revision: 1.8
done

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPAPPSERVER-7

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPAPPSERVER-7
    Summary: some properties do not play nice with maven console or reinvoked goals
       Type: Bug

     Status: Closed
   Priority: Major
 Resolution: FIXED

 Original Estimate: 2 hours
 Time Spent: Unknown
  Remaining: 2 hours

    Project: maven-appserver-plugin

   Assignee: Peter Lynch
   Reporter: Peter Lynch

    Created: Sun, 25 Apr 2004 2:22 PM
    Updated: Sun, 25 Apr 2004 4:27 PM
    Due:     Sun, 25 Apr 2004 12:00 AM

Description:
A) maven appserver:install
1) start maven console in terminal A
2) at terminal A console, execute appserver:stop
   Gives message like:
    Maven has determined your <servername> appserver instance is
    installed in directory <dirname> and not started using socket
    <socketport> on host <appserver host>

3) execute maven appserver:start in terminal B, leaving console in A open
4) with appserver now started, execute appserver:stop in maven console again running in terminal A
5) message still says:
   Gives message like:
    Maven has determined your <servername> appserver instance is
    installed in directory <dirname> and not started using socket
    <socketport> on host <appserver host>

However server is now started.

This has to do with properties being set using ant the first time appserver:stop is called. Properties set by ant are not removable or resettable by design, so the solution is to set the properties via jelly.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org